dhnt kbAll pages

runbook · candidate

Register a Bash# example command from the release source pin (one .bsh = command + skill)

Find and register Bashy's shipped Bash# example scripts as commands with bashy src fetch + bashy commands add, so the script and its embedded skill guide match the installed release — WHEN a runbook step is already covered by an example script, or you want an example (outpost-profile, ...) as a command (keywords: bash#, bsh, bashsharp, commands add, src fetch, skill as guide, example, register command)

Verified 2026-11-07
2026-11-07: outpost-profile registered this way from the rc.27 source pin and run live; flags per bashy commands add --help · Bashy revision 536fc71bf21457eaa21ab4bb35cd574788d12f97

Why

A Bash# example ships in Bashy’s source as ONE .bsh file that is both the executable command and its skill guide: the guide sits in a ~~~skill as guide fence inside the script (see examples/outpost-profile/outpost-profile.bsh). Registering it gives a normal command, and the agent-facing guide travels with it. Before writing a runbook in prose, check whether such a script already covers the steps.

Find what exists

bashy commands --view registered     # commands registered on this host
bashy skill list                     # skills, including registered .bsh guides
ls "${BASHY_HOME:-$HOME/.bashy}/src/bashy/examples"   # after a fetch (below)

Register an example from the release source pin

bashy src fetch fetches a repo at the running binary’s release commit, so the script matches the installed bashy:

bashy src fetch bashy
NAME=outpost-profile
bashy commands add "$NAME" \
  --set exec.0=bashy --set exec.1=--bashsharp \
  --set "exec.2=${BASHY_HOME:-$HOME/.bashy}/src/bashy/examples/$NAME/$NAME.bsh" \
  --set effects.0=read --set effects.1=write --set effects.2=exec
"$NAME" --help