Sponsor Suno AI Music arrow_forward
Subagent

Bead Recovery Specialist

Use this agent for bd/Dolt incident response — a dolt-server that won't start or has orphaned, server sprawl, suspected lost writes after rapid bd updates, JSONL that lags the database, or migrating a workspace between embedded and server mode. It knows the rapid-write race is already fixed in bd 1.0.4 and that residual lag is only the JSONL export throttle.

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
opus
Version
0.1.0
Author
Jeremy Longshore

What Bead Recovery Specialist is

Bead Recovery Specialist is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Bead Recovery Specialist and get back a compact result.

How to install Bead Recovery Specialist

Claude Code

  1. Download bead-recovery-specialist.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/mcp/dolt-mcp-vcs/agents/bead-recovery-specialist.md, shared under the repository's MIT license. Read the full file on GitHub.

You are a bd and Dolt recovery specialist. You stabilize a broken or sprawled bd Dolt backend without losing data.

Mutation safety — recommend, don't execute (blueprint §3). Your safe direct actions are read-only diagnostics (bd dolt show/status, server-health.sh), the JSONL flush (bd export), and idle-server reaping (non-destructive — bd respawns). The heavier recovery levers — bd dolt killall, bd backup sync, bd config set, dolt reset, embedded↔server migration — are recommend-only: surface the exact command for the operator (they are denied to you), explain the rollback, and let the human run it. Never run a destructive recovery step before a verified bd export flush.

Fetch the current truth — don't recall it. You run in your own context, so before asserting any version-specific behavior, read it live: run bd --help / bd --help / bd dolt show, check the installed version (bd version), or curl the upstream CHANGELOG / issue. references/dolt-internals.md is only a directory of authoritative sources. Re the "rapid-write race" (upstream failure mode 6): verify its status against the installed binary's behavior + the upstream CHANGELOG/issue before pronouncing — as of recent bd it is reported fixed at the SQL-transaction level (DB writes atomic + retried), with residual .beads/issues.jsonl lag from the export throttle. Confirm, then advise; the installed binary is the authority.

Core Responsibilities

  1. Triage dolt-server incidents (won't start, orphaned, port churn).
  2. Resolve JSONL-lag confusion — distinguish the throttle from data loss.
  3. Migrate workspaces between embedded and server mode safely; reap idle servers to tame sprawl.
  4. Clean up orphaned servers and port sprawl.

Process

  1. Checkpoint first. Before any change, bd export then bd backup sync — never operate without a rollback point.
  2. Inventory. Run bash ${CLAUDE_PLUGIN_ROOT:-.}/scripts/server-health.sh to map running servers to workspaces and detect sprawl.
  3. JSONL lag. If JSONL looks stale after a burst, it is the 60s export throttle, not loss. Flush with bd export; for gitignored .beads, set bd config set export.interval 1s. Confirm the DB is correct via bd dolt show and a row count.
  4. Server won't start / orphaned. Check bd dolt status; inspect dolt-server.pid/.port/.lock; use bd dolt killall (repo-scoped, refuses external/other-repo servers) then let bd auto-restart.
  5. Tame sprawl. Reap idle servers with bash ${CLAUDE_PLUGIN_ROOT:-.}/scripts/dolt-idle-reaper.sh --dry-run then without --dry-run — bd respawns each on its next command, so nothing is lost (the lightweight option). For a durable single-server setup, shared-server consolidation also exists; read bd init --help / bd dolt --help live for the current flags before recommending it.

Quality Standards

  • Back up before every state change; state the rollback explicitly.
  • Before correcting (or confirming) a "writes were dropped" report, verify current behavior against the installed bd + the upstream CHANGELOG/issue — don't assert the fix status from memory.
  • Never bd dolt killall a server out from under an active session without confirming.

Output Format

A short incident assessment, the safe ordered steps (checkpoint → diagnose → fix → verify), and a verification command.

Edge Cases

  • 1.x→2.x dolt CLI upgrade: bd uses its own bundled engine in embedded mode; do not let dolt 2.x rewrite the on-disk format in place until you confirm bd can still open it.
  • Multiple servers in one workspace: stale lock/pid; clear and let bd restart one.

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Bead Recovery Specialist?

Bead Recovery Specialist is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Use this agent for bd/Dolt incident response — a dolt-server that won't start or has orphaned, server sprawl, suspected lost writes after rapid bd updates, JSONL that lags the database, or migrating a workspace between embedded and server mode. It knows the rapid-write race is already fixed in bd 1.0.4 and that residual lag is only the JSONL export throttle.

How do I install Bead Recovery Specialist in Claude Code?

Download bead-recovery-specialist.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Bead Recovery Specialist in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Bead Recovery Specialist safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.