erc8004-agent-layer

erc8004-agent-layer is a skill for Claude Code, Codex from 0xIntuition/agent-skills. It costs 115 tokens per session (2,742 once invoked), scanned A, original, MIT.

A planning skill for connecting an AI agent to the ERC-8004 identity and trust system through Intuition. ERC-8004 is a standard for identifying and assessing AI agents.

In plain words
What is it for?
Use it to plan agent identity, classification, trust-provider, and assessment-source integrations before a later protocol step.
Why use it?
It turns partner integration details into one consistent plan while keeping planning separate from actions that change data or send transactions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the intuition-protocol plugin — 2 skills shipped together

Good fit Use it to plan agent identity, classification, trust-provider, and assessment-source integrations before a later protocol step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xintuition/agent-skills/erc8004-agent-layer
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 0xIntuition/agent-skills --skill erc8004-agent-layer
Clone the repo
git clone --depth 1 https://github.com/0xIntuition/agent-skills

Made for: Claude Code, Codex.

Or install intuition-protocol, the plugin that ships this one along with the rest of its 2 skills.

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 erc8004-agent-layer

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xintuition/agent-skills/erc8004-agent-layer/github.svg)](https://agentmods.dev/skills/0xintuition/agent-skills/erc8004-agent-layer)
Your own site
<a href="https://agentmods.dev/skills/0xintuition/agent-skills/erc8004-agent-layer"><img src="https://agentmods.dev/badge/skills/0xintuition/agent-skills/erc8004-agent-layer/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 erc8004-agent-layer

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xintuition/agent-skills/erc8004-agent-layer"><img src="https://agentmods.dev/badge/skills/0xintuition/agent-skills/erc8004-agent-layer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,742 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00115 $0.02742
Opus 5 $0.00057 $0.01371
Sonnet 5 $0.00023 $0.00548
Haiku 4.5 $0.00012 $0.00274

Measured 11d ago against content hash be8f6c84a9c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

erc8004-agent-layer 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 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/build-partner-plan.mjs, scripts/partner-plan.mjs, scripts/validate-partner-plan.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/erc8004-agent-layer/SKILL.md · 293 lines

How it starts

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

ERC-8004 Agent Layer

Produce one deterministic semantic plan for an ERC-8004 partner integration. Treat this skill as a narrow planner, not an execution agent.

This skill is self-contained for semantic planning. The core intuition skill is not a prerequisite for planning and enters only in a separately authorized later protocol phase. The canonical human guide is https://docs.intuition.systems/docs/erc-8004-agent-layer.

Phase boundary

The initial partner request is always the semantic-planning phase, even when the user says “prepare everything,” “take care of the integration,” “complete it,” or similar broad language.

In this phase:

  • Run the canonical planner command.
  • Save its unmodified JSON to one canonical result file and return the path plus a concise explanation.
  • Stop the turn.
  • Do not load or invoke the core intuition skill.
  • Do not call pinThing or any other mutation.
  • Do not query write costs, preview writes, resolve or mint atoms, calculate write calldata, prepare unsigned transactions, inspect wallet secrets, sign, or broadcast.

Protocol preparation is a separate later phase. It requires both:

  1. A canonical plan produced by this skill with status: semantic_plan_ready and a successful fresh validation.
  2. A new user message, after the plan was returned, explicitly asking to continue that plan into protocol preparation.

A broad request in the initial message is not this later authorization.

Approval ladder

Treat the requested network as plan data, never as write authorization. Classify every ERC-8004 request into the lowest applicable stage:

  1. semantic-planning: run GraphQL reads and return the canonical plan. This is the only stage allowed in the initial user turn.
  2. protocol-preview: after a new request naming the returned plan, revalidate it, read costs, prepare unsigned transactions, and simulate. Do not pin, sign, or broadcast.
  3. metadata-pinning: treat pinThing as a persistent external mutation. First return a pinning approval request that identifies the plan integrity SHA and the exact ordered Thing payloads. Only a later message explicitly approving that presented request authorizes pinning. Pinning grants no chain-write authority.
  4. testnet-execution: require a separate, one-shot approval bound to the exact simulated testnet transaction set on chain 13579.
  5. mainnet-preview: require a fresh mainnet semantic plan and a new request. Testnet plans, simulations, and approvals do not carry forward.
  6. mainnet-execution: require a final, one-shot approval bound to the exact simulated mainnet transaction set on chain 1155.

Read the full file on GitHub · 293 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. 11d ago First seen · 293 lines · 115 tokens per session scan A be8f6c84a9c4

Subscribe to this mod's changes

erc8004-agent-layer is a skill published in the GitHub repository 0xIntuition/agent-skills (22 stars, last pushed 1mo ago), licensed MIT. It adds 115 tokens to every session and 2,742 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.