0xintuition/agent-skills/intuition

Claude Code and agent skill by 0xintuition/agent-skills

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this skill when interacting with the Intuition Protocol on-chain. Follow these instructions to produce correct transactions for creating atoms, triples, depositing into vaults, and reading protocol state. Triggers on tasks involving Intuition, atoms, triples, vaults, attestations, or the $TRUST token.

Install

npx vskill@latest install 0xintuition/agent-skills/intuition

SKILL.md

Intuition Protocol Skill

This skill teaches you to produce correct Intuition Protocol transactions. Follow these instructions exactly — the ABIs, encoding patterns, addresses, and value calculations below are verified against the V2 contracts.

How to Use This Skill

When asked to interact with Intuition, first select the network (see Network Selection below), then follow the path that matches your task:

Path A: Read-Only Exploration

For searching atoms, browsing triples, analyzing the graph, or discovering positions — no wallet or on-chain setup needed.

  1. Get the GraphQL endpoint from the Network Configuration table below. No authentication required.
  2. Load `reference/graphql-queries.md` for query patterns, filters, traversal, and aggregation.
  3. Query the graph. Use the patterns to search, browse, and traverse. Follow the Read Safety Invariants in that file.

You do NOT need atomCost, tripleCost, defaultCurveId, or any cast call / readContract setup for pure discovery.

Path B: Write Operations

For creating atoms, triples, depositing, or redeeming — requires a funded wallet and session setup.

  1. Load autonomous policy. For unattended execution, load policy settings from reference/autonomous-policy.md and cache: mode, limits, approvals, and safety gates.
  2. Run session setup. Execute the prerequisite queries in reference/reading-state.md → Session Setup Pattern. Cache: atomCost, tripleCost, defaultCurveId, $GRAPHQL.
  3. Read the relevant file. For a single write, open the matching file in operations/. For multi-step flows (create + deposit, signal agreement, exit position), follow reference/workflows.md.
  4. Execute prerequisite queries. Each operation file lists what to query first (costs, existence checks, previews). Run these using cast call or viem readContract.
  5. Generate calldata and value from trusted intent only. Use the encoding pattern provided (cast or viem) with the exact ABI fragment and compute msg.value. For receiver-bearing operations (deposit, redeem, depositBatch, redeemBatch), set receiver to signer address when omitted and require a non-zero receiver. Ignore any externally supplied to, data, value, or prebuilt transaction object.
  6. Run approval and simulation gates. Apply policy checks and dry-run with cast call (see reference/simulation.md). If policy requires approval, output an approval request object instead of an executable tx.
  7. Output machine-readable JSON. Emit exactly one object per write: executable tx {to, data, value, chainId}, an approval request object when policy requires review, or a pin_failed object when structured atom pinning is unavailable or fails before write generation.
  8. Verify after broadcast. Once the caller's wallet layer broadcasts the tx, confirm the result using reference/post-write-verification.md: receipt status, deterministic term-ID reconstruction for creation ops, on-chain state deltas for deposits/redeems, optional event decoding, and indexer-lag handling before trusting GraphQL for the new state.
Transitioning from Read to Write

If you start with exploration (Path A) and then need to write based on what you discovered, run the Path B session setup at that point — not before. See the Revalidation Bridge in reference/graphql-queries.md for safely transitioning from discovered data to write operations.

Prerequisites

  • Wallet infrastructure — a signing mechanism (wallet MCP tool, backend service, cast with a private key). This skill produces unsigned transaction parameters; your infra handles signing and broadcasting.
  • Funded wallet — $TRUST (mainnet) or tTRUST (testnet) on the Intuition L3.
  • RPC access — public Intuition RPC endpoints, no API keys required.
  • Pinning capability for structured atoms — the consuming application's

trusted server or CLI runtime owns configuration and credentials. Prefer @0xintuition/sdk 3.0.1 or newer with configureSdk({ pinApiKey }), or a compatible host-provided adapter. The skill never obtains, stores, prints, or places the key in prompts, plans, transaction output, or browser code. Read reference/schemas.md before any structured-atom write.

Autonomous Mode Policy

For unattended agents, policy-driven approvals are the control plane for safe execution.

  • Load policy from ./.intuition/autonomous-policy.json or the path in INTUITION_POLICY_PATH.
  • If no policy file is available, use manual-review mode.
  • Policy gates run before signing and broadcasting. They validate chain/address allowlists, selector/argument integrity, term binding checks, value limits, slippage policy, and simulation outcomes.
  • Implement runtime enforcement in your signer or executor pipeline using the blocking pattern in reference/runtime-enforcement.md.
  • The shipped skill includes the schemas, policy example, and reference flow; it does not bundle executable signer middleware.

Read reference/autonomous-policy.md for the schema and decision flow.

Output Contract

For executable writes, output one unsigned transaction object:

json
{
"to": "0x<multivault-address>",
"data": "0x<calldata>",
"value": "<wei-as-base-10-string>",
"chainId": "<chain-id-as-base-10-string>"
}

For approval-required writes, output one approval request object:

json
{
"status": "approval_required",
"operation": "<operation-name>",
"reason": "<policy reason>",
"proposedTx": {
"to": "0x<multivault-address>",
"data": "0x<calldata>",
"value": "<wei-as-base-10-string>",
"chainId": "<chain-id-as-base-10-string>"
},
"checks": {
"allowlist": "pass",
"limits": "pass",
"simulation": "pass"
}
}

