Architecture
Six responsibility planes, acting at the same time.
rd-skills is not a hidden agent runtime and not a fixed pipeline. It is a set of planes that constrain the same task concurrently — when the Task Agent edits a file, its skills, execution level, evidence obligations and authority all apply at once.
Planes
What each plane is responsible for.
Read this as six concerns, not six steps. Nothing here runs in sequence.
Authority Plane
What is allowed to change, and who decided.
- Core Contract
- Direct Task Contract
- Engineering Brief
- Task Contract
- Completion
Knowledge Plane
Which expertise is in context, and why it was loaded.
- Control
- Professional
- Foundation
- Domain
- Targeted References
Role Plane
Who may read, write, review and close.
- Main
- Analysis
- Task
- Review
Assurance Plane
How strong the proof must be before a claim stands.
- Execution Level
- Validation
- Evidence Ledger
- Review Boundary
- Scoped Freshness
Host Adapter Plane
How the model projects onto each agent host's real capabilities.
- Codex
- Claude
- Copilot
- Cline
- OpenAI API
Build / QA Plane
How the runtime is compiled and proven before release.
- Registry
- build.py
- Validation
- Routing evals
- Professional evals
- Release evidence
Roles
Authority and tool boundaries, not personas.
4 fixed agents cover a large number of engineering domains because professionalism comes from skills rather than from the agent itself.
- 01
Main Control Agent
Can
- Classify the request
- Assign path and profile
- Compute execution level
- Route review, repair and closure
Deliberately cannot
- Read target source
- Implement
- Review
- 02
Analysis Agent
Can
- Read source, tests and external evidence
- Resolve ambiguity
- Produce the Engineering Brief
Deliberately cannot
- Edit code
- Issue the final review
- 03
Task Agent
Can
- Implement or repair one bounded task
- Run targeted validation after the final edit
Deliberately cannot
- Reroute itself
- Review its own change
- 04
Review Agent
Can
- Read the exact diff and changed files
- Read current validation
- Report findings
Deliberately cannot
- Edit or repair
- Export the diff on the Task Agent's behalf
MainAnalysisTaskReviewClosure— but this is not always a fixed linear pipeline.
Execution
What actually happens to one request.
Classification happens once, and everything downstream consumes that decision instead of re-deriving it.
- 01
Request
The user states a goal. Nothing is assumed about scope yet.
- 02
Classify once
One classification decides the path: Direct Task when the facts and boundary are already established, Analyzed Work when owner, placement, verification or material risk is unknown.
- 03
Authority
Direct Task produces a Direct Task Contract. Analyzed Work produces an Engineering Brief — the single runtime analysis authority that later artifacts may project but never redefine.
- 04
Professional owner
Every task gets exactly one Primary Professional. Ownership is by engineering decision, not by language or framework.
- 05
JIT expertise
A selector adds at most three Layer 3 skills, plus the references whose load conditions actually fire.
- 06
Execute and validate
The Task Agent changes code inside the contract, then runs targeted validation after the final edit.
- 07
Independent review
A Review Agent reads the exact change, the changed files and the current validation. It cannot repair what it finds.
- 08
Evidence-backed closure
Completed is allowed only when current evidence covers the completion claim.
Knowledge
Three layers, one fixed runtime surface.
The repository holds 189 source skills. The host sees 26. The difference is not lost capability — it is deferred loading.
- 1Control
- Runtime top level. Classifies, dispatches, and routes review, repair and closure.
- 25Professional
- Runtime top level. Exactly one primary professional owns each task.
- 141Product Foundation
- Capability modifiers, loaded JIT through the professional selector. Never a host top-level skill.
- 13Domain
- Modifier-only. Adds domain invariants and proof obligations; never owns a primary route.
Fixed request path: user → control → primary professional → selector → 0..3 Layer 3 → required references. Task and review consume that routing decision; they never re-run the global router.
9 further foundation skills are authoring- or dev-only. They take part in source and internal validation, and never reach a runtime.
Evidence
Every claim carries its own limits.
Evidence is not a test result. It is a test result with a scope, a timestamp relative to the final edit, a statement of what it cannot prove, and the risk that remains.
- Scope
- What this evidence actually covers — and what it never touched.
- Freshness
- Whether it was produced after the final edit. A later edit invalidates it.
- Proof limit
- What this evidence cannot establish, stated rather than implied.
- Residual risk
- What remains reachable after the controls that are in place.
- L1Strict minimalMust satisfy both L1 and L2 eligibility. Non-bypassable controls still apply.
- L2Bounded and reversibleOne bounded owner, local scope, reversible forward fix, known non-production verification, no material unknown.
- L3Default executable taskdefaultThe standard source-backed executable task. This is the default, not an escalation.
- L4Reachable residual riskMaterial residual impact remains reachable after existing controls, or an explicit policy floor applies.
- L5Extra assuranceConfirmed critical L4 where additional assurance materially reduces uncertainty.
Level changes the depth and independence of validation, review and evidence. It never re-selects the primary professional, the implementation Layer 3, the domain, or the required review skills.
Build
Authoring source becomes a host-consumable projection.
Validators and evals produce authoring, regression and release evidence. They are not stages of a user's task.
src/
authoring source — contracts, skills, registries, profiles
build preflight
schema, path, projection and ownership checks
scripts/build.py
compiles Layer 3, selectors and host profiles
dist/
the runtime artifacts a host actually consumes
The professional selector is a build-only artifact. Installing src/ would give an agent the authoring source instead of the compiled projection it is meant to consume.
Hosts
One engineering model. Multiple agent hosts.
rd-skills projects the control model into each host's available capabilities. Where a capability is absent, the matrix says so.
| Host | Profile | Skill loading | Subagent | Review diff | Validation |
|---|---|---|---|---|---|
| CodexStrongest native diff and read-only validation path. Fine-grained tool allowlists are still prompt-enforced. | Native | Prompt-enforced | Native | Native | Native |
| ClaudeSkill loading and subagents are native. Review consumes a supplied diff because there is no verified read-only shell for it. | Native | Native | Native | Supplied artifact | Supplied artifact |
| GitHub CopilotReview has read and search but no execute, so exact supplied diff delivery matters most here. | Native | Prompt-enforced | Native | Supplied artifact | Supplied artifact |
| ClineThe control model is projected through prompts only; none of these capabilities are host-native. | Not supported | Not supported | Not supported | Not supported | Not supported |
| OpenAI APIShips as generated top-level skill bundles; the harness around them is yours to build. | Not supported | Not supported | Not supported | Not supported | Not supported |
Codex
Strongest native diff and read-only validation path. Fine-grained tool allowlists are still prompt-enforced.
- Profile
- Native
- Skill loading
- Prompt-enforced
- Subagent
- Native
- Review diff
- Native
- Validation
- Native
Claude
Skill loading and subagents are native. Review consumes a supplied diff because there is no verified read-only shell for it.
- Profile
- Native
- Skill loading
- Native
- Subagent
- Native
- Review diff
- Supplied artifact
- Validation
- Supplied artifact
GitHub Copilot
Review has read and search but no execute, so exact supplied diff delivery matters most here.
- Profile
- Native
- Skill loading
- Prompt-enforced
- Subagent
- Native
- Review diff
- Supplied artifact
- Validation
- Supplied artifact
Cline
The control model is projected through prompts only; none of these capabilities are host-native.
- Profile
- Not supported
- Skill loading
- Not supported
- Subagent
- Not supported
- Review diff
- Not supported
- Validation
- Not supported
OpenAI API
Ships as generated top-level skill bundles; the harness around them is yours to build.
- Profile
- Not supported
- Skill loading
- Not supported
- Subagent
- Not supported
- Review diff
- Not supported
- Validation
- Not supported