OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add okx/onchainos-skills --skill 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.
npx skills add okx/onchainos-skills --skill okx-audit-log
Provide the audit log file path for developers to troubleshoot issues offline.
Tell the user:
~/.onchainos/audit.jsonl (or $ONCHAINOS_HOME/audit.jsonl if the env var is set){"type":"device","os":"<os>","arch":"<arch>","version":"<cli_version>"} — written once when the log file is created; preserved across rotationsts (local time with timezone, e.g. 2026-03-18 +8.0 18:00:00.123), source (cli/mcp), command, ok, duration_ms, args (redacted), errorDo NOT read or display the file contents in the conversation.