/rcc:planning-agent-systemsfrom rcc
Plans agent system components by mapping workflows to components with explicit rationale, producing a component plan for user confirmation.
Ships in rcc. 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.
Planning agent systems IS mapping workflows to components with explicit rationale.
Read the analysis report and workflow summary, decide what to create/modify/delete, identify which writing-* skills to invoke, and get user confirmation before execution.
Core principle: Every component must trace back to a workflow need or a weakness fix. No speculative components.
Pattern: Chain
Handoff: user-confirmation
Next: applying-agent-systems
Chain: main
Follow task initialization protocol.
Tasks:
Announce: "Created 5 tasks. Starting execution..."
Goal: Load analysis report (if available) and workflow summary.
Read:
.rcc/*-analysis.md (most recent, if exists).rcc/*-workflows.md (most recent, if exists).rcc/*-reflection.md (most recent, if exists)Extract:
Verification: Have a clear list of requirements from both sources.
Goal: Visualize the entire agent system topology before deciding individual components.
Why this comes first: Component lists hide dependency gaps and workflow disconnects. A flowchart forces you to see the whole picture — entry points, decision branches, data flow, and handoff points — before committing to any component.
Important: Read references/anthropic-patterns.md for the six Anthropic workflow patterns, DOT flowchart conventions, and dependency graph template.
Step 1 — Classify workflows into Anthropic patterns using the reference table.
Step 2 — Draw the architecture flowchart in DOT format using the reference conventions.
Step 3 — Build the dependency graph from the flowchart, assigning phases by dependency depth.
Step 4 — Check prior learnings before architecture decisions:
Read past reflection reports (.rcc/*-reflection.md) and .rcc/config.yml decisions_log for known failure modes and prior decisions.
Step 5 — Identify the simplest viable subset:
Ask: "What is the minimum set of components that delivers value?"
Verification: Architecture flowchart produced showing all workflows, patterns identified, dependency graph built, phases assigned, prior learnings addressed.
Goal: Decide action for each component type.
Important: Read references/component-planning.md for the evaluation table, decision criteria, size constraints, and writing skill assignments.
Use the dependency graph from Task 2 to determine execution order. Do NOT use a fixed order — let dependencies drive sequencing. Components in the same phase with no mutual dependencies can be built in parallel.
Agent layer ordering — follow this sequence when planning agents:
Sonnet implementer first — establish the core implementation agent before anything else. This is the foundation all other layers depend on.
Implementer capability analysis (MANDATORY before moving on): Based on what the implementer will do (from the planned workflows), identify what project-specific knowledge it needs that Claude Code does NOT already know:
| Question | If yes, plan this component |
|---|---|
| Are there non-standard conventions specific to this project/framework? | CLAUDE.md update or scoped rule |
| Do file types need different conventions (e.g., API vs. domain model)? | Path-scoped rule per file type |
| Should any quality constraint be enforced deterministically (not advisory)? | Hook with exit code 2 |
| Are there project-specific gotchas Claude would get wrong without being told? | CLAUDE.md or rule |
Exclude: Standard language conventions, general best practices, anything a linter already enforces, anything Claude knows from training. Only plan components that add project-specific signal.
Orchestrator second — add only if dispatch complexity justifies a dedicated coordinator. If there is only one implementer doing a single job, a separate orchestrator adds overhead without value.
Opus quality gate / advisor third — add only if (a) a revision loop exists and (b) the output will be mechanically executable by downstream Sonnet. Without both conditions, skip Opus.
Safety baseline (MANDATORY check): Every plan must include or explicitly waive the safety bypass prevention rules. These are baseline defaults, not project-specific additions:
| Rule | Scope | Source |
|---|---|---|
git-safety.md | Global | writing-rules/references/examples.md |
deploy-safety.md | Global (if project deploys) | same |
destructive-ops.md | Global | same |
Pair with reflecting skill's safety_bypass event detection for prevent-detect-learn loop. If the user already has equivalent global rules in ~/.claude/rules/, note them in the plan as "inherited — no project-level duplicate needed". If the user waives safety rules, record the justification explicitly.
Verification: Each planned component has a traced rationale and assigned writing-* skill. Agent layers follow the ordering above. Implementer capability analysis completed. Safety baseline resolved (planned, inherited, or explicitly waived). No conflicts identified.
Goal: Write structured plan to .rcc/{timestamp}-plan.md.
Important: Read references/plan-template.md for the full plan format including architecture flowchart, pattern mapping, dependency graph, and component sections.
Verification: Plan written with complete execution order and traceability.
Goal: Present plan and get explicit approval.
Present the FULL plan to user. Show: architecture flowchart, pattern mapping, dependency graph with phases, each component's purpose and content, weakness fixes, core/enhancement classification, and estimated scope per phase.
Anti-pattern: Listing component names without explaining what they do is NOT presenting.
Ask: "Does this plan look good? Ready to start building components?"
Handoff: After user confirms → invoke applying-agent-systems skill, pass plan path
Verification: User has reviewed the full plan and explicitly approved.
These thoughts mean you're rationalizing. STOP and reconsider:
| Thought | Reality |
|---|---|
| "Skip the flowchart" | Component lists hide dependency gaps. The flowchart reveals what's missing. |
| "Create everything" | YAGNI. Only create what traces to a need. |
| "Skip traceability" | Untraceable components become mystery debt. |
| "Skip confirmation" | User approval prevents wasted effort. |
| "Skip reuse check" | Duplicating existing skills creates conflicts. |
| "One big rule" | Multiple focused rules > one bloated rule. |
| "Fixed order is fine" | Dependencies vary per project. Let the graph decide. |
What SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/advising-architectureValidates component-type choices for agent system work, classifying knowledge as CLAUDE.md vs rule vs skill vs agent vs hook and checking for conflicts. Use when starting any skill/agent/rule workflow to validate approach. Use when classifying knowledge type. Use when checking for component conflicts./analyzing-agent-systemsScans project structure and agent system components, runs 11-category weakness analysis, and produces actionable restructuring recommendations. Use when analyzing an existing agent system for weaknesses. Use when user says "analyze agent system", "check agent setup", "audit agent config". Use when called by migrating-agent-systems or refactoring-skills./npx claudepluginhub wayne930242/reflexive-claude-code --plugin rccOther plugins' skills for the same job