Claude Agent Skill · by Okx

Okx Audit Log

Install Okx Audit Log skill for Claude Code from okx/onchainos-skills.

Install
Terminal · npx
$npx skills add https://github.com/okx/onchainos-skills --skill okx-audit-log
Works with Paperclip

How Okx Audit Log fits into a Paperclip company.

Okx Audit Log drops into any Paperclip agent that handles this kind of work. Assign it to a specialist inside a pre-configured PaperclipOrg company and the skill becomes available on every heartbeat — no prompt engineering, no tool wiring.

S
SaaS FactoryPaired

Pre-configured AI company — 18 agents, 18 skills, one-time purchase.

$27$59
Explore pack
Source file
SKILL.md25 lines
Expand
---name: okx-audit-logdescription: "Use this skill when the user asks to export audit logs, find audit log location, view command history, 导出日志, 查看日志, 日志路径, 操作记录, 调用记录, 命令历史. Do NOT use for wallet balance, token search, swap, or any other on-chain operation — use the corresponding skill instead."license: MITmetadata:  author: okx  version: "2.3.0"  homepage: "https://web3.okx.com"--- # Onchain OS Audit Log Provide the audit log file path for developers to troubleshoot issues offline. ## Response Tell the user: 1. **Log file path**: `~/.onchainos/audit.jsonl` (or `$ONCHAINOS_HOME/audit.jsonl` if the env var is set)2. **Format**: JSON Lines, one JSON object per line3. **First line (device header)**: `{"type":"device","os":"<os>","arch":"<arch>","version":"<cli_version>"}` — written once when the log file is created; preserved across rotations4. **Entry fields**: `ts` (local time with timezone, e.g. `2026-03-18 +8.0 18:00:00.123`), `source` (cli/mcp), `command`, `ok`, `duration_ms`, `args` (redacted), `error`5. **Rotation**: max 10,000 lines, auto-keeps the device header + most recent 5,000 entries Do NOT read or display the file contents in the conversation.