Grant mock reviewer

From aipoch/medical-research-skills · View interactive version

Grant mock reviewer is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Simulate structured grant peer review for biomedical proposals; use when stress-testing significance, innovation, approach, feasibility, and reviewer-facing weaknesses before submission.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Grant Mock Reviewer

A simulated NIH study section reviewer that provides structured, rigorous critique of grant proposals using the official NIH scoring criteria and methodology.

Quick Check

Use this command to verify that the packaged script entry point can be parsed before deeper execution.

python -m py_compile scripts/main.py

Audit-Ready Commands

Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.

python -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py -h
python scripts/main.py --help

When to Use

Workflow

  1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.
  2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Capabilities

  1. NIH Scoring Rubric Application: Official 1-9 scale scoring across all 5 criteria
  2. Weakness Identification: Systematic detection of common proposal flaws
  3. Critique Generation: Structured written critiques for each review criterion
  4. Summary Statement: Complete mock Summary Statement output
  5. Revision Guidance: Prioritized, actionable recommendations for improvement

Usage

Command Line

# Full mock review with Summary Statement
python3 scripts/main.py --input proposal.pdf --format pdf --output review.md

# Review Specific Aims only
python3 scripts/main.py --input aims.pdf --section aims --output aims_review.md

# Targeted review (specific criterion focus)
python3 scripts/main.py --input proposal.pdf --focus approach --output approach_critique.md

# Generate NIH-style scores only
python3 scripts/main.py --input proposal.pdf --scores-only --output scores.json

# Compare before/after revision
python3 scripts/main.py --original original.pdf --revised revised.pdf --compare

As Library

from scripts.main import GrantMockReviewer

reviewer = GrantMockReviewer()
result = reviewer.review(
    proposal_text=proposal_content,
    grant_type="R01",
    section="full"
)
print(result.summary_statement)
print(result.scores)

Parameters

| Parameter | Type | Default | Required | Description |

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

| --input | string | - | Yes | Path to proposal file (PDF, DOCX, TXT, MD) |

| --format | string | auto | No | Input file format (pdf, docx, txt, md) |

| --section | string | full | No | Section to review (full, aims, significance, innovation, approach) |

| --grant-type | string | R01 | No | Grant mechanism (R01, R21, R03, K99, F32) |

| --focus | string | - | No | Focus on specific criterion (significance, investigator, innovation, approach, environment) |

| --scores-only | flag | false | No | Output scores only (JSON) |

| --output, -o | string | stdout | No | Output file path |

| --original | string | - | No | Original proposal for comparison |

| --revised | string | - | No | Revised proposal for comparison |

| --compare | flag | false | No | Enable comparison mode |

NIH Scoring System

Overall Impact Score (1-9)

The single most important score reflecting the likelihood of the project to exert a sustained, powerful influence on the research field.

| Score | Descriptor | Likelihood of Funding |

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

| 1 | Exceptional | Very High |

| 2 | Outstanding | High |

| 3 | Excellent | Good |

| 4 | Very Good | Moderate |

| 5 | Good | Low-Moderate |

| 6 | Satisfactory | Low |

| 7 | Fair | Very Low |

| 8 | Marginal | Unlikely |

| 9 | Poor | Not Fundable |

Individual Criteria (1-9 each)

  1. Significance: Does the project address an important problem? Will scientific knowledge be advanced?
  2. Investigator(s): Are the PIs well-suited? Adequate experience and training?
  3. Innovation: Does it challenge current paradigms? Novel concepts, approaches, methods?
  4. Approach: Sound research design? Appropriate methods? Adequate controls? Address pitfalls?
  5. Environment: Adequate institutional support? Scientific environment conducive to success?

Score Interpretation

Review Output Format

1. Score Summary

Overall Impact: [Score] - [Descriptor]

Criterion Scores:
- Significance: [Score]
- Investigator(s): [Score]
- Innovation: [Score]
- Approach: [Score]
- Environment: [Score]

2. Strengths

Bullet-point list of major strengths by criterion

3. Weaknesses

Bullet-point list of major weaknesses by criterion

4. Detailed Critique

Paragraph-form critique for each criterion following NIH style

5. Summary Statement

Complete narrative synthesis of the review

6. Revision Recommendations

Prioritized, actionable suggestions for improvement

Common Weaknesses Detected

Significance

Investigator

Innovation

Approach

Environment

Technical Difficulty

High - Requires deep understanding of NIH peer review processes, ability to apply standardized scoring rubrics consistently, and generation of clinically/scientifically accurate critique across diverse research domains.

Review Required: Human verification recommended before deployment in production settings.

References

Best Practices for Users

  1. Provide Complete Proposals: The tool works best with full Research Strategy sections
  2. Include Preliminary Data: Approach critique depends on feasibility evidence
  3. Review Multiple Times: Use iteratively as you revise
  4. Compare Versions: Track improvement between drafts
  5. Consider Multiple Perspectives: Supplement with human reviewer feedback

Limitations

  1. Cannot access external literature to verify claims
  2. May not capture domain-specific methodological nuances
  3. Scoring is simulated and may not match actual study section scores
  4. Best used as preparatory tool, not replacement for human review

Version

1.0.0 - Initial release with NIH R01/R21/R03 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

Prerequisites

# Python dependencies
pip install -r requirements.txt

Evaluation Criteria

Success Metrics

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

Output Requirements

Every final response should make these items explicit when they are relevant:

Error Handling

Input Validation

This skill accepts requests that match the documented purpose of grant-mock-reviewer and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

grant-mock-reviewer only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Response Template

Use the following fixed structure for non-trivial requests:

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks

If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.

When Not to Use

Required Inputs

| Field | Required | Format/Source | Example | If Missing |

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

| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |

| Primary input material | Depends on task | Text, file path, ID, table, or literature | PMID, PDF, CSV, DOCX, keywords, etc. | Specify which material type is missing |

| Output preference | No | Text | Language, format, target journal, template | Use skill default format |

Output Contract

Failure Handling

User Checkpoints

Quick Validation

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.