一键导入
analyze-session
Full pipeline: extract session data, encrypt content, run LLM analysis, generate report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full pipeline: extract session data, encrypt content, run LLM analysis, generate report.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run upfront discovery for a system-wide feature. Fans out discovery agents in parallel, synthesizes a strawman scope-manifest.yaml, writes the evidence trail to the feature docs directory.
Run targeted discovery for a mid-implementation operator complaint. Identifies all sibling surfaces consuming the same primitive/pattern; produces a widening proposal in the dispatch-wrapper-grammar format.
Use when shipping a new midi-macro-bridge version — bumping Cargo.toml, cutting a v-tag, publishing a GitHub Release, or updating the Homebrew tap.
Extend a feature's scope mid-implementation by adding new phases to the existing docs and issue plan without creating a new branch or worktree.
Explain the audiocontrol feature lifecycle and report the current state of active, in-progress, or partially defined features.
Wrap up a Codex work session by updating feature docs, recording development notes, and closing the loop on issue and hardware notes where needed.
| name | analyze-session |
| description | Full pipeline: extract session data, encrypt content, run LLM analysis, generate report. |
| user_invocable | true |
Run the full extraction → analysis → report pipeline:
Extract session metrics:
tsx tools/extract-sessions.ts
Extract and encrypt session content:
tsx tools/extract-session-content.ts
Run LLM analysis (requires ANTHROPIC_API_KEY):
ANTHROPIC_API_KEY=$(cat ~/.config/audiocontrol/audiocontrol-anthropic-key.txt) tsx tools/analyze-session-llm.ts
This is idempotent — only analyzes sessions that don't already have results. Rate-limited to 50K tokens/min. Large batches take time.
Generate report:
tsx tools/analyze-sessions.ts
Report written to data/sessions/report-all.md.
Optional: tsx tools/analyze-sessions.ts --since YYYY-MM-DD
Commit results:
git add data/sessions/
Report key findings to the user: