ag-retrospectiva

ag-retrospectiva is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 55 tokens per session (1,224 once invoked), scanned A, original, MIT.

A session retrospective guide that records timing, failures, decisions, recurring patterns, and possible improvements to project memory and development practices.

In plain words
What is it for?
Use it at the end of a session to review agent activity, commits, failures, past retrospectives, and potential updates to memory, skills, or safeguards.
Why use it?
It turns lessons from completed sessions into concrete improvements instead of letting the same problems recur.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it at the end of a session to review agent activity, commits, failures, past retrospectives, and potential updates to memory, skills, or safeguards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva
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.

Any agent
npx skills add andregusman-raiz/a-gusman-claude --skill ag-retrospectiva
Clone the repo
git clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claude

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 ag-retrospectiva

README.md
[![agentmods](https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva/github.svg)](https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva)
Your own site
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva/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 ag-retrospectiva

Your own site · 80×15
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-retrospectiva.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,224 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Rogue Agent · line 68
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00055 $0.01224
Opus 5 $0.00028 $0.00612
Sonnet 5 $0.00011 $0.00245
Haiku 4.5 $0.00006 $0.00122

Measured 9d ago against content hash 61a574b29fec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ag-retrospectiva 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (promote-instinct.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ag-retrospectiva/SKILL.md · 122 lines

How it starts

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

ag-retrospectiva — Retrospectiva

Spawn the ag-retrospectiva agent for end-of-session analysis and continuous improvement.

Invocation

Use the Agent tool with:

  • subagent_type: general-purpose
  • mode: auto
  • run_in_background: true
  • prompt: Compose from template below

Prompt Template

Projeto: [CWD]

Analise a sessao atual e produza retrospectiva estruturada:

0. **Historico**: Leia retrospectivas anteriores em docs/ai-state/retrospectiva-*.md
   Compare metricas atuais com sessoes passadas. Identifique tendencias.
1. **Tempo**: Quantos agentes foram invocados? Quantos commits?
   Leia /tmp/claude-agent-log.txt e ~/.claude/metrics/agent-scorecard.jsonl se existirem.
2. **Falhas**: O que falhou? Quantas tentativas ate resolver?
3. **Decisoes**: Alguma decisao sub-otima? O que faria diferente?
4. **Patterns**: Algum pattern que se repetiu (positivo ou negativo)?
5. **Melhorias**: Sugestoes concretas para:
   - Memory (informacao util para futuras sessoes)
   - Skills (gaps encontrados, enriquecimentos necessarios)
   - Hooks (protecoes que faltaram)

## Output
Escrever em docs/ai-state/retrospectiva-[data].md:

Retrospectiva — [data]

Metricas

  • Agentes invocados: N
  • Commits: N
  • Falhas: N (resolvidas: N, pendentes: N)

O que funcionou

  • ...

O que nao funcionou

  • ...

Decisoes sub-otimas

  • ...

Melhorias propostas

  • [categoria]: [melhoria]

Baselines

After writing retrospective, update baselines:

  • If docs/ai-state/baselines.json exists, compare and update metrics
  • If not, create with current session as first baseline
  • Track: avg agents/session, avg failures/session, avg commits/session

Important

  • ALWAYS spawn as Agent subagent — do NOT execute inline
  • Runs at end of long sessions (2h+) or on demand
  • ALWAYS reads previous retrospectives for comparison (step 0)
  • Writes retrospective doc AND updates baselines

Modo --instincts

Quando invocado com --instincts (ou ag-0 sugere via orchestrator-feedback-loop):

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 122 lines · 55 tokens per session scan A 61a574b29fec

Subscribe to this mod's changes

ag-retrospectiva is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (19 stars, last pushed 4d ago), licensed MIT. It adds 55 tokens to every session and 1,224 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.

Related

Other skills, from other repositories

skill-factory

A workflow that examines completed session work and turns reusable patterns into Claude Code skills.

sangrokjung/claude-forge · 122 tokens

session-wrap

Use when wrapping up a session before ending. 4 parallel subagents detect doc updates, repeated patterns, learning points, and follow-ups, then a verifier deduplicates and presents choices. Triggers on /session-wrap, session wrap, session cleanup, end of session.

sangrokjung/claude-forge · 58 tokens

relay

Session relay — compresses what's been done so far (writes a one-liner for /compact) and generates a "next task" prompt (a baton) for the user to hand off. Use on requests like "relay / hand off / next session / continue after compact / baton / handoff / clean up context and continue next task." Does not run /compact…

sangrokjung/claude-forge · 97 tokens

docs

Use when documentation generally needs to catch up with a branch before pushing or merging, covering internal developer docs, external customer-facing docs, and release notes together — "update the docs", "do a docs pass before I merge", "make sure everything's documented". Prefer this when no single documentation…

The01Geek/prflow · 97 tokens

strategic-compact

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

sangrokjung/claude-forge · 27 tokens

skit

Run, inspect, and manage entries in the user's skit library — their personal hub, manager, and launcher for scripts in many languages (Python, shell, JS/TS, and more), executables, command templates, and AI-agent prompts, with typed parameter forms, saved presets, and per-entry launch policy. Use when the user asks to…

t41372/skit · 109 tokens