بنقرة واحدة
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: