By stmailabs
Grant writing pipeline for Claude Code with multi-model consensus via claude-multi-model (mm-ask / mm-council). FOA analysis, landscape, deep-verify (multi-method entity verification with SPA/JS-bundle inspection, transliteration variants, national registries beyond CORDIS), aims, literature, writing, fact-check, and multi-provider peer review.
Iteratively generate and refine research objectives or specific aims with scoring, adversarial review, and human approval.
Prepare agency-specific budget with person-months or monthly salary model, justification narrative, and per-year cost breakdown.
Validate proposal structure against agency requirements — word counts, required sections, bibliography, budget caps, and EU-specific checks.
Deep multi-method verification of any entity cited in a grant proposal — organisations, people, projects, products, standards, certifications, datasets, clinical trials, regulatory pathways. Combines SPA/JS-bundle inspection, Wayback Machine fallback, transliteration variants, country-specific company registries, national grant databases beyond CORDIS, GitHub org enumeration, ORCID/Scholar credential verification, WHOIS/DNS provenance, and mm-ask multi-model consensus tier assignment. Catches the three canonical failure modes that ordinary WebFetch + CORDIS search misses — JavaScript SPAs that hide content, non-Latin name transliteration mismatches, and wrong-database fabrication flags. Default pipeline invocation verifies consortium partners; can be invoked ad-hoc by any other skill for any entity type.
Multi-pass hallucination and factual accuracy checker with mm-ask multi-model consensus as the default path. Verifies citations, external claims, and claim-source alignment using journalism-grade methodology.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Grant writing pipeline for Claude Code with multi-model consensus via claude-multi-model (shipped as a Python dependency — no API keys, no extra plugins, just uses your existing codex / gemini / cursor-agent CLI tools). Full proposal lifecycle from FOA analysis through writing, fact-checking, and peer review — targeting EU (Horizon Europe, ERC, MSCA) and Romanian (UEFISCDI, PNRR) funding agencies.
Markdown throughout — no LaTeX needed. Final Word/PDF conversion via /docx or /pdf skills at submission time.
One-liner:
curl -fsSL https://raw.githubusercontent.com/stmailabs/gw/main/scripts/install.sh | bash
This installs:
gw-skills Python tools in .venv/ (with claude-multi-model pulled in transitively, so mm-ask / mm-council / mm-detect become available via uv run)gw@gw plugin (this pipeline)config.yamlCLAUDE.md with CLI rules and skill tablecodex, gemini, cursor-agent) and reports how many rate buckets are availableVerify with:
uv run gw-verify
# Interactive mode — guides you through agency selection
claude '/gw'
# With explicit arguments
claude '/gw --agency horizon_ria --mechanism ria --foa path/to/foa.pdf'
# Resume from an existing proposal directory
claude '/gw --proposal-dir proposals/horizon_ria_ria_20260401_120000'
# Skip review for a quick draft
claude '/gw --skip-review'
0. Setup → environment, mm-detect probe, agency config
0.5 Import Documents → auto-extract from PI's existing docs
1. FOA Analysis → parse funding opportunity, extract requirements
1.5 Competitive → funded grants DB + literature + market analysis
Landscape → mm-ask parallel research across 3 external models
1.7 Deep Verification → SPA/JS inspection, transliteration, national registries
2. Aims Generation → iterative refinement + mm-ask adversarial critique
3. Literature → mm-ask citation discovery + CrossRef/S2 verification
4. Preliminary Data → assess PI's existing evidence
5. Proposal Writing → per-section atomic checkpoints + mm-ask pre-verification
5.5 Risk & Feasibility → mm-ask scenario analysis + risk matrix
6. Budget → person-months, equipment, travel, subcontracts
7. Supporting Docs → CVs, facilities, DMP, ethics, consortium
8. Compliance → word counts, required sections, structure validation
8.5 Assembly → compile all sections into final/proposal.md
8.7 Fact Check → mm-ask citations + external facts + claim-source alignment
9. Review → 4-persona Claude panel (Agent tool) + 3-model mm-ask external track
9.5 Resubmission → parse previous reviews, plan revisions
10. Revision → weakness → phase mapping, surgical re-runs, re-review
| Template | Agency | Mechanism | Region | Budget Model |
|---|---|---|---|---|
horizon_ria | Horizon Europe | RIA | EU | person-months |
horizon_ia | Horizon Europe | IA | EU | person-months |
erc | ERC | Starting / Consolidator / Advanced | EU | person-months |
msca_postdoc | MSCA | Postdoctoral Fellowships | EU | person-months |
msca_doctoral | MSCA | Doctoral Networks | EU | person-months |
uefiscdi_pce | UEFISCDI | PCE (Exploratory Research) | Romania | monthly salary |
uefiscdi_te | UEFISCDI | TE (Young Research Teams) | Romania | monthly salary |
uefiscdi_pd | UEFISCDI | PD (Postdoctoral Research) | Romania | monthly salary |
pnrr | PNRR | Component 9 (R&D Support) | Romania | monthly salary |
claude-multi-modelgw depends on claude-multi-model as a Python package. It exposes three CLIs — mm-ask, mm-council, and mm-detect — that dispatch prompts to external CLI tools in parallel and route each model to its native CLI:
codex exec (Codex/OpenAI OAuth — bucket 1)gemini -p (Google AI OAuth — bucket 2)cursor-agent --model X (Cursor subscription — bucket 3)With all three provider CLIs installed, a 3-model panel spreads across 3 independent rate buckets, so one hot bucket can't throttle the rest. Install whichever provider CLIs you have access to — the router adapts automatically and reports available buckets via mm-detect.
gw uses multi-model consensus in four load-bearing places:
npx claudepluginhub stmailabs/gw --plugin gwComplete grant proposal toolkit: NIH/NSF proposal writing, structured review with scoring criteria, and figure quality assurance
PhD-level research capabilities: literature review, multi-source investigation, critical analysis, hypothesis-driven exploration, quantitative/qualitative methods, and lateral thinking
完整学术流水线 — 从 idea 到论文的全流程编排:状态机追踪、完整性验证、claim 校验
Semi-automated research assistant for academic research and software development, with skills for literature review, experiments, analysis, writing, and project knowledge management
Production-grade academic research pipeline for Claude Code: research → write → review → revise → finalize. 4 skills, 27 modes, 39-agent ensemble, v3.7.3 + v3.8 L3 claim-faithfulness gate, v3.9.0 cross-index triangulation, v3.10 triangulation policy layer, v3.11 deterministic citation verification gate (#182).
Comprehensive Research Planning agents specializing in synthesising hypothesis and claims, researching related work and challenging assumptions.