Token导航 LogoToken导航

Agent Skill · 研究检索

inversion-protocol(反演协议)

inversion-protocol 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

inversion-protocol 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 12,407。

总安装 10,290周安装 442GitHub Stars 公开资料未说明下载 3,607核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:inversion-protocol(反演协议)
来源仓库:https://github.com/jcools1977/inversion-protocol
安装命令:
openclaw skills install inversion-protocol
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install inversion-protocol

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

inversion-protocol 采用逆向思维框架提升 AI Agent 的决策质量与风险控制能力。适用于复杂问题分析,通过预想失败路径反向推导最优行动方案。借鉴芒格多元思维模型,整合多学科视角评估潜在陷阱。不直接提供答案,而是引导提问方式与推理结构设计。需配合具体任务上下文使用,抽象程度较高,初学者建议分步练习。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install inversion-protocol;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

inversion-protocol 怎么安装?

在终端执行 openclaw skills install inversion-protocol。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

inversion-protocol 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

inversion-protocol 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

inversion-protocol 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

inversion-protocol 用的人多吗?

公开数据是累计安装 10,290 次,近一周安装 442 次,下载 3,607 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

inversion-protocol 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
inversion-protocol

反演协议 · 本页

10,290—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
inversion-protocol
description
>
version
1.0.0
author
J. DeVere Cooley
metadata
openclaw
emoji
\F500
homepage
https://github.com/jcools1977/Opensaw
tags
os

Inversion Protocol

"All I want to know is where I'm going to die, so I'll never go there." — Charlie Munger

What This Skill Does

The Inversion Protocol is a meta-cognitive reasoning layer that improves the quality of every decision an AI agent makes. It works by inserting a rapid backwards-thinking checkpoint before significant actions.

Most skills give bots new capabilities. This skill makes all existing capabilities work better by catching errors, hallucinations, wrong assumptions, and overengineered solutions before they happen.

This skill has zero dependencies and zero runtime cost. It is pure reasoning enhancement — no APIs, no binaries, no environment variables, no external services.

When to Activate

Apply the Inversion Protocol before any action where being wrong matters:

  • Writing or modifying code
  • Running destructive or irreversible commands
  • Debugging a problem (especially when stuck)
  • Making architectural or design decisions
  • Answering questions where accuracy is critical
  • Performing multi-step workflows
  • Any situation where the user has corrected you before

Do NOT apply to trivial actions like reading files, listing directories, or responding to greetings. The protocol is for moments of consequence.

The Three Lenses

When the protocol activates, apply these three lenses in order. Each takes only seconds but catches entirely different classes of errors.

Lens 1: Inversion (The Reverse Engineer)

Ask: "How would I deliberately CREATE this problem?"

Instead of asking "how do I fix this?", ask "how would I break this on purpose?" The answers reveal root causes that forward-thinking misses entirely.

Mechanics:

  1. State the problem or goal clearly in one sentence
  2. Invert it: describe 3 specific ways you would cause this exact failure
  3. Check: are any of those failure patterns present in the current situation?
  4. If yes — you've found your root cause. Address it directly.

Example — Debugging slow code:

  • Forward thinking: "Let me profile and optimize hot paths"
  • Inversion: "How would I make code slow on purpose?"

- Add unnecessary nested loops over large datasets - Make redundant database/API calls inside loops - Block the main thread with synchronous operations - Skip caching and recompute everything every time

  • Check the codebase for these exact anti-patterns
  • Result: finds the N+1 query problem in 30 seconds instead of 30 minutes

Example — Writing an API endpoint:

  • Forward thinking: "Let me implement the happy path"
  • Inversion: "How would I make this API as insecure as possible?"

- Accept unsanitized input directly into queries - Return full error stack traces to the client - Skip authentication and rate limiting - Log sensitive data in plaintext

  • Check: am I accidentally doing any of these?
  • Result: catches security issues during development, not in production

Lens 2: Premortem (The Time Traveler)

Ask: "It's tomorrow and this completely failed. What went wrong?"

The premortem technique (created by psychologist Gary Klein) exploits a cognitive bias: people are better at explaining past events than predicting future ones. By framing the failure as already having happened, you unlock failure modes your brain would otherwise suppress.

Mechanics:

  1. Assume your planned action has already been executed and it failed
  2. Generate the 3 most likely reasons for the failure
  3. For each reason, determine: can I verify this won't happen BEFORE acting?
  4. If verifiable — verify it. If not — add a safeguard.

Example — Refactoring a function:

  • Planned action: Extract shared logic into a helper function
  • Premortem: "The refactor shipped and broke production. Why?"

- The function had hidden side effects I didn't notice (most likely) - Other code depended on the exact return shape, not just the value - The test suite doesn't cover the edge case this function handles

  • Verify: Read all callers. Run the tests. Check for side effects.
  • Result: Discovers the function mutates a global config object — would have

caused a subtle production bug

Example — Answering a technical question:

  • Planned action: Provide a solution using library X
  • Premortem: "The user tried my solution and it didn't work. Why?"

- Library X's API changed in a recent version I'm not aware of - The user's environment has constraints I didn't ask about - My solution works in isolation but conflicts with their existing code

  • Verify: Acknowledge version uncertainty. Ask about constraints. Caveat the

answer.

  • Result: Provides a robust answer instead of a confident-but-wrong one

Lens 3: Via Negativa (The Razor)

Ask: "What is the ONE thing I absolutely must NOT do here?"

Inspired by Nassim Taleb's principle that removing harm is more powerful than adding good. In complex systems, avoiding the worst mistake matters more than finding the best solution. This lens prevents catastrophic errors.

Mechanics:

  1. Identify the single most damaging mistake possible in this situation
  2. Explicitly confirm you are not about to make that mistake
  3. If you are — stop and reconsider your entire approach

Example — Database migration:

  • Via Negativa: "The ONE thing I must NOT do?"

- Drop or alter a column that other services depend on without coordination

  • Check: Am I about to do this? → Yes, the users.email column is referenced

by the auth service

  • Result: Prevents a cascading multi-service outage

Example — Responding to a frustrated user:

  • Via Negativa: "The ONE thing I must NOT do?"

- Give the same answer they've already rejected, reworded

  • Check: Is my new response materially different? → No, it's basically the same

approach with different syntax

  • Result: Forces a genuinely new approach instead of rephrasing failure

Integration Patterns

Pattern A: Full Protocol (Complex Decisions)

For architectural choices, multi-file refactors, debugging sessions where you're stuck, or high-stakes operations:

[INVERSION PROTOCOL — FULL]
Goal: {one-sentence description of what I'm about to do}

INVERT: How would I cause this problem?
1. {failure pattern 1}
2. {failure pattern 2}
3. {failure pattern 3}
Present in current situation? {yes/no + details}

PREMORTEM: It failed. Why?
1. {most likely cause}
2. {second most likely}
3. {third most likely}
Verifiable before acting? {verification steps}

VIA NEGATIVA: The ONE thing I must NOT do?
→ {the catastrophic mistake to avoid}
Am I about to do it? {yes/no}

DECISION: {proceed / adjust approach / stop and rethink}

Pattern B: Quick Check (Routine Actions)

For writing functions, running commands, or standard responses — a 5-second mental check:

[INVERSION — QUICK]
Inverse: {one way I'd cause this to fail}
Premortem: {one reason this could go wrong}
Razor: {the one thing NOT to do}
→ {proceed / adjust}

Pattern C: Stuck Mode (When Progress Has Stalled)

When the agent has tried multiple approaches and none work, or the user has corrected the same type of mistake more than once:

[INVERSION PROTOCOL — STUCK MODE]
I've been trying to: {description}
My approaches so far: {list what's been tried}

FULL INVERSION: How would I guarantee this NEVER works?
1. {anti-approach 1}
2. {anti-approach 2}
3. {anti-approach 3}

Am I accidentally doing any of these? {analysis}

REFRAME: What if the problem isn't {what I think it is}
but actually {inverted framing}?

What This Skill Does NOT Do

  • It does not add tools or API integrations
  • It does not require any environment variables, config, or dependencies
  • It does not slow down the agent perceptibly (seconds per check)
  • It does not override the user's instructions
  • It does not apply to trivial actions
  • It is not a safety filter or content policy — it improves decision QUALITY

Why This Works (The Cognitive Science)

  1. Confirmation bias countermeasure: Humans and LLMs naturally seek evidence

that confirms their first instinct. Inversion forces consideration of disconfirming evidence.

  1. Prospective hindsight: Klein's research showed that premortems increase

the ability to identify failure reasons by 30% compared to standard "what could go wrong?" thinking.

  1. Subtraction over addition: Taleb's Via Negativa recognizes that in

complex systems, avoiding the worst outcome (robustness) is more valuable than optimizing for the best outcome.

  1. Second-order thinking: The protocol naturally produces second-order

consequences that first-pass reasoning misses.

Composability

The Inversion Protocol enhances every other skill in the ecosystem:

  • Code skills → catch bugs before they're written
  • DevOps skills → prevent misconfigured deployments
  • Research skills → avoid confirmation-biased searches
  • Communication skills → prevent tone-deaf responses
  • Financial skills → catch risky trades before execution
  • Automation skills → prevent runaway processes

It is a force multiplier, not a replacement for any existing capability.

平台分布

OpenClaw

90.01%
按下载量换算3,247

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills