speckit.companion.living-move

speckit.companion.living-move is a command for Claude Code from alfredoperez/speckit-companion. It costs 24 tokens per session (1,083 once invoked), scanned A, original, MIT.

A relocation command that moves a living specification between central storage and storage beside the code it describes. Central storage keeps the record in a dedicated capabilities folder; colocated storage keeps it next to the related code.

In plain words
What is it for?
Use it when reorganizing a repository or changing which team or code area should visibly own a living specification.
Why use it?
It avoids error-prone manual moves by keeping the specification file, coverage information, and registry entry together.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .specify/extensions/companion/scripts/relocate-capability.py --name <name> --to <central|colocated> [--spec <path>] [--root .].

Good fit Use it when reorganizing a repository or changing which team or code area should visibly own a living specification.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/alfredoperez/speckit-companion
agentmods
npx agentmods add commands/alfredoperez/speckit-companion/speckit.companion.living-move

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for speckit.companion.living-move

README.md
[![agentmods](https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/speckit.companion.living-move/github.svg)](https://agentmods.dev/commands/alfredoperez/speckit-companion/speckit.companion.living-move)
Your own site
<a href="https://agentmods.dev/commands/alfredoperez/speckit-companion/speckit.companion.living-move"><img src="https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/speckit.companion.living-move/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speckit.companion.living-move

Your own site · 80×15
<a href="https://agentmods.dev/commands/alfredoperez/speckit-companion/speckit.companion.living-move"><img src="https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/speckit.companion.living-move.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01083
Opus 5 $0.00012 $0.00541
Sonnet 5 $0.00005 $0.00217
Haiku 4.5 $0.00002 $0.00108

Measured 3d ago against content hash aea2fc186d9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

speckit.companion.living-move scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

speckit-extension/commands/speckit.companion.living-move.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Relocate a Living Spec

Move a capability's living spec between the two storage layouts, without hand-editing config or moving files yourself.

  • centralcapabilities/<capability>/<name>.spec.md. One folder per capability, holding one spec or several granular ones. A legacy capabilities/<name>/spec.md still reads, and moving it centrally renames it to the new shape.
  • colocated<area root>/<name>.spec.md, sitting next to the code it describes.

Neither is more correct. Colocating makes ownership obvious and the spec travels with the code when it moves; centralizing keeps the whole record readable in one place and survives code being reorganized. Repos commonly end up mixed, and that is a fine outcome.

The move is reversible and loses nothing. A requirement's identity is its ### heading text inside the spec, so nothing outside the file points at its location — there is no id to renumber, no link to fix, no index to rebuild.

Input

$ARGUMENTS

The argument names what to move and where — a capability name and a target layout (billing to colocated), or a repo-wide instruction (everything to central).

If either is missing, ask. List the capabilities with their current layout so the developer can see what they are choosing between, and never guess at a target layout.

What to do

1. Show what will move, and pause

Resolve the current layout of each named capability and the exact path each spec will land at. Show that before touching anything:

billing        capabilities/billing/billing.spec.md  →  src/billing/billing.spec.md
billing-tax    capabilities/billing/tax.spec.md  →  src/billing/tax/billing-tax.spec.md

Add one line only where something would surprise them: a display name that changes (colocated names come from the file stem), a capability that stays central because its globs cover several folders or the whole area, and any .rules.md or .coverage.md that travels with the spec.

Then ask. One question, one word back. This is the only pause.

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · -4 lines aea2fc186d9c
  2. 9d ago First seen · 88 lines · 24 tokens per session scan A a9ef5d78890e

Subscribe to this mod's changes

speckit.companion.living-move is a command published in the GitHub repository alfredoperez/speckit-companion (90 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,083 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.