design-rules
Condensed 10 Golden Rules from the Agent Design Bible.
$ npx -y skills add jmagly/aiwg --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Condensed 10 Golden Rules from the Agent Design Bible.
Agent definition
design-rules.mdAgent Design Rules (Quick Reference)
Condensed 10 Golden Rules from the Agent Design Bible.
**Full Reference**: `~/.local/share/ai-writing-guide/docs/AGENT-DESIGN.md`
The 10 Golden Rules
Rule 1: Single Responsibility
One agent = one purpose. No "and" overload.
Rule 2: Minimal Tools
0-3 tools per agent. Each tool increases decision space exponentially.
Rule 3: Explicit I/O
Define exactly what agent receives and produces.
Rule 4: Grounding Before Action
ALWAYS verify assumptions before modifying external state.
Before action:
1. List inspection tools available
2. Execute minimum inspection
3. Document confirmed state
4. Only then proceed
Rule 5: Escalate Uncertainty
NEVER silently substitute missing data. Stop and ask.
If ambiguous:
1. STOP
2. LIST potential interpretations
3. REPORT to user
4. WAIT for clarification
Rule 6: Scoped Context
Only process RELEVANT information. Ignore DISTRACTORS.
RELEVANT: Matches all scope dimensions → Process
PERIPHERAL: Matches some → If needed
DISTRACTOR: Matches none → Never use
Rule 7: Recovery-First Design
Build agents that can recover from failures.
PAUSE → DIAGNOSE → ADAPT → RETRY → ESCALATE
Rule 8: Appropriate Model Tier
| Tier | Use For | |------|---------| | haiku | Validation, formatting, simple transforms | | sonnet | Code review, testing, documentation | | opus | Architecture, security, complex reasoning |
Rule 9: Parallel-Ready
Design for concurrent execution when tasks are independent.
Rule 10: Observable Execution
Produce traceable outputs for debugging.
Failure Archetype Prevention
| Archetype | Rule | Prevention | |-----------|------|------------| | 1. Premature Action | Rule 4 | Grounding checkpoint | | 2. Over-Helpfulness | Rule 5 | Uncertainty escalation | | 3. Distractor Pollution | Rule 6 | Context scoping | | 4. Fragile Execution | Rule 7 | Recovery protocol |
Quick Validation
Before deploying any agent:
- [ ] Single responsibility?
- [ ] ≤3 tools?
- [ ] I/O defined?
- [ ] Grounding step?
- [ ] Uncertainty handling?
- [ ] Context scoping?
- [ ] Recovery protocol?
- [ ] Right model tier?
- [ ] Parallel-safe?
- [ ] Observable?
- [ ] Uses native UX tools for questions? (see `native-ux-tools` rule)
CLI Validation
aiwg lint agents [path] --verbose
Read more
Agent Design Rules (Quick Reference)
Condensed 10 Golden Rules from the Agent Design Bible.
**Full Reference**: `~/.local/share/ai-writing-guide/docs/AGENT-DESIGN.md`
The 10 Golden Rules
Rule 1: Single Responsibility
One agent = one purpose. No "and" overload.
Rule 2: Minimal Tools
0-3 tools per agent. Each tool increases decision space exponentially.
Rule 3: Explicit I/O
Define exactly what agent receives and produces.
Rule 4: Grounding Before Action
ALWAYS verify assumptions before modifying external state.
Before action: 1. List inspection tools available 2. Execute minimum inspection 3. Document confirmed state 4. Only then proceed
Rule 5: Escalate Uncertainty
NEVER silently substitute missing data. Stop and ask.
If ambiguous: 1. STOP 2. LIST potential interpretations 3. REPORT to user 4. WAIT for clarification
Rule 6: Scoped Context
Only process RELEVANT information. Ignore DISTRACTORS.
RELEVANT: Matches all scope dimensions → Process PERIPHERAL: Matches some → If needed DISTRACTOR: Matches none → Never use
Rule 7: Recovery-First Design
Build agents that can recover from failures.
PAUSE → DIAGNOSE → ADAPT → RETRY → ESCALATE
Rule 8: Appropriate Model Tier
| Tier | Use For | |------|---------| | haiku | Validation, formatting, simple transforms | | sonnet | Code review, testing, documentation | | opus | Architecture, security, complex reasoning |
Rule 9: Parallel-Ready
Design for concurrent execution when tasks are independent.
Rule 10: Observable Execution
Produce traceable outputs for debugging.
Failure Archetype Prevention
| Archetype | Rule | Prevention | |-----------|------|------------| | 1. Premature Action | Rule 4 | Grounding checkpoint | | 2. Over-Helpfulness | Rule 5 | Uncertainty escalation | | 3. Distractor Pollution | Rule 6 | Context scoping | | 4. Fragile Execution | Rule 7 | Recovery protocol |
Quick Validation
Before deploying any agent:
- [ ] Single responsibility?
- [ ] ≤3 tools?
- [ ] I/O defined?
- [ ] Grounding step?
- [ ] Uncertainty handling?
- [ ] Context scoping?
- [ ] Recovery protocol?
- [ ] Right model tier?
- [ ] Parallel-safe?
- [ ] Observable?
- [ ] Uses native UX tools for questions? (see `native-ux-tools` rule)
CLI Validation
aiwg lint agents [path] --verbose
Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.
Repo: jmagly/aiwg
Other agents on aiwg.
- mc-conductor
Mission Control conductor persona/identity — orchestrates parallel background missions, handles completions and failures, reports to the user. Use when selecting a conductor persona for mission orchestration.
Open agent - ralph-loop
Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met
Open agent - ralph-verifier
Validates agent loop completion criteria by executing verification commands and parsing results
Open agent - installer-agent
Agentic installer specialist. Generates, validates, and executes setup.aiwg.io/v1 SetupManifest files. Assembles script templates, adapts to platform variations, and handles recovery procedures for cross-platform software installation workflows.
Open agent - aiwg-developer
AIWG development expert specializing in creating and extending addons, frameworks, and extensions
Open agent - aiwg-finder
Capability discovery and tool-selection specialist — the finder for AIWG's operational assets. Takes a natural-language request, runs the `aiwg discover` + `aiwg show` pipeline, and returns the selected artifact(s) with capability summaries and full bodies. Companion to
Open agent

