adopt
Index the agent lanes that already exist into a programme's lanes.jsonl, reading each terminal to classify it and its context use.
Skill by stevengonsalvez
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/stevengonsalvez-adopt
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adopt
What's inside
- Skill name
adopt- Description
- Index the agent lanes that already exist into a programme's lanes.jsonl, reading each terminal to classify it and its context use. Use when taking charge of lanes started by hand, when starting a programme from running work, or as the re-verify pass after a host restart or before any send. Dry-run first, confirm once, then write.
- License
- MIT
- Instructions
- 76 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# adopt
```bash
# propose, write nothing
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh adopt <programme> --dry-run \
--environment local --environment <remote>
# write the rows once the table looks right
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh adopt <programme> \
--environment local --environment <remote>
# also index the lanes it reported as UNINDEXED
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh adopt <programme> --include-new
```
Needs a programme dir and the ownership token. Create the dir with
`orchestrate.sh init <programme> --trunk <branch> --repo <checkout>`, edit
`programme.yaml` (`autonomy` and `repo` must both be set deliberately, never
left to a default), then claim it with `orchestrate:takeover`, which prints the
token once. A dry run needs no token; writing does.
Columns: `lane, env, worktree, agent, handle, status, ctx`.
A dry run writes nothing at all: no event, no index rewrite, no terminal, not
even a re-resolved handle. It reports what it would do and stops.
## What it does
- Reads EVERY handle in screen mode. Liveness is never inferred from a terminal
listing: an empty list has come back while lanes were alive.
- A handle that reads empty is re-resolved from its worktree, and the row is
rewritten with the live handle.
- Classifies each lane `working, idle, asking, dead, unknown` from the screen
patterns in `agents.yaml`, and reads its context use from the status line.
- `done`, `retired` and `needs-rebind` are decisions, not screen states, so a row
already carrying one is left alone.
- MERGES into an existing row. `branch`, `goal`, `exclusive` and `title` are
yours and are never blanked by a re-verify pass: the retirement guard reads
`branch`, so wiping it would quietly disarm the wall that stops a worktree
being removed under open work.
- Reports anything live that is not indexed as an `UNINDEXED` row. A lane
started by hand and never registered is the failure this verb exists to
prevent, so discovery runs every time, not only on an empty index. Those rows
are written only with `--include-new`.
## Judgment left to you
| thing | what to do |
|---|---|
| a lane reads `unknown` | read it: `orchestrate.sh read <programme> <lane> 40`. The screen pattern in `agents.yaml` is probably wrong for this agent. Fix the pattern, not the code |
| `ctx` is blank | that agent kind has no verified context pattern yet. See `${CLAUDE_PLUGIN_ROOT}/references/agents-yaml.md` |
| a lane's agent kind is wrong | edit the `agent` field in `lanes.jsonl`; it decides how the lane is resumed and compacted |
| a lane is `dead` | `orchestrate:tick` restarts it with that kind's resume command |
| a lane reads `needs-rebind` | its worktree holds several terminals and none is uniquely titled for it. Set `title` in `lanes.jsonl` to that terminal's title, then adopt again. Nothing is sent to a lane in this state |
| an `UNINDEXED` row appears | decide whether it is a lane. If it is, name it and adopt with `--include-new`, then fill its `branch` and `goal` |
Fill `branch`, `goal`, `exclusive` and `title` in `lanes.jsonl` by hand after
adopting: adopt cannot know them, they survive every later adopt, and the
retirement guard refuses outright when `branch` is unknown. `title` is what
binds a lane to its own terminal when a worktree holds more than one.
## Before the first unattended run
Fill `attribution_patterns` and `scrub.deny` in `programme.yaml` with the tool
and vendor names this programme must never publish, anchored as the template
shows. The shipped defaults match one trailer shape and nothing else, so until
you set them a report naming a vendor in prose scrubs clean and posts.
Every policy key, and which of them are walls:
`${CLAUDE_PLUGIN_ROOT}/references/programme-yaml.md`.
## Next
`orchestrate:tick` once, then arm `orchestrate:loop`.From stevengonsalvez/ainb-toolkit, MIT.
More from stevengonsalvez/ainb-toolkit
- 0.592score
export
stevengonsalvez
Turn a finished demo into what people see outside a video player - a README bundle (a looping GIF, an animated WebP and a poster PNG plus a ready `<picture>`…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
brag
stevengonsalvez
Turn the project in the current directory into a short, shareable launch video, by delegating to the upstream brag skill.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
illustration:popa
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa, a cute pink blob with a green sprout and a notepad, on soft pastel scenes.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
capture
stevengonsalvez
Film a real web app, logged in or public, SPA or multi-page, as clean re-recordable product footage.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
illustration
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa (a pink blob with a green sprout and a notepad).
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
agytoggle
stevengonsalvez
Multi-account credential manager and profile switcher for the Antigravity CLI (agy).
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
compose
stevengonsalvez
Turn captured product footage into a finished demo video - a 1440p60 master with the app in a framed window on a themed backdrop, a feathered spotlight that…
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
test-writer-fixer
stevengonsalvez
Write tests for code that has none, and repair tests that broke, without weakening what they check.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
godmode
stevengonsalvez
Autonomous product factory.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
handover
stevengonsalvez
Generate HANDOVER.md from a programme's index files and release the owner lock so another session, on any harness, can pick the programme up.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
retire
stevengonsalvez
Remove a finished lane's worktree through Orca, only once it is merged, clean and idle.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
expect-test
stevengonsalvez
AI-powered browser testing using expect-cli.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 4
- Last commit (this folder)
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/stevengonsalvez/ainb-toolkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from stevengonsalvez
- 0.592score
export
stevengonsalvez
Turn a finished demo into what people see outside a video player - a README bundle (a looping GIF, an animated WebP and a poster PNG plus a ready `<picture>`…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
brag
stevengonsalvez
Turn the project in the current directory into a short, shareable launch video, by delegating to the upstream brag skill.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
illustration:popa
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa, a cute pink blob with a green sprout and a notepad, on soft pastel scenes.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
capture
stevengonsalvez
Film a real web app, logged in or public, SPA or multi-page, as clean re-recordable product footage.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
illustration
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa (a pink blob with a green sprout and a notepad).
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
agytoggle
stevengonsalvez
Multi-account credential manager and profile switcher for the Antigravity CLI (agy).
SkillAFreshness: A★ 1Claude Code +9
Cite this page
adopt skill. Agent Mart. https://agentmart.dev/skills/stevengonsalvez-adopt (last updated 2026-10-24)