Guide multi-step reasoning through structured action templates that decompose problems into discrete, executable steps. STATe improves exploration efficiency in tree-of-thoughts by constraining action space while maintaining reasoning flexibility.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Guide multi-step reasoning through structured action templates that decompose problems into discrete, executable steps. STATe improves exploration efficiency in tree-of-thoughts by constraining action space while maintaining reasoning flexibility.
STATe-of-Thoughts: Structured Action Templates for Reasoning
Problem Context
Tree-of-Thoughts (ToT) explores reasoning paths by considering multiple next steps at each node. However, without structure, the action space becomes enormous, making it expensive to explore deeply. Standard ToT generates free-form text for next steps, causing:
Redundant exploration: Similar reasoning attempted multiple ways
Invalid continuations: Actions incompatible with problem structure
High token cost: Sampling many candidate actions
Poor tree efficiency: Wide but shallow vs deep exploration
Core Concept
STATe-of-Thoughts introduces structured action templates that decompose problem-solving into discrete, templated steps. Rather than free-form generation, each reasoning step must fit a predefined action template appropriate to the problem domain. Templates constrain the action space (reducing exploration breadth) while maintaining flexibility in reasoning content.
The key insight: structure doesn't reduce reasoning power—it focuses exploration on relevant actions, improving tree depth and solution quality while reducing token cost.
Architecture Overview
Action Template Library: Domain-specific templates for problem types
Math problems: Algebraic operations, geometric relationships
Code generation: Input reading, variable initialization, control flow
Planning: State transitions, action preconditions/effects
Natural language: Named entity recognition, relation extraction
Configuration:
Template library size: 8-15 templates per problem type
Actions per node: 3-5 (balance exploration vs cost)
Tree depth: 5-10 (problem-dependent)
Template selection: Neural scoring vs random sampling
Expected improvements:
30-50% token reduction vs freeform ToT
Maintained or improved solution quality
Faster exploration with structured paths
More explainable reasoning traces
Better generalization across similar problems
Common pitfalls:
Templates too rigid (reduce reasoning power)
Templates too loose (don't constrain enough)
Missing common reasoning patterns
Slot-filling quality matters for template effectiveness
Integration with existing systems:
Replace free-form generation with template selection
Can combine with CoT, in-context learning
Works with most backbone models (GPT, Claude, etc.)
Compatible with various tree search strategies
Reference
Structured action templates guide multi-step reasoning by decomposing problems into discrete, constrained actions while maintaining reasoning flexibility. STATe-of-Thoughts improves exploration efficiency in tree search by reducing the action space while preserving solution quality, enabling deeper exploration with lower token cost.