Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shaun0927-diagnose
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/diagnose
What's inside
- Skill name
diagnose- Description
- Deep analysis and investigation
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "diagnose" does not match folder "analyze"
Files (2)
- SKILL.md
- skill.manifest.json
SKILL.md (first lines)
<Purpose>
Analyze performs deep investigation of architecture, bugs, performance issues, and dependencies. It routes to the architect agent or Codex MCP for thorough analysis and returns structured findings with evidence.
</Purpose>
<Use_When>
- User says "analyze", "investigate", "debug", "why does", or "what's causing"
- User needs to understand a system's architecture or behavior before making changes
- User wants root cause analysis of a bug or performance issue
- User needs dependency analysis or impact assessment for a proposed change
- User asks for broad codebase analysis and wants hotspots or refactor priorities
- A complex question requires reading multiple files and reasoning across them
</Use_When>
<Do_Not_Use_When>
- User wants code changes made -- use executor agents or `ralph` instead
- User wants a full plan with acceptance criteria -- use `plan` skill instead
- User wants a quick file lookup or symbol search -- use `explore` agent instead
- User asks a simple factual question that can be answered from one file -- just read and answer directly
</Do_Not_Use_When>
<Why_This_Exists>
Deep investigation requires a different approach than quick lookups or code changes. Analysis tasks need broad context gathering, cross-file reasoning, and structured findings. Routing these to the architect agent or Codex ensures the right level of depth without the overhead of a full planning or execution workflow.
</Why_This_Exists>
<Execution_Policy>
- Prefer Codex MCP for analysis when available (faster, lower cost)
- Fall back to architect Codex agent when Codex is unavailable
- Always provide context files to the analysis tool for grounded reasoning
- Return structured findings, not just raw observations
</Execution_Policy>
<Codebase_Analysis_Playbook>
When the user asks for broad codebase analysis, return this minimum structure:
- Architecture map: Key modules, responsibilities, and primary data/control flow
- Risk hotspots: Fragile, high-churn, or high-blast-radius files with evidence
- Quality gaps: Test gaps, observability blind spots, and dependency risks
- Prioritized actions: Top 3-5 improvements with effort level and expected impact
- Unknowns: Open questions or assumptions that block certainty
If scope is too large, do a fast first-pass over high-signal directories, then recommend a narrowed second pass.
</Codebase_Analysis_Playbook>
<Steps>
1. **Identify the analysis type**: Architecture, bug investigation, performance, or dependency analysis
2. **Gather relevant context**: Read or identify the key files involved
3. **Route to analyzer**:
- Preferred: `ask_codex` with `agent_role: "architect"` and relevant `context_files`
- Fallback: `Task(subagent_type="superskills:architect", model="high-reasoning", prompt="Analyze: ...")`
4. **Return structured findings**: Present the analysis with evidence, file references, and actionable recommendations
</Steps>
<Tool_Usage>
- Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools
- Use `ask_codex` with `agent_role: "architect"` as the preferred analysis route
- Pass `context_files` with all relevant source files for grounded analysis
- Use `Task(subagent_type="superskills:architect", model="high-reasoning", ...)` as fallback when ToolSearch finds no MCP tools or Codex is unavailable
- For broad analysis, use `explore` agent first to identify relevant files before routing to architect
</Tool_Usage>
<Examples>
<Good>
User: "analyze why the WebSocket connections drop after 30 seconds"
Action: Gather WebSocket-related files, route to architect with context, return root cause analysis with specific file:line references and a recommended fix.
Why good: Clear investigation target, structured output with evidence.
</Good>
<Good>
User: "investigate the dependency chain from src/api/routes.ts"
Action: Use explore agent to map the import graph, then route to architect for impact analysis.
Why good: Uses explore for fact-gathering, architect for reasoning.
</Good>
<Bad>
User: "analyze the auth module"
Action: Returning "The auth module handles authentication."
Why bad: Shallow summary without investigation. Should examine the module's structure, patterns, potential issues, and provide specific findings with file references.
</Bad>
<Bad>
User: "fix the bug in the parser"
Action: Running analysis skill.
Why bad: This is a fix request, not an analysis request. Route to executor or ralph instead.
</Bad>
</Examples>
<Escalation_And_Stop_Conditions>
- If analysis reveals the issue requires code changes, report findings and recommend using `ralph` or executor for the fix
- If the analysis scope is too broad ("analyze everything"), provide a first-pass hotspot report and ask for narrowed follow-up scope
- If Codex is unavailable and the architect agent also fails, report what context was gathered and suggest manual investigation paths
</Escalation_And_Stop_Conditions>
<Final_Checklist>
- [ ] Analysis addresses the specific question or investigation target
- [ ] Findings reference specific files and line numbers where applicable
- [ ] Root causes are identified (not just symptoms) for bug investigations
- [ ] Actionable recommendations are provided
- [ ] Analysis distinguishes between confirmed facts and hypotheses
- [ ] For broad codebase requests, output includes architecture map, hotspots, and prioritized next actions
</Final_Checklist>
Task: {{ARGUMENTS}}From shaun0927/codex-superskills, MIT.
More from shaun0927/codex-superskills
- 0.408score
code-review-expert
shaun0927
Expert review of git changes with SOLID, security, reliability, and removal-plan guidance
SkillDFreshness: DClaude Code +9 - 0.404score
doctor
shaun0927
Diagnose codex-superskills installation and runtime readiness
SkillDFreshness: DClaude Code +9 - 0.401score
mcp-setup
shaun0927
Configure MCP usage for codex-superskills runtime
SkillDFreshness: DClaude Code +9 - 0.401score
help
shaun0927
Codex-superskills quick guide and command map
SkillDFreshness: DClaude Code +9 - 0.401score
ecomode
shaun0927
Token-efficient model routing modifier
SkillDFreshness: DClaude Code +9 - 0.401score
frontend-ui-ux
shaun0927
Designer-developer for UI/UX work
SkillDFreshness: DClaude Code +9 - 0.401score
hud
shaun0927
Operate and verify Codex runtime HUD/status output
SkillDFreshness: DClaude Code +9 - 0.400score
stop-run
shaun0927
Cancel any active superskills mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillDFreshness: DClaude Code +9 - 0.397score
blueprint
shaun0927
Strategic planning with optional interview workflow
SkillDFreshness: DClaude Code +9 - 0.397score
ship
shaun0927
Full autonomous execution from idea to working code
SkillDFreshness: DClaude Code +9 - 0.397score
fix-build
shaun0927
Fix build and TypeScript errors with minimal changes
SkillDFreshness: DClaude Code +9 - 0.397score
quality-check
shaun0927
Run a comprehensive code review
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 14
- Last commit (this folder)
- Feb 18, 2026 (8 months ago)
- Last release
- Feb 17, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shaun0927/codex-superskills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shaun0927
- 0.408score
code-review-expert
shaun0927
Expert review of git changes with SOLID, security, reliability, and removal-plan guidance
SkillDFreshness: DClaude Code +9 - 0.404score
doctor
shaun0927
Diagnose codex-superskills installation and runtime readiness
SkillDFreshness: DClaude Code +9 - 0.401score
ecomode
shaun0927
Token-efficient model routing modifier
SkillDFreshness: DClaude Code +9 - 0.401score
frontend-ui-ux
shaun0927
Designer-developer for UI/UX work
SkillDFreshness: DClaude Code +9 - 0.401score
help
shaun0927
Codex-superskills quick guide and command map
SkillDFreshness: DClaude Code +9 - 0.401score
hud
shaun0927
Operate and verify Codex runtime HUD/status output
SkillDFreshness: DClaude Code +9
Cite this page
diagnose skill. Agent Mart. https://agentmart.dev/skills/shaun0927-diagnose (last updated 2026-10-24)