wrap-up

wrap-up is a command for Claude Code from liortesta/ClawdAgent. It costs 0 tokens per session (305 once invoked), scanned A, original, Apache-2.0.

A command for reviewing a codebase for technical debt, meaning code or maintenance problems that make future work harder. It looks for duplication, long functions, missing error handling, TODOs, dead code, weak typing, and test gaps, then ranks findings by impact, risk, and effort.

In plain words
What is it for?
Use it to produce a technical-debt report and identify high-return refactoring or reliability work.
Why use it?
It turns a broad cleanup task into a prioritized list of improvements with suggested fixes and verification steps.

Command for Claude Code

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/liortesta/clawdagent/wrap-up
Clone the repo
git clone --depth 1 https://github.com/liortesta/ClawdAgent

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 wrap-up

README.md
[![agentmods](https://agentmods.dev/badge/commands/liortesta/clawdagent/wrap-up.svg)](https://agentmods.dev/commands/liortesta/clawdagent/wrap-up)
Your own site
<a href="https://agentmods.dev/commands/liortesta/clawdagent/wrap-up"><img src="https://agentmods.dev/badge/commands/liortesta/clawdagent/wrap-up.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 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.00000 $0.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

wrap-up 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 4d 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/wrap-up.md · 53 lines

What it actually says

Session Wrap-Up

Consolidate learnings from this session and update project memory.

Process:

  1. Summarize what was accomplished in this session:

    • Features built
    • Bugs fixed
    • Decisions made
    • Problems encountered
  2. Update CLAUDE.md with any new:

    • Architecture decisions (ADRs)
    • Self-correction rules learned
    • Project conventions discovered
    • Key commands added
  3. Check for loose ends:

    • Any TODOs added during this session?
    • Any tests marked as skipped?
    • Any temporary code or workarounds?
    • Any documentation that needs updating?
  4. Create a handoff note — if someone (or a future Claude session) picks up where we left off, what do they need to know?

Output Format:

## Session Wrap-Up — [DATE]

### Accomplished
- [what was done]

### Decisions Made
- [decision]: [rationale]

### CLAUDE.md Updates
- [what was added/changed]

### Loose Ends
- [ ] [TODO or follow-up item]

### Handoff Note
[What the next session needs to know to continue effectively]

Rules:

  • ALWAYS update CLAUDE.md — this is the persistent memory
  • ALWAYS flag loose ends — don't let them get lost
  • Keep the handoff note concise but complete

$ARGUMENTS

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. 4d ago First seen · 53 lines · 0 tokens per session scan A 4bc1c1e71eb4

Subscribe to this mod's changes

wrap-up is a command published in the GitHub repository liortesta/ClawdAgent (11 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 305 tokens. 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.