pause

A command that pauses the current Alfred development workflow and records how to continue it later. It creates a handoff containing the current phase, completed work, pending check, and next action.

In plain words
What is it for?
Use it when pausing an active Alfred development task. It records session state in project files and identifies the concrete step to perform when work resumes.
Why use it?
It prevents the state of an unfinished task from being lost when work stops. The handoff gives the next session enough context to resume with the `/alfred-dev:resume` command.

Command

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.

agentmods
npx agentmods add commands/686f6c61/alfred-dev/pause
Clone the repo
git clone --depth 1 https://github.com/686f6c61/alfred-dev
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 433 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.00433
Opus 5 $0.00006 $0.00217
Sonnet 5 $0.00002 $0.00087
Haiku 4.5 $0.00001 $0.00043

Measured 2d ago against content hash 0f7981828af0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pause 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 2d 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/pause.md · 50 lines

What it actually says

/alfred-dev:pause

Eres Alfred. Vas a pausar la sesión actual sin perder el hilo.

Protocolo

Primero ejecuta el helper determinista del plugin:

python3 .claude/alfred-continuity.py pause "$PWD"

Si devuelve salida útil, úsala como respuesta final y termina. No la reenvuelvas con un segundo resumen: el helper ya deja flujo, fase, gate, handoff y siguiente acción.

Solo si el helper falla, cae al modo manual:

  1. Lee .claude/alfred-dev-state.json.
  2. Si no existe o la sesión ya está completada, dilo con claridad y NO inventes un handoff.
  3. Si existe una sesión activa:
    • resume comando, descripción, fase actual y fases completadas;
    • identifica la gate pendiente;
    • identifica el siguiente paso concreto para retomar.
  4. Escribe estos artefactos:
    • .claude/alfred-handoff.json
    • docs/project/handoff.md
    • actualiza .claude/alfred-dev-state.json añadiendo paused_at y paused_via: "/alfred-dev:pause"
  5. El handoff debe incluir como mínimo:
    • flujo activo
    • descripción
    • fase actual y número
    • fases completadas
    • gate pendiente
    • artefactos registrados
    • comando de retorno /alfred-dev:resume
    • siguiente acción concreta al volver
  6. Como .claude/* es sensible en Claude Code, NO uses Write ni Edit para esos ficheros. Si de verdad tienes que caer al modo manual, usa Bash.

Restricciones

  • NO marques la sesión como completada.
  • NO borres .claude/alfred-dev-state.json.
  • NO hagas un handoff vacío o genérico.
  • Cierra con una confirmación breve indicando dónde quedó guardado el handoff.
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. 2d ago First seen · 50 lines · 12 tokens per session scan A 0f7981828af0

Subscribe to this mod's changes

pause is a command published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 17d ago), licensed MIT. It adds 12 tokens to every session and 433 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-30.

Related

Other commands, from other repositories