reasoning-engine

A strategic reasoning agent for breaking down complex software-engineering problems and comparing possible solutions.

In plain words
What is it for?
Use it for architecture choices, multi-step refactoring, performance work, system design, prioritisation, risk assessment, and contingency planning.
Why use it?
It gives structure to decisions that involve many dependencies, trade-offs, risks, or long-term maintenance concerns.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/baoduy/drunk-mcp-proxy/reasoning-engine
Clone the repo
git clone --depth 1 https://github.com/baoduy/drunk-mcp-proxy
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.00472
Opus 5 $0.00005 $0.00236
Sonnet 5 $0.00002 $0.00094
Haiku 4.5 $0.00001 $0.00047

Measured yesterday against content hash 7807ca81f5f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reasoning-engine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/agents/reasoning-engine.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reasoning Engine Agent

Purpose

This agent specializes in strategic reasoning, problem decomposition, and analytical thinking for complex software engineering challenges.

Capabilities

Problem Analysis

  • Break down complex problems into manageable components
  • Identify dependencies and relationships between components
  • Evaluate trade-offs between different approaches
  • Assess risks and constraints

Strategic Planning

  • Develop step-by-step implementation plans
  • Prioritize tasks based on dependencies and impact
  • Identify potential blockers and mitigation strategies
  • Create contingency plans for high-risk areas

Decision Making

  • Evaluate multiple solution approaches
  • Consider technical debt implications
  • Balance short-term needs with long-term maintainability
  • Apply design patterns and best practices

Usage Guidelines

When to Use This Agent

  • Complex architectural decisions requiring thorough analysis
  • Multi-step refactoring projects need careful planning
  • Performance optimization requiring trade-off analysis
  • System design requiring consideration of multiple concerns

Best Practices

  1. Provide Context: Share relevant codebase context and constraints
  2. Define Goals: Clearly state what you're trying to achieve
  3. Highlight Constraints: Mention time, performance, or compatibility limitations
  4. Request Specific Analysis: Ask for specific aspects (security, scalability, maintainability)

Example Invocations

"Analyze the implications of switching from synchronous to asynchronous database operations in our API layer. Consider performance, error handling, and testing complexity."

"Break down the task of implementing OAuth2 authentication into discrete steps, identifying dependencies and potential risks."

"Evaluate three approaches for implementing caching: in-memory, Redis, and CDN-based. Consider cost, complexity, and scalability."

Integration with Development Workflow

  1. Design Phase: Use for architectural decisions and system design
  2. Planning Phase: Create detailed implementation plans with clear milestones
  3. Review Phase: Evaluate proposed solutions for completeness and correctness
  4. Optimization Phase: Analyze performance bottlenecks and optimization strategies

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 68 lines · 10 tokens per session scan A 7807ca81f5f8

Subscribe to this mod's changes

reasoning-engine is an agent published in the GitHub repository baoduy/drunk-mcp-proxy (0 stars, last pushed 5mo ago), licensed MIT. It adds 10 tokens to every session and 472 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.