grant-proposal skill
Scaffold a research grant proposal (NSF, NIH, ERC, or foundation) by composing existing primitives — pulls identification strategy from an `/interview-me` spec, delegates the data-management plan to `/data-management-plan` and the facilities statement to `/capture-environment`, and emits a funder-requirements checklist. Use when user says "draft a grant", "write a proposal", "NSF proposal", "NIH aims", "ERC application", "foundation grant", "specific aims", or "scaffold a grant proposal". NOT a submission tool — produces a draft the user uploads to the sponsor's portal themselves.
Is the grant-proposal skill safe?
Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-09-28.
No findings.
Install the grant-proposal skill
A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git /tmp/claude-code-my-workflow mkdir -p ~/.claude/skills cp -r /tmp/claude-code-my-workflow/.claude/skills/grant-proposal ~/.claude/skills/grant-proposal
In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub
The instructions your agent would load
SKILL.md as published, without the frontmatter. Read it on GitHub
/grant-proposal — Research Grant Proposal Scaffolder
Compose a funder-shaped grant proposal draft from primitives you already have: an /interview-me research spec supplies the science, /data-management-plan supplies the DMP, /capture-environment supplies the facilities/computational statement, and /lit-review supplies the prior-work framing. This skill structures and stitches — it does not submit anywhere, and it does not invent identification strategy where a spec is absent.
Core principle: A proposal is a coherence artifact. Aims, methods, budget, timeline, and broader impacts must agree with each other and with the underlying research spec. The skill's main value-add over a blank template is the Phase 3 coherence pass (aims ↔ methods ↔ budget ↔ timeline).
When to use
- Drafting an NSF / NIH / ERC / foundation proposal from an existing research idea.
- Turning an /interview-me spec (or a /preregister PAP) into a fundable narrative.
- Assembling the boilerplate-but-required pieces (DMP, facilities, data-sharing) so the human writes only the science.
- During resubmission, re-scaffolding aims after a reviewer "revise and resubmit" round.
When NOT to use
- You need the science itself invented — run /interview-me first; this skill refuses to fabricate an identification strategy.
- The sponsor is a clinical-trial funder requiring its own protocol template (out of scope; use the sponsor's native forms).
- You want a finished, submittable PDF — this writes Markdown sections + a checklist; final assembly into the sponsor's format is yours.
Funder profiles
Generic across sponsors via placeholder profiles. --funder selects the section set + naming; default is nsf. The profiles are fallbacks for when no call is supplied: the program's own call (--call) always wins.
Economics framing is the primary lens (DiD/event-study, IV, RCT, panel; AEA Data Editor / openICPSR / DCAS data-sharing expectations), but the section scaffold is field-agnostic — a biology or CS forker fills the same slots.
Workflow
Phase 0 — Detect funder + spec
- Resolve --funder (or infer from the request wording; default nsf). Echo the chosen profile back before drafting.
- Locate the research spec: --input , else the most recent qualityreports/specs/researchspec.md from /interview-me. If none exists, stop and recommend /interview-me** — do not invent the science.
- From the spec, extract: research question, hypotheses (directional), identification strategy (DiD / IV / RDD / RCT / structural), data sources, sample, expected results, contribution. Record the spec's Paper type: value if present (the header line /interview-me writes; accept a paper_type: field in a hand-written spec too).
- The program's call. Ask once for the actual solicitation, NOFO, RFP or work-programme text (--call , PDF or text — Read handles both). When given, take from it the required sections and documents, the page or word limits, and the review criteria, quoting its wording with a page reference; never paraphrase a limit. When none is given, continue with the generic profile and say so in the output header.
- Scan quality_reports/ for adjacent artifacts to reuse: a /lit-review synthesis (prior work), a /preregister PAP (analysis plan), a passport.yaml or /data-analysis outputs (preliminary results).
Phase 1 — Scaffold sections from templates + the spec
Generate the funder's section set. Map spec content into slots:
- Specific Aims / Project Summary — RQ + 2–3 numbered, directional aims drawn from the spec's hypotheses.
- Background & Significance — motivation + prior work; pull citations from the /lit-review synthesis if present (do not re-search unless asked).
- Research Design & Methods — lift the identification strategy verbatim from the spec (estimand, treatment/control, identifying assumption, robustness and placebo strategy, clustering). Name the estimator concretely (e.g. fixest::feols, AER::ivreg, Stata reghdfe).
- Preliminary Results — summarize any existing /data-analysis / passport outputs; otherwise mark [PRELIMINARY RESULTS: none yet — describe planned pilot].
- Timeline & Milestones — quarter/year table aligned to the aims (every aim gets a milestone).
- Broader Impacts / Significance — sponsor-appropriate framing (NSF Broader Impacts vs NIH Significance vs foundation mission-fit).
- Budget Justification skeleton — personnel / data acquisition / compute / travel / dissemination line-item stubs, each tied to an aim.
For every MUST slot the spec did not supply, write [CLARIFY: ] — never fabricate. Re-use the MUST / SHOULD / MAY clarity language from templates/requirements-spec.md.
Phase 2 — Compose the DMP and computational statements (delegate)
- Data Management (& Sharing) Plan — spawn an Agent that reads /data-management-plan's SKILL.md and follows it with the funder + data sources from the spec (that skill is user-invoked only — disable-model-invocation — so it is followed, not invoked). It returns the DMP section (repository choice — openICPSR / Dataverse / Zenodo, access/retention, FAIR/DCAS alignment). If any data source is sensitive (restricted-use admin data, PII, IRB-restricted), have it honor .claude/rules/confidential-data.md and describe access via a secure enclave / FSRDC rather than open release. Do not draft a sharing plan that promises to release confidential data.
- Facilities / Computational-Environment statement — invoke /capture-environment via the Agent tool to produce the compute/software/dependency statement (cluster, R/Stata/Python toolchain, renv.lock / DESCRIPTION / requirements.txt provenance) for the Facilities section.
If a delegate skill is unavailable, leave a [DELEGATE: /data-management-plan] placeholder rather than half-writing its output.
Phase 3 — Coherence pass (aims ↔ methods ↔ budget ↔ timeline)
The differentiating step. Cross-check the assembled draft and report mismatches:
- Aims ↔ Methods — every aim has a named method/estimator; no orphan method serves no aim.
- Methods ↔ Budget — each cost line traces to an aim (e.g. an RCT aim implies a participant-incentives line; admin data implies an acquisition/enclave line; a large simulation implies a compute line).
- Aims ↔ Timeline — every aim has at least one milestone; no milestone is unattributed.
- DMP ↔ Methods — the data named in Methods matches the data described in the DMP; confidential sources are not promised as open.
- Page/format budget — flag sections likely to overflow the page limit — the call's own limits when one was given, else the profile's (NSF 15-page Project Description, NIH 1-page Aims). With a call, also confirm every required section is present and every review criterion is addressed somewhere, citing the call's page.
Phase 4 — Post-flight verification + output
- Post-flight (CoVe): if Background/Significance cites prior literature, run the Post-Flight protocol from .claude/rules/post-flight-verification.md — spawn claim-verifier via the Agent tool (fresh context, never a conversation fork) on the citations. Surface PASS / PARTIAL / FAIL. Skip on --no-verify or zero citations.
- Write sections to --out (default qualityreports/grants/YYYY-MM-DD/), one Markdown file per section plus checklist.md.
Output / Report format
A proposal_draft.md (concatenated sections) plus a checklist.md:
# Grant Proposal Draft — [Title]
**Funder:** NSF | NIH | ERC | foundation **Date:** YYYY-MM-DD
**Source spec:** quality_reports/specs/research_spec_<slug>.md
**Call:** <path> (read YYYY-MM-DD) | NOT PROVIDED — structure from the generic <funder> profile
## Funder-Requirements Checklist
| Requirement | Status | Source |
|---|---|---|
| Project Summary / Specific Aims | DRAFTED | Phase 1 |
| Research Design & Methods | DRAFTED | spec |
| Data Management & Sharing Plan | DELEGATED | /data-management-plan |
| Facilities / Computational Env | DELEGATED | /capture-environment |
| Budget Justification | SKELETON | Phase 1 |
| Broader Impacts / Significance | DRAFTED | Phase 1 |
| [n] [CLARIFY:] items unresolved | TODO | — |
## Coherence Report
- Aims ↔ Methods: PASS / [n issues]
- Methods ↔ Budget: PASS / [n issues]
- Aims ↔ Timeline: PASS / [n issues]
- DMP ↔ Methods (confidential-data check): PASS / [n issues]
- Page-budget flags: [sections at risk of overflow]
## Post-Flight Verification
Claims extracted: N · Verified: N · Outcome: PASS / PARTIAL / FAILExit behavior
- All MUST slots filled + coherence PASS: report "DRAFT READY — review [CLARIFY:] items, then assemble in the sponsor's portal."
- Open [CLARIFY:] / [DELEGATE:] items or coherence issues: report "INCOMPLETE — N items unresolved" and list them. The skill never blocks like /audit-reproducibility (it is a drafting tool, not a gate) — it surfaces, the author resolves.
- No research spec found: stop in Phase 0 and recommend /interview-me. Nothing is written.
Flags
- --funder — Select the funder profile that shapes section structure and the requirements checklist.
- --call — The program's solicitation / NOFO / RFP (PDF or text). Its required sections, limits and review criteria override the generic profile. Default: none — the generic profile is used and the header says so.
- --input — Path to an /interview-me research spec to seed Aims and Methods. Default: the newest qualityreports/specs/researchspec_*.md; if none exists, stop and recommend /interview-me.
Cross-references
- .claude/skills/interview-me/SKILL.md — produces the research spec this skill consumes; run it first if none exists.
- .claude/skills/data-management-plan/SKILL.md — Phase 2 delegate for the DMP/DMSP section.
- .claude/skills/capture-environment/SKILL.md — Phase 2 delegate for the facilities/computational statement.
- .claude/skills/lit-review/SKILL.md — supplies Background & Significance prior-work framing.
- .claude/skills/preregister/SKILL.md — a PAP can seed the analysis plan; preregistration is the forward commitment a funded project then executes.
- .claude/rules/confidential-data.md — governs how sensitive data sources appear in the DMP and budget.
- .claude/rules/post-flight-verification.md — Phase 4 citation fact-check.
What this skill does NOT do
- Submit anywhere. It writes Markdown + a checklist; you assemble and upload to Research.gov / ASSIST / the ERC portal / the foundation's system.
- Invent the science. No spec → no proposal. It will not fabricate an identification strategy, hypotheses, or aims.
- Write the DMP or facilities statement itself. Those are delegated to /data-management-plan and /capture-environment; this skill only stitches their output into the funder's section set.
- Compute the budget. It scaffolds line items tied to aims; actual dollar figures, indirect-cost rates, and effort percentages are the PI's and the grants office's job.
- Guarantee page-limit compliance. It flags likely overflow; final trimming to the sponsor's exact format is manual.
More skills from pedrohcgs/claude-code-my-workflow
- Aadjudicate-reviewTurn an incoming set of findings — from an AI reviewer, a referee report, a code review, a linter, or a second model — into verified fixes, without letting a confident misread damage correct work. Every finding is a CANDIDATE until checked against the actual source. Use whenever you receive review comments, audit findings, or a critique you did not write yourself, especially when the reviewer is a model or when the volume is too large to check by feel.
- Aaudit-reproducibilityEnforce the replication-protocol.md rule by cross-checking numeric claims in a manuscript against the actual R / Stata / Python outputs. Report PASS/FAIL per claim against tolerance thresholds. Use before submission and before releasing a replication package.
- Ablast-radiusBefore and after changing anything shared — a function's return value, a signature, a schema, a label set, a config default, a constant, a file format — find every consumer and actually run them. Catches the change that looks purely additive but silently breaks a contract in a file you never opened. Use when editing shared code, adding a field/column/return element, renaming, changing units or defaults, or touching a pipeline that produces reported numbers.
- Acapture-environmentSnapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt / environment.yml / uv.lock, Stata version + ado package list), records seeds and RNG kind, optionally writes a pinning Dockerfile, and produces a paste-ready "Computational requirements" block. Use when user says "capture the environment", "snapshot my dependencies", "pin the versions", "make a renv.lock / requirements.txt", "make this byte-reproducible", or before releasing a replication package to openICPSR / the AEA Data Editor.
- AchallengeStress-test a finding against the choices you did not make. Enumerates the discrete forks a competent analyst could have taken (measure definition, sample filter, control set, clustering level, weighting, functional form), runs the specification grid, and reports the distribution rather than a point estimate — then attacks the identifying assumption with named, computable sensitivity statistics. Use when the user says "is this robust", "challenge this result", "specification curve", "multiverse", "how sensitive is this", "what if I'd used a different measure", "stress-test my estimate", or before a result becomes a headline claim. NOT a reviewer of prose or code — it challenges the CLAIM.
- AcheckpointSave a structured state snapshot before stopping or handing off. Captures the active plan, recent decisions, file pointers (with line numbers), open questions, and the next 1–3 actions into a checkpoint file under `quality_reports/checkpoints/`. Optionally proposes `[LEARN]` entries to add to MEMORY.md. Use when user says "checkpoint", "save state", "snapshot before I stop", "where am I", "wrap up the session for handoff", or before a long break / model switch / collaborator handoff. Companion to (NOT replacement for) the narrative session-log workflow.
- Acoauthor-briefGenerate a co-author / collaborator handoff brief for a multi-author, multi-machine project — summarizing what changed since the last brief (git delta), the current state of each artifact (manuscript, analysis, slides), open questions, how to reproduce locally, and any restricted-data access steps. Use when user says "coauthor brief", "handoff brief", "bring my coauthor up to speed", "what changed since last week", "onboard a collaborator", "write a handoff for [name]", or before sending a co-author the repo. NOT a commit or a checkpoint — it is the cross-machine, cross-person summary `meta-governance.md` only partially covers.
- AcommitCommit the current work — runs the quality, consistency and passport gates, branches off main if needed, stages specific files, and writes a commit whose subject states what is now true. Pushes and opens a pull request only with --pr or when the user asks; never merges — a merge happens only when the user explicitly says to merge. Use ONLY on explicit commit intent — user says "commit", "let's commit this", "open a PR", or prefixes with `/commit`. Do NOT auto-invoke on vague end-of-task phrases ("we're done", "wrap up") — those require explicit confirmation first. Never force-pushes or skips hooks.
- Acompile-latexCompile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a `.tex` file isn't producing a PDF. Operates on `Slides/*.tex`.
- Acompress-sessionDistill the current conversation into a structured note (decisions made, open questions, file pointers with line numbers, next 1–3 actions) and save to `quality_reports/session_logs/` before auto-compression. Differs from `/checkpoint` (explicit stop-point snapshot) and from auto-compaction (which truncates rather than distills). Use when context is approaching auto-compact threshold, when a long pipeline has accumulated many decisions, or when the user says "compress", "distil this session", "before we hit auto-compact", "structured handoff before context resets".
- Acontext-statusShow current context status and session health. Use to check how much context has been used, whether auto-compact is approaching, and what state will be preserved.
- Acreate-lectureCreate a new Beamer lecture `.tex` from source papers and materials, with notation consistency checks and the project's preamble wired in. Use when user says "create a lecture on X", "new lecture from these papers", "start a deck on topic Y", "scaffold a new Beamer file", "build me a lecture from these PDFs". Scaffolds the full deck — NOT for compiling existing `.tex` (use `/compile-latex`).