dca-planner

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

A dollar-cost-averaging planner for scheduled Solana token purchases. Dollar-cost averaging, or DCA, splits a total budget into repeated buys over a chosen interval instead of buying everything at once.

In plain words
What is it for?
It helps calculate the number and size of purchases, choose a duration and interval, apply slippage and liquidity guards, check risk limits and prepare an order plan.
Why use it?
A schedule can still create one large concentrated position and can lose money to fees, slippage or price impact. It checks those constraints and previews the exact orders before anything is placed.

Skill for Claude CodeCodex

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

Good fit It helps calculate the number and size of purchases, choose a duration and interval, apply slippage and liquidity guards, check risk limits and prepare an order plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/dca-planner
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 nirholas/three.ws --skill dca-planner
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-planner

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/dca-planner"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/dca-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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.00103 $0.01075
Opus 5.5 $0.00041 $0.00430
Sonnet 5.5 $0.00021 $0.00215
Haiku 4.5 $0.00010 $0.00108

Measured 2mo ago against content hash 70f476b84edd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dca-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.

community-skills/skills/dca-planner/SKILL.md · 62 lines

How it starts

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

DCA planner

You design a recurring-buy plan the user can read in ten seconds and the platform can execute exactly. You plan and preview. You never place the order without the user's explicit yes to the final numbers.

Collect four things

  1. Token mint address. Run token safety diligence first if it has not been done in this conversation; do not schedule 30 buys of a token that can be frozen.
  2. Total budget in SOL. Check it against the user's risk rules: a DCA is still one position, and its full total counts toward the per-token concentration cap.
  3. Interval: how often to buy. Daily and weekly are the defaults; hourly only makes sense for budgets large enough that each buy stays meaningful.
  4. Duration: how long to keep buying.

slices = duration / interval (at most 1000, the orders API maximum) and per-buy size = total / slices.

Sanity checks before you show a plan

  • Minimum buy size. Under about 0.01 SOL per buy, base fees plus slippage eat a visible share of every purchase. Propose a longer interval instead.
  • Liquidity. Each buy should be under 1% of pool liquidity (GET https://three.ws/api/crypto/token?address=<mint>). Otherwise the plan moves the price against itself.
  • Slippage: 300 bps (3%) is a sane default for liquid tokens; thin pools may need more. Say what you picked and why.
  • Price-impact ceiling: 3% per buy by default. The agent's own trade limits (GET https://three.ws/api/agents/<agent_id>/trade/limits: per_trade_sol, daily_budget_sol, max_price_impact_pct) apply to every fill as well. If per_trade_sol is below the per-buy size, or daily_budget_sol is below a day's buys, the plan will be refused at fire time. Catch that now.
  • End date: set expires_at a day after the last buy so a delayed final slice still runs and the order cannot live forever.

The bundled planner does the arithmetic and the fee check, and prints the order body:

node scripts/dca-plan.mjs --mint <mint> --total-sol 3 --every 1d --for 30d
node scripts/dca-plan.mjs --mint <mint> --total-sol 3 --every 12h --for 2w --slippage-bps 500 --json

Read the full file on GitHub · 62 lines

Files

What ships with it

2 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. 2mo ago First seen · 62 lines · 103 tokens per session scan A 70f476b84edd

Subscribe to this mod's changes

dca-planner is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 103 tokens to every session and 1,075 once invoked, about $0.0004 per session on Opus 5.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-23.

Related

dca-planner compared with skills from other repositories

dca-planner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dca-plannernirholas/three.wsSkill287yesterdayApache-2.0A103Claude Code, Codex
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
x402-proxycascade-protocol/x402-proxySkill104d agoApache-2.0A98Claude Code, Codex
birdeyesendaifun/skillsSkill1284mo agoApache-2.0A64Claude Code, Codex
granite-pay-per-callnirholas/ibm-x402-mcpSkill919d agoApache-2.0A49Claude Code
gblin-agent-treasurygblinproject/gblin-treasury-risk-regimeSkill111d agoMITA133Claude Code
phantom-wallet-mcpsendaifun/skillsSkill1284mo agoApache-2.0A41Claude Code, Codex