{"_id":"@anagnole/brainstorm","name":"@anagnole/brainstorm","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anagnole/brainstorm","version":"0.1.0","type":"module","description":"Diverse idea expansion powered by Mycelium agent networks","bin":{"brainstorm":"dist/index.js"},"main":"dist/brainstorm.js","types":"dist/brainstorm.d.ts","scripts":{"build":"tsc","start":"node dist/index.js"},"dependencies":{"@anagnole/mycelium":"^0.2.0","@anagnole/claude-cli-wrapper":"^0.1.0","chalk":"^5.4.0","commander":"^13.0.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.7.0"},"gitHead":"36dd1fa9b90799a566dc76e49d39d2450688debe","_id":"@anagnole/brainstorm@0.1.0","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-jSoKqclATtVekspN69SuKiF5Yhb9xo8+dpfYvZ62ALdfrRwJLCvGGAlDZIdEZu9gZQ2cgtqGVjso5LAe4SrF1w==","shasum":"81f8d71600b6915e0692b2a0260bdf7e170dd119","tarball":"https://registry.npmjs.org/@anagnole/brainstorm/-/brainstorm-0.1.0.tgz","fileCount":35,"unpackedSize":105503,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE+rPuay6LRGyxQ4kQgyUbw22tnFYccznO0LZ6O97iZZAiEA0NlaF9M/zpnLgsOwhRMQp5akPTTgcI2BDUhbd7dXG7I="}]},"_npmUser":{"name":"anagnole","email":"anagnole@outlook.com.gr"},"directories":{},"maintainers":[{"name":"anagnole","email":"anagnole@outlook.com.gr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brainstorm_0.1.0_1775233570092_0.6183137782916004"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T16:26:09.896Z","0.1.0":"2026-04-03T16:26:10.262Z","modified":"2026-04-03T16:26:10.459Z"},"maintainers":[{"name":"anagnole","email":"anagnole@outlook.com.gr"}],"description":"Diverse idea expansion powered by Mycelium agent networks","readme":"# Brainstorm\n\nExpand a half-baked idea into diverse perspectives. Powered by [Mycelium](https://github.com/anagnole/Mycelium) agent networks and Claude.\n\nFeed it an idea, and it activates a graph of cognitively diverse AI agents — each responds from their unique thinking style. A diversity-biased walk through the network ensures you don't get five variations of the same take.\n\n## Install\n\n```bash\nnpm install -g @anagnole/brainstorm\n```\n\n## Usage\n\n```bash\n# Basic — 5 diverse perspectives on your idea\nbrainstorm \"what if we made a social network for pets\"\n\n# More agents, different walk strategy\nbrainstorm \"idea\" --agents 8 --strategy cluster-bridging\n\n# Cap spending\nbrainstorm \"idea\" --budget 0.25\n\n# Open the Mycelium viz dashboard to see the graph walk in real time\nbrainstorm \"idea\" --viz\n\n# Machine-readable output\nbrainstorm \"idea\" --json\n```\n\nRequires the [Claude CLI](https://docs.anthropic.com/en/docs/claude-code) to be installed and authenticated.\n\n## Options\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `-n, --agents <count>` | 5 | Number of agents to activate |\n| `-s, --strategy <name>` | diversity-biased | Walk strategy: `random`, `diversity-biased`, `cluster-bridging` |\n| `-w, --walk-length <n>` | 10 | Graph traversal length |\n| `-m, --model <model>` | claude-sonnet-4-20250514 | Claude model |\n| `-b, --budget <dollars>` | none | Max spend in USD |\n| `--viz` | false | Open Mycelium viz dashboard |\n| `--json` | false | Output as JSON |\n\n## How it works\n\n1. **27 curated agents** from [Crucible](https://github.com/anagnole/Crucible), each with a detailed cognitive procedure and 6D personality embedding\n2. **Mycelium builds a small-world graph** — agents cluster by cognitive similarity, with shortcut edges bridging distant styles. The graph rewires differently each run.\n3. **A walk traverses the graph** to select maximally diverse agents (furthest-point sampling)\n4. **Each agent calls Claude** with its specific reasoning procedure as the system prompt — Devil's Advocate ranks assumption fragility, Alien Observer strips cultural context, Wildcard connects to unexpected domains\n5. **Responses stream to your terminal** in real time, each agent in a unique color\n\n## The agents\n\n| Agent | Cognitive Style |\n|-------|----------------|\n| Devil's Advocate | Assumption Fragility Ranking |\n| First Principles | Strip-and-Rebuild from Verified Facts |\n| Inversion Thinker | Guarantee Failure, Then Invert |\n| Wildcard | Frame-Breaking Lateral Transfer |\n| Alien Observer | Zero-Context Observation |\n| Child's Mind | Recursive \"Why?\" Descent |\n| Analogist | Structural Parallel Mapping |\n| Provocateur | Elephant-in-the-Room Naming |\n| Systems Thinker | Causal Loop Mapping |\n| Economist | Incentive & Externality Analysis |\n| Game Theorist | Strategic Interaction Modeling |\n| Evolutionary Biologist | Fitness Landscape Analysis |\n| Anthropologist | Cultural Artifact Study |\n| Time Traveler | Future-Retrospective Evaluation |\n| Pre-Mortem Writer | Failure Narrative Construction |\n| Historian | Precedent Research |\n| Pragmatist | Cheapest 30-Day Experiment |\n| The Builder | Critical Path Decomposition |\n| The User | Moment-by-Moment Experience Narration |\n| The Competitor | Rival Counter-Strategy Design |\n| Quantifier | Fermi Estimation |\n| Scale Shifter | Phase Transition Discovery |\n| Synthesizer | Dialectical Synthesis |\n| Bayesian Updater | Probabilistic Evidence Updating |\n| Anti-Fragility Tester | Fragile/Robust/Anti-Fragile Classification |\n| Stakeholder Cartographer | Power & Interest Mapping |\n| Metaphor Maker | Diagnostic Metaphor Analysis |\n\n## Claude Code skill\n\nBrainstorm ships with a Claude Code slash command. Install it with:\n\n```bash\nmkdir -p ~/.claude/commands\ncp node_modules/@anagnole/brainstorm/commands/brainstorm.md ~/.claude/commands/\n```\n\nThen use it from any Claude Code conversation:\n\n```\n/brainstorm what if we replaced all meetings with async voice memos\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-8eb9c0704be3782bfbab758eacbc1986"}