跳到正文
Skillpedia
智能体48k · #6272

ejentum-reasoning-harness

它能做什么

这个工具帮助 AI 更清晰、更准确地思考。它提供一套循序渐进的指导,避免一些常见错误,比如忘记最初的目标、推理出错,或者编造内容。

适用场景

  • ✓解决需要逻辑推理的复杂问题时。
  • ✓编写或审查代码,以保证质量时。
  • ✓处理可能有误导性或不实信息时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/ejentum-reasoning-harness/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/ejentum-reasoning-harness/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“使用 reasoning harness 帮我规划新产品的最佳上市策略。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会收到如何避免常见错误的具体指示。它会按照一套流程执行,并在回答前检查自己的工作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Ejentum Reasoning Harness

The Ejentum Reasoning Harness is a library of 679 cognitive operations engineered in natural language, organized across four harnesses (reasoning, code, anti-deception, memory) and exposed as MCP tools the agent can call when the task matches their trigger conditions. It targets four mechanism failures common in long agentic chains: attention decay (losing the original task), reasoning decay (compounding errors), sycophantic collapse (agreeing with the user's frame instead of evaluating it), and hallucination drift (asserting unsupported claims with confidence).

Each harness call retrieves a task-matched scaffold rather than serving a fixed template: a named failure pattern, an executable procedure, suppression vectors that block specific shortcuts, and a falsification test the agent uses for self-verification. The agent ingests the scaffold and writes from it, rather than from raw chain-of-thought. The harness is invoked on demand (by the agent or via an explicit prompt like Use harness_anti_deception, then answer:...); it does not auto-run on every turn.

When to Use This Skill

  • Use harness_reasoning before answering analytical, diagnostic, planning, or multi-step questions ("why is X happening", "what's the best approach", "what are the tradeoffs", root-cause analysis, architecture decisions).
  • Use harness_code before generating, refactoring, reviewing, or debugging code; before architectural changes, algorithm or data-structure choices, dependency-upgrade evaluation.
  • Use harness_anti_deception when the prompt pressures the agent to validate, certify, or soften an honest assessment; manufactured urgency; authority appeals; setups where the obvious helpful answer would compromise honesty.
  • Use harness_memory only when sharpening an observation already formed about cross-turn drift or behavioral patterns; never call with an empty mind.

Skip the harness for simple factual lookups, syntax questions, file reads, code execution, or tasks the agent can confidently complete in 1-2 steps from native capability.

How It Works

Step 1: Install the MCP server

The server is published to npm. Most MCP-speaking clients support stdio installation via npx:

npx -y ejentum-mcp

Add to your client's MCP server config (Claude Code .mcp.json, Cursor / Cline / Windsurf MCP settings, Codex CLI config, or Antigravity / VS Code mcp.json):

{
  "mcpServers": {
    "ejentum": {
      "command": "npx",
      "args": ["-y", "ejentum-mcp"],
      "env": {
        "EJENTUM_API_KEY": "${EJENTUM_API_KEY}"
      }
    }
  }
}

Get a free API key (100 calls, no card required) at ejentum.com/pricing.

Step 2: Route to the right harness

Each harness has different trigger conditions (see "When to Use" above). Most clients with MCP support will route to the appropriate tool when the user's prompt matches the trigger conditions documented in the tool descriptions. For cold-install reproducibility, the agent can also call a specific harness explicitly: Use harness_anti_deception, then answer: ....

Step 3: Absorb the returned scaffold

The scaffold contains five labeled fields the agent should treat as internal-reasoning instructions, not output content:

  • [NEGATIVE GATE] / [CODE FAILURE] / [DECEPTION PATTERN] / [PERCEPTION FAILURE]: the failure pattern to avoid
  • [PROCEDURE]: step-by-step procedure for an honest response
  • [REASONING TOPOLOGY]: control-flow graph the agent steps through internally
  • [TARGET PATTERN]: example of the corrected response shape
  • [FALSIFICATION TEST] / [VERIFICATION] / [INTEGRITY CHECK] / [PERCEPTION CHECK]: the test to apply post-draft

The agent's user-facing reply should be in its native voice, with no echoed bracket names, no procedural vocabulary, and no meta-commentary about the harness.

Examples

Example 1: Anti-deception on a sunk-cost prompt

Prompt:

Use harness_anti_deception, then answer:
We've spent three months on the GraphQL gateway. It's mostly done.
Should we keep going or pivot to REST?

…

常见问题

什么是“harness”?

你可以把“harness”理解为 AI 的专门工作模式,每种模式都针对不同类型的任务或问题。

AI 会告诉我它在使用这个工具吗?

不会。AI 在内部使用这些指示,并像平常一样回答,不会提及这个工具。

我可以同时使用多个“harness”吗?

建议每次只使用一个“harness”,这样 AI 能保持专注,不容易混乱。

详情

作者的原始描述

MCP server exposing four cognitive harness modes (reasoning, code, anti-deception, memory). Each call returns an engineered scaffold (failure pattern, procedure, suppression vectors, falsification test) the agent ingests before generating.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6272
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能