agentleFS
ChainGPT-orgChainGPT-org/chaingpt-claude-skill/skills/strategy/SKILL.md

strategy

Skill6 starsChanged 3 months agoMITView on GitHub

Build trading strategy plans via the ChainGPT plugin: DCA (dollar-cost-averaging), grid trading, Hyperliquid funding-rate arbitrage, copy-trading from a target wallet, and DCA backtesting against historical price data. The strategy tools COMPUTE THE PLAN; Claude executes the steps one by one via Tier 1-3 tools (research, risk, dex, defi, hl, pm) — every action still gated by the mainnet acknowledgement refusal. Triggers: DCA, dollar cost average, grid trade, funding arb, copy trade, copy trading, strategy, backtest, replay strategy, recurring buy, periodic buy, ladder.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use finance, brand-voice and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vibesurf-aiSkill

    finance

    Use when user asks for stock data, financial information, company details, historical prices, earnings, dividends, or analyst recommendations from Yahoo Finance.

    Also in 3 projects that use this

  • Dokkabei97Skill

    brand-voice

    Defines and enforces brand voice guidelines for startups. Creates tone, style, messaging frameworks and provides consistency checks across all content. Ensures every piece of communication sounds like it comes from the same brand.

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user asks "build me a DCA into ETH for $1000 over a week":

    line 22
  2. Very specific:

    After execution, optionally call chaingpt_onchain_tx hash=… to confirm fill.

    line 27
  3. Distinctive:

    Never auto-loop without the user's express turn-by-turn confirmation.

    line 29
  4. Distinctive:

    Truly autonomous execution: No daemon, no cron loop, no auto-rebalancing.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ChainGPT Strategy Skill

You build trading strategy plans — not execute them autonomously. Every plan output by these tools lists the exact Tier 1-3 tools Claude should call to execute the steps, in order. Each executing step still goes through the existing mainnet-ack gates. This keeps the agent layer reviewable and refusal-safe.

Tools

ToolWhatOutput
chaingpt_strategy_dca_planDCA schedule for one tokenList of buys (timestamp + USD size) + the exact MCP calls to execute each
chaingpt_strategy_grid_planGrid-trading ladderBuy + sell limit levels with sizes; HL / PM / DEX-flavored execution
chaingpt_strategy_funding_arb_planHL funding-rate carry suggesterSide / leverage / hourly+daily carry estimate + execution sequence
chaingpt_strategy_copy_planMirror a target wallet's swapsStep-by-step: fetch txs → decode → risk-check each outToken → scale + mirror
chaingpt_backtest_dcaReplay DCA against CoinGecko historyDCA P&L vs buy-and-hold baseline

Execution discipline

When the user asks "build me a DCA into ETH for $1000 over a week":

  1. Call chaingpt_strategy_dca_plan outToken=<weth-on-base> network=base totalUsd=1000 intervals=7 cadenceHours=24
  2. Show the plan to the user. Surface the per-buy size, cadence, and pre-flight tools. Get confirmation.
  3. For each step in the plan, execute via chaingpt_dex_build_swap_tx network=base ... acknowledgeMainnet=true. The user signs each one externally.
  4. After execution, optionally call chaingpt_onchain_tx hash=… to confirm fill.

Never auto-loop without the user's express turn-by-turn confirmation. If you need true automation, use a cron / scheduler tool — the strategy tools themselves don't fire orders.

Refusal protocol

These planner tools are read-only, so they don't refuse — but the executing tools they recommend (chaingpt_dex_build_swap_tx, chaingpt_hl_place_order_payload, chaingpt_pm_place_order_payload) all require acknowledgeMainnet: true. Surface that to the user before any execution.

What this skill does NOT do

  • Custody. Plans are returned; user signs every step externally.
  • Truly autonomous execution. No daemon, no cron loop, no auto-rebalancing. Each step is a separate user-signed transaction.
  • ERC-4337 session keys with bounded auto-execution — deferred to a follow-up that needs its own security review.
  • Strategy persistence. Plans aren't stored; each call recomputes. For long-running strategies, save the plan output to your own data layer.
  • Live order-management. Cancellation + replacement is the user's responsibility; planner doesn't track open orders.

Backtesting caveats

chaingpt_backtest_dca uses CoinGecko's free /market_chart endpoint. Caveats:

  • Max 90 days of daily candles on the free tier (some coins).
  • Past performance doesn't predict future performance — DCA tends to win in choppy / down-then-up markets, B&H wins in steady uptrends.
  • Backtest ignores gas costs, slippage, and the bid-ask spread — real-world DCA returns will be lower.

Credit accounting

Strategy planners + backtester cost 0 ChainGPT credits — the data comes from public APIs (Hyperliquid, CoinGecko). Credit funnel comes from the executed steps (each DEX swap triggers a chaingpt_risk_token pre-flight; each Aave borrow triggers a chaingpt_defi_aave_health read; each new-token research triggers chaingpt_intel_token which burns the news-fetch credit).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.