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.
mdr add opencrabs/opencrabs/rebuild@git:20261006.9f53c54Pins 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
mdr add opencrabs/opencrabs/rebuild@sha256:95c29c1189bf1d07The 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.
[](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.
Audit of the latest version
- 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
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
Every file in opencrabs/opencrabs