trader-timemachine

trader-timemachine is a skill for Claude Code from millw14/merrymen. It costs 210 tokens per session (2,778 once invoked), scanned A, original, MIT.

A trade-simulation skill that replays a planned stock trade before it is sized or sent. It uses the stock's recent five-minute price bars and compares the simulated result with past sessions where the same setup occurred.

In plain words
What is it for?
Use it to examine how often a plan reaches its target, reaches its stop, or reaches neither under the specified replay settings.
Why use it?
It provides historical and simulated context without presenting the result as a prediction or guarantee.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the merrymen-trader plugin — 11 skills shipped together

Good fit Use it to examine how often a plan reaches its target, reaches its stop, or reaches neither under the specified replay settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/millw14/merrymen/trader-timemachine
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 millw14/merrymen --skill trader-timemachine
Clone the repo
git clone --depth 1 https://github.com/millw14/merrymen

Made for: Claude Code.

Or install merrymen-trader, the plugin that ships this one along with the rest of its 11 skills.

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 trader-timemachine

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/millw14/merrymen/trader-timemachine"><img src="https://agentmods.dev/badge/skills/millw14/merrymen/trader-timemachine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,778 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.00210 $0.02778
Opus 5.5 $0.00084 $0.01111
Sonnet 5.5 $0.00042 $0.00556
Haiku 4.5 $0.00021 $0.00278

Measured yesterday against content hash 94d77a42a586, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trader-timemachine 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 yesterday.

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

plugins/merrymen-trader/skills/trader-timemachine/SKILL.md · 172 lines

How it starts

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

trader-timemachine

The Time Machine sits between the plan and the money. trader-exit has set the entry, the stop and the target. Before anything is sized or sent, this skill asks one question: if today plays out like the stock's own last 60 days, how often does this plan hit the target first, the stop first, or neither? It answers with 10,000 replays and with the real record of the same rule on every past session. It is a simulation built from the stock's own recent bars, not a prediction. Day trading loses most people money, and a good-looking replay does not change that.

${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).

python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run                    # trader/plan.json, 10,000 replays, seed 19
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --write            # also save trader/timemachine.json
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --until 15:55      # end each replay at your flat-by time
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --json
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" run --symbol TSLA --date 2026-10-19 \
    --entry 364.18 --stop 358.32 --target 370.04 --entry-time "10:15 AM"
python3 "${CLAUDE_SKILL_DIR}/timemachine.py" chart --from           # ASCII fan chart of the saved run

Other flags: --replays N, --seed N (default 19), --window N (default 2 bars), --offline FILE (a saved Yahoo chart JSON, .json or .json.gz), --now "2026-10-19 10:15" (New York time) to pin the clock.

What it reads and writes

file what
trader/plan.json the plan from trader-exit: symbol, date, entry, entry_time / entry_bar, stop, stop_rule, target, target_r, opening range
Yahoo chart API one request: 60 days of 5-minute bars (range=60d&interval=5m), free and unofficial, can lag
trader/timemachine.json with --write: {plan, mc, history} plus the verdict. mc holds the odds, percentiles, the fan-chart bands, 160 sample paths and a 24-bin histogram of the close

Read the full file on GitHub · 172 lines

Files

What ships with it

1 file 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. yesterday First seen · 172 lines · 210 tokens per session scan A 94d77a42a586

Subscribe to this mod's changes

trader-timemachine is a skill published in the GitHub repository millw14/merrymen (55 stars, last pushed yesterday), licensed MIT. It adds 210 tokens to every session and 2,778 once invoked, about $0.0008 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-11-19.

Related

trader-timemachine compared with skills from other repositories

trader-timemachine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trader-timemachinemillw14/merrymenSkill55yesterdayMITA210Claude Code
sec_edgar0xmariowu/AutosearchSkill566d agoMITA35Claude Code
xueqiu0xmariowu/AutosearchSkill566d agoMITA30Claude Code
award-travelAwardTravelFinder/mcpSkill1620d agoMITA164Claude Code
find-my-bookings-and-balancesAwardTravelFinder/mcpSkill1620d agoMITA97Claude Code
setupAwardTravelFinder/mcpSkill1620d agoMITA77Claude Code
cancel-or-change-awardAwardTravelFinder/mcpSkill1620d agoMITA69Claude Code