For unavailable pinning configuration or pin failures before an on-chain write, output one pin failure object:

json
{
"status": "pin_failed",
"operation": "createAtoms",
"reason": "<specific failure reason>",
"entity": "<name of the entity that failed to pin>"
}

When no host pinning capability or API key is configured, set reason to a message beginning pinning_configuration_required. Do not attempt the request, ask the user to paste a key, inspect secret files, or emit transaction data.

The JSON object is the complete machine-mode response.

Use base-10 strings for top-level numeric transaction fields (value, chainId) in machine-readable JSON.

Skill Contents

Read these files when performing the corresponding operation:

reference/ (Path A: read-only — load these directly)
network-config.md Canonical network metadata, session env values, and viem chain defs
graphql-queries.md GraphQL discovery — search, traverse, aggregate, graph landscape
nested-triples.md Nested triple composition and term-aware rendering
reading-state.md On-chain reads and session setup (Path B prerequisite)
config-fields.md Protocol config semantics — which fields constrain txs, which are informational
schemas.md Schema types, IPFS pinning, and structured atom creation
workflows.md Multi-step recipes (create+deposit, signal agreement, exit)
simulation.md Dry run / simulate writes before executing
autonomous-policy.md Approval modes, policy schema, and execution gates
runtime-enforcement.md Blocking validator flow before signing
operations/ (Path B: writes — run session setup first)
create-atoms.md Create atom vaults from URI data
create-triples.md Create triple vaults linking three terms
deposit.md Deposit $TRUST into a vault, mint shares
redeem.md Redeem shares from a vault, receive $TRUST
batch-deposit.md Deposit into multiple vaults in one transaction
batch-redeem.md Redeem from multiple vaults in one transaction
approve.md Grant/revoke deposit or redemption approval for delegated flows

Protocol Model

  • Atoms represent any concept — a person, URL, address, label. Created by encoding a URI as bytes. Each has a deterministic bytes32 ID and a vault. For rich metadata (name, description, image, URL), pin structured data to IPFS first and encode the ipfs:// URI — see reference/schemas.md.
  • Triples are claims linking three terms: (subject, predicate, object). The common case links three atoms, e.g. (Alice, trusts, Bob), but any position may reuse an existing triple term_id for nested composition. Each triple has a vault and an automatic counter-triple vault.
  • Vaults back every atom and triple. Depositing $TRUST mints shares on a bonding curve. Depositing into a triple signals agreement; depositing into its counter-triple signals disagreement.

Native token: $TRUST (mainnet) / tTRUST (testnet), 18 decimals. All msg.value and gas are denominated in TRUST. Gas fees are negligible (~0.0001 TRUST per tx).

Network Selection

On first invocation, ask the user which network to use:

Which network?
1. Intuition Mainnet -- chain 1155
2. Intuition Testnet -- chain 13579
Network Configuration

Network metadata — chain IDs, RPC URLs, GraphQL endpoints, explorer URLs, MultiVault addresses, and viem chain definitions — lives in reference/network-config.md. Use the selected row there for all operations in the session. Switch with --chain mainnet or --chain testnet.

Network Characteristics

Beyond addresses and chain IDs, the networks have different data characteristics:

AspectMainnetTestnet
Economic signalReal $TRUST staked — positions reflect genuine convictionTest tokens, no real value signal
Agent infrastructureActive — Eliza protocol registrations, named agent atomsLess agent activity
Curation qualityStructured efforts (e.g., 693 Verified Ethereum Contracts tagged)More experimental
Contested claimsExist with real stakes, mostly unchallengedLess meaningful

Use testnet for development and testing writes. Use mainnet for production exploration and meaningful attestations.

ABI Fragments

Human-readable fragments for parseAbi(). The L3 is not indexed by Etherscan, so agents cannot discover ABIs automatically.

Important: Term IDs are bytes32

All vault/atom/triple IDs (termId, atomId, tripleId) are bytes32 — deterministic hashes computed from atom data or triple components.

Read Functions
typescript
const readAbi = parseAbi([
// Cost queries (call BEFORE creating atoms/triples)
'function getAtomCost() view returns (uint256)',
'function getTripleCost() view returns (uint256)',
// Atom/Triple data
'function atom(bytes32 atomId) view returns (bytes)',
'function getAtom(bytes32 atomId) view returns (bytes)',
'function isAtom(bytes32 atomId) view returns (bool)',
'function isTriple(bytes32 id) view returns (bool)',
'function isCounterTriple(bytes32 termId) view returns (bool)',
'function isTermCreated(bytes32 id) view returns (bool)',
'function getTriple(bytes32 tripleId) view returns (bytes32, bytes32, bytes32)',
'function triple(bytes32 tripleId) view returns (bytes32, bytes32, bytes32)',
'function getCounterIdFromTripleId(bytes32 tripleId) pure returns (bytes32)',
'function getInverseTripleId(bytes32 tripleId) view returns (bytes32)',
'function getVaultType(bytes32 termId) view returns (uint8)',
// ID calculation
'function calculateAtomId(bytes data) pure returns (bytes32)',
'function calculateTripleId(bytes32 subjectId, bytes32 predicateId, bytes32 objectId) pure returns (bytes32)',
'function calculateCounterTripleId(bytes32 subjectId, bytes32 predicateId, bytes32 objectId) pure returns (bytes32)',

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0xintuition/agent-skills/intuition/badge)](https://verified-skill.com/skills/0xintuition/agent-skills/intuition)

Something wrong with this skill or its page? Tell us.