octodamus-core: Skill for Claude Code

.agents/skills/trade/SKILL.md

trade is a skill for Claude Code from Octodamus/octodamus-core. It costs 68 tokens per session (1,335 once invoked), scanned A, original, MIT.

A token-swapping tool for Base, a blockchain network. It exchanges tokens such as USDC, ETH, and WETH through the CDP Swap API.

In plain words
What is it for?
Use it to buy, sell, or convert supported tokens on Base by specifying an amount and the source and destination tokens.
Why use it?
It removes the need to manually navigate a token-exchange service for supported swaps.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

This is Octodamus/octodamus-core's own configuration. It tells Claude Code how to work on octodamus-core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything octodamus-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Octodamus/octodamus-core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Octodamus/octodamus-core/main/.agents/skills/trade/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Octodamus/octodamus-core

Made for: Claude Code.

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 trade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/octodamus/octodamus-core/trade"><img src="https://agentmods.dev/badge/skills/octodamus/octodamus-core/trade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,335 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 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.00068 $0.01335
Opus 5 $0.00034 $0.00668
Sonnet 5 $0.00014 $0.00267
Haiku 4.5 $0.00007 $0.00134

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

Security

Grade A, and why

trade 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 12d 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.

.agents/skills/trade/SKILL.md · 118 lines

How it starts

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

Trading Tokens

Use the npx [email protected] trade command to swap tokens on Base network via the CDP Swap API. You must be authenticated to trade.

Confirm wallet is initialized and authed

npx [email protected] status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Command Syntax

npx [email protected] trade <amount> <from> <to> [options]

Arguments

Argument Description
amount Amount to swap (see Amount Formats below)
from Source token: alias (usdc, eth, weth) or contract address (0x...)
to Destination token: alias (usdc, eth, weth) or contract address (0x...)

Amount Formats

The amount can be specified in multiple formats:

Format Example Description
Dollar prefix '$1.00', '$0.50' USD notation (decimals based on token)
Decimal 1.0, 0.50, 0.001 Human-readable with decimal point
Whole number 5, 100 Interpreted as whole tokens
Atomic units 500000 Large integers treated as atomic units

Auto-detection: Large integers without a decimal point are treated as atomic units. For example, 500000 for USDC (6 decimals) = $0.50.

Decimals: For known tokens (usdc=6, eth=18, weth=18), decimals are automatic. For arbitrary contract addresses, decimals are read from the token contract.

Options

Option Description
-c, --chain <name> Blockchain network (default: base)
-s, --slippage <n> Slippage tolerance in basis points (100 = 1%)
--json Output result as JSON

Read the full file on GitHub · 118 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. 12d ago First seen · 118 lines · 68 tokens per session scan A 2e8ad404c2c6

Subscribe to this mod's changes

trade is a skill published in the GitHub repository Octodamus/octodamus-core (1 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,335 once invoked, about $0.0003 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-31.