rebuild SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

rebuild from opencrabs/opencrabs is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add opencrabs/opencrabs/rebuild@git:20261006.9f53c54

Pins git:20261006.9f53c54 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
opencrabs/opencrabs
Path
src/docs/reference/templates/maintainer-skills/rebuild/SKILL.md
Versions recorded
1
Latest version
git:20261006.9f53c54, committed Oct 6, 2026
Size
2,634 bytes
Repository stars
1,000
License
MIT

Rebuild OpenCrabs from source and hot-swap the running binary in place. Maintainer-only template (source checkout required) replacing the built-in /rebuild removed by #1929 — spec in #1958. Detached build, .bak + 3-second insta-death rollback, setsid restart with session continuity, self-report on completion. Not compiled into the shipped binary; /evolve stays the single shipped update path.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Rebuild (maintainer template)

Mechanical loop, exactly like the old built-in: the agent never thinks during
it — it launches, waits, reports.

## The drill

1. Resolve the current session id (it is arg-passed, never re-derived) and
   launch the loop as a DETACHED background task so the maintainer keeps
   working and the task stays watchable:

   ```bash
   bash ~/.opencrabs/skills/rebuild/rebuild.sh <session-id>
   ```

   Optional env: `OPENCRABS_SRC` (default `~/srv/rs/opencrabs`),
   `OPENCRABS_BIN` (default: `opencrabs` on PATH),
   `ROLLBACK_SECS` (default 3).

2. Do nothing until the task completion receipt lands. No LLM in the loop
   before that — the script does sync, build, swap, restart and rollback.

3. On the receipt, read the task log and report ONCE, where the rebuild was
   triggered:
   - `rebuild complete` — new binary swapped, alive past the guard window,
     session resumed via `chat --session <id>`.
   - `rolling back` / exit 1 — the new binary insta-died; old binary was
     restored from `.bak` and relaunched on the same session. Include the
     compiler tail if the build itself failed.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add opencrabs/opencrabs/rebuild@sha256:95c29c1189bf1d07

The line at the top of this page pins the label git:20261006.9f53c54, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eimuby7u2shqdqkp.svg)](https://markdownregistry.com/a/art_eimuby7u2shqdqkp)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 6, 2026.

versioncommittedcommitsizeaudit
git:20261006.9f53c54 latest2026-10-06 9f53c54 2,634 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2634 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

opencrabs/opencrabs · 1,000 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eimuby7u2shqdqkp
GET https://markdownregistry.com/api/v1/resolve?ref=opencrabs/opencrabs/rebuild
GET https://markdownregistry.com/api/v1/blob/95c29c1189bf1d071da24210bc45410df387e03630914a1cbfe4384cb6225c4b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from opencrabs/opencrabs

AGENTS.md@src/docs/reference/templates AGENTS.md file
opencrabs/opencrabs · src/docs/reference/templates/AGENTS.md
git:20260920.206c489 · audit A · 1,000 stars
motion-graphics SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/optional-skills/motion-graphics/SKILL.md · Build videos and motion graphics with Remotion: narrated step-by-step tutorials for an app (install, setup, channel…
git:20261016.94b9f85 · audit A · 1,000 stars
a2a-gateway SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/a2a-gateway/SKILL.md · Agent-to-Agent (A2A) protocol gateway reference. JSON-RPC 2.0 peer-to-peer agent communication. (/a2a-gateway, a2a…
git:20260503.68c0c2a · audit B · 1,000 stars
browser-cdp SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/browser-cdp/SKILL.md · Native CDP browser automation reference. Headless/headed Chrome control, screenshots, JS evaluation. (/browser-cdp…
git:20260916.5d77e6c · audit A · 1,000 stars
cost-estimate SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/cost-estimate/SKILL.md · Estimate codebase cost-to-build, AI-assisted ROI, and fair-market valuation
git:20260501.09a3f3d · audit A · 1,000 stars
dynamic-tools SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/dynamic-tools/SKILL.md · Runtime tool management with tool_manage and tools.toml format. Create, enable, disable, reload tools without restart…
git:20260613.0bb4b03 · audit A · 1,000 stars
github SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/github/SKILL.md · Full GitHub CLI control — issues, PRs, code reviews, repo management. Uses gh CLI with auth detection, rate limiting…
git:20260721.3692cf8 · audit A · 1,000 stars
multi-agent SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/multi-agent/SKILL.md · Orchestrate a task across multiple AI models/providers. Define a team of agents with different roles, providers, and…
git:20260618.3ad5c24 · audit A · 1,000 stars
repo-audit SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/repo-audit/SKILL.md · Run a comprehensive language-agnostic repository health audit, scored 0-100. Detects language, runs native tooling…
git:20260509.7374b5e · audit A · 1,000 stars
security-audit SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/security-audit/SKILL.md · Run a comprehensive language-agnostic security & CVE audit, scored 0-100
git:20260501.09a3f3d · audit A · 1,000 stars

Every file in opencrabs/opencrabs

Other files named rebuild

rebuild SKILL.md skill
adolfousier/opencrabs · src/docs/reference/templates/maintainer-skills/rebuild/SKILL.md · Rebuild OpenCrabs from source and hot-swap the running binary in place. Maintainer-only template (source checkout…
git:20261006.9f53c54 · audit A · 1,004 stars

Browse by kind, by grade A, or by owner.