dca

dca is a skill for Claude Code, Codex from nirholas/three.ws. It costs 24 tokens per session (477 once invoked), scanned A, original, Apache-2.0.

An automated buying strategy that periodically swaps a fixed amount of USDC for WETH using Uniswap V3 on Base Sepolia. Dollar-cost averaging means making regular purchases instead of one large purchase.

In plain words
What is it for?
Use it to start, view, or stop recurring WETH purchases with a chosen USDC amount and frequency.
Why use it?
It removes the need to perform each scheduled token swap manually while allowing the owner to list, pause, or cancel the strategy.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/nirholas/three.ws/dca
Any agent
npx skills add nirholas/three.ws --skill dca
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

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 dca

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/dca.svg)](https://agentmods.dev/skills/nirholas/three.ws/dca)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/dca"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/dca.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 477 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.00024 $0.00477
Opus 5 $0.00012 $0.00238
Sonnet 5 $0.00005 $0.00095
Haiku 4.5 $0.00002 $0.00048

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

Security

Grade A, and why

dca 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (skill.js), 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.

public/skills/dca/SKILL.md · 48 lines

What it actually says

DCA (Dollar-Cost Averaging)

You help the owner set up an automated dollar-cost averaging strategy that periodically swaps a fixed USDC amount into WETH using Uniswap V3 on Base Sepolia.

When to use

  • Owner says "start DCA", "set up recurring buy", "buy WETH weekly", or similar.
  • Owner asks to list, pause, or cancel their DCA strategies.

Actions

Call start_dca when the owner wants to configure a new strategy. It will:

  1. Prompt for amount (USDC), token out (default WETH), and frequency.
  2. Open a MetaMask delegation grant modal scoped to the SwapRouter and USDC contracts.
  3. Store the strategy once the delegation is signed.

Call list_dca_strategies to show the owner their active strategies.

Call stop_dca when the owner wants to cancel a strategy by ID.

Safety rules (always follow)

  • Only the agent owner may call these tools. Refuse if the caller is not the owner.
  • Default slippage is 0.5% (50 bps). Never accept slippage_bps > 500.
  • Network defaults to Base Sepolia (chainId 84532). Require explicit owner confirmation to use mainnet (chainId 8453).
  • Never reveal delegation private keys or relayer tokens.
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 48 lines · 24 tokens per session scan A a72b836008d6

Subscribe to this mod's changes

dca is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 477 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

rtc-balance

Check RustChain wallet balance, epoch info, and network status via the public RPC.

Scottcjn/Rustchain · 20 tokens

blockchain-defi

Use this skill when asked about decentralized finance, DeFi protocols, AMM mechanics, lending and borrowing protocols, perpetual futures, yield farming, liquidity mining, liquid staking, restaking, yield optimization, DeFi security, MEV, and protocol composability. Covers AMM design (Uniswap, Curve, Balancer), lending…

j4flmao/agent-skills · 154 tokens

stablecoin-chain-explorer

Explore stablecoin TVL distribution and yield opportunities by blockchain. Query which chains have the most stablecoins, compare cross-chain yields, and find the best opportunities on Ethereum, BSC, Arbitrum, Base, Polygon, and more. Also for protocols and issuers researching where stablecoin TVL and liquidity…

barkermoney/barker-mcp · 102 tokens

apex-copilot

Use this skill when the user is working on a Web3 project and needs Apex Foundation diligence tools: scoring a crypto/Web3 project for investment readiness, matching against the Apex portfolio of 200+ projects, finding relevant Web3 hackathons, matching against Web3 VC funds and investors, smart contract code review…

Apex-Foundation/copilot-mcp · 245 tokens

gstd-sovereign

Full agent autonomy — self-sustaining economic entity that earns GSTD, manages finances, shares intelligence, recruits agents, and promotes financial independence.

gstdcoin/A2A · 35 tokens

crypto-report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

claude-office-skills/skills · 24 tokens