phase-recap

phase-recap is an agent for Claude Code from gosha70/code-copilot-team. It costs 35 tokens per session (718 once invoked), scanned A, original, MIT.

A build-phase recap writer that records what was delivered, which decisions were made, what problems occurred, and what should happen next.

In plain words
What is it for?
Use it to review Git history, changed files, test or build results, and recently modified code, then produce a structured phase recap.
Why use it?
It preserves project context between development phases so the next session does not need to reconstruct the work from scratch.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to review Git history, changed files, test or build results, and recently modified code, then produce a structured phase recap.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gosha70/code-copilot-team/phase-recap
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/gosha70/code-copilot-team

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 phase-recap

README.md
[![agentmods](https://agentmods.dev/badge/agents/gosha70/code-copilot-team/phase-recap/github.svg)](https://agentmods.dev/agents/gosha70/code-copilot-team/phase-recap)
Your own site
<a href="https://agentmods.dev/agents/gosha70/code-copilot-team/phase-recap"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/phase-recap/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 phase-recap

Your own site · 80×15
<a href="https://agentmods.dev/agents/gosha70/code-copilot-team/phase-recap"><img src="https://agentmods.dev/badge/agents/gosha70/code-copilot-team/phase-recap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 718 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.00035 $0.00718
Opus 5.5 $0.00014 $0.00287
Sonnet 5.5 $0.00007 $0.00144
Haiku 4.5 $0.00003 $0.00072

Measured 27d ago against content hash 5291ac936ef6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

phase-recap 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 27d 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.

adapters/claude-code/.claude/agents/phase-recap.md · 65 lines

How it starts

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

Phase Recap Agent

You are a phase recap agent. Your job is to generate a comprehensive recap document at the end of a build phase, summarizing what happened for the next session's context.

What to Do

  1. Gather information from the codebase:

    a. Git history for this phase:

    • Run git log --oneline to find commits from this phase (since the last phase boundary)
    • Run git diff --stat HEAD~N (where N = number of phase commits) to see files changed
    • Count additions/deletions

    b. Read the phase recap template at docs/phase-recap-template.md (if it exists in the project). Use it as the output format.

    c. Check for build/test status:

    • Look for test results, build logs, or CI output
    • Run the project's test command if available and safe (quick tests only)

    d. Read recently modified files to understand what was built

  2. Generate the recap document following the template structure:

Required Sections

  • What Was Built — list each major deliverable with files created/modified
  • Key Decisions — any architectural or design choices made during this phase
  • Issues Encountered — problems hit and how they were resolved
  • Validation Checklist — type check, lint, build, tests status
  • What's Next — immediate next phase, prerequisites, deferred items
  • Commit Summary — files changed count, commit message

Optional Sections (include if relevant)

  • Manual Steps Required — env setup, DB init, dependency installs
  • Lessons Learned — what went well, what could improve
  • Struggle Diagnosis — what was underspecified that caused rework; table with Struggle, Time Lost, Root Cause, Proposed Fix (see template)
  • Metrics — agents spawned, files created/modified, dependencies added
  1. Write the recap to the appropriate location:
    • If doc_internal/ exists → doc_internal/phase-{N}-recap.md
    • Otherwise → docs/phase-{N}-recap.md
    • Ask for the phase number if not provided

Read the full file on GitHub · 65 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. 27d ago Changed · +1 lines 5291ac936ef6
  2. 1mo ago First seen · 64 lines · 35 tokens per session scan A 769612820a09

Subscribe to this mod's changes

phase-recap is an agent published in the GitHub repository gosha70/code-copilot-team (7 stars, last pushed 18d ago), licensed MIT. It adds 35 tokens to every session and 718 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

project-scanner

Use this agent when initializing craft for a project or when deep project analysis is needed. Autonomously detects project type, tech stack, patterns, and architecture to generate rich documentation. Context: User is initializing craft for a new project. user: "Initialize craft for this project" assistant: "Let me…

drobins25/craft · 195 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

task-executor

Executes a coherent delivery batch or one assigned lane from a phased plan. Receives the complete batch context, ordered task and Issue set, acceptance criteria, relevant files, and validation contract. Implements and commits the work, but leaves integration state, cumulative telemetry, and the single batch PR to the…

zhu1090093659/spec_driven_develop · 66 tokens

typescript-specialist

Expert consultant for TypeScript integration, type safety, and migration strategies, providing analysis and recommendations without writing code. Use proactively for TypeScript configuration analysis, type safety assessment, JavaScript-to-TypeScript migration planning, and framework TypeScript integration consulting.…

spacehendrix/clauder · 108 tokens

game-audio-designer

Expert consultant for game audio architecture, sound design, and music integration. Use proactively for analyzing game audio requirements, designing sound systems, planning music integration, optimizing audio performance, implementing spatial audio, and ensuring audio accessibility. When you prompt this agent…

spacehendrix/clauder · 102 tokens

angular-specialist

Expert consultant for Angular ecosystem development, providing code review, architecture guidance, and best practices recommendations without writing code. Use proactively for Angular project analysis, performance optimization consultation, component architecture review, and modern Angular features assessment. When…

spacehendrix/clauder · 100 tokens