grant-proposal-c68be3 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited grant-proposal-c68be3 (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Draft a grant proposal based on: $ARGUMENTS
This skill turns validated research ideas into a structured, reviewer-ready grant proposal. It chains sub-skills into a grant-specific pipeline:
/research-lit → /novelty-check → [structure design] → [draft] → /research-review → [revise] → GRANT_PROPOSAL.md
(survey) (verify gap) (aims + matrix) (prose) (panel review) (fix) (done!)This is a parallel branch, not part of the linear Workflow 1→1.5→2→3 pipeline. After /idea-discovery produces validated ideas, the user can either:
/experiment-bridge → /auto-review-loop → /paper-writing (implement & publish)/grant-proposal (write funding application first, then implement after funding) ┌→ /experiment-bridge → /auto-review-loop → /paper-writing (publish track)
/idea-discovery ────┤
└→ /grant-proposal → [get funded] → /experiment-bridge → ... (funding track)Grant proposals argue for future work (feasibility + potential), not completed work (results + claims). This skill handles the unique requirements of grant writing: narrative arc design, reviewer-facing structure, budget justification, timeline planning, and agency-specific formatting.
KAKENHI, NSF, NSFC, ERC, DFG, SNSF, ARC, NWO, GENERIC. Override via argument (e.g., /grant-proposal "topic — NSF").Start-up/Wakate/Kiban-B; NSFC Youth/Excellent-Youth/Distinguished/Overseas/Key; NSF CAREER/CRII/Standard. Auto-detected from argument or defaults to the most common sub-type.gpt-5.4, o3, gpt-4o).markdown, latex. LaTeX uses grant-specific templates when available.true only if user explicitly requests fully autonomous mode.💡 These are defaults. Override by telling the skill, e.g.,/grant-proposal "topic — NSF CAREER, latex output"or/grant-proposal "topic — NSFC Youth, language: English".
| Field | Detail |
|---|---|
| Sections | 研究目的 (Research Objective), 研究計画・方法 (Plan & Methods), 準備状況 (Preparation Status), 人権の保護 (Ethics, if applicable) |
| Sub-types | 基盤研究 A/B/C (Kiban), 若手研究 (Wakate), 研究活動スタート支援 (Start-up), 国際共同研究 (International), 学術変革領域 (Transformative), 挑戦的研究 (Challenging), DC1/DC2 (doctoral) |
| Language | Japanese (English technical terms acceptable) |
| Review criteria | 学術的重要性 (academic significance), 独創性 (originality), 研究計画の妥当性 (plan feasibility), 研究遂行能力 (PI capability) |
| Cultural norms | Explicit yearly milestones (Year 1 / Year 2), budget justification integrated into plan, emphasize 社会的意義 (societal significance), concrete expected outputs (papers, datasets), reference KAKEN database for related funded projects |
| Field | Detail |
|---|---|
| Sections | Project Summary (1p), Project Description (15p max), References Cited, Biographical Sketch, Budget Justification, Data Management Plan |
| Sub-types | Standard Grant, CAREER (early career), CRII (research initiation), RAPID, EAGER |
| Language | English |
| Review criteria | Intellectual Merit, Broader Impacts |
| Cultural norms | Aim-based structure (Aim 1/2/3), preliminary data strongly expected, broader impacts must be concrete and specific (not generic "benefit society"), Results from Prior Support section |
| Field | Detail |
|---|---|
| Sections | 立项依据 (Rationale & Significance), 研究内容 (Content), 研究目标 (Objectives), 研究方案 (Plan & Methods), 可行性分析 (Feasibility), 创新性 (Innovation Points), 预期成果 (Expected Outcomes), 研究基础 (PI Foundation & Track Record) |
| Sub-types | 面上项目 (General Program) — emphasis on scientific problem and research accumulation; 青年基金 (Young Scientists Fund) — age ≤35, emphasis on independence and growth potential; 优秀青年基金/优青 (Excellent Young Scientists) — age ≤38, emphasis on outstanding achievements; 杰出青年基金/杰青 (Distinguished Young Scientists) — age ≤45, emphasis on international-leading level; 海外优青 (Overseas Excellent Young Scientists) — emphasis on overseas experience and return contribution plan; 重点项目 (Key Program) — emphasis on systematic in-depth research |
| Language | Chinese |
| Review criteria | 科学意义 (scientific significance), 创新性 (innovation), 可行性 (feasibility), 研究队伍 (team qualification) |
| Cultural norms | Heavy emphasis on 国际前沿 (international frontier) positioning, detailed feasibility analysis, explicit citation of applicant's prior publications, 研究基础 section is critical for demonstrating PI capability |
| Field | Detail |
|---|---|
| Sections | Extended Synopsis (5p), Scientific Proposal Part B2 (15p) |
| Sub-types | Starting Grant (2-7 years post-PhD), Consolidator Grant (7-12 years), Advanced Grant (established leaders) |
| Language | English |
| Review criteria | Ground-breaking nature, Methodology, PI track record |
| Cultural norms | Emphasis on "high-risk/high-gain", methodology table with WP/deliverables/milestones, Gantt chart expected, strong PI narrative |
| Field | Detail |
|---|---|
| Sections | State of the Art, Objectives, Work Programme, Bibliography, CV |
| Language | English or German |
| Review criteria | Scientific quality, Originality, Feasibility, PI qualification |
| Field | Detail |
|---|---|
| Sections | Summary, Research Plan, Timetable, Budget |
| Language | English |
| Review criteria | Scientific relevance, Originality, Feasibility, Track record |
| Field | Detail |
|---|---|
| Sections | Project Description, Feasibility, Benefit, Budget |
| Language | English |
| Review criteria | Research quality, Feasibility, Benefit to Australia |
| Field | Detail |
|---|---|
| Sections | Summary, Proposed Research, Knowledge Utilisation |
| Language | English |
| Review criteria | Scientific quality, Innovative character, Knowledge utilisation |
For any grant not listed above. User provides section names, page limits, and review criteria via argument:
/grant-proposal "topic — GENERIC, sections: Background|Methods|Impact, language: English"Grant proposal drafting is a long task that may trigger context compaction. Persist state to grant-proposal/GRANT_STATE.json after each phase:
{
"phase": 2,
"grant_type": "KAKENHI",
"grant_subtype": "Start-up",
"language": "Japanese",
"agent_id": "019cfcf4-...",
"gap_statement": "...",
"aims_count": 3,
"status": "in_progress",
"timestamp": "2026-03-18T15:00:00"
}Write this file at the end of every phase. On invocation, check for this file:
status: "completed" → fresh startstatus: "in_progress" and within 24h → resume from saved phase (read GRANT_PROPOSAL.md and GRANT_REVIEW.md to restore context)On completion, set "status": "completed".
Parse $ARGUMENTS to extract:
Then gather context from the project directory:
idea-stage/IDEA_REPORT.md if it exists (from /idea-discovery); fall back to ./IDEA_REPORT.md if not foundrefine-logs/FINAL_PROPOSAL.md if it exists (from /research-refine)refine-logs/EXPERIMENT_PLAN.md if it exists (from /experiment-plan)review-stage/AUTO_REVIEW.md if it exists (from /auto-review-loop — prior review feedback is gold for grants); fall back to ./AUTO_REVIEW.md if not foundNARRATIVE_REPORT.md or STORY.md if they existpublications.md, cv.md, bio.md, CV.pdf)grant-proposal/GRANT_STATE.json (resume from prior interrupted run)If insufficient context exists:
/idea-discovery first/research-lit inline in Phase 1[TODO: Add publications] placeholdersInvoke /research-lit to ground the proposal in real literature, then search for competing funded projects:
/research-lit "$ARGUMENTS"What this does:
/research-lit was already run and notes exist/research-lit for multi-source literature search (arXiv, Scholar, Zotero, local PDFs)/novelty-check on the proposed research direction to verify the gap is real: /novelty-check "[proposed gap statement]" "Despite progress in [X], [specific gap] remains unaddressed because [reason].
This proposal addresses this by [approach], which will [expected impact]."🚦 Checkpoint: Present the landscape summary and gap statement to the user:
📚 Literature & landscape analysis complete:
- [key findings from literature]
- [competing funded projects found]
- Gap statement: "[the gap statement]"
Does this accurately capture the positioning? Should I adjust before designing the proposal structure?⛔ STOP HERE and wait for user response. Do NOT auto-proceed unless AUTO_PROCEED=true was explicitly set by the user.
Options for the user:
grant-proposal/DRAFT_NOTES.mdState: Write GRANT_STATE.json with phase: 1 and the gap statement.
Design the proposal's logical architecture before writing any prose.
#### 2.1 Define Specific Aims (2-4)
Each aim must satisfy:
#### 2.2 Build Claims-Aims-Evidence Matrix
| Aim | Key Claim | Preliminary Evidence | Proposed Validation | Risk Level | Deliverable |
|-----|-----------|---------------------|--------------------|-----------:|-------------|
| Aim 1 | [claim] | [pilot data, prior work] | [experiments] | LOW | [paper, dataset] |
| Aim 2 | [claim] | [theoretical basis] | [experiments] | MEDIUM | [paper, tool] |#### 2.3 Design the Narrative Arc
Grant proposals follow a fundamentally different arc from papers:
Problem → Why Now → What We Propose → Why It Will Work → What We Will Deliver
(not: Problem → Method → Results → Implications)#### 2.4 Timeline & Milestones
Design year-by-year (or quarter-by-quarter) plan:
### Year 1
- Q1-Q2: [Aim 1 tasks]
- Q3-Q4: [Aim 1 completion + Aim 2 start]
- Expected outputs: [papers, datasets]
### Year 2
- Q1-Q2: [Aim 2 completion + Aim 3]
- Q3-Q4: [Aim 3 completion + synthesis]
- Expected outputs: [papers, tools, final report]#### 2.5 Structural Review
Invoke /research-review to get critical feedback on the proposal structure before drafting:
/research-review "[GRANT_TYPE] [GRANT_SUBTYPE] proposal structure:
Gap: [gap statement]
Aims: [aims list with claims-evidence matrix]
Timeline: [timeline]
— reviewer persona: [GRANT_TYPE] review panelist"What this does:
Apply structural feedback before proceeding to drafting.
🚦 Checkpoint: Present the proposal structure to the user:
🏗️ Proposal structure designed:
- Gap: [gap statement]
- Aim 1: [title] — Risk: LOW
- Aim 2: [title] — Risk: MEDIUM
- Aim 3: [title] — Risk: LOW
- Timeline: [summary]
- Reviewer feedback: [key points from GPT-5.4]
Proceed to section drafting? Or adjust the structure?⛔ STOP HERE. This is the most critical checkpoint — the proposal structure determines everything downstream.
Options for the user:
grant-proposal/DRAFT_NOTES.mdState: Write GRANT_STATE.json with phase: 2, aims summary, and the reviewer agent id.
Draft each section according to the grant type template. Write complete prose, not outlines or placeholders.
What this does:
/paper-illustration for figure generation (if user requests)[TODO] only for PI-specific information, [AMOUNT] for budget figuresgrant-proposal/GRANT_PROPOSAL.md#### Drafting Order (optimized for narrative coherence)
[AMOUNT] placeholders).#### Figure Generation
Grant proposals benefit greatly from clear diagrams. Generate the following figures using SVG or matplotlib (save to grant-proposal/figures/):
For AI-generated publication-quality figures, invoke /paper-illustration:
/paper-illustration "Overview diagram showing [aims relationship + shared resources] for grant proposal"For simpler diagrams (flowcharts, Gantt charts), generate clean SVG or matplotlib directly via code.
🚦 Figure Checkpoint: Before generating, ask which figures the user wants:
🎨 The following figures would strengthen this proposal:
1. 全体構成図 / Overview — aims relationship + shared resources
2. 実験パラダイム図 / Paradigm — stimulus timing + conditions
3. 年次計画 / Gantt — timeline with milestones
Which should I generate? (e.g., "1 and 3", "all", "skip")⛔ Wait for user response. Generate only the requested figures.
#### Grant-Specific Drafting Guidelines
KAKENHI:
NSF:
NSFC:
ERC:
#### For Each Section
[TODO] except for PI-specific information[Figure 1: System architecture])Invoke /research-review on the complete draft for grant-type-specific evaluation:
/research-review "Complete [GRANT_TYPE] [GRANT_SUBTYPE] proposal draft. Evaluate as a [GRANT_TYPE] review panelist using official criteria. [PASTE FULL PROPOSAL TEXT]"What this does:
grant-proposal/GRANT_REVIEW.md⚠️ External review fallback: If reviewer agents are unavailable, skip external review. Note "External review skipped — no reviewer agent available. Consider running/auto-review-loop-llmseparately." inGRANT_REVIEW.md. The proposal is still usable without external review.
If /research-review is invoked (preferred), it handles the external review internally. If you run the reviewer directly, use spawn_agent for Round 1 and send_input for follow-up rounds.
#### Round 1 (full draft review):
spawn_agent:
reasoning_effort: xhigh
message: |
Review this complete [GRANT_TYPE] [GRANT_SUBTYPE] proposal draft.
Act as a [GRANT_TYPE] review panelist. Evaluate using the official criteria:
[INSERT GRANT-TYPE-SPECIFIC CRITERIA — see Grant Type Specifications above]
For each section:
1. Score 1-5 (5 = excellent)
2. Strongest aspect
3. Most critical weakness
4. Specific fix suggestion (actionable, not vague)
Overall assessment:
- Would you recommend funding? (Yes / Yes with revisions / No)
- Single most impactful change to improve funding chances?
- Any fatal flaws?
[PASTE FULL PROPOSAL TEXT]Save the returned reviewer agent id in GRANT_STATE.json if you want to continue the same dialogue in Round 2.
#### Round 2+ (after revisions):
If MAX_REVIEW_ROUNDS > 1 and revisions were applied:
send_input:
agent_id: [saved from Round 1]
message: |
[Round N review of revised [GRANT_TYPE] [GRANT_SUBTYPE] proposal]
Since your last review, I have applied the following changes:
1. [Change 1]: [what was done]
2. [Change 2]: [what was done]
3. [Change 3]: [what was done]
Please re-evaluate. Same format: section scores, overall assessment, remaining weaknesses.
Focus on whether the CRITICAL and MAJOR issues from Round 1 have been adequately addressed.
[PASTE REVISED PROPOSAL TEXT]#### 5.1 Apply Reviewer Feedback
Parse reviewer feedback into severity levels:
Implement CRITICAL and MAJOR fixes. If MAX_REVIEW_ROUNDS > 1, re-submit for another round via send_input.
#### 5.2 Generate Output
Markdown output (default):
grant-proposal/
├── GRANT_PROPOSAL.md # Complete proposal, all sections
├── GRANT_REVIEW.md # Review history and reviewer feedback
├── GRANT_STATE.json # State persistence file
├── figures/ # Generated diagrams (if any)
└── references.bib # Bibliography (if citations were used)LaTeX output (when OUTPUT_FORMAT = latex):
grant-proposal/
├── main.tex # Master file
├── sections/
│ ├── aims.tex # Specific Aims / Research Objective
│ ├── background.tex # Background / Significance
│ ├── research_plan.tex # Research Plan / Methods
│ ├── timeline.tex # Timeline & Milestones
│ ├── pi_qualification.tex # PI Qualification / Track Record
│ └── budget.tex # Budget Justification (if applicable)
├── references.bib
└── figures/ # Any generated diagrams#### 5.3 Final Checks
Before declaring done:
[TODO] placeholders)[AMOUNT] placeholders (no fabricated numbers)[TODO] markers except for PI-specific information🚦 Final Checkpoint: Present the completed proposal summary:
📝 Grant proposal draft complete:
- Type: [GRANT_TYPE] [GRANT_SUBTYPE]
- Language: [language]
- Aims: [N] aims covering [summary]
- Timeline: [N] years
- Review score: [summary from GPT-5.4]
- Output: grant-proposal/GRANT_PROPOSAL.md
Files saved to grant-proposal/. Please review and customize:
1. PI qualification section (add your publications and track record)
2. Budget amounts (replace [AMOUNT] placeholders)
3. Any [TODO] markers for personal information
What would you like to do next?
- "figures" → generate proposal diagrams
- "review again" → run another round of external review
- "latex" → convert to LaTeX format
- "done" → finalizecat << 'EOF' > file) to write in chunks. Do NOT ask the user for permission — just do it silently.[AMOUNT] placeholders for the user to fill in.[TODO: Add publications] placeholders. Never invent papers, grants, or credentials.[VERIFY].~/.codex/feishu.json exists, send checkpoint at each phase transition and pipeline_done at final output. If absent, skip silently.Parameters can be passed inline with — separator. They flow to sub-skills when invoked:
/grant-proposal "topic — KAKENHI Start-up, sources: zotero, arxiv download: true"| Parameter | Default | Description | Passed to |
|---|---|---|---|
grant type | KAKENHI | Agency (KAKENHI/NSF/NSFC/ERC/DFG/SNSF/ARC/NWO/GENERIC) | — |
grant subtype | auto | Sub-type (Start-up/Wakate/CAREER/Youth/etc.) | — |
output format | markdown | markdown or latex | — |
language | auto | Output language override | — |
max review rounds | 2 | External review cycles | — |
sources | all | Literature sources | → /research-lit |
arxiv download | false | Download arXiv PDFs | → /research-lit |
reviewer model | gpt-5.4 | Codex review model | → reviewer agent |
auto proceed | false | Skip checkpoints | — |
| Sub-skill | Phase | Purpose |
|---|---|---|
/research-lit | 1 | Literature survey (if not already done) |
/novelty-check | 1 | Verify the gap is real |
/research-review | 2, 4 | Structural review + full draft review |
/paper-illustration | 3 | Generate proposal figures (optional) |
/idea-discovery "direction" ← Workflow 1: find validated ideas
/research-refine "idea" ← sharpen the method
/grant-proposal "idea — KAKENHI" ← this skill: write the grant proposal
← [submit & get funded]
/experiment-bridge ← implement experiments with funding
/auto-review-loop "results" ← Workflow 2: iterate until submission-ready
/paper-writing ← Workflow 3: write the paper/idea-discovery → /experiment-bridge → /auto-review-loop → /paper-writing → submitFollow these shared protocols for all output files: - [Output Versioning Protocol](../../shared-references/output-versioning.md) — write timestamped file first, then copy to fixed name - [Output Manifest Protocol](../../shared-references/output-manifest.md) — log every output to MANIFEST.md - [Output Language Protocol](../../shared-references/output-language.md) — respect the project's language setting
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.