okx-audit-log
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.
How do I install this agent skill?
npx skills add https://github.com/okx/onchainos-skills --skill okx-audit-logIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides information about the location and format of audit logs for troubleshooting. It includes a specific instruction to not read the file contents, which protects user privacy.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Onchain OS Audit Log
Provide the audit log file path for developers to troubleshoot issues offline.
Response
Tell the user:
- Log file path:
~/.onchainos/audit.jsonl(or$ONCHAINOS_HOME/audit.jsonlif the env var is set) - Format: JSON Lines, one JSON object per line
- First line (device header):
{"type":"device","os":"<os>","arch":"<arch>","version":"<cli_version>"}— written once when the log file is created; preserved across rotations - 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 - 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/okx/onchainos-skills/okx-audit-log">View okx-audit-log on skillZs</a>