replay

replay is a command for Claude Code from sifxprime/kodelyth-ecc. It costs 22 tokens per session (697 once invoked), scanned A, original, MIT.

A command that reruns a completed group of coding-agent tasks from a saved session or JSON bundle.

In plain words
What is it for?
Use it to make a dry-run plan or launch a replay with different agents, a different coding tool, or a different branch starting point.
Why use it?
It lets you repeat the same work for regression checks, comparisons, or investigation without changing the original session.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to make a dry-run plan or launch a replay with different agents, a different coding tool, or a different branch starting point.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sifxprime/kodelyth-ecc/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.

Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

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/commands/sifxprime/kodelyth-ecc/replay/github.svg)](https://agentmods.dev/commands/sifxprime/kodelyth-ecc/replay)
Your own site
<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/replay"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/replay/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 replay

Your own site · 80×15
<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/replay"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/replay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 697 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.00022 $0.00697
Opus 5.5 $0.00009 $0.00279
Sonnet 5.5 $0.00004 $0.00139
Haiku 4.5 $0.00002 $0.00070

Measured 2mo ago against content hash 1a5c6cc8b309, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 2mo 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.

commands/replay.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.

/replay

Re-run a completed swarm session for regression testing, A/B comparison, or post-mortem analysis.

Quick examples

/replay swarm-2026-05-10-4a
/replay oauth-audit.bundle.json --execute
/replay swarm-2026-05-10-4a --harness codex --execute
/replay oauth-audit.bundle.json --agents security-reviewer,supply-chain-auditor --execute
/replay swarm-baseline --base-ref refactor-branch --execute

Behavior

By default, prints the dry-run plan. Add --execute to actually create worktrees, spawn the tmux session, and launch agents. The replay session is auto-named <original>-replay-<n> so it never collides with the source.

Flag Effect
<target> Required. Either a bundle file path (*.json) or a session name in .orchestration/.
--harness <h> Override the launcher harness (claude / codex / opencode / windsurf / echo).
--agents a,b,c Replace the original agent list.
--base-ref <ref> Branch base for replay worktrees (default: from bundle.meta or HEAD).
--session <name> Override the auto-generated -replay-N suffix.
--replace Tear down any existing session/worktrees with the same names.
--execute Spawn worktrees + tmux + launch agents.
--write-only Just materialize coordination files.
--json Print the full plan + planConfig as JSON.

Use cases

  • Regression test prompts — capture a baseline, replay after agent rev, compare handoffs.
  • Reproducible bug reports — bundle a buggy session, ship to maintainers, they can replay --execute locally.
  • Model A/B test — same task, two harnesses, side-by-side handoff diff.
  • Re-test against new code — --base-ref refactor-branch re-runs the same audit on the new code.
  • Post-mortem — replay an incident response swarm with new agents to see what they would have caught.

Companion commands

  • /session-export <name> — export a coordination dir as a bundle JSON.
  • /session-import <bundle> — restore a bundle into .orchestration/.

Read the full file on GitHub · 62 lines

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 · 22 tokens per session scan A 1a5c6cc8b309

Subscribe to this mod's changes

replay is a command published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 697 once invoked, about $0.0001 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-03.

Related

replay compared with commands from other repositories

replay next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
replaysifxprime/kodelyth-eccCommand12todayMITA22Claude Code
integratenxtg-ai/forge-pluginCommand73d agoMITA6Claude Code
notebook-queryMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA74Claude Code
cold-startkunalsuri/ai-fication-kitCommand31mo agoApache-2.0A28GitHub Copilot
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code