setup-agent-replay

setup-agent-replay is a skill for Claude Code, Codex from raindrop-ai/workshop. It costs 74 tokens per session (2,640 once invoked), scanned A, original, MIT.

A setup workflow for making a local coding agent replayable in Raindrop Workshop, a local tool for viewing and testing captured agent runs. It prepares the project configuration, a replay server, and local registration.

In plain words
What is it for?
Use it to create or update .raindrop/agents.yaml, scaffold a replay server, register the project, and check that the server is healthy.
Why use it?
It removes the manual work of starting and connecting a replay server so captured traces can be tested against the real local agent code and tools.

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/raindrop-ai/workshop/setup-agent-replay
Any agent
npx skills add raindrop-ai/workshop --skill setup-agent-replay
Clone the repo
git clone --depth 1 https://github.com/raindrop-ai/workshop

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/raindrop-ai/workshop/setup-agent-replay.svg)](https://agentmods.dev/skills/raindrop-ai/workshop/setup-agent-replay)
Your own site
<a href="https://agentmods.dev/skills/raindrop-ai/workshop/setup-agent-replay"><img src="https://agentmods.dev/badge/skills/raindrop-ai/workshop/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 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 $0.00074 $0.02640
Opus 5 $0.00037 $0.01320
Sonnet 5 $0.00015 $0.00528
Haiku 4.5 $0.00007 $0.00264

Measured 4d 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 4d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 4d 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 raindrop-ai/workshop (1,067 stars, last pushed 11d ago), 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). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright-test-diagnosis

Analyze playwright test results.

heal-dev/heal-playwright-tracer · 11 tokens

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

verify

Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.

Hmbown/CodeWhale · 25 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens