Axelrod Review 标志

Axelrod Review

社区
somnus0x
axelrod-review

针对 AI 草稿的博弈论评审循环:在多轮评审中采用以牙还牙的信任追踪机制。评审深度会根据作者以往处理反馈的表现调整:干净的草稿只需轻度评审,忽略标记则会触发深入审查。适用于反复进行的内容或代码评审循环。

Add to TypingMind

概览

发布者somnus0x
代码仓库agt-skill-pack
技能名称axelrod-review
星标数
74
复刻数
17
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Axelrod Review — Game Theory for AI Review Loops

AI reviews are stateless. Same prompt, same depth, every time. Your reviewer doesn't know it flagged the same issue last round. It doesn't know you fixed everything it asked for. It treats every draft like it's meeting you for the first time.

This skill gives your AI reviewer memory and consequences — using the same tit-for-tat strategy that won Robert Axelrod's famous computer tournament in 1984.

The Problem

You run an AI review on your draft. It flags 5 issues. You fix 3 of them (the other 2 were bad suggestions). Next review? Same depth. Same scrutiny. No reward for cooperation.

Worse: if you ignore feedback consistently, nothing changes either. No escalation. No consequences. The reviewer is a broken feedback loop.

The Fix: Tit-for-Tat Review Dynamics

Track a cooperation score between you (the author) and the reviewer. The score adjusts review depth over time.

How it works

cooperation_score = issues_addressed / (issues_found − rejected_with_reason)
                    (rolling avg, last 5 rounds)

Every flag gets one of three responses, each priced differently:

  • Fix it → cooperation
  • Reject it WITH a one-line logged reason → also cooperation (a wrong flag deserves a documented "no", not silent compliance)
  • Ignore it silently → defection. Visible in the ledger immediately.

This is the key incentive: rejecting a bad flag costs one written line. Ignoring it costs trust. The cheap path and the honest path become the same path.

  • Score > 0.8 (high trust): Light review — hook, accuracy, one standout issue only
  • Score 0.5–0.8 (standard): Full review — all checks, all fixes
  • Score < 0.5 (low trust): Deep audit — recurring issue tracking, verify every claim, no skimming

Setup

1. Create the trust ledger

Create review-trust.json in your project:

json
{
  "meta": {
    "strategy": "tit-for-tat",
    "description": "Cooperation tracking for AI review loop",
    "started": "2026-01-01"
  },
  "rounds": []
}
2. Define your review checklist

Replace this with whatever you review for. Examples:

Content review:

1. Language naturalness
2. Brag/ego filter
3. Hook strength
4. Structure (filler sections?)
5. Repetition check
6. Hedge/runway phrases

Code review:

1. Logic correctness
2. Edge cases handled
3. Security (injection, auth boundaries)
4. Performance (unnecessary loops, N+1 queries)
5. Readability (naming, structure)
6. Test coverage
3. Drop-in prompt — copy this into your AI tool
Before reviewing, read review-trust.json and calculate:
- cooperation_score = avg(issues_addressed / (issues_found - rejected_with_reason))
  from last 5 rounds (rounds without the field: treat rejected as 0)
- recurring_issues = any issue type appearing in 2+ of last 3 rounds
- reviewer precision = (flags - flags_rejected_with_reason) / flags per reviewer,
  rolling last 5 rounds

Then adjust your review based on trust level:

If score > 0.8 AND rounds >= 3:
  "TRUST LEVEL: HIGH. Focus only on: critical issues and anything that breaks
  the output. Skip minor style/structure checks. Be brief."

If score 0.5-0.8 OR rounds < 3:
  "TRUST LEVEL: STANDARD. Full checklist review. Score and give specific fixes."

If score < 0.5:
  "TRUST LEVEL: LOW. Full checklist plus: check if these RECURRING issues are
  still present: [list from trust.json]. Verify every claim. Be harsh. If a
  previous issue reappears, call it out: RECURRING: [issue] was flagged in
  round N and is still here."

Always append to the review prompt:
  "PREVIOUS ROUND: Reviewer flagged [N] issues: [summary]. [X]/[N] were
  addressed. Watch for: [recurring issues or 'no patterns yet']."

If this reviewer's rolling precision < 0.7, also append:
  "CALIBRATION: [X] of your last [N] flags were rejected with documented
  reasons. Flag only what you are confident is wrong. Fewer, better flags."

After the review, judge every flag (fix / reject with reason / never silent),
then log the round to review-trust.json.
4. The auto-correction loop (optional, advanced)

Run up to 3 review-fix-review cycles automatically:

for iteration in [1, 2, 3]:

  A. REVIEW with trust-aware prompt
     - Rotate models if available (different models catch different things)
     - 15s sleep between calls to avoid rate limits

  B. ASSESS
     - Score >= 9 AND issues <= 1 AND no recurring → EXIT (clean)
     - Iteration == 3 → EXIT (present remaining to human)
     - Otherwise → continue

  C. JUDGE every flag, then fix:
     - VALID → fix it
     - INVALID → reject WITH a one-line reason (logged)
     - Never skip a flag silently — silence is defection and it's visible
     - Two reviewers disagree → side with the one with higher rolling precision

  D. LOG the iteration

  E. RE-INJECT into next iteration:
     "PREVIOUS ITERATION (same draft): flagged [issues], fixed [fixes].
     Verify fixes landed. Watch for: [recurring]."

Exit conditions:

  • Clean: score >= 9, issues <= 1, no recurring patterns
  • Max iterations: 3 rounds done, remaining issues need human judgment
  • Infinite loop guard: same issue appears in all 3 iterations unchanged → flag as "needs human input"

Round vs Iteration

  • Iteration = within-draft correction cycles (1-3 per draft). Short-term memory.
  • Round = across-draft trust tracking (one per draft). Long-term cooperation score.
  • A draft that takes 3 iterations to clean up is still 1 round.
  • The round's issues_found = iteration 1 count. issues_addressed = resolved by final iteration.

Log format

json
{
  "round": 2,
  "post": "draft-name",
  "date": "2026-05-28",
  "depth": "standard",
  "iterations": 2,
  "iteration_log": [
    {"iteration": 1, "score": 8.5, "reviewer": "gemini", "issues": 3, "fixes": ["brag removed", "hedge cut", "transition added"]},
    {"iteration": 2, "score": 9.5, "reviewer": "codex", "issues": 0, "fixes": []}
  ],
  "issues_found": 3,
  "issues_addressed": 2,
  "rejected_with_reason": 1,
  "ignored_no_reason": 0,
  "rejection_reasons": [
    "gemini: suggested re-adding a qualifier that was cut on purpose — softens the thesis"
  ],
  "reviewer_flags": {"gemini": 2, "codex": 1},
  "reviewer_rejected": {"gemini": 1, "codex": 0},
  "issue_types": ["brag", "hedge", "structure"],
  "recurring": [],
  "cooperation_score": 1.0,
  "notes": "clean after 2 iterations"
}

cooperation_score here = 2 / (3 − 1) = 1.0. The rejected flag doesn't count against you — because you paid for the rejection with a reason.

Reviewer calibration (pricing the other side)

Authors aren't the only players who can defect. A reviewer that flags everything ("looks thorough!") is defecting too — bad flags cost the author judgment time and are free for the reviewer. Price them:

precision = (flags − flags_rejected_with_reason) / flags   (rolling, last 5 rounds)
  • precision < 0.7 → calibration warning injected into the reviewer's next prompt
  • precision < 0.5 → bench it: rotate to another model for a full window
  • Reviewers conflict → side with the higher-precision reviewer

Now a junk flag isn't free — every rejected flag follows the reviewer for 5 rounds. Flag-everything stops being the dominant strategy, on both sides of the table.

Why Tit-for-Tat

Robert Axelrod ran a programming tournament in 1984. Game theorists submitted strategies for the iterated Prisoner's Dilemma. The winner — Anatol Rapoport's tit-for-tat — was also the simplest: 4 lines of code.

It won because of four properties:

  • Nice — cooperate first, never defect first
  • Retaliatory — punish defection immediately
  • Forgiving — after punishment, return to cooperation
  • Clear — simple enough that the other player can predict your behavior

This skill encodes the same properties:

  • Nice — first 3 rounds always run at standard depth
  • Retaliatory — unaddressed issues trigger deeper review next round
  • Forgiving — one clean round after a bad one resets depth
  • Clear — the rules are in the prompt, the reviewer sees its own trust level

When to use

  • Content drafts — blog posts, documentation, newsletters, social media
  • Code review — PR reviews, architecture docs, API contracts
  • Any iterative AI review — anywhere you run the same review prompt repeatedly on different drafts

The key requirement: repeated interaction with the same reviewer. Tit-for-tat only works when there's history. One-shot reviews don't benefit from cooperation tracking.

What you'll see

After a few rounds, patterns emerge from review-trust.json:

  • Which issue types are recurring (your blind spots)
  • Whether your cooperation score trends up or down
  • Which reviewer (if rotating models) catches which types of issues
  • How many iterations your drafts typically need before they're clean

The trust ledger becomes a mirror. It shows you what you consistently miss and how you respond to feedback.

Technical notes

  • Everything local. One JSON file. No cloud, no API, no database.
  • Model-agnostic. Works with Claude, GPT, Gemini, DeepSeek, Codex — any LLM that can read a file and follow a prompt.
  • Zero dependencies. No libraries, no install, no build step. Copy the JSON and the prompt.
  • Composable. Works alongside any existing review workflow. Just add the trust context to your existing prompt.

附带文件

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

常见问题

Axelrod Review AI 技能有什么作用?

针对 AI 草稿的博弈论评审循环:在多轮评审中采用以牙还牙的信任追踪机制。评审深度会根据作者以往处理反馈的表现调整:干净的草稿只需轻度评审,忽略标记则会触发深入审查。适用于反复进行的内容或代码评审循环。

为什么在 TypingMind 中使用 Axelrod Review?

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

如何在 TypingMind 中安装 Axelrod Review?

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

哪些 AI 模型可以使用 Axelrod Review?

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

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

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

Axelrod Review AI 技能免费吗?

是的。somnus0x 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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