Agent skill
orca-architecture
This skill should be used when the user asks about "Orca architecture", "knowledge graph design", "MCP server structure", "nugget storage", "telemetry design", "Orca refactoring", or is planning changes to Orca components. Provides decision capture workflows, bounded exploration patterns, and architecture discussion guidance.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/orca-architecture
SKILL.md
Orca Architecture Guidance
On Activation
Load current Orca context from the knowledge graph:
get_nug({tags: ["orca", "boot"]})
This returns system state, recent decisions, active traps, and architecture patterns relevant to starting work on Orca.
For deeper exploration during the session:
get_nug({query: "<topic>", tags: ["orca"]})- topic-specific contextget_nug({k: "adr", tags: ["orca"]})- architecture decisionsget_nug({k: "trap", tags: ["orca"]})- known issues and workarounds
Do not rely on hardcoded facts. The KG is the source of truth.
Working Principles
Before Proposing Changes
-
Ask why it exists this way
- Don't assume you understand the constraints
- Components often exist for non-obvious reasons
-
Search for decisions
- Use
get_nugwith k="adr" or query terms like "decision", "choice", "architecture" - Stale nuggets exist - verify against code when uncertain
- Use
-
Surface your unknowns
- Say "I don't know why X" rather than guessing
- Ask clarifying questions before diving deep
During Exploration
-
Bound your investigation
- Max 10 tool calls before summarizing
- State what you're looking for before searching
- Don't follow rabbit holes
-
Distinguish state from decisions
- State: current implementation details (goes stale)
- Decision: reasoning and constraints (ages better)
When Proposing
-
Multiple options with tradeoffs
- Never propose a single solution
- State assumptions explicitly
- Include "what could go wrong"
-
Argue against yourself
- After proposing, identify weaknesses
- Ask what the user cares about most
-
Smallest validating step
- What's the minimum we could build to test the direction?
- Prefer reversible over irreversible
Capturing Decisions
- Create nuggets for decisions, not just state
- Include WHY, not just WHAT
- Include alternatives considered
- Include constraints that shaped the choice
- Tag with
project:orca
Common Pitfalls
Forensic Spirals
Taking 50+ steps exploring without progress. When you catch yourself:
- Stop immediately
- Summarize what you know
- Ask a specific question
Confident Wrongness
Proposing to remove or change components without understanding their purpose. Always ask "why does this exist?" before proposing removal.
State vs Decision Confusion
Creating nuggets that capture implementation details rather than reasoning leads to stale information that misleads future sessions.
Commands
/orca-arch <topic>- Start structured architecture discussion- Use the
orca-exploreragent for bounded codebase exploration
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?