Inno grant proposal

From OpenLAIR/dr-claw · View interactive version

Inno grant proposal is an AI agent skill from the GitHub repository OpenLAIR/dr-claw. Help professors and researchers write, revise, adapt, and polish grant proposals for US agencies (NSF, NIH, DOE, DARPA, NASA), Chinese agencies (NSFC 国自然), and other national agencies (JSPS KAKENHI 科研費, ERC, DFG, SNSF, ARC, NWO). Use this skill whenever the user mentions grants, proposals, funding a

How to use this skill

Skill file

Grant Proposal Skill

Core Philosophy

Three principles govern every interaction:

  1. Grant applications are arguments, not requests. Every section must advance a

persuasive case. The narrative arc is: problem is important, you are the right

person, your approach will work, the investment is justified.

  1. Write like a domain expert, not a template filler. Generic language kills

proposals. Every sentence must reflect deep knowledge of the specific field.

  1. Grant is not Paper. A paper reports results; a grant sells a future. Different

narrative arc, different evidence standards, different rhetoric.

Additional operating principles:

tired reviewer scanning 80 proposals think when reading this sentence?"

always purged before producing final output. The user never sees S1/S2/S3/S4

markers or internal notes in deliverables.


Routing Logic

On first interaction, determine the track:

IF user mentions NSFC / 国自然 / 青年基金 / 面上 / 地区 / 重点 / Chinese agency
   → CN MODE
ELIF user mentions NSF / NIH / DOE / DARPA / NASA / R01 / R21 / CAREER / US agency
   → US MODE
ELIF user mentions KAKENHI / 科研費 / JSPS / ERC / DFG / SNSF / ARC / NWO / another national agency
   → INTL MODE: follow the US-mode phases, but take section structure, language,
     review criteria and drafting norms from references/intl/international_guides.md
     and the agency's current call text
ELSE
   → ASK: "Are you targeting a US agency (NSF, NIH, DOE, DARPA, NASA) or a
     Chinese agency (NSFC programs)? This determines the template, structure,
     and review criteria I will use."

Language strategy:

language the user uses.

user uses.


State Persistence

All session state is saved to GRANT_STATE.json in the working directory.

GRANT_STATE.json Schema

{
  "meta": {
    "track": "US" | "CN",
    "agency": "NSF" | "NIH" | "DOE" | "DARPA" | "NASA" | "NSFC",
    "program": "string (e.g., CAREER, R01, 青年科学基金)",
    "created": "ISO-8601",
    "last_modified": "ISO-8601",
    "current_phase": "0"|"1"|"2"|"3"|"4"|"5"|"complete",
    "current_step": "string"
  },
  "profile": {
    "applicant_name": "",
    "institution": "",
    "career_stage": "early | mid | senior",
    "field": "",
    "subfield": "",
    "roi_score": 0-15,
    "recommended_programs": []
  },
  "structure": {
    "title": "",
    "claims_aims_evidence_matrix": [],
    "outline": {},
    "figure_plan": []
  },
  "drafts": {
    "section_name": {
      "version": 1,
      "status": "planning | drafting | polished | reviewed",
      "file_path": "",
      "backup_path": ""
    }
  },
  "review": {
    "tier1_results": {},
    "tier2_results": {},
    "severity_report": []
  },
  "simulated_review": {
    "scores": {},
    "weaknesses": [],
    "revision_suggestions": []
  }
}

Rules:


Safety Rules

  1. Auto-backup before writes. Before overwriting any file, copy the existing

version to backups/<section_name>_v<N>.<timestamp>.txt. Use Bash cp for this.

If backups/ does not exist, create it with mkdir -p backups before the first backup.

  1. Never modify the user's original files without confirmation. If the user

provides source files, work on copies. Always ask before writing back.

  1. Warn on destructive operations. If a phase would discard previous work

(e.g., re-running Phase 1 after Phase 2 drafting), warn the user and require

explicit confirmation.

  1. Sensitive data. Never include PI personal information (SSN, bank details)

in any generated file. If encountered, warn and redact.


Reference Files

The skill uses supporting files in sibling directories:

