grainulator
Research sprint orchestrator for Claude Code. Structured research with claims, evidence tiers, and compiled output.
pinned to #0d69155updated 2 weeks ago
Ask your AI client: “install plugins/grainulator”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/grainulatormetahub onboarded this repo on the author's behalf.
If you own github.com/grainulation/grainulator on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
86
Last commit
2 weeks ago
Latest release
published
- #agent-framework
- #ai-agent
- #claude
- #claude-ai
- #claude-code
- #claude-code-plugin
- #cli
- #compiler
- #compiler-frontend
- #developer-tools
- #mcp
- #mcp-server
- #research
- #research-and-development
- #research-tool
What's bundled
Items extracted from this plugin's manifest + directory tree.
Skills (20)
skills/_templatesskills/blind-spotStructural gap analysis -- find what the sprint has not considered.skills/briefGenerate a compiled decision brief from the current sprint's claims.skills/calibrateScore past predictions against actual outcomes. Closes the feedback loop.skills/challengeAdversarial testing of a specific claim. Try to disprove it.skills/feedbackRecord stakeholder input — new constraints, corrections, or direction changes.skills/fetchSize-efficient URL fetch with semantic extraction. Use for ad-hoc web research when you want content without the raw HTML overhead.skills/harvestSprint analytics — type distributions, stale claims, velocity, prediction scoring
Subagents (1)
grainulatorAutonomous research sprint subagent. Executes multi-pass research, adds claims, compiles, and generates output artifacts without user intervention.
Evaluation report
PassingAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.0d69155· 2 weeks ago
Select a category above to see its individual checks.
Release history
1- releasecurrent0d69155pass2 weeks ago
Contents
Grainulator
<strong>Research that compiles.</strong>
Ask a question. Get a multi-pass investigation with typed claims, tension detection, and a confidence-graded answer. Not a chatbot — a research sprint that runs in under 60 seconds.
What it does
- Multi-pass investigation — 3 research passes build evidence from different angles before synthesizing an answer
- Typed claims, not vibes — every finding is tagged as factual, constraint, risk, recommendation, or estimate with an evidence tier (stated / web / documented / tested / production)
- Tension detection — the compiler finds contradictions between claims and surfaces them before generating output
- Confidence scoring — a 7-pass compiler grades evidence strength, type coverage, and bias to produce a 0-100 confidence score
Try the demo
grainulator.app runs a sprint in your browser. Type a question, watch three research passes execute, and see the compiled answer with claim breakdown.
What to expect from a single sprint:
| Metric | Typical value |
|---|---|
| Claims generated | 12-16 |
| Claim types | 5 (factual, constraint, risk, recommendation, estimate) |
| Tensions detected | 3-6 |
| Evidence tiers | web, documented, stated |
| Confidence score | 63-68 / 100 |
| Time to answer | 40-70 seconds |
The demo runs client-side to show the pipeline. The real tool (installed as a plugin) uses Claude for substantially higher quality research and deeper evidence.
Install
Step 1 — Add the marketplace (one-time):
claude plugin marketplace add https://github.com/grainulation/grainulator.git
Step 2 — Install:
claude plugin install grainulator
Inside Claude Code, use
/plugininstead ofclaude plugin.
That's it. The plugin registers MCP servers, skills, hooks, and an autonomous agent.
Requirements: Claude Code with Node.js >= 20.
<strong>Alternative: clone directly</strong>
git clone https://github.com/grainulation/grainulator.git ~/.claude/plugins/grainulator
claude plugin add ~/.claude/plugins/grainulator
<strong>Team deployment</strong>
Commit to your project's .claude/settings.json:
{
"enabledPlugins": ["grainulator@grainulation-marketplace"]
}
For air-gapped environments, use CLAUDE_CODE_PLUGIN_SEED_DIR with the plugin baked into container images.
Troubleshooting
MCP server disconnected / "tool not found". Claude Code's MCP registry occasionally drops stdio-connected servers (sleep, network hiccup, long-running session). Re-add the affected server:
claude mcp add wheat -- npx -y -p @grainulation/wheat wheat-mcp
claude mcp add mill -- npx -y @grainulation/mill serve-mcp
claude mcp add silo -- npx -y @grainulation/silo serve-mcp
Or run /healthcheck from any grainulator-enabled session to verify
all three servers are responding and get the exact fix command for
any that aren't.
Plugin commands not showing up. Restart Claude Code after
claude plugin install — plugin registration is read at startup.
Permission prompts from hooks. Grainulator's hooks (pre-compile,
post-claim) need .claude/settings.json permission. On first use
Claude Code will prompt; allow, or pre-approve in your user or
project settings.
How it works
You ask a question. Grainulator runs a research sprint.
The sprint has two phases:
1. Investigation (3 passes)
Each pass approaches the question from a different angle — constraints, risks, alternatives — and produces typed claims. Claims accumulate in claims.json, the sprint's evidence ledger.
2. Compilation (7 passes)
The compiler runs seven analysis passes over the collected claims:
- Type coverage — are there enough claim types to avoid blind spots?
- Evidence strength — are claims grounded in documentation, or just stated?
- Conflict detection — do any claims contradict each other?
- Bias scan — is the evidence skewed toward one conclusion?
- Gap analysis — what topics have thin coverage?
- Confidence scoring — weighted score from all the above
- Synthesis — final answer that acknowledges tensions and trade-offs
If unresolved conflicts exist, the compiler blocks output until you resolve them. The confidence score tells you how much to trust the answer.
Commands
Once installed, just talk to Claude. The intent router detects what you want.
| Say this | Grainulator runs |
|---|---|
| "research how our auth system works" | Multi-pass research sprint |
| "challenge r003" | Adversarial testing of claim r003 |
| "what are we missing?" | Blind spot analysis |
| "write it up" | Compiled decision brief |
| "make slides" | Presentation deck |
| "where are we?" | Sprint status dashboard |
Or use slash commands directly:
| Command | What it does |
|---|---|
/init | Start a new research sprint |
/research | Multi-pass investigation with evidence gathering |
/challenge | Adversarial testing of a specific claim |
/witness | Corroborate a claim against an external source |
/blind-spot | Structural gap analysis |
/brief | Compiled decision brief |
/present | Presentation deck |
/status | Sprint dashboard |
/pull | Import knowledge from DeepWiki or Confluence |
/sync | Publish artifacts to Confluence |
/calibrate | Score predictions against actual outcomes |
/resolve | Adjudicate conflicts between claims |
Autonomous agent
The grainulator subagent runs full research sprints without intervention. It reads compiler output to decide what to do next — research, challenge, witness, blind-spot — until confidence is high enough for output.
Launch it: "research X using grainulator"
Architecture
grainulator/
.claude-plugin/ Plugin manifest + permissions
skills/ 13 prompt-engineered workflows
agents/ Autonomous sprint subagent
hooks/ Auto-compile on claim mutation
lib/ Shared utilities
site/ grainulator.app landing page + demo
MCP servers: wheat (claims engine), mill (format conversion), silo (knowledge store), DeepWiki (codebase research)
Hooks: Auto-compile fires on every claim mutation. Write-guards protect claims.json and compilation.json from manual edits.
Orchard: Multi-sprint orchestration via orchard.json dependency graphs for complex investigations that span multiple questions.
The ecosystem
Grainulator is part of the grainulation ecosystem. Eight tools, each does one thing.
| Tool | What it does |
|---|---|
| wheat | Research engine — structured evidence |
| farmer | Permission dashboard — approve AI actions in real time |
| barn | Shared tools — templates, validators, sprint detection |
| mill | Format conversion — PDF, CSV, slides |
| silo | Knowledge storage — reusable claim libraries |
| harvest | Analytics — cross-sprint patterns |
| orchard | Orchestration — multi-sprint coordination |
| grainulation | Unified CLI — single entry point |
You don't need all eight. /plugin install grainulator gives you everything you need.
Zero dependencies
Every grainulation tool runs on Node built-ins only. No npm install waterfall. No left-pad. No supply chain anxiety. MCP servers download on first use via npx.
Releases
See CHANGELOG.md for release history.
License
MIT
Reviews
No reviews yet. Be the first.
Related
superloopy
Lightweight loop harness with strict evidence gates — Claude Code edition.
agents-research
Agents for academic, market, and technical research, synthesis, and reporting
embedded-debugger
Embedded debugger workflow for probe-rs targets. Provides a CLI-first skill and optional MCP server for probe discovery, target checks, flashing, memory access, and RTT workflows.
mh install plugins/grainulator