agent-council
Collect and synthesize opinions from multiple AI agents. Use when users say "summon the council", "ask other AIs", or want…
This skill should be used when the user asks to "analyze session", "세션 분석", "evaluate skill execution", "스킬 실행 검증", "check session logs", "로그 분석", provides a session ID with a skill path, or wants to verify that a skill executed correctly in a past session. Post-hoc analysis of
$ npx -y skills add team-attention/plugins-for-claude-natives --skill session-analyzer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/session-analyzerContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user asks to "analyze session", "세션 분석", "evaluate skill execution", "스킬 실행 검증", "check session logs", "로그 분석", provides a session ID with a skill path, or wants to verify that a skill executed correctly in a past session. Post-hoc analysis of
name: session-analyzer description: This skill should be used when the user asks to "analyze session", "세션 분석", "evaluate skill execution", "스킬 실행 검증", "check session logs", "로그 분석", provides a session ID with a skill path, or wants to verify that a skill executed correctly in a past session. Post-hoc analysis of Claude Code sessions to validate skill/agent/hook behavior against SKILL.md specifications. version: 1.0.0 user-invocable: true
Post-hoc analysis tool for validating Claude Code session behavior against SKILL.md specifications.
Analyze completed sessions to verify: 1. **Expected vs Actual Behavior** - Did the skill follow SKILL.md workflow? 2. **Component Invocations** - Were SubAgents, Hooks, and Tools called correctly? 3. **Artifacts** - Were expected files created/deleted? 4. **Bug Detection** - Any unexpected errors or deviations?
---
| Parameter | Required | Description | |-----------|----------|-------------| | `sessionId` | YES | UUID of the session to analyze | | `targetSkill` | YES | Path to SKILL.md to validate against | | `additionalRequirements` | NO | Extra validation criteria |
---
Session files are located in `~/.claude/`:
# Main session log
~/.claude/projects/-{encoded-cwd}/{sessionId}.jsonl
# Debug log (detailed)
~/.claude/debug/{sessionId}.txt
# Agent transcripts (if subagents were used)
~/.claude/projects/-{encoded-cwd}/agent-{agentId}.jsonlUse script to locate files:
${baseDir}/scripts/find-session-files.sh {sessionId}Check all required files exist before proceeding. If debug log is missing, analysis will be limited.
---
Read the target SKILL.md and identify:
**From YAML Frontmatter:**
**From Markdown Body:**
Create checklist from SKILL.md analysis:
## Expected Behavior
### SubAgents
- [ ] Explore agent called (parallel, run_in_background)
- [ ] gap-analyzer called before plan generation
- [ ] reviewer called after plan creation
### Hooks
- [ ] PreToolUse[Edit|Write] triggers plan-guard.sh
- [ ] Stop hook validates reviewer approval
### Artifacts
- [ ] Draft file created at .dev-flow/drafts/{name}.md
- [ ] Plan file created at .dev-flow/plans/{name}.md
- [ ] Draft file deleted after OKAY
### Workflow
- [ ] Interview Mode before Plan Generation
- [ ] User explicit request triggers plan generation
- [ ] Reviewer REJECT causes revision loop---
The debug log (`~/.claude/debug/{sessionId}.txt`) contains detailed execution traces.
Search patterns:
SubagentStart with query: {agent-name}
SubagentStop with query: {agent-id}Use script:
${baseDir}/scripts/extract-subagent-calls.sh {debug-log-path}Search patterns:
Getting matching hook commands for {HookEvent} with query: {tool-name}
Matched {N} unique hooks for query "{query}"
Hooks: Processing prompt hook with prompt: {prompt}
Hooks: Prompt hook condition was met/not met
permissionDecision: allow/denyUse script:
${baseDir}/scripts/extract-hook-events.sh {debug-log-path}Search patterns:
executePreToolHooks called for tool: {tool-name}
File {path} written atomicallyFor prompt-based hooks, find the model response:
Hooks: Model response: {
"ok": true/false,
"reason": "..."
}---
For each expected artifact: 1. Search debug log for `FileHistory: Tracked file modification for {path}` 2. Search for `File {path} written atomically` 3. Verify current filesystem state
For files that should be deleted: 1. Search for `rm` commands in Bash calls 2. Verify file no longer exists on filesystem
---
| Component | Expected | Actual | Status | |-----------|----------|--------|--------| | Explore agent | 2 parallel calls | 2 calls at 09:39:26 | ✅ | | gap-analyzer | Called before plan | Called at 09:43:08 | ✅ | | reviewer | Called after plan | 2 calls (REJECT→OKAY) | ✅ | | PreToolUse hook | Edit\|Write matcher | Triggered for Write | ✅ | | Stop hook | Validates approval | Returned ok:true | ✅ | | Draft file | Created then deleted | Created→Deleted | ✅ | | Plan file | Created | Exists (10KB) | ✅ |
Flag any mismatches:
---
# Session Analysis Report
## Session Info
- **Session ID**: {sessionId}
- **Target Skill**: {skillPath}
- **Analysis Date**: {date}
---
## 1. Expected Behavior (from SKILL.md)
[Summary of expected workflow]
---
## 2. Skill/SubAgent/Hook Verification
### SubAgents
| SubAgent | Expected | Actual | Time | Result |
|----------|----------|--------|------|--------|
| ... | ... | ... | ... | ✅/❌ |
### Hooks
| Hook | Matcher | Triggered | Result |
|------|---------|-----------|--------|
| ... | ... | ... | ✅/❌ |
---
## 3. Artifacts Verification
| Artifact | Path | Expected State | Actual StA collection of Claude Code plugins for power users who want to extend Claude Code's capabilities beyond the defaults.
Collect and synthesize opinions from multiple AI agents. Use when users say "summon the council", "ask other AIs", or want…
This skill should be used when the user is building, planning, or strategizing and the key question is whether to optimize…
This skill should be used when the user provides a strategy, plan, or decision document and wants to surface hidden assumptions…
This skill should be used when the user's request or requirement is ambiguous and needs iterative questioning to become…
개발 커뮤니티에서 기술 주제에 대한 다양한 의견 수집. "개발자 반응", "커뮤니티 의견", "developer reactions" 요청에 사용. Reddit, HN, Dev.to, Lobsters 등 종합.
This skill should be used when the user asks to "기술 의사결정", "뭐 쓸지 고민", "A vs B", "비교 분석", "라이브러리 선택", "아키텍처 결정", "어떤 걸 써야 할지",…