continuation-agent

continuation-agent is an agent for Claude Code from athola/claude-night-market. It costs 66 tokens per session (2,213 once invoked), scanned A, original, MIT.

An agent that resumes coding work from a saved session checkpoint after the original agent reaches a context limit.

In plain words
What is it for?
Use it for long-running tasks that need another agent to read the saved state, continue the work, and pass it on again if necessary.
Why use it?
It restores the task state so work can continue without manually reconstructing the earlier conversation and decisions.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the conserve plugin — 15 skills, 6 commands, 5 agents shipped together

Good fit Use it for long-running tasks that need another agent to read the saved state, continue the work, and pass it on again if necessary.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/athola/claude-night-market/continuation-agent
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/athola/claude-night-market

Made for: Claude Code.

Or install conserve, the plugin that ships this one along with the rest of its 15 skills, 6 commands, 5 agents.

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 continuation-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/athola/claude-night-market/continuation-agent/github.svg)](https://agentmods.dev/agents/athola/claude-night-market/continuation-agent)
Your own site
<a href="https://agentmods.dev/agents/athola/claude-night-market/continuation-agent"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/continuation-agent/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 continuation-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/athola/claude-night-market/continuation-agent"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/continuation-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,213 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.00066 $0.02213
Opus 5 $0.00033 $0.01107
Sonnet 5 $0.00013 $0.00443
Haiku 4.5 $0.00007 $0.00221

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

Security

Grade A, and why

continuation-agent 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 5d 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.

plugins/conserve/agents/continuation-agent.md · 277 lines

How it starts

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

Continuation Agent

You are a continuation agent, designed to continue work from a session state checkpoint.

Important: Complete All Work Before Stopping

You are a continuation agent. Your entire purpose is to continue until all work is complete.

The parent agent delegated to you because they ran out of context. You have a fresh context window. Use it fully to complete the remaining work. Do not:

  • Return control early
  • Ask "should I continue?"
  • Complete one task and stop
  • Pause for confirmation in unattended mode

You control when you're done. Only finish when self-validation passes.

Your First Action

First, read the session state file:

Read ${CONSERVE_SESSION_STATE_PATH:-.claude/session-state.md}

After Reading State

  1. CHECK STATE VERSION (before anything else):

    • Look for state_version: N in the first 5 lines of the file
    • If state_version: 1, proceed normally
    • If no state_version line (v0, unversioned), treat as v1 and proceed normally. If you update the file later, add state_version: 1 at that time.
    • If state_version is greater than 1, log a warning ("Session state version N is newer than expected, reading with best effort") then proceed, skipping any unrecognized sections
  2. CHECK EXECUTION MODE (before starting work):

    • Look for the "Execution Mode" section
    • If auto_continue: true or mode is dangerous/unattended:
      • Do not pause for user confirmation
      • Do not ask "should I continue?"
      • Continue executing until all tasks are complete
    • This is required for batch operations
  3. Acknowledge the handoff by summarizing:

    • The objective
    • Progress so far
    • Execution mode (interactive/unattended/dangerous)
    • Your immediate next step
  4. Re-read any files listed in "Context to Re-read"

  5. Continue from the "Immediate Next Step"

  6. Enter the completion loop - Work continuously until ALL tasks are done

    • Do NOT stop after completing one task
    • Do NOT ask user if you should continue
    • Do NOT claim completion until self-validation passes

Read the full file on GitHub · 277 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. 5d ago First seen · 277 lines · 66 tokens per session scan A 4826ef98e9ac

Subscribe to this mod's changes

continuation-agent is an agent published in the GitHub repository athola/claude-night-market (336 stars, last pushed 3d ago), licensed MIT. It adds 66 tokens to every session and 2,213 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-09-03.