[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J3XYKQ0RPZRF46WREDC3PY":3,"skill-same:01M6J3XYKQ0RPZRF46WREDC3PY":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6J3XYKQ0RPZRF46WREDC3PY","ln-002-session-analyzer",null,"Analyzes current or recent session for errors, inefficiencies, and improvement opportunities across skills, tools, hooks, and communication. Use after completing a task or periodically.","onfire7777\u002Funiversal-ai-skills-library","onfire7777","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F240866566?v=4","01M6HZJCF2QEW8DY7HE1JDKGK2","Jake B","01M6HZJCKK8SEXKN76V9SGKZ12",17,"MIT","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fln-002-session-analyzer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ln","analyzer","ln 002 session analyzer","session","session analyzer","improvement","MCP","for","errors","line","across","hex","hooks","use","read","Bash","Tools","file","search","communication","2026-11-10 10:12:30",false,"---\nname: ln-002-session-analyzer\nlicense: MIT\ndescription: Analyzes current or recent session for errors, inefficiencies, and improvement opportunities across skills, tools, hooks, and communication. Use after completing a task or periodically.\nmetadata:\n  allowed-tools: Bash, Read, Glob, Grep, Agent, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline\n---\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# Session Analyzer (Standalone Utility)\n\n**Type:** Standalone Utility\n**Category:** 0XX Shared\n\nAnalyzes a session for errors, inefficiencies, and improvement opportunities. Produces actionable fixes for skills, tools, hooks, and communication style.\n\n**Scope:** Single-session deep analysis (10 dimensions). Broader than protocol self-audit, narrower than `\u002Faudit-sessions` batch.\nFor skill self-audit: `shared\u002Freferences\u002Fmeta_analysis_protocol.md` §7. For multi-day patterns: `\u002Faudit-sessions`.\n\n---\n\n## When to Use This Skill\n\n- After completing a task — find what went wrong and how to improve\n- Periodically — audit recent sessions for patterns\n- After a skill run — analyze how well the skill instructions worked\n- When debugging tool\u002Fhook issues — find root causes in session data\n\n---\n\n## Input\n\n`$ARGUMENTS`:\n- (empty) — analyze current session (conversation context)\n- `recent` — scan latest JSONL session per agent (Claude, Codex, Gemini)\n- `{skill-name}` — focus analysis on that skill's execution within the session\n\n---\n\n## Dimensions\n\n| # | Dimension | Scan for | Improvement target |\n|---|-----------|---------|-------------------|\n| D1 | Tool Errors | NOOP_EDIT, TEXT_NOT_FOUND, hash mismatch, out of range | SKILL.md steps — add paths, anchors |\n| D2 | Tool Waste | Full reads without outline, repeated reads, bash fallbacks | SKILL.md — \"outline first\", name MCP tools |\n| D3 | Process Issues | Tool loops 3+, retry storms, dead ends, wrong targets | SKILL.md phases — decompose |\n| D4 | Script Extraction | Ad-hoc bash\u002Fpython scripts written each run | `references\u002Fscripts\u002F` |\n| D5 | Hook & Permission | Hook blocks, permission denials, built-in instead of MCP | Hook config, `allowed-tools` |\n| D6 | Communication | Over-explaining, missing status, unnecessary confirmations | CLAUDE.md prefs, skill output notes |\n| D7 | Decision Quality | Dead ends before pivot, trial-and-error, slow error detection | SKILL.md decision trees, step clarity |\n| D8 | Context Pressure | Re-reading same files, re-asking resolved, thread loss | Caching notes, compact instructions |\n| D9 | Subagent Quality | Empty results, timeouts, overbroad prompts | Agent prompts, timeout settings |\n| D10 | Scope Drift | Deviation from goal, accidental expansion, pivot without reason | Scope guards, goal gates |\n\n---\n\n## Phase 1: Collect Session Data\n\nDetermine source based on `$ARGUMENTS`:\n\n### Current session (empty args)\n\nScan conversation context directly. You have access to all tool call results, errors, and messages.\n\n### Recent sessions (`recent` arg)\n\nFind latest session per agent (paths per `shared\u002Freferences\u002Fmeta_analysis_protocol.md` §7c):\n\n```bash\necho \"=== LATEST SESSIONS ===\"\n\necho \"## Claude\"\nCLAUDE_LATEST=$(stat -c '%Y %n' ~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$CLAUDE_LATEST\" ] && echo \"  $CLAUDE_LATEST ($(wc -l \u003C \"$CLAUDE_LATEST\") lines)\" || echo \"  No sessions found\"\n\necho \"## Codex\"\nCODEX_LATEST=$(stat -c '%Y %n' ~\u002F.codex\u002Fsessions\u002F????\u002F??\u002F??\u002Frollout-*.jsonl 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$CODEX_LATEST\" ] && echo \"  $CODEX_LATEST ($(wc -l \u003C \"$CODEX_LATEST\") lines)\" || echo \"  No sessions found\"\n\necho \"## Gemini\"\nGEMINI_LATEST=$(stat -c '%Y %n' ~\u002F.gemini\u002Ftmp\u002F*\u002Fchats\u002Fsession-*.json 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$GEMINI_LATEST\" ] && echo \"  $GEMINI_LATEST\" || echo \"  No sessions found\"\n```\n\n### Extract raw data from JSONL session\n\nRun for each found session file (`$F`):\n\n```bash\necho \"=== TOOL CALLS ===\"\ngrep -oE '\"name\"\\s*:\\s*\"[^\"]*\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | sort | uniq -c | sort -rn | head -30\n\necho \"=== ERRORS ===\"\ngrep -oE 'NOOP_EDIT|TEXT_NOT_FOUND|FILE_NOT_FOUND|HASH_HINT|DANGEROUS|out of range|mismatch|tool_use_error|permission denied' \"$F\" 2>\u002Fdev\u002Fnull | sort | uniq -c | sort -rn\n\necho \"=== TOOL LOOPS (3+ consecutive) ===\"\ngrep -oE '\"name\"\\s*:\\s*\"[^\"]*\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | uniq -c | sort -rn | awk '$1 >= 3'\n\necho \"=== BUILT-IN vs MCP ===\"\ngrep -oE '\"name\"\\s*:\\s*\"(Read|Edit|Write|Grep|mcp__hex-line__\\w+)\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F.*\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | sort | uniq -c | sort -rn\n\necho \"=== HOOK EVENTS ===\"\ngrep -oE 'hook_progress|blocking error|PreToolUse|PostToolUse|hex-confirmed|Obligatory use|Use mcp__hex-line' \"$F\" 2>\u002Fdev\u002Fnull | sort | uniq -c | sort -rn\n\necho \"=== SKILL\u002FCOMMAND INVOCATIONS ===\"\ngrep -oE '\"display\":\\s*\"\u002F[a-z-]+' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"display\":\\s*\"\u002F\u002F' | sort | uniq -c | sort -rn\n```\n\n---\n\n## Phase 2: Analyze by Dimensions\n\nApply D1-D10 to collected data. Classify each finding:\n\n| Severity | Dimensions | Meaning |\n|----------|-----------|---------|\n| **Error** | D1, D5 | Something broke — tool failed, permission denied |\n| **Waste** | D2, D4, D8 | Unnecessary work — redundant reads, ad-hoc scripts, re-gathering |\n| **Pattern** | D3, D6, D7, D9, D10 | Improvable behavior — loops, communication, decisions |\n\n### D1: Tool Errors\nCount by type: NOOP_EDIT, TEXT_NOT_FOUND, hash mismatch, out of range, FILE_NOT_FOUND. For each, identify which step\u002Fphase caused it.\n\n### D2: Tool Waste\n- Reads without preceding outline (file >100 lines)\n- Same file read 3+ times\n- Bash `cat`\u002F`grep`\u002F`head`\u002F`sed` when MCP equivalent exists\n\n### D3: Process Issues\n- Tool loops: same tool on same file 3+ times without progress\n- Retry storms: 3+ attempts with different parameters\n- Dead ends: approach explored then abandoned\n- Wrong target: looked at file X when needed Y\n\n### D4: Script Extraction\n- Bash\u002FPython scripts written during session\n- If script would be needed on every run of the skill → candidate for `references\u002Fscripts\u002F`\n\n### D5: Hook & Permission\n- Hook blocks (PreToolUse\u002FPostToolUse blocking errors)\n- Built-in Read\u002FEdit\u002FWrite\u002FGrep used when MCP enforced\n- `hex-confirmed` bypasses — were they justified?\n\n### D6: Communication\n- Message length distribution (over-explaining vs terse)\n- Unnecessary confirmations (\"shall I proceed?\")\n- Missing status updates at milestones\n- Redundant summaries\n\n### D7: Decision Quality\n- Time to detect error and pivot (tool calls between error and correction)\n- Trial-and-error sequences vs targeted approach\n- Tool selection reasoning (used wrong tool first)\n\n### D8: Context Pressure\n- Same file read multiple times across phases\n- Information re-gathered that was already available\n- Signs of thread loss (re-asking resolved questions)\n\n### D9: Subagent Quality\n- Agent tool invocations with empty or low-value results\n- Agent timeouts\n- Overbroad prompts (agent did too much or too little)\n\n### D10: Scope Drift\n- Initial goal vs actual deliverables — any deviation?\n- Unplanned additions during execution\n- Pivots without explicit reason\n\n---\n\n## Phase 3: Map to Fixes\n\nFor each finding, determine specific target and fix:\n\n| Target type | Example |\n|------------|---------|\n| SKILL.md step | \"ln-400 Step 2: add file path `src\u002Fconfig.ts`\" |\n| SKILL.md phase | \"ln-300 Phase 3: decompose into 3a-3c sub-steps\" |\n| `allowed-tools` | \"ln-400: add `mcp__hex-line__edit_file`\" |\n| Hook config | \"settings.json: add exception for `npm test`\" |\n| `references\u002Fscripts\u002F` | \"ln-520: move `test_harness.sh` to references\u002Fscripts\u002F\" |\n| CLAUDE.md | \"Add preference: terse responses, no trailing summaries\" |\n| MCP tool | \"hex-line edit_file: hash mismatch on concurrent edits\" |\n| Agent prompt | \"ln-310 Agent A: narrow scope to security-only\" |\n| Scope guard | \"ln-400: add Goal Articulation Gate at Phase 1\" |\n\n---\n\n## Phase 4: Report\n\nOutput to chat per `shared\u002Freferences\u002Fmeta_analysis_protocol.md` format.\n\n```\n### Session Analysis: {session identifier}\n\n#### Improvements\n| # | Dim | Finding | Target | Fix |\n|---|-----|---------|--------|-----|\n| 1 | D1 | 3 edit failures Phase 4 | ln-400 Step 2 | Add file path |\n| 2 | D4 | test.sh written ad-hoc | ln-520 | Move to references\u002Fscripts\u002F |\n| 3 | D6 | Over-explained 5 times | CLAUDE.md | Add \"terse\" pref |\n| 4 | D5 | Hook blocked Read 4x | settings.json | Add MCP permission |\n\n#### Session Errors\n| Problem Type | Count | Examples |\n|-------------|-------|---------|\n| Retry storm | 4 | 3x edit_file on config.ts |\n| Wrong target | 2 | Read utils.ts not helpers.ts |\n\n#### Subagent Errors: {Agent Name}  (per agent, if any)\n| Problem Type | Count | Examples |\n|-------------|-------|---------|\n| {type} | {N} | {brief} |\n\nIF no findings AND no errors: \"Session analysis: clean run.\"\n```\n\n---\n\n## Anti-Patterns\n\n| Do NOT | Instead |\n|--------|---------|\n| Define own output template | Reference protocol format |\n| Analyze files not in session | Only analyze what was actually used |\n| Generic recommendations | Each fix tied to specific file + location |\n| Report OK dimensions | Only findings with issues |\n\n---\n\n## Phase 5: Meta-Analysis\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fmeta_analysis_protocol.md`\n\nAnalyze this session per protocol §7. Output per protocol format.\n\n---\n\n## Definition of Done\n\n- [ ] D1-D10 dimensions checked\n- [ ] JSONL scanning works (`recent` mode)\n- [ ] Each finding has specific Target + Fix\n- [ ] Output per protocol format (improvements-only)\n- [ ] No template duplication\n- [ ] Meta-Analysis run\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-03-21\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# Session Analyzer (Standalone Utility)\n\n**Type:** Standalone Utility\n**Category:** 0XX Shared\n\nAnalyzes a session for errors, inefficiencies, and improvement opportunities. Produces actionable fixes for skills, tools, hooks, and communication style.\n\n**Scope:** Single-session deep analysis (10 dimensions). Broader than protocol self-audit, narrower than `\u002Faudit-sessions` batch.\nFor skill self-audit: `shared\u002Freferences\u002Fmeta_analysis_protocol.md` §7. For multi-day patterns: `\u002Faudit-sessions`.\n\n---\n\n## When to Use This Skill\n\n- After completing a task — find what went wrong and how to improve\n- Periodically — audit recent sessions for patterns\n- After a skill run — analyze how well the skill instructions worked\n- When debugging tool\u002Fhook issues — find root causes in session data\n\n---\n\n## Input\n\n`$ARGUMENTS`:\n- (empty) — analyze current session (conversation context)\n- `recent` — scan latest JSONL session per agent (Claude, Codex, Gemini)\n- `{skill-name}` — focus analysis on that skill's execution within the session\n\n---\n\n## Dimensions\n\n| # | Dimension | Scan for | Improvement target |\n|---|-----------|---------|-------------------|\n| D1 | Tool Errors | NOOP_EDIT, TEXT_NOT_FOUND, hash mismatch, out of range | SKILL.md steps — add paths, anchors |\n| D2 | Tool Waste | Full reads without outline, repeated reads, bash fallbacks | SKILL.md — \"outline first\", name MCP tools |\n| D3 | Process Issues | Tool loops 3+, retry storms, dead ends, wrong targets | SKILL.md phases — decompose |\n| D4 | Script Extraction | Ad-hoc bash\u002Fpython scripts written each run | `references\u002Fscripts\u002F` |\n| D5 | Hook & Permission | Hook blocks, permission denials, built-in instead of MCP | Hook config, `allowed-tools` |\n| D6 | Communication | Over-explaining, missing status, unnecessary confirmations | CLAUDE.md prefs, skill output notes |\n| D7 | Decision Quality | Dead ends before pivot, trial-and-error, slow error detection | SKILL.md decision trees, step clarity |\n| D8 | Context Pressure | Re-reading same files, re-asking resolved, thread loss | Caching notes, compact instructions |\n| D9 | Subagent Quality | Empty results, timeouts, overbroad prompts | Agent prompts, timeout settings |\n| D10 | Scope Drift | Deviation from goal, accidental expansion, pivot without reason | Scope guards, goal gates |\n\n---\n\n## Phase 1: Collect Session Data\n\nDetermine source based on `$ARGUMENTS`:\n\n### Current session (empty args)\n\nScan conversation context directly. You have access to all tool call results, errors, and messages.\n\n### Recent sessions (`recent` arg)\n\nFind latest session per agent (paths per `shared\u002Freferences\u002Fmeta_analysis_protocol.md` §7c):\n\n```bash\necho \"=== LATEST SESSIONS ===\"\n\necho \"## Claude\"\nCLAUDE_LATEST=$(stat -c '%Y %n' ~\u002F.claude\u002Fprojects\u002F*\u002F*.jsonl 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$CLAUDE_LATEST\" ] && echo \"  $CLAUDE_LATEST ($(wc -l \u003C \"$CLAUDE_LATEST\") lines)\" || echo \"  No sessions found\"\n\necho \"## Codex\"\nCODEX_LATEST=$(stat -c '%Y %n' ~\u002F.codex\u002Fsessions\u002F????\u002F??\u002F??\u002Frollout-*.jsonl 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$CODEX_LATEST\" ] && echo \"  $CODEX_LATEST ($(wc -l \u003C \"$CODEX_LATEST\") lines)\" || echo \"  No sessions found\"\n\necho \"## Gemini\"\nGEMINI_LATEST=$(stat -c '%Y %n' ~\u002F.gemini\u002Ftmp\u002F*\u002Fchats\u002Fsession-*.json 2>\u002Fdev\u002Fnull | sort -rn | head -1 | cut -d' ' -f2-)\n[ -n \"$GEMINI_LATEST\" ] && echo \"  $GEMINI_LATEST\" || echo \"  No sessions found\"\n```\n\n### Extract raw data from JSONL session\n\nRun for each found session file (`$F`):\n\n```bash\necho \"=== TOOL CALLS ===\"\ngrep -oE '\"name\"\\s*:\\s*\"[^\"]*\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | sort | uniq -c | sort -rn | head -30\n\necho \"=== ERRORS ===\"\ngrep -oE 'NOOP_EDIT|TEXT_NOT_FOUND|FILE_NOT_FOUND|HASH_HINT|DANGEROUS|out of range|mismatch|tool_use_error|permission denied' \"$F\" 2>\u002Fdev\u002Fnull | sort | uniq -c | sort -rn\n\necho \"=== TOOL LOOPS (3+ consecutive) ===\"\ngrep -oE '\"name\"\\s*:\\s*\"[^\"]*\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | uniq -c | sort -rn | awk '$1 >= 3'\n\necho \"=== BUILT-IN vs MCP ===\"\ngrep -oE '\"name\"\\s*:\\s*\"(Read|Edit|Write|Grep|mcp__hex-line__\\w+)\"' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F.*\"name\"\\s*:\\s*\"\u002F\u002F;s\u002F\"\u002F\u002F' | sort | uniq -c | sort -rn\n\necho \"=== HOOK EVENTS ===\"\ngrep -oE 'hook_progress|blocking error|PreToolUse|PostToolUse|hex-confirmed|Obligatory use|Use mcp__hex-line' \"$F\" 2>\u002Fdev\u002Fnull | sort | uniq -c | sort -rn\n\necho \"=== SKILL\u002FCOMMAND INVOCATIONS ===\"\ngrep -oE '\"display\":\\s*\"\u002F[a-z-]+' \"$F\" 2>\u002Fdev\u002Fnull | sed 's\u002F\"display\":\\s*\"\u002F\u002F' | sort | uniq -c | sort -rn\n```\n\n---\n\n## Phase 2: Analyze by Dimensions\n\nApply D1-D10 to collected data. Classify each finding:\n\n| Severity | Dimensions | Meaning |\n|----------|-----------|---------|\n| **Error** | D1, D5 | Something broke — tool failed, permission denied |\n| **Waste** | D2, D4, D8 | Unnecessary work — redundant reads, ad-hoc scripts, re-gathering |\n| **Pattern** | D3, D6, D7, D9, D10 | Improvable behavior — loops, communication, decisions |\n\n### D1: Tool Errors\nCount by type: NOOP_EDIT, TEXT_NOT_FOUND, hash mismatch, out of range, FILE_NOT_FOUND. For each, identify which step\u002Fphase caused it.\n\n### D2: Tool Waste\n- Reads without preceding outline (file >100 lines)\n- Same file read 3+ times\n- Bash `cat`\u002F`grep`\u002F`head`\u002F`sed` when MCP equivalent exists\n\n### D3: Process Issues\n- Tool loops: same tool on same file 3+ times without progress\n- Retry storms: 3+ attempts with different parameters\n- Dead ends: approach explored then abandoned\n- Wrong target: looked at file X when needed Y\n\n### D4: Script Extraction\n- Bash\u002FPython scripts written during session\n- If script would be needed on every run of the skill → candidate for `references\u002Fscripts\u002F`\n\n### D5: Hook & Permission\n- Hook blocks (PreToolUse\u002FPostToolUse blocking errors)\n- Built-in Read\u002FEdit\u002FWrite\u002FGrep used when MCP enforced\n- `hex-confirmed` bypasses — were they justified?\n\n### D6: Communication\n- Message length distribution (over-explaining vs terse)\n- Unnecessary confirmations (\"shall I proceed?\")\n- Missing status updates at milestones\n- Redundant summaries\n\n### D7: Decision Quality\n- Time to detect error and pivot (tool calls between error and correction)\n- Trial-and-error sequences vs targeted approach\n- Tool selection reasoning (used wrong tool first)\n\n### D8: Context Pressure\n- Same file read multiple times across phases\n- Information re-gathered that was already available\n- Signs of thread loss (re-asking resolved questions)\n\n### D9: Subagent Quality\n- Agent tool invocations with empty or low-value results\n- Agent timeouts\n- Overbroad prompts (agent did too much or too little)\n\n### D10: Scope Drift\n- Initial goal vs actual deliverables — any deviation?\n- Unplanned additions during execution\n- Pivots without explicit reason\n\n---\n\n## Phase 3: Map to Fixes\n\nFor each finding, determine specific target and fix:\n\n| Target type | Example |\n|------------|---------|\n| SKILL.md step | \"ln-400 Step 2: add file path `src\u002Fconfig.ts`\" |\n| SKILL.md phase | \"ln-300 Phase 3: decompose into 3a-3c sub-steps\" |\n| `allowed-tools` | \"ln-400: add `mcp__hex-line__edit_file`\" |\n| Hook config | \"settings.json: add exception for `npm test`\" |\n| `references\u002Fscripts\u002F` | \"ln-520: move `test_harness.sh` to references\u002Fscripts\u002F\" |\n| CLAUDE.md | \"Add preference: terse responses, no trailing summaries\" |\n| MCP tool | \"hex-line edit_file: hash mismatch on concurrent edits\" |\n| Agent prompt | \"ln-310 Agent A: narrow scope to security-only\" |\n| Scope guard | \"ln-400: add Goal Articulation Gate at Phase 1\" |\n\n---\n\n## Phase 4: Report\n\nOutput to chat per `shared\u002Freferences\u002Fmeta_analysis_protocol.md` format.\n\n```\n### Session Analysis: {session identifier}\n\n#### Improvements\n| # | Dim | Finding | Target | Fix |\n|---|-----|---------|--------|-----|\n| 1 | D1 | 3 edit failures Phase 4 | ln-400 Step 2 | Add file path |\n| 2 | D4 | test.sh written ad-hoc | ln-520 | Move to references\u002Fscripts\u002F |\n| 3 | D6 | Over-explained 5 times | CLAUDE.md | Add \"terse\" pref |\n| 4 | D5 | Hook blocked Read 4x | settings.json | Add MCP permission |\n\n#### Session Errors\n| Problem Type | Count | Examples |\n|-------------|-------|---------|\n| Retry storm | 4 | 3x edit_file on config.ts |\n| Wrong target | 2 | Read utils.ts not helpers.ts |\n\n#### Subagent Errors: {Agent Name}  (per agent, if any)\n| Problem Type | Count | Examples |\n|-------------|-------|---------|\n| {type} | {N} | {brief} |\n\nIF no findings AND no errors: \"Session analysis: clean run.\"\n```\n\n---\n\n## Anti-Patterns\n\n| Do NOT | Instead |\n|--------|---------|\n| Define own output template | Reference protocol format |\n| Analyze files not in session | Only analyze what was actually used |\n| Generic recommendations | Each fix tied to specific file + location |\n| Report OK dimensions | Only findings with issues |\n\n---\n\n## Phase 5: Meta-Analysis\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fmeta_analysis_protocol.md`\n\nAnalyze this session per protocol §7. Output per protocol format.\n\n---\n\n## Definition of Done\n\n- [ ] D1-D10 dimensions checked\n- [ ] JSONL scanning works (`recent` mode)\n- [ ] Each finding has specific Target + Fix\n- [ ] Output per protocol format (improvements-only)\n- [ ] No template duplication\n- [ ] Meta-Analysis run\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-03-21\n",{"name":5,"license":15,"metadata":44,"description":7},{"allowed-tools":45},"Bash, Read, Glob, Grep, Agent, mcp__hex-line__read_file, mcp__hex-line__grep_search, mcp__hex-line__outline","main","2a76bf42ce5c860adf8d0f3fcf3f6804109ac65b","skills\u002Fln-002-session-analyzer",0,"https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fwiki","https:\u002F\u002Fgithub.com\u002Fonfire7777","trying to create something actually useful","2026-09-11 13:25:26",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add onfire7777\u002Funiversal-ai-skills-library --skill ln-002-session-analyzer",{"tool":61,"command":62},"bunx","bunx skills add onfire7777\u002Funiversal-ai-skills-library --skill ln-002-session-analyzer",{"tool":64,"command":65},"pnpm","pnpm dlx skills add onfire7777\u002Funiversal-ai-skills-library --skill ln-002-session-analyzer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fln-002-session-analyzer\u002FSKILL.md",true,[],[70,85,93,102,121,136],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":39},"01M6J7MPK8ZE9VQJR4KK6ZMZJQ","zyte-api-automation","Automate Zyte API tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzyte-api-automation\u002FSKILL.md",[],[77,78,79,26,25,80,81,82,83,35,37,84],"automation","api","zyte api automation","via","composio","automate","first","tasks",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M6J7MK45K2ZZ0EWTP1N6SZ7F","zylvie-automation","Automate Zylvie tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzylvie-automation\u002FSKILL.md",[],[77,92,25,84,26,80,81,82,83,35,37],"zylvie automation",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M6J7MGDCVZ3YCXGEAPR5V3MS","zoominfo-automation","Automate Zoominfo tasks via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzoominfo-automation\u002FSKILL.md",[],[100,101,77,82,81,35,80,84,26,37,25,83],"zoominfo","zoominfo automation",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":39},"01M6J7MDK48N09B7C6H9TCPY9A","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[109,110,111,112,113,114,115,116,117,32,118,119,120],"zoom out","zoom","perspective","code","re","you","with","understand","it","context","how","true",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M6J7MAD47Q9A55AK3EXS914H","zoho-mail-automation","Automate Zoho Mail tasks via Rube MCP (Composio): email sending, folders, labels, and mailbox management. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-mail-automation\u002FSKILL.md",[],[128,129,130,131,77,132,37,84,25,35,133,26,80,134,81,135,82,83],"mail","zoho mail automation","zoho","zoho mail","email","labels","mailbox","management",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M6J7M76HTWPP8TRWWCDS42NB","zoho-invoice-automation","Automate Zoho Invoice tasks via Rube MCP (Composio): invoices, estimates, expenses, clients, and payment tracking. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fonfire7777\u002Funiversal-ai-skills-library\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-invoice-automation\u002FSKILL.md",[],[143,77,130,144,25,80,26,145,146,147,81,148,149,82,83,35,37,84],"invoice","zoho invoice automation","invoices","expenses","clients","payment","tracking"]