Self Discovery
БесплатноБез исполняемых скриптовНе проверенAI agents self-compose task-specific reasoning structures from seed modules. Based on Zhou et al. (2024) SELF-DISCOVER, NeurIPS. Use when facing novel…
от thomaszhou221 085 установок в других каталогахОб этом скилле
Self-Discover Reasoning Skill
An AI agent skill for self-composing task-specific reasoning structures. Based on Zhou et al. (2024) — SELF-DISCOVER: Large Language Models Self-Compose Reasoning Structures.
Onboarding (First Use)
When the user first triggers this skill and memory/self_discover_state.json doesn't exist, run a one-time setup:
Introduce capability (one sentence): "I can make the AI compose its own optimal reasoning structure before tackling hard problems, instead of defaulting to one chain-of-thought."
Quick configuration:
Reasoning preference(Default: Mixed)
- Analytical(Decomposition/Causal/Hypothesis-testing first)
- Creative(Analogical/Abstraction/Pattern-recognition first)
- Mixed(auto-select)
Cache discovered reasoning structures(Default: Yes, avoid recomputation)
Write initial state file
memory/self_discover_state.json(JSON format, withonboarded: trueand timestamp)Confirm completion: _"Setup done! Just use it from now on. Say 'reset settings' anytime to reconfigure."
Onboarding runs exactly once. Subsequent activations read the state file directly. When the user says "reset settings", delete the state file and re-run setup.
Platform Auto-Detection
At skill load time, detect your runtime environment and adjust capabilities:
| Capability | How to Check | Fallback |
|---|---|---|
| File system | Can you read references/discovery-templates.md? |
Use the inline templates below instead |
| Persistent memory | Can you write to memory/? |
Store discovery notes in conversation context only |
| Long context | Is your context window > 32K tokens? | Cap at Level 2 (skip full discovery) |
| Tool access | Can you call external tools? | Use mental reasoning only |
Detection rules:
- If you can read this file's
references/directory → full mode (all levels + memory) - If you can read files but not write → full levels, in-conversation memory only
- If you cannot read files at all → use inline templates (copied below), cap at Level 2
- If context is limited (< 8K usable) → default to Level 1, max Level 2
This means every platform gets the best possible experience automatically — no manual configuration needed.
Inline Discovery Templates (for environments without file access)
If you cannot read references/discovery-templates.md, use these directly:
Level 1 Internal Prompt
Before answering: (1) What type of reasoning does this task need? (2) Pick 1-2 modules from the seed list. (3) Apply them. Deliver.
Level 2 Internal Prompt
1. SELECT: From the seed modules, choose 3-5 relevant to this task.
2. ADAPT: Rephrase each selected module to be task-specific.
3. IMPLEMENT: Compose into a step-by-step reasoning structure.
4. Follow the structure to produce the answer.
Level 3 Internal Prompt
1. SELECT: Choose 4-7 modules relevant to the task type.
2. ADAPT: Tailor each to the specific task, adding domain expertise.
3. IMPLEMENT: Build a JSON-like reasoning structure with keys and expected outputs.
4. Execute the structure step-by-step.
5. VERIFY: Check the answer against the structure — did every key get a valid value?
6. If gaps found, refine the structure and re-execute.
When to Activate
Activate when you are about to solve a reasoning-intensive task — after gathering all information but before producing your answer. Discovery happens before reasoning, not instead of work.
Strong triggers: Multi-step reasoning, math, logic puzzles, planning, debugging, architecture decisions, analytical tasks.
Skip: Simple factual lookups, greetings, formatting requests, single-sentence answers.
Core Process: SELECT → ADAPT → IMPLEMENT → SOLVE
1. SELECT — Choose relevant reasoning modules from the seed set
2. ADAPT — Rephrase selected modules to be task-specific
3. IMPLEMENT — Compose modules into a structured reasoning plan (key-value format)
4. SOLVE — Follow the reasoning structure to produce the final answer
Source: Zhou et al., "Self-Discover: Large Language Models Self-Compose Reasoning Structures" (2024, ICML) — LLMs self-compose atomic reasoning modules into task-intrinsic structures, achieving up to 32% improvement over Chain-of-Thought.
Seed Reasoning Modules
These are atomic reasoning skills drawn from cognitive science and prompting research (Fernando et al., 2023; Zhou et al., 2024). The agent selects a subset relevant to each task.
| # | Module | Description | Best For |
|---|---|---|---|
| 1 | Step-by-Step Thinking | Break reasoning into sequential steps | Sequential tasks, procedures |
| 2 | Decomposition | Break problem into sub-problems, solve each | Complex multi-part problems |
| 3 | Critical Thinking | Analyze from multiple perspectives, question assumptions | Evaluating claims, decisions |
| 4 | Reflective Thinking | Search for first principles |
Установить Self Discovery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Self Discovery?
AI agents self-compose task-specific reasoning structures from seed modules. Based on Zhou et al. (2024) SELF-DISCOVER, NeurIPS. Use when facing novel reasoning tasks, when standard chain-of-thought is insufficient, or when the agent needs to discover its own problem-solving strategy.
Как установить скилл Self Discovery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Self Discovery запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic