setup-agent-replay

setup-agent-replay is a skill for Claude Code, Codex from DJRHails/dotfiles. It costs 74 tokens per session (2,640 once invoked), scanned A, a copy of setup-agent-replay, MIT.

A setup skill for making a local coding agent replayable from Raindrop Workshop, a tool for running captured agent traces against real local code and tools. It creates the configuration and replay server that Workshop expects, then registers the project.

In plain words
What is it for?
Creating or updating replay configuration, scaffolding a replay server, checking its health endpoint, registering the project, and handling an existing replay setup.
Why use it?
It removes the manual work of wiring a local agent into replay testing and checks that the replay service can be reached.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/djrhails/dotfiles/setup-agent-replay
Any agent
npx skills add DJRHails/dotfiles --skill setup-agent-replay
Clone the repo
git clone --depth 1 https://github.com/DJRHails/dotfiles

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 setup-agent-replay

README.md
[![agentmods](https://agentmods.dev/badge/skills/djrhails/dotfiles/setup-agent-replay.svg)](https://agentmods.dev/skills/djrhails/dotfiles/setup-agent-replay)
Your own site
<a href="https://agentmods.dev/skills/djrhails/dotfiles/setup-agent-replay"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/setup-agent-replay.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00074 $0.02640
Opus 5 $0.00037 $0.01320
Sonnet 5 $0.00015 $0.00528
Haiku 4.5 $0.00007 $0.00264

Measured 3d ago against content hash 7a6bb19697aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-agent-replay scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS http://127.0.0.1:<port>/health
Origin

This is a copy

100% identical to setup-agent-replay — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

modules/agents/skills/setup-agent-replay/SKILL.md · 356 lines

How it starts

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

You are running in the user's agent repository, not in Workshop.

Your job is to make the agent replayable from Raindrop Workshop without the user manually starting a replay server.

Target Contract

Workshop expects:

  • .raindrop/agents.yaml committed in the agent repo.
  • A replay server command in that yaml, plus cwd when the command must run from a subdirectory.
  • A replay server with:
    • GET /health
    • POST /replay
  • A local project registration via raindrop replay register.

Replay server ports must be in 61020-61044.

Workshop runs on http://localhost:5899.

If Raindrop MCP is not available or cannot reach Workshop, run:

raindrop workshop

Then retry the MCP/tool call. Do not stop just because the MCP server is unavailable.

If .raindrop/agents.yaml Already Exists

Before changing anything, read .raindrop/agents.yaml.

Ask the user whether to:

  1. Start/register the existing replay setup.
  2. Add a new agent replay entry.

If they choose start/register:

  1. Run the configured command if needed.
  2. Verify GET /health.
  3. Run raindrop replay register.
  4. Stop. Do not scaffold a duplicate server.

Setup Steps

1. Identify The Agent

Find:

  • Event name used by tracing (eventMetadata({ eventName: ... }), equivalent SDK call, or current Workshop run).
  • Agent entry point to invoke.
  • Runtime context the agent requires, such as orgId, orgPublicId, convoId, userId, source.
  • Model defaults and obvious supported model overrides.
  • Existing script/package manager conventions.

If the agent is not instrumented with Raindrop/Workshop tracing, stop and tell the user to instrument it first.

2. Infer Input And Prefill

Create:

input:
  orgPublicId: string
  orgId: number

prefillFromTrace:
  orgPublicId: properties.orgPublicId
  orgId: properties.orgId

input is the shape passed to the replay server as request.context.

prefillFromTrace tells Workshop how to prefill that context from the selected trace. The user may edit the values in the UI before replay.

Read the full file on GitHub · 356 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. 3d ago First seen · 356 lines · 74 tokens per session scan A 7a6bb19697aa

Subscribe to this mod's changes

setup-agent-replay is a skill published in the GitHub repository DJRHails/dotfiles (2 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 2,640 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to setup-agent-replay, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

autopilot-batch

Fan out a batch of autopilot-queued issues to parallel background worktree subagents — each runs /autopilot at the build model from its 'model:' label — with a gating review at Opus 5 or above and never below the build (Opus reviews Sonnet and Opus builds, Fable reviews Fable builds).

joshukraine/dotfiles · 75 tokens

todoist-cli

Manage Todoist tasks, projects, labels, filters, sections, comments, reminders, and workspaces via the td CLI. Use when the user wants to view, create, update, complete, or organize Todoist items, or mentions tasks, inbox, today, upcoming, projects, labels, or filters.

joshukraine/dotfiles · 68 tokens

autopilot

Carry a well-scoped GitHub issue through the full dev loop autonomously, stopping at a per-run tier boundary (PR-ready, or merge+deploy for small reversible changes).

joshukraine/dotfiles · 40 tokens

qa-handoff

Generate a hands-on QA testing guide as a self-contained HTML page — for Rails apps or static (Hugo) sites. --publish uploads the HTML to the project's configured QA host.

joshukraine/dotfiles · 41 tokens

walkthrough

Generate a hands-on browser walkthrough of a PR's user-facing changes to exercise before review; --publish posts the final version to the PR for QA.

joshukraine/dotfiles · 33 tokens

dustoff

Assess a project that's been dormant for months and produce a prioritized re-entry plan — lifecycle stage, what's stale or broken, and how far the project's tooling has drifted from current conventions — delegating every fix to the skill that owns it, and optionally capturing the plan as a tracking issue that survives…

joshukraine/dotfiles · 64 tokens