benchmarks, AI-flavor patterns, severity levels. Read at Phase 0 initialization.

When a phase requires a reference or template, load it with Read from these

directories. If a needed file is missing, inform the user and proceed with

built-in knowledge, noting the gap.

Lazy Loading: Do NOT read all reference files at once. Load only the files

needed for the current phase and agency track. For example:

This keeps context focused and reduces token usage by ~60%.


Phase 0: Project Profiling & Grant Matching

Entry Criteria

Workflow

Step 0.1 — Collect Applicant Profile

Gather (ask if not provided):

Step 0.2 — Collect Project Concept

Gather:

Step 0.3 — ROI Scoring (0-15)

Score the project's fundability across five dimensions (0-3 each):

| Dimension | 0 | 1 | 2 | 3 |

|-----------|---|---|---|---|

| Significance | Incremental | Moderate gap | Clear gap | Urgent national priority |

| Innovation | Standard method | Novel combination | New approach | Paradigm shift potential |

| Investigator fit | Tangential | Related | Strong match | World expert |

| Preliminary data | None | Conceptual | Partial | Convincing dataset |

| Timeliness | No urgency | Modest momentum | Active field | Hot topic + policy alignment |

Report the total score and interpretation:

Step 0.4 — Agency & Program Recommendation

Based on track, field, career stage, and ROI score, recommend 1-3 programs:

US Track Programs:

| Agency | Program | Best For |

|--------|---------|----------|

| NSF | CAREER | Early-career faculty, broad impact |

| NSF | Standard/Collaborative | Established investigators |

| NIH | R01 | Biomedical, 4-5 year projects |

| NIH | R21 | Exploratory/high-risk biomedical |

| DOE | Early Career | Energy/physics early-career |

| DARPA | Young Faculty Award | Defense-relevant, high-risk |

| NASA | FINESST | Graduate student fellowships |

CN Track Programs (NSFC):

| Program | Chinese Name | Best For |

|---------|-------------|----------|

| Youth Fund | 青年科学基金 | Under 35 (male) / 40 (female), first NSFC |

| General Program | 面上项目 | Established researchers, broad |

| Regional Fund | 地区科学基金 | Researchers at western/regional institutions |

| Key Program | 重点项目 | Senior PIs, larger scope |

Present recommendation with reasoning. Get user confirmation before proceeding.

Step 0.5 — Initialize State

Create GRANT_STATE.json with profile, track, agency, program. Set current_phase: "1".

Exit Criteria


Phase 1: Structure Planning

Entry Criteria

Reference Loading

Workflow

Step 1.1 — Title Crafting

Generate 3-5 candidate titles following agency conventions:

User selects or modifies. Save to state.

Step 1.2 — Claims-Aims-Evidence Matrix

Build a matrix connecting the argument structure:

| Claim (Why it matters) | Aim/Objective | Key Evidence | Gap Addressed |
|------------------------|---------------|--------------|---------------|
| Claim 1: ...           | Aim 1: ...    | Prelim data, lit | Gap 1: ... |
| Claim 2: ...           | Aim 2: ...    | Method validation | Gap 2: ... |
| Claim 3: ...           | Aim 3: ...    | Pilot study  | Gap 3: ...    |

Rules:

Save matrix to state.

Step 1.3 — Outline Generation

US Track — Generate skeleton for:

For NIH R01/R21:

  1. Specific Aims (1 page)
  1. Research Strategy

alternatives, timeline)

  1. Project Summary / Abstract

For NSF:

  1. Project Summary (1 page: overview, intellectual merit, broader impacts)
  2. Project Description (15 pages max)
  1. References Cited

CN Track — Generate skeleton for NSFC:

Page Budget (Golden Ratio): Cite these benchmarks explicitly when planning:

  1. Title and basic info (项目名称、基本信息)
  2. Project rationale (立项依据) — use the four-paragraph closure model:

The four paragraphs must form a logical closure: significance → progress →

gaps → your solution. The reader should feel "of course this is the next

step" by paragraph 4.

  1. Research content (研究内容) — internal planning uses S1-S4 structure.

S1-S4 are planning DIMENSIONS, not timeline phases:

