lv-claim
Take, release, or inspect the claim on a plan, bug, or brief — the lease that keeps another session off an artifact you are driving.
Skill by slicedBread-marc
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/slicedbread-marc-lv-claim
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
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/lv-claim
What's inside
- Skill name
lv-claim- Description
- Take, release, or inspect the claim on a plan, bug, or brief — the lease that keeps another session off an artifact you are driving.
- License
- MIT
- Instructions
- 97 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Claim Mode
**`help` / `--help`:** if that is the whole argument, print the `## Usage` block at the end of this file verbatim and stop.
You are in **claim mode**. Your job is to take, release, or report the lease on one artifact. You do not read plans, edit files, or move pipeline state.
## On startup
Run this first and show the output verbatim:
```bash
scripts/lv-exec.sh lv-claim.sh --list
```
Then present the menu — do not read anything else before the user picks:
```
Claims
<the --list output, or "No live claims.">
claim <ID> take the lease on PLN-NNN / BUG-NNN / BRF-NNN
release <ID> give it back
steal <ID> take one a live session is holding
refresh <ID> push out the 2h expiry on one you already hold
```
If the user's invocation already names an artifact (`/lv-claim PLN-042`), skip the menu and treat it as `claim PLN-042`.
## What a claim is
A **lease on an artifact number**, not a lock on a file. `BRF-041` and the `PLN-041` it becomes are one claim, and it covers everything under that number: `plans/PLN-041-*/`, `bugs/`, `briefs/`, and the plan's `feature-branches/PLN-041-*/` worktree.
Two things honour it:
- **The dispatcher.** `lv-spawn.sh` will not launch a worker onto a claimed artifact, and `lv-list-{implementable,specable,testable}.sh` filter it out of their menus.
- **The write guard.** `lv-guard-write.sh` runs as a `PreToolUse` hook and refuses any `Edit`/`Write` under a claimed artifact's paths.
It expires after **2 hours**, and the moment its owning process dies. That is deliberate — a crashed session must not park an artifact forever. Long attended work refreshes it by claiming again.
## Commands
**claim** — the ordinary case:
```bash
scripts/lv-exec.sh lv-claim.sh <ID>
```
Exit 0 claimed. **Exit 2 means another live session already holds it** — that is an answer, not an error. Say who holds it and offer something else. Do not retry, and never delete the claim file by hand.
Exit 0 also covers `already held on your behalf by the dispatcher`: that claim names your own PID and means carry on.
**`--state <s>[,<s>...]`** adds a precondition: claim only if the plan is in one of those registry states, **exit 3** otherwise with nothing claimed. Every dispatched role passes the states it can actually work — a dispatch describes the registry when it was read, and a worker acts on it later. A verify worker was handed PLN-078 whose verify, human test, PR merge and bug close were already committed; had it not noticed, it would have routed a `complete` plan back to `testing` (WFI-153). Exit 3 is a stand-down: exit 0, do nothing, release nothing.
**release** — on the way out:
```bash
scripts/lv-exec.sh lv-unclaim.sh <ID>
```
Releasing is also a **trigger**: `lv-unclaim.sh` flushes any spawn the orchestrator deferred behind that claim, so a worker may start the instant you let go. Release when you are actually done.
**steal** — only when the holder is finished or wedged:
```bash
scripts/lv-exec.sh lv-claim.sh <ID> --steal
```
Confirm with the user first, naming the holder from `--list`. This writes a `claim-steal` event. Prefer it over release-then-claim: unclaiming would flush a deferred spawn onto the artifact you are trying to take.
**refresh** — re-run plain `lv-claim.sh <ID>`. A claim you already hold is recognised as yours and its timestamp is pushed out.
## Rules
- **Do NOT** edit plans, code, or the registry. This skill only moves claims.
- **Do NOT** delete a `.wf-claim` file directly — it skips the event log and the deferred-spawn flush.
- A claim is not a state change. It does not move a plan through the pipeline, and releasing one does not mean the work is done.
- If `lv-claim.sh` exits 2 and the user insists the holder is dead, check `--list` first: a dead holder's claim is reaped automatically and would no longer be listed. A claim still showing means a live process.
## Exit
Report what changed in one line — what you took or released, and who held it if you stole it. Then stop. There is no state transition to commit and no handoff to make.
Run `scripts/lv-exec.sh lv-check-reboot-flag.sh` afterward and append any output to your completion message.
## Usage
```text
/lv-claim list live claims and offer the verbs below
/lv-claim <ID> same as: claim <ID>
claim <ID> take the lease on PLN-NNN / BUG-NNN / BRF-NNN
release <ID> give it back
steal <ID> take one a live session is holding
refresh <ID> push out the 2h expiry on one you already hold
```From slicedBread-marc/levain, MIT.
More from slicedBread-marc/levain
- 0.524score
lv-brainstorm
slicedBread-marc
Capture and explore ideas.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-dep-notify
slicedBread-marc
File a notice, request or bug into another project's own pipeline.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-rollback
slicedBread-marc
Execute a rollback for a completed or active plan.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-bug
slicedBread-marc
File a new bug report.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-consistency
slicedBread-marc
Cross-plan consistency pass.
SkillBFreshness: BClaude Code +9 - 0.521score
lv-help
slicedBread-marc
List every skill with its one-line purpose, or one skill's usage.
SkillBFreshness: BClaude Code +9 - 0.521score
lv-orchestrate
slicedBread-marc
Drive one bug, brief, or plan through the pipeline unattended, or start/stop the dispatcher daemon.
SkillBFreshness: BClaude Code +9 - 0.521score
lv-rack
slicedBread-marc
The cross-project board — every coordinated project's pipeline in one grid, and what waits on a human.
SkillBFreshness: BClaude Code +9 - 0.521score
lv-stage
slicedBread-marc
Start or stop the release-branch staging environment.
SkillBFreshness: BClaude Code +9 - 0.516score
lv-chrome-test
slicedBread-marc
Alias: now /lv-test <ID> browser.
SkillBFreshness: BClaude Code +9 - 0.516score
lv-debug
slicedBread-marc
Alias: now /lv-test (manual walkthrough) and /lv-bug.
SkillBFreshness: BClaude Code +9 - 0.515score
lv-attend
slicedBread-marc
Drain the orchestrator's gate queue — approve specs, run manual acceptance criteria, unstick parked plans.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/slicedBread-marc/levain
- Website
- slicedbread.ca/levain
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from slicedBread-marc
- 0.524score
lv-dep-notify
slicedBread-marc
File a notice, request or bug into another project's own pipeline.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-rollback
slicedBread-marc
Execute a rollback for a completed or active plan.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-bug
slicedBread-marc
File a new bug report.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-consistency
slicedBread-marc
Cross-plan consistency pass.
SkillBFreshness: BClaude Code +9 - 0.524score
lv-brainstorm
slicedBread-marc
Capture and explore ideas.
SkillBFreshness: BClaude Code +9 - 0.521score
lv-help
slicedBread-marc
List every skill with its one-line purpose, or one skill's usage.
SkillBFreshness: BClaude Code +9
Cite this page
lv-claim skill. Agent Mart. https://agentmart.dev/skills/slicedbread-marc-lv-claim (last updated 2026-10-24)