Skip to content
Agentmart
Submit a tool

hierarchical-recursive-brainstorm

Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory…

Skill by ianshank

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ianshank-hierarchical-recursive-brainstorm

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory Markdown tree. Use this whenever the user asks to research a complex topic, brainstorm agent evaluation patterns, or requires a rigorous structural breakdown of ideas.

Use cases: documents, research, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/hierarchical-recursive-brainstorm

What's inside

Skill name
hierarchical-recursive-brainstorm
Description
Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory Markdown tree. Use this whenever the user asks to research a complex topic, brainstorm agent evaluation patterns, or requires a rigorous structural breakdown of ideas.
License
Apache-2.0
Instructions
58 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • research-application.md · references/
  • validate_skill.py · scripts/

SKILL.md (first lines)

# hierarchical-recursive-brainstorm — E2E Action Skill

Perform **controlled hierarchical research** end to end: take a broad research question, produce a pruned and synthesized Markdown tree of findings, and prove it worked before reporting success.

## 1. Preconditions (input contract)

- The user has provided a clear research topic or question.
- You have reviewed the composition contract and examples in `references/research-application.md`.

## 2. Procedure (the E2E steps)

Execute the following hierarchical research protocol:

1. **Decompose**: Break the initial topic into 2-5 distinct sub-topics (branches).
2. **Expand**: Recursively explore each branch. Stop expanding when you reach the configured `max_depth` (default: 3) or when a branch is sufficiently detailed.
3. **Prune**: Evaluate the leaves of the tree and prune the bottom quartile (the least relevant, least feasible, or weakest ideas).
4. **Synthesize**: Moving from the leaves up to the root, write a brief synthesis paragraph for every surviving parent node that summarizes its children.
5. **Output**: Generate the final output as a self-explanatory Markdown tree. 
6. **Action**: Conclude the output with a "Next Actions" paragraph detailing the most promising paths forward.

### Tunable Parameters (Agent Overrides)
These limits apply unless you explicitly decide to override them based on the task:
- `max_depth`: (configurable, determine dynamically based on topic breadth)
- `max_children`: (configurable, determine dynamically based on topic breadth)
- `prune_quartile`: (configurable, determine dynamically based on leaf density)

**CRITICAL RULE**: Do not invent or hallucinate external knowledge. Rely on your existing knowledge and any provided context or searches.

## 3. Output contract (postconditions — what "done" means)

- A final Markdown tree is produced containing the surviving ideas.
- Synthesis is present for every surviving parent node.
- A "Next Actions" paragraph exists at the end.
- The bottom quartile of ideas has been demonstrably pruned.
- The depth and branch limits were respected.

## 4. Failure handling

- On failure (e.g., if the topic is too broad to decompose meaningfully), report the specific issue and ask the user to refine the scope.
- Do not produce a partial or hallucinated tree.

## 5. Validation gate (before declaring success)

**Subjective skill validation:**
There is no honest scripted gate for the quality of research.
- Run **structural only** (`python scripts/validate_skill.py --skill . --tier structural`) to keep the metadata/triggering honest.
- Self-check against explicit, concrete criteria:
  1. **Limits Respected**: Max depth and branch limits were not exceeded.
  2. **Pruning Applied**: The bottom quartile of leaves was absent from the final output.
  3. **Synthesis Present**: Every parent node has a synthesis of its children.
  4. **Next Actions Present**: The output concludes with a "Next Actions" paragraph.
  5. **No Hallucinations**: No external knowledge was invented.

## 6. Examples

See `references/research-application.md` for concrete examples of applying this skill to agent-evaluation research.

From ianshank/Agents, Apache-2.0.

More from ianshank/Agents

Signals

Stars
1
Forks
0
Open issues
113
Last commit (this folder)
Aug 3, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ianshank

Cite this page

hierarchical-recursive-brainstorm skill. Agent Mart. https://agentmart.dev/skills/ianshank-hierarchical-recursive-brainstorm (last updated 2026-10-24)