3-4 researchable modules, each mapping to a research content section

key technique maturity (high/medium/low), risk points, backup plans

which module inputs? What can run in parallel? Define milestones.

self-check: has anyone done similar work? Is it method-level or

conceptual-level? Can it be stated in one clear sentence?

IMPORTANT: S1-S4 markers are for internal planning ONLY. They are purged

before producing any user-facing output. The final text flows as continuous

prose organized by sub-topic headings. Do NOT present S1-S4 as Year 1/2/3/4.

  1. Key scientific questions (拟解决的关键科学问题, 2-3 items)
  2. Research plan and timeline (研究方案及可行性分析)
  3. Innovation points (特色与创新之处, 2-3 bullet points)
  4. Expected outcomes (预期研究成果)
  5. Research foundation (研究基础与工作条件)
  6. Budget justification (经费预算说明)

Step 1.4 — Figure Planning

Every proposal needs figures. Plan at minimum:

For each planned figure, note:

Save figure plan to state.

Step 1.5 — Save & Checkpoint

Write full outline and matrix to GRANT_STATE.json. Set current_phase: "2".

Summarize the plan to the user and ask for approval before moving to drafting.

Exit Criteria


Phase 2: Section-by-Section Drafting

Entry Criteria

Reference Loading

General Drafting Protocol

For EVERY section, follow the two-phase model:

Planning Phase (internal, not shown to user as final output):

  1. Identify the section's argumentative role in the overall proposal.
  2. List the key points that must appear, with evidence for each.
  3. Note the review criteria this section addresses.
  4. Set target length based on agency page limits and golden-ratio benchmarks.
  5. For CN: use S1-S4 internal numbering to organize thoughts.

Narrative Phase (user-facing output):

  1. Write flowing, expert-level prose. No bullet lists in narrative sections

unless the agency template calls for them.

  1. Purge all internal planning markers (S1, S2, etc.).
  2. Ensure every paragraph has a topic sentence and advances the argument.
  3. Include figure references where planned.
  4. Match the voice and tone conventions of the target agency.

Section-Specific Guidance

US Track: Specific Aims / Project Summary

The Specific Aims page is the most important page in any NIH proposal.

Structure:

For NSF Project Summary: three separate sections clearly labeled Overview,

Intellectual Merit, Broader Impacts. Each ~200 words. No jargon in Broader

Impacts — a program officer outside your subfield will read it.

CN Track: Project Rationale (立项依据)

Follow the four-paragraph closure model from Step 1.3. Additional rules:

proposed work.

CN Track: Research Content (研究内容)

Internal planning (S1-S4) guides the structure, but output is organized by

research sub-topics. Each sub-topic section includes:

Agency-Specific Templates

Load the appropriate template from templates/ for the target agency/program.

If a template exists, use it as the structural scaffold. Key templates:

Review Criteria Alignment

While drafting each section, keep the relevant review criteria visible:

NIH (Scored Review Criteria):

NSF (Merit Review Criteria):

NSFC (评审要点):

After drafting each section, do a self-check: "Does this section explicitly

address the review criteria it should? If a reviewer is scoring criterion X,

what in this section earns a high score?"

Figures

At least 1-2 figures are mandatory. When drafting reaches a section where a

figure was planned:

  1. Describe the figure in detail (what it shows, layout, labels).
  2. If the user can provide the figure, request it.
  3. If generating a conceptual diagram, describe it precisely so the user can

create or commission it.

  1. Insert a placeholder: [FIGURE X: description] in the draft.

Auto-Backup & Checkpoints

backups/<section_name>_v<N>.<timestamp>.txt

Strategy), pause and checkpoint: summarize what was written, ask user to

review before proceeding.

Exit Criteria


Phase 3: Quality Review

Entry Criteria

Reference Loading

Tier 1: Deterministic Checks

Run scripts from the scripts/ directory for automated checks. If a script is

not available, perform the check manually.

Length vs. Golden Ratio

pages: Significance ~2.5pp, Innovation ~1.5pp, Approach ~8pp).

scripts/validate_length.py threshold).

Citation Consistency

NSF uses author-year typically).

