Retro 标志

Retro

组织
netresearch
retro

Use when a Claude Code or Codex session ends or is declared finished, a friction needs fixing, a reusable learning needs capturing, local memory needs promoting upward, or for cross-session audits — detect friction AND learnings, route each to the right destination, including team documentation, and gate 'done'. Triggers: /retro, /retro done, 'retrospective', 'capture this learning', 'fix this skill', 'promote memory', 'audit', 'alles erledigt'.

概览

发布者netresearch
代码仓库retro-skill
技能名称retro
星标数
26
复刻数
6
附带文件
85
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 85 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 netresearch 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Retro AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/netresearch/retro-skill/tree/main/skills/retro
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/netresearch/retro-skill.git /tmp/retro-skill
mkdir -p .claude/skills
cp -r /tmp/retro-skill/skills/retro .claude/skills/retro
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Retro,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Retro。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Retro 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Retro — LLM-driven Session Retrospection

On Codex, resolve script paths from this loaded skill directory and use the native discovery reader (find-org-skills.py --host codex), not Claude cache paths. Host selection and coverage limits: references/skill-discovery.md.

Improve accepted task completion at the required quality within economically feasible time and cost, across models, knowledge, tools and environment. One LLM pass detects friction and reusable learnings, routes them to seven destinations, and follows their availability, later use and observed benefit. Read references/learning-contract.md for evidence, Mad/Sad/Glad perspectives, configuration limits and justified no-op/pruning outcomes.

Core principle: No silent writes — verify existing authorization for the target, action and audience; execute covered changes and ask only for uncovered decisions. Process critique grants no new authority.

Modes

  • /retro — Sweep: the whole current session.
  • /retro "<problem>" — Spotlight: one described issue. A short or question-shaped argument naming retro itself (/retro zur retro?) reads two ways — the work since the last retro, or that retro run: ask one question with both before Phase 1 (references/workflow.md § Spotlight). A described problem that mentions retro in passing is a Spotlight as usual.
  • /retro outcome [session-id|--since N] — replay a past session by its outcomes.
  • /retro audit [--scope project|repo|skill] — cross-session architectural drift.
  • /retro promote — re-home already-written local memory upward (never project-local memory); keep active access until the accepted target is delivered and reachable, then drain. See references/promote-mode.md.
  • /retro done — definition-of-done gate: eight evidence-backed checks (task, findings, retro, cleanup, questions, tickets, time, docs), each ✅ / ❌ / ⏸ / N/A. ⏸ only when a named person can close it with a named action; what is structurally absent is N/A with its reason — a ⏸ nobody can close makes the whole table get skipped. Say done when every row is ✅ or N/A. See references/done-mode.md.
  • Auto — optional SessionEnd hook, off by default. It is plugin-level, not part of this skill directory: hooks/session-end.json at the repository root (see README, "Optional auto-trigger").

Pipeline (all modes)

  1. Mechanical pre-pass — uv run ${CLAUDE_SKILL_DIR}/scripts/detect-mechanical.py (Promote: uv run ${CLAUDE_SKILL_DIR}/scripts/scan-memory-inventory.py). Every Python script runs through uv run: its header declares Python 3.11 or later, and python3 can be an older interpreter (macOS ships 3.9). It requires --transcript-file, and the transcript is located by content — a token from this session — never by mtime: several sessions share one project slug, so the newest JSONL is regularly somebody else's. Codex rollout JSONL must first be converted with scripts/codex-transcript.py; on Windows set PYTHONUTF8=1 before uv run. Invocation and adapter limits are in references/workflow.md. Its JSON holds coverage.status, findings_total and findings[], each with signal and name and further fields per signal (field list: references/workflow.md § Shared pipeline). Then uv run ${CLAUDE_SKILL_DIR}/scripts/collect-review-findings.py on the same transcript (its header also declares the tree-sitter parser; plain python3 stops with a message): review threads, bot reviews, and comments on the session's PRs/MRs, their linked issues, plus normalized tracker feedback supplied via --feedback-file (input for B18–B20, D4, D6). The subagents' transcripts (<session id>/subagents/agent-*.jsonl) are read with it; transcripts in the output lists every file read. PRs a script opened (a fleet driver's opened.jsonl) are not in the transcript: pass that file with --pr-list. Resolve relevant opaque hints through the owning integration, never by key shape. See references/feedback-contract.md; incomplete coverage is not silence.
  2. LLM enrichment — Mad/Sad/Glad perspectives, both classes (friction + learnings B16–B21); distinguish observations, hypotheses and decisions; filter false positives. A prior failure is not required for a learning.
  3. Cross-session enrichment (optional) — JSONL scan via ${CLAUDE_SKILL_DIR}/scripts/scan-cross-session.py.
  4. Discover skills — always run ${CLAUDE_SKILL_DIR}/scripts/find-org-skills.py, also when the owning skill seems obvious (opening it by path is a skip that needs a deviation line) — and the repo's harness (project-harness-inspection.md). For each B21 candidate, search the team's records and state what was searched (documentation-lookup.md): not searched is unknown, never absent.
  5. Classify (classification-heuristic.md) — authority and rule purpose before enforcement and reach; consider simplification, tools or environment changes; never project-local memory.
  6. Evals — read a matched skill's evals/; propose a TDD stub. For targeted native or shared-runner comparisons, prepare isolated inputs with scripts/prepare-behavior-evals.py; follow references/eval-integration.md.
  7. Proposals — prose Why + How-to-apply, grouped, ≤10; learnings survive the trim.
  8. Authorization — reuse the valid mandate; present concrete uncovered decisions for approve / edit / reject. Do not request the same permission again.
  9. Materialize per destination; for Promote, drain the source last (verified).
  10. Report — with one deviation line per phase of the mode table that did not run as prescribed (references/workflow.md § Report deviations).
  11. Self-check — the retro's own scripts, phases and reading of the invocation: detect-mechanical.py --since-command retro, three closed questions, a finding only with evidence, at most two skill-updates against retro-skill, otherwise one "nothing found" line. See references/workflow.md § Phase 11.

When a material outcome or cost claim needs host data, use scripts/collect-session-metrics.py; for evidence-backed later opportunities, use scripts/scan-cross-session.py --learning-observations <file>. Read references/session-metrics.md for counter scope, unknowns and provenance.

Boundaries

Scope: session-end/cross-session analysis, skill-PR routing, done gate. Tracker identity and access belong to the owning integration; QA and time policy belong to project/organization rules. No implicit tracker, CLI discovery or organization-specific billing defaults in the core.

Always: LLM is primary classifier. Patches go to source repos, never the cache. Verify private-repo and audience authorization. Conventional Commits. DCO sign-off (git commit -s). Preserve commit signing.

Ask first when not already covered: material skill-match ambiguity, auto-mode activation, private-repo access/push, a dirty-worktree fallback that risks existing work, and promotion to a new audience. New product decisions, team norms and permissions require the responsible authority.

Never: auto-merge, silent writes, harness-invented attribution (a disclosure the user's rules prescribe is required), skip hooks (--no-verify), patch the cache, hardcode a static skill list, rm a drained memory (tombstone); from Done mode: merge, tag or deploy, or touch another session's containers, processes or worktrees.

References

FilePurpose
references/learning-contract.mdPurpose, evidence, quality and configuration bounds
references/session-metrics.mdObserved usage/time and later application evidence
references/feedback-contract.mdTracker-neutral evidence and reference resolution
references/friction-catalog.mdAll signals: friction + learnings (A/B/C, B16–B21)
references/destination-taxonomy.mdThe seven destinations
references/classification-heuristic.mdFriction → destination mapping
references/skill-discovery.mdFinding skills at runtime
references/documentation-lookup.mdPhase 4c: what the team's records already say
references/patch-workflow.mdSource-repo patching (never cache)
references/eval-integration.mdEvals for context + TDD stubs
references/promote-mode.mdPromote: materialize-then-drain
references/done-mode.mdDone: eight-gate finish check
references/project-harness-inspection.mdRule purpose, environment and session signals
references/workflow.mdAll modes + phase selection

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 25 个文件。

常见问题

Retro AI 技能有什么作用?

Use when a Claude Code or Codex session ends or is declared finished, a friction needs fixing, a reusable learning needs capturing, local memory needs promoting upward, or for cross-session audits — detect friction AND learnings, route each to the right destination, including team documentation, and gate 'done'. Triggers: /retro, /retro done, 'retrospective', 'capture this learning', 'fix this skill', 'promote memory', 'audit', 'alles erledigt'.

为什么在 TypingMind 中使用 Retro?

因为您只需安装一次,就能搭配任何模型使用。Retro 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Retro?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/netresearch/retro-skill/tree/main/skills/retro。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Retro?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Retro 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Retro 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Retro AI 技能免费吗?

netresearch 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