测试与安全

audit-agent-history

timschoch/skilly

Mine the user's own agent session logs per model and per harness, count failure modes, and propose the top three as hazard rules. Use when the user asks to audit, review or mine agent history, session logs or transcripts for mistakes, failure modes or corrections, or asks why an agent keeps doing X.

  • 593 次安装
  • 1 星标
  • 收录于

安装命令

npx skills add https://github.com/timschoch/skilly --skill audit-agent-history

SKILL.md

Audit agent history

Rules written from guesses miss. Rules written from counted corrections in the user's own logs hit. This skill counts, then proposes at most three lines for bundles/workflow/rules/workflow-hazards.md, plus the consumer overlay pairs worth hoisting into their hub rule.

Where the logs live

Verify each path with ls first. Skip what is absent, say so in the report.

Harness Path Shape
Claude Code ~/.claude/projects/<project-slug>/*.jsonl one file per session, one JSON message per line; type is user or assistant; cwd names the repo; assistant lines carry model (claude-fable-5, claude-opus-5)
Codex ~/.codex/sessions/<yyyy>/<mm>/<dd>/rollout-*.jsonl one file per session; first line type: session_meta with cwd; later lines carry model (gpt-5.6)

The project slug is the repo path with / replaced by -: /Users/x/repo/skilly becomes -Users-x-repo-skilly.

Scope

Ask for, or default: