reasoning-sandwich

Allocate pre-reasoning, action, and post-verification models to enforce structured thinking.

13|6|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/baekenough/second-brain --skill reasoning-sandwich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reasoning-sandwich
Source: https://github.com/baekenough/second-brain/tree/main/.claude/skills/reasoning-sandwich
Command: npx skills add https://github.com/baekenough/second-brain --skill reasoning-sandwich

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

A model allocation pattern that wraps implementation actions with dedicated reasoning phases, ensuring thorough analysis before execution and verification after completion.

Core Features & Use Cases

  • Pre-reasoning: Analyze requirements, identify edge cases, and define success criteria before acting.
  • Action: Implement solution, generate content, and execute the plan using a balanced model.
  • Post-verification: Verify outcomes against criteria and check for regressions.

Quick Start

Apply the reasoning-sandwich pattern to a task by allocating pre-reasoning, action, and post-verification models and documenting the plan and verification criteria.

Frequently Asked Questions about reasoning-sandwich

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is structured model allocation for AI workflows and when should I use it?

Structured model allocation wraps implementation actions with dedicated reasoning phases, ensuring thorough analysis before execution and verification after completion. Apply this pattern to complex tasks requiring rigorous planning, traceable execution, and strict verification.

How do I implement pre-reasoning and post-verification for AI task execution?

To implement pre-reasoning and post-verification, allocate dedicated models to analyze requirements and define success criteria before acting, then use a post-verification model to check outcomes against criteria and regressions after action completion.

Does the reasoning-sandwich pattern handle edge cases in AI-generated actions?

Yes, the reasoning-sandwich pattern handles edge cases by assigning a pre-reasoning model to explicitly analyze requirements and identify edge cases before the action model executes the solution, mitigating potential safety issues.

What is the best way to enforce traceable planning and verification criteria in AI workflows?

The best way to enforce traceable planning is applying a reasoning-sandwich pattern that separates pre-reasoning, action, and post-verification models, explicitly documenting the plan and verification criteria within the AI workflow.

When should I not use a multi-model allocation approach for task execution?

Avoid using multi-model allocation for simple tasks that do not require rigorous planning, edge-case analysis, or post-verification, as the overhead of dedicated pre-reasoning and post-verification models outweighs the safety benefits.