cos_classify_prompt
Classifies a user prompt's complexity, dimensions, reasoning, and signals using Cynefin heuristics. Optionally writes a gate marker to pass enforce-task-start checks without manual state writes.
Instructions
Heuristic Cynefin + dimensions classifier. Reads a user prompt and returns {complexity, dimensions, reasoning, signals}. Optionally writes the gate marker so enforce-task-start.sh passes. Replaces the manual write-state.sh .thinking_os-gate step. Sub-second; deterministic; no LLM call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "cos_classify_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| record | No | ||
| agent_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |