ejentum-reasoning-harness
它能做什么
这个工具帮助 AI 更清晰、更准确地思考。它提供一套循序渐进的指导,避免一些常见错误,比如忘记最初的目标、推理出错,或者编造内容。
适用场景
- ✓解决需要逻辑推理的复杂问题时。
- ✓编写或审查代码,以保证质量时。
- ✓处理可能有误导性或不实信息时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/ejentum-reasoning-harness/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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_reasoningbefore 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_codebefore generating, refactoring, reviewing, or debugging code; before architectural changes, algorithm or data-structure choices, dependency-upgrade evaluation. - Use
harness_anti_deceptionwhen 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_memoryonly 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.
热度
- GitHub 星标
- 48k
- 排名
- #6272
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。