/codexai-agentic-workflow:codex-intent-context-analyzerfrom codexai-agentic-workflow
Parses user requests into structured intent JSON with goal, constraints, and routing before build, fix, debug, review, or docs tasks. Automatically selects and announces the best agent for the job.
Ships in codexai-agentic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bang-isme/codexai---skills --plugin codexai-agentic-workflowParse the request into structured intent JSON (goal, constraints, complexity). Treat a clear implementation request as authorization for its stated scope; ask only when a material decision has no safe default or a risk boundary needs authorization. A plan-only request stops after the plan. Follow the shared confirmation policy in skills/codex-workflow-autopilot/references/workflow-routing-contract.json. For large repos: read index files first, max 20 files deep-read per task.
$codex-intent-context-analyzer or $intent.Always return a fenced JSON block in conversation:
{
"intent": "build | fix | review | debug | docs | refactor | deploy | handoff | other",
"goal": "One-sentence description",
"pain_points": ["Problems extracted from the prompt"],
"constraints": ["Technical or business constraints"],
"missing_info": ["Information needed but not provided"],
"normalized_prompt": "Clean rewrite of the user request",
"complexity": "simple | complex",
"needs_confirmation": false,
"suggested_agent": "design-lead | frontend-specialist | visual-quality-reviewer | backend-specialist | security-auditor | debugger | test-engineer | devops-engineer | planner | scrum-master | null",
"design_operation": "extend | refine | redesign | new | null",
"surface_mode": "persuade | operate | read | experience | null",
"supporting_agents": [],
"ambiguity_reasons": [],
"required_evidence": []
}
Keep every existing field exactly as-is. Additive fields are suggested_agent, design_operation, surface_mode, supporting_agents, ambiguity_reasons, and required_evidence.
The example represents clear, authorized scope. Set needs_confirmation to true only for a condition in the shared confirmation policy.
After classifying intent, select the best primary agent from skills/.agents/ and announce it in conversation:
🤖 Routing to @[agent-name]...
| Intent | Primary Agent | Secondary |
|---|---|---|
| build (vague new/redesign UI) | design-lead | frontend-specialist, visual-quality-reviewer |
| build (flow/usability) | design-lead | frontend-specialist |
| build (visual execution of a chosen direction) | design-lead | frontend-specialist |
| build (implementation-only frontend) | frontend-specialist | visual-quality-reviewer |
| build (backend) | backend-specialist | test-engineer |
| review (visual) | visual-quality-reviewer | — |
| fix or debug | debugger | — |
| review or audit | security-auditor | — |
| deploy | devops-engineer | security-auditor |
| plan | planner | — |
| scrum | scrum-master | — |
Security, debug, and deploy routing still beat design routing.
intent enum unchanged. plan and scrum are routing overlays, not new required JSON intent literals.design-lead (fast by default, studio for $direction or new identity). Implementation-only and CSS refine do not load design-lead.supporting_agents and mention it in prose after the routing line.suggested_agent to null and continue with the normal clarification flow.After routing to an agent, the following discipline skills activate automatically through agent behavioral rules:
| Agent | Auto-Loads Discipline Skills |
|---|---|
debugger | codex-systematic-debugging ($root-cause) + codex-test-driven-development ($tdd) |
test-engineer | codex-test-driven-development ($tdd) |
design-lead | codex-frontend-design then codex-frontend-implementation |
visual-quality-reviewer | codex-visual-quality-gate (must not approve its own implementation) |
frontend-specialist | codex-test-driven-development ($tdd) via implement mode |
backend-specialist | codex-test-driven-development ($tdd) via implement mode |
planner | codex-subagent-execution ($sdd) available for execution handoff |
For fix or debug intents: Systematic debugging (4-phase root cause) activates BEFORE any fix attempt.
For all build intents: TDD (RED-GREEN-REFACTOR) activates as a behavioral constraint during implementation.
Use Socratic clarification when material requirements are unresolved. Complexity alone does not require another confirmation when the user has clearly requested implementation and a safe, reversible default is available.
Do NOT write substantial UI for a new identity until a brief exists. A single page or component uses the frontend fast path: 5-line brief then build. `$spec` and `$init-docs` are not required for that scope.
A one-line CSS refine, an approved-design implementation, or a backend-only fix must not be forced through a long Socratic interview. Ask zero or one boundary question, then execute.
When material ambiguity has no safe default, ask up to 2–3 questions in one round, not an endless one-at-a-time interview. Each question must change the design or implementation. Skip questions whose answers would not change the outcome.
Cover only what is missing:
Prefer multiple choice questions when possible — easier to answer than open-ended.
Do not ask accent-color trivia when the user already named a framework and an approved mock.
Format:
When the user asks for design options or a material design choice is unresolved, propose 2-3 approaches with trade-offs:
Scale each section to its complexity:
After presenting the design, run a quick self-check:
Fix issues inline. No need to re-review — just fix and move on.
Follow confirmation_policy in skills/codex-workflow-autopilot/references/workflow-routing-contract.json. Set needs_confirmation only when that policy requires a decision. A clear request authorizes its stated scope, so do not ask the user to confirm the same scope again. Ask before unrequested destructive, irreversible, high-impact, or external actions, and before expanding scope. A plan-only request ends after the plan; an implementation request may use an internal plan and continue within its authorized scope. Keep required spec or design reviews when they present a new artifact or material decision.
If intent is other, ask user to rephrase or choose one of:
build, fix, review, debug, docs, refactor, deploy, handoff.
--help first.For repositories with more than 50 files or existing .codex/ context:
../codex-project-memory/references/unified-memory-architecture.md):
.codex/profile.json, .codex/pulse/sprint-state.json, latest .codex/sessions/*.md.codex/context/genome.md, .codex/knowledge/INDEX.md.codex/specs/<slug>/SPEC.md, DESIGN.md, .codex/decisions/*.md.codex/project-docs/<role>/*.md.codex/ memory exists yet, read repository index files first: ARCHITECTURE.md, CODEBASE.md, README.md.main, index, app, server)package.json, tsconfig.json, pyproject.toml, etc.)SILC-### seam files31 skills in this plugin
/codex-branch-finisherUse when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup/codex-context-engineUse when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination./codex-design-mdUse for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the native CodexAI engine./codex-doc-rendererUse when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks./codex-docs-change-syncUse when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation./codex-document-writerUse for documents, reports, memos, guides, academic papers, or formal text that needs clear structure, reliable tone, formatting, and diagrams.Other plugins' skills for the same job