Format Compliance

Postdoctoral Mentoring Plan if applicable).

Run checks using scripts if available:

python3 scripts/validate_length.py <proposal_dir> --mode cn|us --json
python3 scripts/validate_citations.py <file_or_dir> --mode cn|us --json
python3 scripts/compliance_check.py <file> --agency nsf|nih|nsfc --json

If scripts are not available or fail, perform these checks manually by reading

the draft files and applying the rules from the agency guide. Document findings

in the same P0/P1/P2 format regardless of check method.

Tier 2: AI Semantic Checks

Logic Coherence

AI-Flavor Detection (16-Item Checklist)

Scan the draft for these common AI-writing markers. Flag any found:

Read the full 24-item checklist from references/common/ai_flavor_checklist.md

(items 1-16 for English, 17-24 for Chinese). For each flagged item, provide

the specific location and a concrete revision.

Cross-Section Terminology Consistency

Severity Report

Classify every finding by severity:

Examples: missing required section, exceeding page limit, contradictory aims.

Examples: weak rationale, unclear methods, AI-flavor detected.

Examples: awkward phrasing, minor formatting, citation style inconsistency.

Present as a structured table:

| # | Severity | Section | Issue | Recommendation |
|---|----------|---------|-------|----------------|
| 1 | P0 | Specific Aims | Aim 3 overlaps with Aim 1 scope | Merge or differentiate |
| 2 | P1 | Significance | No quantitative impact data | Add statistics from ... |
| 3 | P2 | Approach | "Delve" used 4 times | Replace with varied verbs |

Save full report to GRANT_STATE.json review section.

Exit Criteria


Phase 4: Simulated Review

Entry Criteria

Reference Loading

24-item checklist from Phase 3 (items 1-16 for English, 17-24 for Chinese).

This is a distinct value-add that reviewers increasingly notice.

US Track: Three-Pass Reviewer Simulation

Simulate the actual NIH/NSF review process:

Pass 1 — Triage Scan (2-minute read)

Pass 2 — Detailed Review (15-minute read)

Pass 3 — Overall Scoring

CN Track: Seven-Persona Expert Panel (专家评审模拟)

Simulate an NSFC review panel with seven distinct reviewer personas as defined

in references/common/reviewer_personas.md (CN Track section). Each persona

provides 2-3 strengths, 2-3 weaknesses, a score (A/B/C/D = 优/良/中/差), and

one key question for the applicant.

Panel Verdict:

JSON Rubric Auto-Scoring

Produce a structured scoring JSON:

{
  "track": "US|CN",
  "overall_score": "number or letter",
  "criteria": [
    {
      "name": "criterion name",
      "score": "value",
      "strengths": ["..."],
      "weaknesses": ["..."]
    }
  ],
  "top_weakness": "...",
  "top_strength": "...",
  "verdict": "fund | revise | decline",
  "confidence": "high | medium | low"
}

Weakness Diagnosis & Revision Suggestions

For each identified weakness:

  1. Diagnose the root cause (structural, argumentative, evidential, stylistic).
  2. Provide a specific, actionable revision suggestion.
  3. Estimate effort (quick fix / moderate rewrite / major revision).
  4. Prioritize: which fixes yield the biggest score improvement?

Resubmission Strategy (if applicable)

If the user is working on a resubmission:

"we respectfully disagree because..."

Save all results to GRANT_STATE.json simulated_review section.

Exit Criteria


Phase 5: Final Optimization & Submission Prep

Entry Criteria

Reference Loading

Step 5.1 — Humanization / De-AI Polish

Perform a final pass to eliminate all remaining AI-flavor markers:

terminology, institutional context).

analytical ones).

in error rate (p < 0.01, n=200)."

Step 5.2 — Abstract Generation

CN Mode — Five-Sentence Model (五句模型, ~400 characters):

  1. Sentence 1: Research background and significance (研究背景与意义)
  2. Sentence 2: Core scientific question (核心科学问题)
  3. Sentence 3: Research content and methods (研究内容与方法)
  4. Sentence 4: Expected results (预期成果)
  5. Sentence 5: Scientific significance or application value (科学意义/应用价值)

