Logo: Structured Reasoning

Structured Reasoning

Communautéit
UnpaidAttention
structured-reasoning

A step-by-step reasoning protocol for problems that exceed one intuitive step — generate and compare candidates, track assumptions, reason backward or from a minimal case when stuck, sanity-check intermediates, and run a mandatory devil's-advocate pass before finalizing. Trigger this the moment a problem is novel, high-stakes, involves multiple interacting constraints, requires arithmetic/counting/state-tracking, or you're unsure what the next step is. Do NOT trigger for problems too large to hold in working memory (use extended-problem-solving, which externalizes to disk) or for routine one-step answers. This skill is for thinking a hard thing through in-context; its sibling is for thinking a huge thing through on paper.

Iwwersiicht

EditeurUnpaidAttention
Repositoryfable5-methodology
Skill-Nummstructured-reasoning
Stären
94
Forks
21
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    UnpaidAttention huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Structured Reasoning an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/UnpaidAttention/fable5-methodology/tree/main/skills/structured-reasoning
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnpaidAttention/fable5-methodology.git /tmp/fable5-methodology
mkdir -p .claude/skills
cp -r /tmp/fable5-methodology/skills/structured-reasoning .claude/skills/structured-reasoning
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Structured Reasoning an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Structured Reasoning automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Structured Reasoning net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Structured Reasoning

Weaker reasoning fails in three predictable ways: skipped steps, unexamined assumptions, and committing to the first plausible approach. This protocol makes each failure procedurally hard. Do the steps visibly (in text or notes) — silent multi-step reasoning drops steps unnoticed.

Step 1: Decide if this needs explicit reasoning

Answer directly ONLY if all hold: solved this exact shape before, one step reaches it, wrong is cheap. Otherwise reason explicitly — any one triggers it: novelty; high stakes; multiple interacting constraints; ANY arithmetic/counting/indexing/state-tracking; or you don't know the second step. When in doubt, reason explicitly — it's cheap insurance.

Step 2: Generate 2–3 candidates before starting any

One candidate is a reflex, not a decision — and reflexes commit you to the first plausible-but-wrong path. For each candidate: one line of mechanism. Compare on explicit criteria (correctness first, then simplicity, failure modes, reversibility). Pick, and write one line on why over the runner-up. If you genuinely see only one approach, spend 30 seconds forcing a second — "what if I did the opposite / did nothing / did it backward?" — before proceeding.

Step 3: Maintain a visible assumptions list

Write assumptions as you make them: "assuming input is pre-sorted", "assuming single writer", "assuming the ID is unique". Keep the list in view. Rule: when a conclusion feels off or an intermediate surprises you, check the ASSUMPTIONS first — a wrong conclusion is usually a wrong assumption, not broken logic. Test the load-bearing ones instead of trusting them.

Step 4: When forward reasoning stalls, switch technique

  • Backward: write the desired end state; ask "what must be true one step before this?"; chain back to now. Best when the goal is crisp and the path isn't.
  • Minimal case: strip to the smallest non-trivial instance (n=1, one field, no concurrency); solve THAT completely; then generalize. A solved small case is a foothold; a half-solved big case is a swamp.
  • Concrete example: push one specific real value through by hand. Stuck abstract reasoning usually unsticks the moment a real number moves through it.

Step 5: Sanity-check every intermediate conclusion

Don't wait for the end. One line per intermediate:

  • Order of magnitude — is the number even plausible?
  • Boundary — does it hold at 0, 1, and the max?
  • Invariant — does what must always be true (count conserved, total unchanged, sum non-negative) still hold? A failed check here costs one line; a bad intermediate carried to the end costs the whole chain.

Step 6: Mandatory devil's-advocate pass before finalizing

Never finalize a non-trivial answer without trying to break it:

  1. State what would prove it WRONG — the specific input/case/condition that fails it.
  2. Check that case.
  3. Probe the edges (empty, boundary, huge), your least-certain assumption, and every step you labeled "probably fine". If you can't build a falsifier, say so — but try hard first. This pass catches the confident- wrong answer that would otherwise ship.

Worked example

Problem: "Pick a rate-limit algorithm for the API; must allow short bursts but cap sustained rate."

  • Step 1: multiple interacting constraints (burst vs sustained) → reason explicitly.
  • Step 2 candidates: (A) fixed window — mechanism: count per clock-minute; (B) sliding window log — timestamp per request; (C) token bucket — refill at sustained rate, bucket depth = burst. Compare: A is simplest but allows 2× burst at window edges (fails the "cap sustained" intent); B is exact but stores every timestamp (memory cost); C allows configured burst AND caps sustained, O(1) state. Pick C over B: meets both constraints at lower cost.
  • Step 3 assumptions: "clock is monotonic per node"; "limit is per-user not global" — flagged.
  • Step 5 sanity: bucket depth 10, refill 1/s → a client can send 10 instantly then 1/s sustained. Boundary check at depth=0: next request waits ~1 s. Plausible. Invariant: tokens never exceed bucket depth — holds.
  • Step 6 devil's advocate: what breaks it? Multi-node deployment — per-node buckets allow N× the limit (the assumption "per node" from Step 3 is the crack). Falsifier found → note it: "C is correct per-node; needs shared state (Redis) if the limit must hold across nodes." Ship the answer WITH that caveat instead of shipping it falsely absolute.

Done when

The approach was chosen from 2–3 compared candidates; assumptions are listed and the load-bearing ones checked; intermediate results passed a magnitude/boundary/invariant check; and a devil's-advocate pass has either failed to break the answer after a real attempt or surfaced a caveat that is now stated in the answer.

Heefeg gestallte Froen

Wat mécht de KI-Skill Structured Reasoning?

A step-by-step reasoning protocol for problems that exceed one intuitive step — generate and compare candidates, track assumptions, reason backward or from a minimal case when stuck, sanity-check intermediates, and run a mandatory devil's-advocate pass before finalizing. Trigger this the moment a problem is novel, high-stakes, involves multiple interacting constraints, requires arithmetic/counting/state-tracking, or you're unsure what the next step is. Do NOT trigger for problems too large to hold in working memory (use extended-problem-solving, which externalizes to disk) or for routine on...

Firwat Structured Reasoning op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Structured Reasoning besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Structured Reasoning an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/UnpaidAttention/fable5-methodology/tree/main/skills/structured-reasoning an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Structured Reasoning benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Structured Reasoning benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Structured Reasoning domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Structured Reasoning gratis?

UnpaidAttention huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