skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
iliaal/ai-skills156 installs

agent-native-architecture

Design agent-native applications where agents replace UI users as the primary actor. Use when designing MCP tools, agent-loop architectures, system prompt design, hooks policy, shared-workspace file patterns, or self-modifying agent systems.

How do I install this agent skill?

npx skills add https://github.com/iliaal/ai-skills --skill agent-native-architecture
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill is a comprehensive architectural guide for designing agent-native applications. It contains no malicious code, obfuscation, or exfiltration patterns. While static analysis flagged potential prompt injection in the documentation, these are verified to be educational examples used in safety testing checklists. The skill also provides high-quality guidance on securing agents against common attack vectors like prompt injection and data exposure.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Agent-Native Architecture

Working rules

  • Keep authority, scope, approval, and runtime isolation in trusted orchestration; prompts alone cannot enforce them.
  • Provide explicit completion and partial-progress signals, durable state, and observable action results.
  • Validate capabilities with real tasks, including failure and interruption paths; do not infer improvement from elapsed usage.
  • Use the selected topic's references and the architecture checklist to produce a concrete design with evidence and unresolved constraints.

Core Principles

Five principles govern agent-native design. For detailed explanations, examples, and test criteria, see core-principles.md.

PrincipleOne-line test
ParityCan the agent achieve every outcome the UI allows?
GranularityChanging behavior means editing prose, not refactoring code
ComposabilityCan a feature be added by writing a new prompt, without new code?
Emergent CapabilityCan the agent handle open-ended requests it wasn't designed for?
Improvement Over TimeDoes the app work better after a month, even without code changes?

Focus Area Selection

  1. Design architecture - Plan a new agent-native system from scratch
  2. Files & workspace - Use files as the universal interface, shared workspace patterns
  3. Tool design - Build primitive tools, dynamic capability discovery, CRUD completeness
  4. Domain tools - Know when to add domain tools vs stay with primitives
  5. Execution patterns - Completion signals, partial completion, context limits
  6. System prompts - Define agent behavior in prompts, judgment criteria
  7. Context injection - Inject runtime app state into agent prompts
  8. Action parity - Ensure agents can do everything users can do
  9. Self-modification - Enable agents to safely evolve themselves
  10. Product design - Progressive disclosure, latent demand, approval patterns
  11. Mobile patterns - iOS storage, background execution, checkpoint/resume
  12. Testing - Test agent-native apps for capability and parity
  13. Refactoring - Make existing code more agent-native
  14. Anti-patterns - Common mistakes and how to avoid them
  15. Success criteria - Verify your architecture is agent-native
  16. Hooks patterns - Hook events, decision control, MCP matchers, async hooks
  17. CLI interface - Design a CLI that agents invoke: output channels, exit codes, self-description, safety tiers
  18. Approval loop - Durable human approval for agent-drafted external sends: content binding, single-winner claim, unknown outcomes

Route directly when the request or delegated task identifies the topic. When a material focus remains unresolved, present the relevant options using AskUserQuestion in Claude Code (load it with ToolSearch if needed), request_user_input in Codex, or numbered options in chat when no question tool is available. Wait only for the answer needed to resolve that choice.

Reference Routing

ResponseAction
1, "design", "architecture", "plan"Read architecture-patterns.md, then apply architecture-review-checklist.md
2, "files", "workspace", "filesystem"Read files-universal-interface.md and shared-workspace-architecture.md
3, "tool", "mcp", "primitive", "crud"Read mcp-tool-design.md
4, "domain tool", "when to add"Read from-primitives-to-domain-tools.md
5, "execution", "completion", "loop"Read agent-execution-patterns.md
6, "prompt", "system prompt", "behavior"Read system-prompt-design.md
7, "context", "inject", "runtime", "dynamic"Read dynamic-context-injection.md
8, "parity", "ui action", "capability map"Read action-parity-discipline.md
9, "self-modify", "evolve", "git"Read self-modification.md
10, "product", "progressive", "approval", "latent demand"Read product-implications.md
11, "mobile", "ios", "android", "background", "checkpoint"Read mobile-patterns.md
11a, "icloud", "storage", "documents", "file state", "entitlement"Read mobile-storage.md
11b, "background task", "battery", "on-device", "cloud routing"Read mobile-execution.md
11c, "model tier", "token budget", "cost-aware", "batch", "caching"Read mobile-cost.md
12, "test", "testing", "verify", "validate"Read agent-native-testing.md
13, "review", "refactor", "existing"Read refactoring-to-prompt-native.md
14, "anti-pattern", "mistake", "wrong"Read anti-patterns.md
15, "success", "criteria", "verify", "checklist"Read success-criteria.md
16, "hook", "hooks", "PreToolUse", "decision control", "async hook", "permissionDecision"Read hooks-patterns.md
17, "cli", "command line", "stdout", "exit code", "--format", "--dry-run"Read cli-agent-interface.md
18, "approval", "approve before send", "outbound", "ledger", "double-send"Read operator-approval-loop.md
0, "quick start", "getting started", "overview", "introduction"Read quick-start.md

After reading the reference, apply those patterns to the user's specific context.

Task-specific references

Read the relevant reference before implementing or reviewing the matching behavior:

Existing specialized references, when the corresponding topic applies:

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/iliaal/ai-skills/agent-native-architecture">View agent-native-architecture on skillZs</a>