zenresume

zenresume is a command for Claude Code from Fredje777/claude-zenvibe. It costs 56 tokens per session (727 once invoked), scanned A, original, MIT.

A resume command that rebuilds context after a pause or shortened conversation by reading the project journal, rules, and recent Git history. Git is a system that records code changes.

In plain words
What is it for?
It is for restarting work in an existing project, checking the current branch and commits, and proposing the next step before editing code.
Why use it?
It helps the agent understand what was happening and what changed before continuing, instead of relying on incomplete memory.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the zenvibe plugin — 3 commands, 2 hooks, 1 MCP server shipped together

Good fit It is for restarting work in an existing project, checking the current branch and commits, and proposing the next step before editing code.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fredje777/claude-zenvibe/zenresume
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Fredje777/claude-zenvibe

Made for: Claude Code.

Or install zenvibe, the plugin that ships this one along with the rest of its 3 commands, 2 hooks, 1 MCP server.

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 zenresume

README.md
[![agentmods](https://agentmods.dev/badge/commands/fredje777/claude-zenvibe/zenresume/github.svg)](https://agentmods.dev/commands/fredje777/claude-zenvibe/zenresume)
Your own site
<a href="https://agentmods.dev/commands/fredje777/claude-zenvibe/zenresume"><img src="https://agentmods.dev/badge/commands/fredje777/claude-zenvibe/zenresume/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 zenresume

Your own site · 80×15
<a href="https://agentmods.dev/commands/fredje777/claude-zenvibe/zenresume"><img src="https://agentmods.dev/badge/commands/fredje777/claude-zenvibe/zenresume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 727 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.00056 $0.00727
Opus 5 $0.00028 $0.00364
Sonnet 5 $0.00011 $0.00145
Haiku 4.5 $0.00006 $0.00073

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

Security

Grade A, and why

zenresume 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 11d 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.

commands/zenresume.md · 70 lines

How it starts

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

The user is resuming after a pause or a conversation compaction. Re-establish context properly before doing anything else.

Output language: Default to English. If CLAUDE.md is in French OR the journal contains French entries, write your briefing in French. Otherwise English.

Workflow

1. Read the journal in full

  • Try docs/JOURNAL.md. If absent, try JOURNAL.md at the repo root.
  • If neither exists, say: "No JOURNAL found. Want to start one, or would you rather brief me verbally?" — then stop and wait.
  • Read the journal entirely. The latest entry matters most, but earlier ones carry deferred decisions, refactors, and context still in play.

2. Read project conventions

Read CLAUDE.md at the project root if present. Note the conventions on commits, naming, security, validations, testing — they guide everything you do this session. If multiple CLAUDE.md exist in subdirectories, read the one closest to the work area mentioned in the journal.

3. Check the actual git state

Run, in parallel:

  • git status
  • git log -5 --oneline
  • git branch --show-current

Compare with the "Git" section of the latest journal entry. If they diverge (new commits, unexpected uncommitted changes, different branch), flag it in your summary.

4. Produce a compact briefing

Output exactly this structure, filled from what you read:

Resumed from docs/JOURNAL.md (entry of <date time>)

You were on: <current task>
Since the pause: <commits visible since pause, or "nothing">
Remaining on this task: <unfinished points>
Proposed next action: <one concrete, actionable sentence>

Attention points noted at pause:
- ...

Active conventions (CLAUDE.md): <2–3 bullets if relevant to the next action>

Shall I resume? (yes / no / different direction)

Keep it under 25 lines. The user wants context, not a re-narration of the journal.

5. Wait for an explicit go-ahead

Do not edit files, run mutating commands, or start the proposed action until the user explicitly confirms ("yes", "go", "ok", "oui", "vas-y" — any clear assent).

Read the full file on GitHub · 70 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. 11d ago First seen · 70 lines · 56 tokens per session scan A 5a11bbbea01a

Subscribe to this mod's changes

zenresume is a command published in the GitHub repository Fredje777/claude-zenvibe (2 stars, last pushed 18d ago), licensed MIT. It adds 56 tokens to every session and 727 once invoked, about $0.0003 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.