Source: https://github.com/aipoch/medical-research-skills
Blind Review Sanitizer
Structured manuscript anonymization for double-blind peer review.
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
When to Use
- Use this skill when the task needs removal or review of author-identifying content in manuscripts prepared for double-blind submission.
- Use this skill for academic writing tasks that require explicit assumptions, bounded scope, and a reproducible output format.
- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.
Workflow
- Confirm the submission target, source file type, anonymization strictness, and whether acknowledgments should be preserved.
- Check whether the provided material is a supported file format and whether author names or known identifiers are available.
- Use the packaged script for supported files; otherwise produce a manual anonymization checklist without claiming full sanitization.
- Return the sanitized artifact or a verification plan that separates changes made, remaining risks, and manual review points.
- If the request lacks a file path or enough identifiers, stop and request the minimum missing input.
Use Cases
- Blind a manuscript before conference submission
- Review acknowledgments and self-citations for deanonymization risk
- Produce a manual anonymity checklist when automated processing is not possible
Parameters
| Parameter |
Type |
Required |
Default |
Description |
--input, -i |
string |
Yes |
- |
Input manuscript file path (.docx, .md, .txt) |
--output, -o |
string |
No |
auto-generated |
Output path with blinded suffix when omitted |
--authors |
string |
No |
- |
Comma-separated author names for stronger detection |
--keep-acknowledgments |
flag |
No |
false |
Preserve acknowledgment section |
--highlight-self-cites |
flag |
No |
false |
Highlight self-citations without replacement |
Returns
- Sanitized manuscript file for supported formats
- Summary of removed identifiers when available
- Explicit note when manual verification is still required
Example
python scripts/main.py --input manuscript.md --authors "Alice Chen,Bob Smith"
Risk Assessment
| Risk Indicator |
Assessment |
Level |
| Code Execution |
Local Python script execution only |
Medium |
| Network Access |
No external API calls |
Low |
| File System Access |
Reads manuscript files and writes blinded output |
Medium |
| Instruction Tampering |
Standard prompt-guided workflow |
Low |
| Data Exposure |
Sensitive manuscript content remains local to workspace |
Medium |
Security Checklist
Prerequisites
Optional dependency: python-docx is required only for .docx processing.
Evaluation Criteria
Success Metrics
Test Cases
- Basic Functionality: Help output and script parse succeed
- Edge Case: Missing file path triggers explicit stop condition
- Output Quality: Remaining anonymity risks are called out clearly
Lifecycle Status
- Current Stage: Draft
- Next Review Date: 2026-03-20
- Known Issues: File metadata and embedded image review still require manual checks
- Planned Improvements:
- Safer sample-file smoke test for richer audit coverage
- More explicit metadata cleanup guidance
Output Requirements
Every final response should make these items explicit when they are relevant:
- Objective or requested deliverable
- Inputs used and assumptions introduced
- Workflow or decision path
- Core result, recommendation, or artifact
- Constraints, risks, caveats, or validation needs
- Unresolved items and next-step checks
Error Handling
- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
- If
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
- Do not fabricate files, citations, data, search results, or execution outcomes.
Input Validation
This skill accepts requests that match the documented purpose of blind-review-sanitizer 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:
blind-review-sanitizer only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
References
- references/audit-reference.md - Supported scope, audit commands, and fallback boundaries
Response Template
Use the following fixed structure for non-trivial requests:
- Objective
- Inputs Received
- Assumptions
- Workflow
- Deliverable
- Risks and Limits
- 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
- Do not proceed when required input files, identifiers, parameters, or context are missing — ask the user to provide them first.
- Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.
- Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.
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
- Primary output: Structured result or target file aligned with this skill's objective.
- Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.
- Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.
- If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.
Failure Handling
- Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.
- Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions — do not silently degrade.
- Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.
User Checkpoints
- Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
- Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.
Quick Validation
- Check that key scripts, templates, or reference file paths this skill depends on exist.
- Check that the final output contains the core fields, sections, or files specified for this task.
- Check that results clearly mark assumptions, limitations, and incomplete items.
1---2name: blind-review-sanitizer3description: Use blind-review-sanitizer for academic writing workflows that need structured anonymization, explicit assumptions, and clear output boundaries for double-blind submission.4license: MIT5---6> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
7
8# Blind Review Sanitizer
9
10Structured manuscript anonymization for double-blind peer review.
11
12## Quick Check
13
14Use this command to verify that the packaged script entry point can be parsed before deeper execution.
15
16```bash
17python -m py_compile scripts/main.py
18```
19
20## Audit-Ready Commands
21
22Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
23
24```bash
25python -m py_compile scripts/main.py
26python scripts/main.py --help
27```
28
29## When to Use
30
31- Use this skill when the task needs removal or review of author-identifying content in manuscripts prepared for double-blind submission.
32- Use this skill for academic writing tasks that require explicit assumptions, bounded scope, and a reproducible output format.
33- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.
34
35## Workflow
36
371. Confirm the submission target, source file type, anonymization strictness, and whether acknowledgments should be preserved.
382. Check whether the provided material is a supported file format and whether author names or known identifiers are available.
393. Use the packaged script for supported files; otherwise produce a manual anonymization checklist without claiming full sanitization.
404. Return the sanitized artifact or a verification plan that separates changes made, remaining risks, and manual review points.
415. If the request lacks a file path or enough identifiers, stop and request the minimum missing input.
42
43## Use Cases
44
45- Blind a manuscript before conference submission
46- Review acknowledgments and self-citations for deanonymization risk
47- Produce a manual anonymity checklist when automated processing is not possible
48
49## Parameters
50
51| Parameter | Type | Required | Default | Description |
52|-----------|------|----------|---------|-------------|
53| `--input`, `-i` | string | Yes | - | Input manuscript file path (`.docx`, `.md`, `.txt`) |
54| `--output`, `-o` | string | No | auto-generated | Output path with blinded suffix when omitted |
55| `--authors` | string | No | - | Comma-separated author names for stronger detection |
56| `--keep-acknowledgments` | flag | No | false | Preserve acknowledgment section |
57| `--highlight-self-cites` | flag | No | false | Highlight self-citations without replacement |
58
59## Returns
60
61- Sanitized manuscript file for supported formats
62- Summary of removed identifiers when available
63- Explicit note when manual verification is still required
64
65## Example
66
67`python scripts/main.py --input manuscript.md --authors "Alice Chen,Bob Smith"`
68
69## Risk Assessment
70
71| Risk Indicator | Assessment | Level |
72|----------------|------------|-------|
73| Code Execution | Local Python script execution only | Medium |
74| Network Access | No external API calls | Low |
75| File System Access | Reads manuscript files and writes blinded output | Medium |
76| Instruction Tampering | Standard prompt-guided workflow | Low |
77| Data Exposure | Sensitive manuscript content remains local to workspace | Medium |
78
79## Security Checklist
80
81- [ ] No hardcoded credentials or API keys
82- [ ] No unauthorized file system access (`../`)
83- [ ] Sensitive manuscript content stays within approved workspace
84- [ ] Input file paths validated before processing
85- [ ] Output file path reviewed before overwrite
86- [ ] Error messages do not fabricate successful sanitization
87- [ ] Manual review required before submission
88- [ ] Metadata cleanup handled separately when needed
89
90## Prerequisites
91
92Optional dependency: `python-docx` is required only for `.docx` processing.
93
94## Evaluation Criteria
95
96### Success Metrics
97- [ ] Script path parses successfully
98- [ ] Help output documents supported options
99- [ ] Sanitization stays within double-blind preparation scope
100- [ ] Missing file or missing identifiers trigger bounded fallback
101
102### Test Cases
1031. **Basic Functionality**: Help output and script parse succeed
1042. **Edge Case**: Missing file path triggers explicit stop condition
1053. **Output Quality**: Remaining anonymity risks are called out clearly
106
107## Lifecycle Status
108
109- **Current Stage**: Draft
110- **Next Review Date**: 2026-03-20
111- **Known Issues**: File metadata and embedded image review still require manual checks
112- **Planned Improvements**:
113 - Safer sample-file smoke test for richer audit coverage
114 - More explicit metadata cleanup guidance
115
116## Output Requirements
117
118Every final response should make these items explicit when they are relevant:
119
120- Objective or requested deliverable
121- Inputs used and assumptions introduced
122- Workflow or decision path
123- Core result, recommendation, or artifact
124- Constraints, risks, caveats, or validation needs
125- Unresolved items and next-step checks
126
127## Error Handling
128
129- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
130- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
131- If `scripts/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
132- Do not fabricate files, citations, data, search results, or execution outcomes.
133
134## Input Validation
135
136This skill accepts requests that match the documented purpose of `blind-review-sanitizer` and include enough context to complete the workflow safely.
137
138Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
139
140> `blind-review-sanitizer` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
141
142## References
143
144- [references/audit-reference.md](references/audit-reference.md) - Supported scope, audit commands, and fallback boundaries
145
146## Response Template
147
148Use the following fixed structure for non-trivial requests:
149
1501. Objective
1512. Inputs Received
1523. Assumptions
1534. Workflow
1545. Deliverable
1556. Risks and Limits
1567. Next Checks
157
158If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
159
160## When Not to Use
161
162- Do not proceed when required input files, identifiers, parameters, or context are missing — ask the user to provide them first.
163- Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.
164- Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.
165
166## Required Inputs
167
168| Field | Required | Format/Source | Example | If Missing |
169|---|---|---|---|---|
170| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |
171| 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 |
172| Output preference | No | Text | Language, format, target journal, template | Use skill default format |
173
174## Output Contract
175
176- Primary output: Structured result or target file aligned with this skill's objective.
177- Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.
178- Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.
179- If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.
180
181## Failure Handling
182
183- Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.
184- Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions — do not silently degrade.
185- Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.
186
187## User Checkpoints
188
189- Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
190- Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.
191
192## Quick Validation
193
194- Check that key scripts, templates, or reference file paths this skill depends on exist.
195- Check that the final output contains the core fields, sections, or files specified for this task.
196- Check that results clearly mark assumptions, limitations, and incomplete items.