Grant Proposal Assistant
A comprehensive tool for writing competitive grant proposals targeting NIH (R01/R21), NSF, and other major funding agencies.
Capabilities
- 1. Section Templates: Standard templates for all major grant sections
- Specific Aims Generator: Structured approach to crafting compelling Specific Aims pages
- Budget Justification Helper: Equipment, personnel, and other cost justifications
- Review & Critique: Self-assessment checklists for proposal quality
Usage
Command Line
CODEBLOCK0
As Library
CODEBLOCK1
Parameters
| Parameter | Description | Options |
|---|
| INLINECODE0 | Section to generate | INLINECODE1 , significance, approach, budget, INLINECODE5 |
| INLINECODE6 |
Funding agency |
NIH,
NSF,
DOD,
VA |
|
--type | Grant mechanism |
R01,
R21,
R03,
SBIR,
STTR |
|
--category | Budget category |
personnel,
equipment,
supplies,
travel,
other |
|
--input | Input file for review | Path to existing proposal |
|
--output | Output file path | Path for generated content |
Technical Difficulty
Medium - Requires understanding of grant structure, funding agency requirements, and scientific writing best practices.
References
- -
references/NIH_R01_template.md - NIH R01 full proposal template - INLINECODE26 - NSF standard grant template
- INLINECODE27 - Budget templates by category
- INLINECODE28 - Proposal quality checklist
- INLINECODE29 - Example Specific Aims pages
Best Practices
- 1. Start with Specific Aims: This 1-page summary drives the entire proposal
- Follow Page Limits: NIH R01 Research Strategy = 12 pages, Specific Aims = 1 page
- Use Significance-Innovation-Approach Structure: Standard for NIH applications
- Justify Everything: Every budget item needs a clear justification
- Review with Checklist: Use the built-in review tool before submission
Agency-Specific Notes
NIH R01/R21
- - Page limits strictly enforced
- Significance, Innovation, Approach structure required
- Vertebrate animals and human subjects sections if applicable
- Resubmission strategy for A1 applications
NSF
- - Project Summary (1 page) and Project Description (15 pages)
- Broader impacts criterion weighted equally with intellectual merit
- Data management plan required
- Facilities and resources section
Version
1.0.0 - Initial release with NIH and NSF support
Risk Assessment
| Risk Indicator | Assessment | Level |
|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access |
No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
Security Checklist
- - [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] Input file paths validated (no ../ traversal)
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no stack traces exposed)
- [ ] Dependencies audited
Prerequisites
No additional Python packages required.
Evaluation Criteria
Success Metrics
- - [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable
Test Cases
- 1. Basic Functionality: Standard input → Expected output
- Edge Case: Invalid input → Graceful error handling
- Performance: Large dataset → Acceptable processing time
Lifecycle Status
- - Current Stage: Draft
- Next Review Date: 2026-03-06
- Known Issues: None
- Planned Improvements:
- Performance optimization
- Additional feature support
资助提案助手
一款用于撰写具有竞争力的资助提案的综合工具,目标对象为NIH(R01/R21)、NSF及其他主要资助机构。
功能
- 1. 章节模板:所有主要资助章节的标准模板
- 具体目标生成器:构建引人注目的具体目标页面的结构化方法
- 预算说明助手:设备、人员及其他成本说明
- 审阅与评估:提案质量自查清单
使用方法
命令行
bash
生成具体目标模板
python3 scripts/main.py --section aims --output my_aims.md
生成完整提案模板
python3 scripts/main.py --section full --agency NIH --type R01 --output proposal.md
预算说明助手
python3 scripts/main.py --section budget --category personnel --output budget.md
审阅现有提案
python3 scripts/main.py --review --input my_proposal.md
作为库使用
python
from scripts.main import GrantProposalAssistant
assistant = GrantProposalAssistant(agency=NIH, grant_type=R01)
template = assistant.generatesection(specificaims)
budget = assistant.generatebudgetjustification(category=equipment, items=[...])
参数
| 参数 | 描述 | 选项 |
|---|
| --section | 要生成的章节 | aims、significance、approach、budget、full |
| --agency |
资助机构 | NIH、NSF、DOD、VA |
| --type | 资助机制 | R01、R21、R03、SBIR、STTR |
| --category | 预算类别 | personnel、equipment、supplies、travel、other |
| --input | 待审阅的输入文件 | 现有提案的路径 |
| --output | 输出文件路径 | 生成内容的路径 |
技术难度
中等 - 需要了解资助结构、资助机构要求以及科学写作最佳实践。
参考资料
- - references/NIHR01template.md - NIH R01完整提案模板
- references/NSFtemplate.md - NSF标准资助模板
- references/budgettemplates.xlsx - 按类别划分的预算模板
- references/reviewchecklist.md - 提案质量检查清单
- references/specificaims_examples.md - 具体目标页面示例
最佳实践
- 1. 从具体目标开始:这一页的摘要驱动整个提案
- 遵守页数限制:NIH R01研究策略=12页,具体目标=1页
- 采用重要性-创新性-方法结构:NIH申请的标准结构
- 说明一切:每个预算项目都需要明确的说明
- 使用清单审阅:提交前使用内置审阅工具
各机构注意事项
NIH R01/R21
- - 严格执行业页数限制
- 需要重要性、创新性、方法结构
- 如适用,需包含脊椎动物和人类受试者部分
- A1申请的重新提交策略
NSF
- - 项目摘要(1页)和项目描述(15页)
- 更广泛影响标准与智力价值同等重要
- 需要数据管理计划
- 设施和资源部分
版本
1.0.0 - 初始版本,支持NIH和NSF
风险评估
| 风险指标 | 评估 | 级别 |
|---|
| 代码执行 | Python/R脚本在本地执行 | 中等 |
| 网络访问 |
无外部API调用 | 低 |
| 文件系统访问 | 读取输入文件,写入输出文件 | 中等 |
| 指令篡改 | 标准提示指南 | 低 |
| 数据泄露 | 输出文件保存到工作区 | 低 |
安全检查清单
- - [ ] 无硬编码凭据或API密钥
- [ ] 无未经授权的文件系统访问(../)
- [ ] 输出不暴露敏感信息
- [ ] 已实施提示注入保护
- [ ] 输入文件路径已验证(无../遍历)
- [ ] 输出目录限制在工作区内
- [ ] 脚本在沙盒环境中执行
- [ ] 错误消息已清理(不暴露堆栈跟踪)
- [ ] 依赖项已审计
前提条件
无需额外的Python包。
评估标准
成功指标
- - [ ] 成功执行主要功能
- [ ] 输出符合质量标准
- [ ] 优雅处理边缘情况
- [ ] 性能可接受
测试用例
- 1. 基本功能:标准输入 → 预期输出
- 边缘情况:无效输入 → 优雅的错误处理
- 性能:大数据集 → 可接受的处理时间
生命周期状态
- - 当前阶段:草稿
- 下次审阅日期:2026-03-06
- 已知问题:无
- 计划改进:
- 性能优化
- 额外功能支持