ejentum-reasoning-harness
Provides the agent with a reasoning 'scaffold' before it generates a response. Helps the agent think better and avoid mistakes.
What it does
This tool helps the AI think more clearly and accurately. It provides a step-by-step guide to avoid common mistakes like forgetting the original goal, reasoning incorrectly, or making things up.
When to use it
- ✓When solving complex problems that require logical reasoning.
- ✓When writing or reviewing code to ensure quality.
- ✓When dealing with information that might be misleading or false.
Example of what to ask your AI
“Use the reasoning harness to help me plan the best strategy for launching my new product.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The AI receives specific instructions on how to avoid common errors. It follows a procedure and checks its work before responding.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill ejentum-reasoning-harnessOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/skills/ejentum-reasoning-harness/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from 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?
…
FAQ
What are 'harnesses'?
Think of 'harnesses' as specialized operating modes for the AI, each focused on a different type of task or problem.
Will the AI tell me it's using this tool?
No, the AI uses the instructions internally and responds as it normally would, without mentioning the tool.
Can I use multiple 'harnesses' at once?
It's recommended to use only one 'harness' at a time to ensure the AI stays focused and doesn't get confused.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4658
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
agent-architecture-audit
Makes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
affaan-m/ECC
agent-eval
Helps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
affaan-m/ECC
agent-harness-construction
Makes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
affaan-m/ECC