Pular para o conteúdo
Skillpedia
Agentes29 mil · #9571

skill-retro

O que ela faz

Esta skill lê o seu histórico local de sessões, dá uma nota ao desempenho de cada skill e informa quais merecem continuar instaladas. Ela é para quem quer saber se as skills realmente ajudam.

Quando usar

  • ✓Quando você quer saber quais das skills instaladas realmente funcionam.
  • ✓Quando você quer edições nas suas skills apoiadas por evidências de sessões anteriores.
  • ✓Quando você quer revisar a configuração do seu agente sem enviar seus dados.

Link da skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skill-retro/skills/skill-retro/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skill-retro/skills/skill-retro/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero que você avalie minhas skills instaladas com base nas minhas sessões reais e me diga quais realmente ajudam.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente coleta e remove dados sensíveis das transcrições locais de sessões, dá notas segundo duas rubricas e confere as edições sugeridas com um critério de aprovação. Tudo fica na sua máquina, e só um relatório que você escolher compartilhar sai dela.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

skill-retro — grade the agent setup from real sessions

Privacy is the contract. Everything runs locally. Transcripts are condensed, secret-redacted, chmod-0600, and never uploaded — the only shareable artifact is the report the user chooses to share.

Run from the repo being graded. Every artifact goes to one fresh scratch dir, never into the repo:

RUN="$(mktemp -d "${TMPDIR:-/tmp}/skill-retro-XXXXXXXX")"
python scripts/collect_sessions.py --out "$RUN"          # 1 — harvest + redact

1 — Collect. Scans Claude Code project-history JSONL and Codex rollouts, discovers repo skills (.claude/skills, .agents/skills, .codex/skills, plugin layouts), detects skill usage (Skill invocations, slash commands, SKILL.md paths), samples newest-first, and writes redacted transcripts. Read $RUN/inventory.json: if sessions_sampled is 0, tell the user there is nothing recent to score (suggest --days 90 or --repo) and stop. skills_found 0 is fine — the report becomes a case for creating skills. To grade headless runs (for example skill evals saved as stream-json), add --sessions-dir <dir>.

2 — Score. python scripts/score_aggregator.py --inventory "$RUN/inventory.json" --emit-template > "$RUN/session_scores.json". Read each transcript in $RUN/transcripts/ and judge it against both rubrics — scorers/efficiency.md and scorers/code-quality.md. Fill the template with a label from the rubric's table and a 1–3 sentence reason citing transcript specifics. Never invent numeric scores — the aggregator derives them from labels. Use insufficient_evidence when a transcript shows no judgeable diff. Also write 1–5 top_findings: the most impactful cross-session patterns, concrete and specific.

3 — Draft edits. Follow references/skill_edit_governance.md (the filing bar: would a competent agent with the current instructions still fail this way?). For each suggestion that clears it, write the full improved SKILL.md to $RUN/proposed/<skill>/SKILL.md, produce diff -u <current> <proposed>, and record it in $RUN/suggestions.json citing the sampled session id(s) that motivated it. Zero suggestions is a valid success — say why per finding. Never modify the user's real skill files in this step.

4 — Aggregate (the gate). python scripts/score_aggregator.py --inventory "$RUN/inventory.json" --scores "$RUN/session_scores.json" --suggestions "$RUN/suggestions.json". It validates labels against the rubric tables, refuses scores for unsampled sessions, requires substantive reasons, rejects suggestions that cite no scored session, computes overall = 0.5·efficiency + 0.35·code_quality + 0.15·skill_coverage, and writes report.json. Exit 4 is a stop: fix what it names and re-run; never hand-edit report.json around it.

5 — Render + tell. python scripts/render_report.py --report "$RUN/report.json" → one self-contained report.html (no JS, no CDN, dark-mode + print-to-PDF). Then tell the user the grade and the top findings in text, link file://$RUN/report.html, and ask whether to apply the proposed diffs to their real skills — apply only on an explicit yes, skill by skill.

Hard rules

  1. Never upload transcripts, session files, or any excerpt. Local only.
  2. Labels only, from the rubric tables. The aggregator owns all arithmetic.
  3. Every suggestion traces to a scored session — or it is dropped. Generic best practice is not evidence.
  4. Zero suggestions is a success, not a failure to report around.
  5. Exit 4 from the aggregator is a stop, not an error to swallow or bypass.
  6. Never touch the user's real skill files without an explicit per-skill yes; proposed edits live under $RUN/proposed/.
  7. A proposed skill edit follows write-a-skill discipline — trigger phrase in the description, smallest change that expresses the rule, replace over append.

Scripts

Script Role Exit codes
scripts/collect_sessions.py Harvest Claude Code + Codex sessions, redact secrets, sample, inventory 0 · 3 bad input
scripts/score_aggregator.py Validate labels/reasons/suggestions, compute grade, emit report.json 0 · 2 warnings · 3 bad input · 4 validation failure
scripts/render_report.py report.json → single self-contained report.html 0 · 3 bad input

All support --help, --output json, and --sample (no real history needed).

References and assets

  • [scorers/efficiency.md](scorers/efficiency.md
Perguntas frequentes

Meus dados saem do meu computador?

Não. Tudo roda localmente, as transcrições têm dados sensíveis removidos e nada é enviado.

E se não houver sessões recentes?

A skill para e sugere um intervalo de tempo maior ou um repositório específico.

Ela consegue avaliar execuções sem interface?

Sim. Ela pode ler pastas de sessões de execuções sem interface, como avaliações salvas de skills.

Detalhes

Descrição original do autor

Use when the user wants their skills graded from real session history, asks which installed skills actually work, or wants evidence-backed skill edits. Collects local sessions with collect_sessions.py, scores them against two rubrics and gates edits with score_aggregator.py.

repo: alirezarezvani/claude-skills

Popularidade

Estrelas no GitHub
29 mil
Posição no ranking
#9571
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas