vulyk: Command for Claude Code

.claude/commands/vulyk-handoff.md

vulyk-handoff is a command for Claude Code from Black-coffe/vulyk. It costs 16 tokens per session (486 once invoked), scanned A, original, MIT.

A handoff command that saves the current project state in a Markdown file before clearing the session or restarting. It records what happened, what is unfinished, and what the next session should do first.

In plain words
What is it for?
Use it before /clear or a restart when work is incomplete. It is for writing a resumable record of the task, decisions, findings, and next action.
Why use it?
It reduces repeated explanations and helps another session continue from the actual stopping point. It also reports if creating the handoff failed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is Black-coffe/vulyk's own configuration. It tells Claude Code how to work on vulyk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vulyk configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(bash .claude/hooks/handoff.sh:*), Bash(bash scripts/state.sh:*), Read, Edit.

Reuse

Borrowing it

Nothing to install: this file belongs to Black-coffe/vulyk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Black-coffe/vulyk/main/.claude/commands/vulyk-handoff.md
Clone the repo
git clone --depth 1 https://github.com/Black-coffe/vulyk

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 vulyk-handoff

README.md
[![agentmods](https://agentmods.dev/badge/commands/black-coffe/vulyk/vulyk-handoff.svg)](https://agentmods.dev/commands/black-coffe/vulyk/vulyk-handoff)
Your own site
<a href="https://agentmods.dev/commands/black-coffe/vulyk/vulyk-handoff"><img src="https://agentmods.dev/badge/commands/black-coffe/vulyk/vulyk-handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 486 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.00016 $0.00486
Opus 5 $0.00008 $0.00243
Sonnet 5 $0.00003 $0.00097
Haiku 4.5 $0.00002 $0.00049

Measured 8d ago against content hash 6d7b5c334598, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

vulyk-handoff 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 8d 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.

.claude/commands/vulyk-handoff.md · 31 lines

What it actually says

The build-state view, regenerated first so the handoff sits beside a current one rather than whatever was last written:

!bash scripts/state.sh

The mechanical handoff skeleton has already been written to disk:

!bash .claude/hooks/handoff.sh dump

The first line of the output above is the absolute path to the handoff .md file; the second line is the context size at dump time. If the output is empty, the dump failed (usually: no Python 3 on PATH) — tell the user instead of guessing.

Your job is to turn that skeleton into a document the next session can resume from without re-asking anything:

  1. Read the file at that path.
  2. Rewrite the ## Summary section from what actually happened in THIS session. Invent nothing — if something did not happen, do not write it. Structure:
    • What we are doing and why — the task in 2–4 sentences, including the goal, not just the actions.
    • Where we stopped — the current factual state: what is done and verified, what is written but not yet tested.
    • Next step — the concrete first action for the new session, not a general direction.
    • Decisions made — the chosen options and why (the most valuable part: this reasoning cannot be reconstructed later).
    • Dead ends — what was already tried and did not work, including false diagnoses and wrong assumptions that had to be discarded, so the next session does not step on the same rake.
    • What you will need — key files, commands, paths, environment variables, external resources.
  3. In the YAML frontmatter, flip enriched: false to enriched: true.
  4. Touch nothing except the ## Summary section and the enriched field — everything else was assembled mechanically and must stay as-is.

Finish with one short line to the user: the file path plus a reminder that /clear (or exit + restart) is now safe — the next session in this project picks the handoff up automatically.

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. 8d ago First seen · 31 lines · 16 tokens per session scan A 6d7b5c334598

Subscribe to this mod's changes

vulyk-handoff is a command published in the GitHub repository Black-coffe/vulyk (2 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 486 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-08-31.