ia-agent-native-architecture

ia-agent-native-architecture is a skill for Claude Code from iliaal/whetstone. It costs 50 tokens per session (1,761 once invoked), scanned A, a copy of agent-native-architecture, MIT.

A set of design rules for applications where an AI agent, rather than a person using screens, is the main actor. It covers tools, prompts, shared files, agent workflows, and runtime context.

In plain words
What is it for?
Planning agent-native applications, designing MCP tools, shaping system prompts, and choosing file or workspace patterns for agents.
Why use it?
It helps avoid designing an agent system that can only perform a small or inconsistent part of what a user could do through a normal interface.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Part of the whetstone plugin — 29 skills, 18 commands, 18 agents shipped together

Good fit Planning agent-native applications, designing MCP tools, shaping system prompts, and choosing file or workspace patterns for agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iliaal/whetstone/ia-agent-native-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iliaal/whetstone --skill ia-agent-native-architecture
Clone the repo
git clone --depth 1 https://github.com/iliaal/whetstone

Made for: Claude Code.

Or install whetstone, the plugin that ships this one along with the rest of its 29 skills, 18 commands, 18 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ia-agent-native-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/iliaal/whetstone/ia-agent-native-architecture/github.svg)](https://agentmods.dev/skills/iliaal/whetstone/ia-agent-native-architecture)
Your own site
<a href="https://agentmods.dev/skills/iliaal/whetstone/ia-agent-native-architecture"><img src="https://agentmods.dev/badge/skills/iliaal/whetstone/ia-agent-native-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ia-agent-native-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/iliaal/whetstone/ia-agent-native-architecture"><img src="https://agentmods.dev/badge/skills/iliaal/whetstone/ia-agent-native-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01761
Opus 5.5 $0.00020 $0.00704
Sonnet 5.5 $0.00010 $0.00352
Haiku 4.5 $0.00005 $0.00176

Measured yesterday against content hash 0ea872c16b22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ia-agent-native-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to agent-native-architecture — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

claude-directory/whetstone/skills/ia-agent-native-architecture/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.
  • Evaluate discovery from original inputs. Replaying fixed candidates measures classification and cannot reveal candidates a changed search would miss or invent. Compare each discovery variant with a fresh baseline on the same complete inputs in isolation. Independently adjudicate unmatched outputs from the complete result sets, including outputs from clean tasks.
  • Calibrate decision gates per model. A replacement model's confidence scores do not preserve the previous model's cutoff, even when ranking accuracy improves. Fit thresholds on a separate calibration set. Verify false-positive and false-negative behavior through the production decision path on untouched representative cases.
  • 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.

Principle One-line test
Parity Can the agent achieve every outcome the UI allows?
Granularity Changing behavior means editing prose, not refactoring code
Composability Can a feature be added by writing a new prompt, without new code?
Emergent Capability Can the agent handle open-ended requests it wasn't designed for?
Improvement Over Time Does 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

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -5 lines 0ea872c16b22
  2. 1mo ago Changed · +1 lines f568485abe2c
  3. 1mo ago Changed · +2 lines 99110b935f3c
  4. 1mo ago Changed 6c25f5dfdd74
  5. 2mo ago Changed · +4 lines 141a73482736
  6. 2mo ago Changed · -45 lines 6c9b7e046bec
  7. 2mo ago First seen · 137 lines · 50 tokens per session scan A 02dc845e0c81

Subscribe to this mod's changes

ia-agent-native-architecture is a skill published in the GitHub repository iliaal/whetstone (37 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 1,761 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to agent-native-architecture, differing in 9 lines, and is treated as a copy.

Related

ia-agent-native-architecture compared with skills from other repositories

ia-agent-native-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ia-agent-native-architectureiliaal/whetstoneSkill37todayMITA50Claude Code
pr-reviewnitinjain999/platform-skillsSkill73todayApache-2.0A81Claude Code
code-reviewnitinjain999/platform-skillsSkill73todayApache-2.0A88Claude Code
rubber-duckyharnessprotocol/harness-kitSkill13yesterdayApache-2.0A189Claude Code
pr-sweepharnessprotocol/harness-kitSkill13yesterdayApache-2.0A115Claude Code
reviewharnessprotocol/harness-kitSkill13yesterdayApache-2.0A103Claude Code
open-prharnessprotocol/harness-kitSkill13yesterdayApache-2.0A111Claude Code