agent-tool-dev

agent-tool-dev is a skill for Cursor from janespace-ai/claw-wallet. It costs 38 tokens per session (1,230 once invoked), scanned A, original, MIT.

A guide for creating and changing wallet-related tools in an agent codebase. These tools are TypeScript functions that perform actions such as wallet or blockchain operations.

In plain words
What is it for?
Use it when adding a wallet tool, extending an existing one, or learning the project's agent-tool structure.
Why use it?
It explains where tools belong, how they are named, and how they receive the services they need.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is import type { ToolDefinition, SupportedChain } from "../types.js";.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Cursor.

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 agent-tool-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/janespace-ai/claw-wallet/agent-tool-dev.svg)](https://agentmods.dev/skills/janespace-ai/claw-wallet/agent-tool-dev)
Your own site
<a href="https://agentmods.dev/skills/janespace-ai/claw-wallet/agent-tool-dev"><img src="https://agentmods.dev/badge/skills/janespace-ai/claw-wallet/agent-tool-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00038 $0.01230
Opus 5 $0.00019 $0.00615
Sonnet 5 $0.00008 $0.00246
Haiku 4.5 $0.00004 $0.00123

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

Security

Grade A, and why

agent-tool-dev 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 6d ago.

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.

.cursor/skills/agent-tool-dev/SKILL.md · 135 lines

How it starts

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

Agent Tool Development

Architecture

Tools live in agent/tools/ as TypeScript files. Each file exports a factory function that receives dependencies via injection and returns ToolDefinition (or ToolDefinition[] for related groups).

// agent/types.ts
interface ToolDefinition {
  name: string;
  description: string;
  parameters: Record<string, unknown>;
  execute: (args: Record<string, unknown>) => Promise<unknown>;
}

Tools are registered in agent/index.tsgetTools() method of the ClawWallet class.

Conventions

Naming

  • File: wallet-<domain>.ts (e.g., wallet-balance.ts)
  • Tool name: wallet_<action> with underscores (e.g., wallet_balance, wallet_contacts_add)
  • Factory: createWallet<Domain>Tool (single) or createWallet<Domain>Tools (group returning array)

Dependencies — Inject, Don't Import Globally

Tools receive their dependencies as factory arguments. Common dependencies:

Dependency Type Purpose
chainAdapter ChainAdapter On-chain queries (balance, gas, tx)
getAddress () => Address | null Current wallet address (lazy)
defaultChain SupportedChain Fallback chain when user omits it
signerClient SignerClient IPC to Desktop Wallet for signing/pairing
policy PolicyEngine Spending limits and approvals
contacts ContactsManager Address book
history TransactionHistory Past transactions
getTransferService () => TransferService | null Send tokens (lazy, null before pair)

Parameters Schema

Use JSON Schema-style { type, properties, required }. Always include description on each property.

Return Values

  • Success: return a data object with a human-friendly message field
  • Error: return { error: "descriptive message" } — never throw
  • Blocked: return { blocked: true, reason, approvalId } for policy-blocked actions

Guard Checks

  • Wallet not configured → { error: "No wallet configured. Use wallet_create or wallet_import first." }
  • Relay not connected → { error: "..." }
  • Always validate required state before proceeding

Read the full file on GitHub · 135 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. 6d ago First seen · 135 lines · 38 tokens per session scan A 898b58e4a7c1

Subscribe to this mod's changes

agent-tool-dev is a skill published in the GitHub repository janespace-ai/claw-wallet (54 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 1,230 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

sickn33/agentic-awesome-skills · 95 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

aomi-labs/skills · 221 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

Bilal140202/the-lord-of-the-skills · 211 tokens

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

iradoweck/antigravity-awesome-skills · 95 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

aomi-labs/skills · 221 tokens

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

sinhoneyy/master-skills · 95 tokens