
ce-agent-native-architecture
Build applications where agents are first-class citizens. Use this skill when designing autonomous agents, creating MCP tools, implementing self-modifying systems, or building apps where features are outcomes achieved by agents operating in a loop.
- Installs
- 1.8K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill ce-agent-native-architecture- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ce-agent-native-architecture automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Agent-native applications treat agents as first-class citizens. Features are outcomes achieved by an agent with tools operating in a loop, not functions written in code. The same architecture that powers Claude Code can power apps far beyond coding.
Five core principles:
- Parity — Whatever the user can do through the UI, the agent can achieve through tools.
- Granularity — Tools are atomic primitives; features are prompt-defined outcomes. To change behavior, edit prose, not code.
- Composability — New features = new prompts, not new code. Atomic tools + parity make this possible.
- Emergent Capability — The agent accomplishes things you didn't explicitly design for. Open-ended requests reveal latent demand.
- Improvement Over Time — Apps get better through accumulated context (e.g. a
context.mdfile) and prompt refinement, without shipping code.
For deep coverage of how these principles translate into architectural patterns, read references/architecture-patterns.md.
</overview>
- Design architecture - Plan a new agent-native system from scratch
- Files & workspace - Files as universal interface, shared workspace patterns
- Tool design - Primitive tools, dynamic capability discovery, CRUD completeness
- Domain tools - When to add domain tools vs stay with primitives
- Execution patterns - Completion signals, partial completion, context limits
- System prompts - Define agent behavior, judgment criteria
- Context injection - Inject runtime app state into agent prompts
- Action parity - Ensure agents can do everything users can do
- Self-modification - Enable agents to safely evolve themselves
- Product design - Progressive disclosure, latent demand, approval patterns
- Mobile patterns - iOS storage, background execution, checkpoint/resume
- Testing - Test agent-native apps for capability and parity
- Refactoring - Make existing code more agent-native
- Review / checklists - Architecture checklist, anti-patterns, success criteria
Pick a number or describe what you want. Wait for the response before proceeding. </intake>
<routing> | Response | Read | |----------|------| | 1, "design", "architecture", "plan" | `references/architecture-patterns.md`, then apply the checklist in `references/checklists.md` | | 2, "files", "workspace", "filesystem" | `references/files-universal-interface.md` and `references/shared-workspace-architecture.md` | | 3, "tool", "mcp", "primitive", "crud" | `references/mcp-tool-design.md` | | 4, "domain tool", "when to add" | `references/from-primitives-to-domain-tools.md` | | 5, "execution", "completion", "loop" | `references/agent-execution-patterns.md` | | 6, "prompt", "system prompt", "behavior" | `references/system-prompt-design.md` | | 7, "context", "inject", "runtime", "dynamic" | `references/dynamic-context-injection.md` | | 8, "parity", "ui action", "capability map" | `references/action-parity-discipline.md` | | 9, "self-modify", "evolve", "git" | `references/self-modification.md` | | 10, "product", "progressive", "approval", "latent demand" | `references/product-implications.md` | | 11, "mobile", "ios", "android", "background", "checkpoint" | `references/mobile-patterns.md` | | 12, "test", "testing", "verify", "validate" | `references/agent-native-testing.md` | | 13, "refactor", "existing", "migrate" | `references/refactoring-to-prompt-native.md` | | 14, "review", "audit", "anti-pattern", "checklist", "success criteria" | `references/checklists.md` |After reading the reference, apply those patterns to the user's specific context. </routing>
<reference_index>
Reference Files
Core patterns:
references/architecture-patterns.md— Event-driven, unified orchestrator, agent-to-UI; full coverage of the five principlesreferences/files-universal-interface.md— Why files, organization, context.mdreferences/mcp-tool-design.md— Tool design, dynamic capability discovery, CRUDreferences/from-primitives-to-domain-tools.md— When to graduate primitives to domain toolsreferences/agent-execution-patterns.md— Completion signals, partial completion, context limitsreferences/system-prompt-design.md— Features as prompts, judgment criteria
Disciplines:
references/dynamic-context-injection.md— Runtime context injectionreferences/action-parity-discipline.md— Capability mapping, parity workflowreferences/shared-workspace-architecture.md— Shared data space, UI integrationreferences/product-implications.md— Progressive disclosure, latent demand, approvalreferences/agent-native-testing.md— Testing outcomes, parity testsreferences/checklists.md— Architecture checklist, anti-patterns, success criteria
Platform-specific:
references/mobile-patterns.md— iOS storage, checkpoint/resume, cost awarenessreferences/self-modification.md— Git-based evolution, guardrailsreferences/refactoring-to-prompt-native.md— Migrating existing code </reference_index>
FAQ
What does the ce-agent-native-architecture skill do?
Build applications where agents are first-class citizens. Use this skill when designing autonomous agents, creating MCP tools, implementing self-modifying systems, or building apps where features are outcomes achieved by agents operating in a loop.
How do I install ce-agent-native-architecture?
Run npx skills add https://github.com/everyinc/compound-engineering-plugin --skill ce-agent-native-architecture in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ce-agent-native-architecture/ (personal) or .claude/skills/ce-agent-native-architecture/ (project).
Which AI agents can use ce-agent-native-architecture?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ce-agent-native-architecture safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ce-agent-native-architecture?
It is published by everyinc in everyinc/compound-engineering-plugin. It has 1,783 recorded installs.
More from everyinc/compound-engineering-plugin
ce-brainstorm
everyinc/compound-engineering-plugin
Explore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm or scope what to build. Not for executing already-specified work. Use ce-pov for a verdict on adopting a named external technology.
ce-code-review
everyinc/compound-engineering-plugin
Review a named diff or PR for bugs, regressions, tests, and standards. Use when asked to review code or when a shipping skill needs a review receipt. Use when asked to apply this review's findings locally. Use ce-resolve-pr-feedback for feedback already left on a PR.
ce-plan
everyinc/compound-engineering-plugin
Create structured plans for multi-step work, including software and non-software tasks. Use when asked to plan, break down implementation, plan from requirements, or deepen an existing plan; prefer ce-brainstorm for exploratory framing.
ce-compound
everyinc/compound-engineering-plugin
Document a solved problem as a durable repo learning. Use when verified work produced non-obvious reasoning absent from its final code, tests, or existing docs; avoid routine fixes whose artifacts already explain the lesson.
ce-doc-review
everyinc/compound-engineering-plugin
Review requirements, plans, or specs with role-specific lenses. Use when the user wants to improve an existing planning document.
ce-work
everyinc/compound-engineering-plugin
Execute a plan or concrete work prompt end-to-end. Use when implementing from a plan document, a spec path, or a clear build request; use ce-debug for open-ended bugs. Use when an outer orchestrator needs implementation and local verification only, without the shipping tail.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.