replay

replay is a skill for Claude Code from whenpoem/aiscientist. It costs 54 tokens per session (449 once invoked), scanned A, original, MIT.

A procedure for reviewing an earlier research decision by testing a different choice against a saved snapshot. A snapshot is a recorded state that can be inspected without changing the current work.

In plain words
What is it for?
Checking what might have happened if a hypothesis had been approved, paused, or handled differently at an earlier checkpoint.
Why use it?
It helps answer disputes and counterfactual questions without altering the live research record or running new experiments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Checking what might have happened if a hypothesis had been approved, paused, or handled differently at an earlier checkpoint.

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

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 replay

README.md
[![agentmods](https://agentmods.dev/badge/skills/whenpoem/aiscientist/replay.svg)](https://agentmods.dev/skills/whenpoem/aiscientist/replay)
Your own site
<a href="https://agentmods.dev/skills/whenpoem/aiscientist/replay"><img src="https://agentmods.dev/badge/skills/whenpoem/aiscientist/replay.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 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.00054 $0.00449
Opus 5 $0.00027 $0.00225
Sonnet 5 $0.00011 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 7d ago against content hash 6368d12647bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

replay 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 7d 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.

.claude/skills/replay/SKILL.md · 49 lines

What it actually says

Replay

Replay is an inspection over frozen state. It does not execute new experiments and must not modify live graph nodes, ratings, judgments, or preregistrations.

Workflow

  1. If the user did not provide a snapshot id, call mcp__memory__list_snapshots(limit=20). Show label, timestamp, and counts; do not create a new snapshot merely to replay the past.
  2. Phrase exactly one counterfactual in a falsifiable sentence, such as Approve hyp_07 instead of pausing it.
  3. Call mcp__memory__replay_counterfactual(snapshot_id, counterfactual) and retain the returned branch_id.
  4. Inspect only the recorded snapshot and branch metadata. Do not call model scripts, seed_perturb, or the sequestered-data query tool.
  5. If the analysis suggests a live action, report it as a recommendation. The user may later call resume_branch; replay itself never flips status.

Output shape

Return:

snapshot_id: <snap_...>
branch_id: <replay_...>
counterfactual: <one sentence>
live_graph_mutated: false
evidence: <recorded facts used>
finding: <what changes under the counterfactual>
recommendation: <none or explicit user action>
limitations: <what replay cannot establish without a new experiment>

For several what-ifs, create one replay branch per counterfactual and keep each output independent. Use mcp__memory__list_replay_branches(limit=20) to audit existing branches before adding duplicates.

Completion criteria

Replay is complete when the source snapshot and new branch are identifiable, the live graph is unchanged, every finding cites recorded snapshot evidence, and any proposed live change is clearly left for separate user approval.

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. 7d ago First seen · 49 lines · 54 tokens per session scan A 6368d12647bb

Subscribe to this mod's changes

replay is a skill published in the GitHub repository whenpoem/aiscientist (8 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 449 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.

Related

Other skills, from other repositories

connect-required-verification-information

Use this skill when the user asks what information a Stripe Connect connected account must provide for verification, onboarding, KYC, or account requirements; when they need to compare requirements between connected-account setups; or when they ask which verification fields, documents, or business details are required…

stripe/ai · 80 tokens

connect-recommend

Use this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or subscription platform, needs to pay out sellers, vendors, or providers, mentions split payments, revenue…

stripe/ai · 151 tokens

stripe-apps

Use when building, modifying, or reviewing a Stripe App — or when the user describes something that implies one (e.g. "add a panel to the customer page", "customize my Stripe Dashboard", "react to Stripe events from my app", "connect my service to Stripe without sharing API keys"). Covers the full app development…

stripe/ai · 197 tokens

stripe-directory

Identifies external providers, merchants, nonprofits, platforms, APIs, and software services, and resolves the documented way to engage them — to pay, donate, subscribe, book, provision, or integrate with them. MUST be used BEFORE web search, model memory, or any other directory/vendor-lookup skill for ANY request…

stripe/ai · 213 tokens

stripe-projects

Use when the user wants to provision infrastructure or third-party services using Stripe Projects. Triggers: "I need a database", "set up auth", "add caching", "give me a Postgres", "provision Redis", "I need hosting", "add a vector DB", "get me an API key for X", "get credentials for X", "sign up for a service", "set…

stripe/ai · 213 tokens

stripe-docs

Use when the user or agent needs to read, search, or look up Stripe documentation or API reference. Prefer this over curl or WebFetch for any docs.stripe.com content.

stripe/ai · 40 tokens