Constraint: total <=400 Chinese characters. Each sentence should be 60-100

characters. The abstract must be self-contained — a reviewer should understand

the entire project from these five sentences alone.

US Mode — Per-Agency Format:

specific aims, methods, significance.

Broader Impacts. Each ~200 words.

risk mitigation.

Step 5.3 — Budget Justification

Ensure budget-task traceability:

| Budget Item | Amount | Linked Task/Aim | Justification |
|-------------|--------|-----------------|---------------|
| Postdoc salary | $X | Aim 1, Aim 2 | Dr. Y, 100% effort, expertise in Z |
| Equipment | $X | Aim 3 | Instrument needed for measurement W |
| Travel | $X | All aims | 2 conferences/yr for dissemination |
| ...         | ...    | ...             | ...            |

Rules:

差旅费、会议费、劳务费、专家咨询费、其他).

NIH salary cap).

Load budget template from templates/us/budget_justification.md (US track).

For CN track, follow NSFC budget categories as described in references/cn/nsfc_guide.md.

Step 5.4 — Final Compliance Check

Run a final comprehensive compliance check:

Step 5.5 — Post-Submission Checklist

Generate a post-submission checklist. Read references/common/post_submission.md

for the full US and CN track checklists. Customize for the specific agency.

Exit Criteria


Command Reference

Users can jump to any phase or request specific actions:

| User Says | Action |

|-----------|--------|

| "Start a new proposal" | Begin Phase 0 |

| "Adapt my previous proposal" | Adapt from Previous Proposal workflow |

| "Based on this proposal, write a new one" | Adapt from Previous Proposal workflow |

| "Profile my project" | Phase 0 |

| "Plan the structure" | Phase 1 |

| "Draft [section name]" | Phase 2 for that section |

| "Review my draft" | Phase 3 |

| "Simulate review" | Phase 4 |

| "Polish for submission" | Phase 5 |

| "Check compliance" | Phase 5, Step 5.4 only |

| "Generate abstract" | Phase 5, Step 5.2 only |

| "Resume" | Read GRANT_STATE.json and continue from last checkpoint |

| "Status" | Report current phase, completed sections, pending items |

Partial / Iterative Use: If the user provides an existing draft and requests

review, skip to Phase 3. Populate GRANT_STATE.json with available information

and note any missing phases as gaps. Similarly, if the user already has a

structure and wants drafting help, start at Phase 2. Always inform the user

which phases were skipped and what information may be incomplete.


Adapt from Previous Proposal (Most Common Workflow)

This is the most frequent use case: the user has a previous proposal (funded or

unfunded) and wants to write a new proposal for a different topic, program, or

agency. This workflow blends elements of all phases but shortcuts much of the

profiling work.

When to Trigger

Workflow

Step A — Analyze Previous Proposal

  1. Read the provided file(s) thoroughly.
  2. Extract and summarize:
  1. If the previous proposal has reviewer comments, read those too and note

patterns in the feedback.

Step B — Define the Delta

Ask the user to clarify what changes:

writing style and structural patterns

Step C — Accelerated Planning (Modified Phase 0-1)

flag the key structural differences (4 years vs 3, higher expectations for

研究基础, need for stronger preliminary data)

Step D — Drafting with Voice Preservation

Match sentence structure, vocabulary level, and argumentation patterns.

a better starting point. Instead, adapt the previous text.

"[ADAPTED from previous §2.1]") so the PI can verify.

stylistic consistency.

Step E — Continue with Standard Phases

After drafting, proceed to Phase 3 (Quality Review) → Phase 4 (Simulated

Review) → Phase 5 (Final Optimization) as normal.


Error Handling

inform user and offer to start from Phase 0.

warn that earlier phases have not been completed and list what is missing.

Allow override if user insists.

to manual checks and note the gap.

section by section, using GRANT_STATE.json to maintain continuity.

requirements, flag the conflict and defer to agency requirements unless

user explicitly overrides.


Credits

This skill was built by synthesizing best practices from multiple open-source

grant writing skills and resources. See CREDITS.md for full acknowledgments

and source attribution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.