首页/DevOps/okx-audit-log
O

okx-audit-log

by @okxv1.0.0
0.0(0)

提供结构化审计日志文件路径,支持开发者离线排查Agent运行问题,JSON Lines格式存储

audit-logdebuggingjsonltroubleshootingGitHub
安装方式
npx skills add okx/onchainos-skills --skill okx-audit-log
compare_arrows

Before / After 效果对比

1
使用前

Agent出现问题时缺乏完整运行日志,只能依赖零散的控制台输出和记忆回溯,离线排查困难,问题复现和定位耗时严重

使用后

审计日志以JSON Lines格式完整记录Agent行为,开发者可离线分析日志文件,快速定位异常节点和错误原因,支持结构化查询和过滤

description SKILL.md

okx-audit-log

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.jsonl if 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. Weekly Installs220Repositoryokx/onchainos-skillsGitHub Stars150First Seen1 day agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex216amp215kimi-cli214cline214github-copilot214gemini-cli214

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月19日
对比案例1 组

用户评分

0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月19日
最后更新2026年3月19日