Source: https://github.com/aipoch/medical-research-skills
Retraction Watcher
A specialized skill for identifying retracted, corrected, or questionable papers in academic reference lists before they compromise research integrity.
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 Automatically scan document reference lists and check against Retraction.
- Use this skill for evidence insight 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 user objective, required inputs, and non-negotiable constraints before doing detailed work.
- Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
- Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
- Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
- If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.
Purpose
Academic misconduct and errors can lead to paper retractions. Citing retracted work undermines research credibility. This skill:
- Scans reference lists from manuscripts, papers, or bibliographies
- Cross-checks citations against Retraction Watch and other retraction databases
- Identifies papers with retraction notices, expressions of concern, or corrections
- Provides detailed reports with retraction reasons and dates
Trigger Conditions
Activate this skill when:
- User provides a document with references and asks to check for retractions
- User explicitly requests "check my references" or "scan for retracted papers"
- User submits a bibliography or reference list for verification
- Pre-submission manuscript review is requested
- User wants to verify citation integrity
Input Format
Accepted inputs:
- PDF files (manuscripts, papers, theses)
- Plain text files (.txt, .bib, .ris)
- Raw text containing reference lists
- URLs to papers or reference lists
- Clipboard content with citations
Output Format
Report Header
🔍 RETRACTION WATCH REPORT
Documents Scanned: [N]
References Found: [N]
Check Date: [YYYY-MM-DD]
Status Categories
🔴 RETRACTED - Paper has been officially retracted
- Reason for retraction
- Retraction date
- Original DOI/PMID
- Recommended action: Remove citation
🟡 EXPRESSION OF CONCERN - Journal has raised concerns
- Nature of concern
- Date issued
- Recommended action: Verify current status, consider alternative sources
🟠 CORRECTED - Paper has published corrections/errata
- Correction details
- Date of correction
- Recommended action: Check if correction affects cited claims
🟢 CLEAR - No retraction issues found
Technical Approach
Citation Parsing Strategy
- Format Detection: Identify citation style (APA, MLA, Vancouver, Chicago, etc.)
- Field Extraction: Parse DOI, PMID, title, authors, journal, year
- Identifier Resolution: Normalize DOIs (remove prefixes, validate format)
- Title Matching: Extract article titles for fuzzy matching
Database Checking
- Retraction Watch Database - Primary source for retraction data
- Crossref API - Retraction metadata via "update-type: retraction"
- PubMed API - Retraction notices via publication type filters
- Open Retractions - Aggregated retraction data
Matching Algorithm
- Exact Match: DOI/PMID exact match (highest confidence)
- Title Match: Normalized title comparison (90%+ similarity threshold)
- Author + Year: Secondary verification for ambiguous matches
- Fuzzy Matching: Handle minor title variations and typos
Difficulty Level
Medium-High - Requires:
- Robust citation parsing across multiple formats
- API integration with retraction databases
- Handling of partial/incomplete citation data
- Fuzzy matching for title-based lookups
- Rate limiting and caching for API calls
Quality Criteria
A successful scan must:
Limitations
- Requires internet connection for database lookups
- Rate limits may apply to free API tiers
- Very recent retractions (<48 hours) may not be indexed
- Title-only matching may produce false positives with similar titles
- Non-English papers may have limited coverage
- Preprint citations (arXiv, bioRxiv) typically not tracked for retractions
Example Usage
# Check a PDF manuscript
python scripts/main.py --input manuscript.pdf --format detailed
# Check a BibTeX file
python scripts/main.py --input references.bib --output report.txt
# Check raw text
python scripts/main.py --text "[paste references here]"
# Quick check with summary only
python scripts/main.py --input paper.pdf --format summary
Data Sources
References
See references/ for:
citation-formats.md: Supported citation format specifications
api-documentation.md: Database API reference and rate limits
example-reports/: Sample output reports for testing
Author: AI Assistant
Version: 1.0
Last Updated: 2026-02-06
Status: Ready for use
Requires: Internet connection for database lookups
Risk Assessment
| Risk Indicator |
Assessment |
Level |
| Code Execution |
Python scripts with tools |
High |
| Network Access |
External API calls |
High |
| File System Access |
Read/write data |
Medium |
| Instruction Tampering |
Standard prompt guidelines |
Low |
| Data Exposure |
Data handled securely |
Medium |
Security Checklist
Prerequisites
# Python dependencies
pip install -r requirements.txt
Evaluation Criteria
Success Metrics
Test Cases
- 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
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 retraction-watcher 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:
retraction-watcher 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: retraction-watcher3description: Automatically scan reference lists and check whether cited papers have been retracted, corrected, or flagged; use before submission, review, or evidence synthesis to reduce citation risk.4license: MIT5---6> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
7
8# Retraction Watcher
9
10A specialized skill for identifying retracted, corrected, or questionable papers in academic reference lists before they compromise research integrity.
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 Automatically scan document reference lists and check against Retraction.
32- Use this skill for evidence insight 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 user objective, required inputs, and non-negotiable constraints before doing detailed work.
382. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
393. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
404. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
415. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.
42
43## Purpose
44
45Academic misconduct and errors can lead to paper retractions. Citing retracted work undermines research credibility. This skill:
46- Scans reference lists from manuscripts, papers, or bibliographies
47- Cross-checks citations against Retraction Watch and other retraction databases
48- Identifies papers with retraction notices, expressions of concern, or corrections
49- Provides detailed reports with retraction reasons and dates
50
51## Trigger Conditions
52
53Activate this skill when:
541. User provides a document with references and asks to check for retractions
552. User explicitly requests "check my references" or "scan for retracted papers"
563. User submits a bibliography or reference list for verification
574. Pre-submission manuscript review is requested
585. User wants to verify citation integrity
59
60## Input Format
61
62Accepted inputs:
63- PDF files (manuscripts, papers, theses)
64- Plain text files (.txt, .bib, .ris)
65- Raw text containing reference lists
66- URLs to papers or reference lists
67- Clipboard content with citations
68
69## Output Format
70
71### Report Header
72```
73🔍 RETRACTION WATCH REPORT
74Documents Scanned: [N]
75References Found: [N]
76Check Date: [YYYY-MM-DD]
77```
78
79### Status Categories
80
81**🔴 RETRACTED** - Paper has been officially retracted
82- Reason for retraction
83- Retraction date
84- Original DOI/PMID
85- Recommended action: Remove citation
86
87**🟡 EXPRESSION OF CONCERN** - Journal has raised concerns
88- Nature of concern
89- Date issued
90- Recommended action: Verify current status, consider alternative sources
91
92**🟠 CORRECTED** - Paper has published corrections/errata
93- Correction details
94- Date of correction
95- Recommended action: Check if correction affects cited claims
96
97**🟢 CLEAR** - No retraction issues found
98
99## Technical Approach
100
101### Citation Parsing Strategy
1021. **Format Detection**: Identify citation style (APA, MLA, Vancouver, Chicago, etc.)
1032. **Field Extraction**: Parse DOI, PMID, title, authors, journal, year
1043. **Identifier Resolution**: Normalize DOIs (remove prefixes, validate format)
1054. **Title Matching**: Extract article titles for fuzzy matching
106
107### Database Checking
1081. **Retraction Watch Database** - Primary source for retraction data
1092. **Crossref API** - Retraction metadata via "update-type: retraction"
1103. **PubMed API** - Retraction notices via publication type filters
1114. **Open Retractions** - Aggregated retraction data
112
113### Matching Algorithm
114- **Exact Match**: DOI/PMID exact match (highest confidence)
115- **Title Match**: Normalized title comparison (90%+ similarity threshold)
116- **Author + Year**: Secondary verification for ambiguous matches
117- **Fuzzy Matching**: Handle minor title variations and typos
118
119## Difficulty Level
120
121**Medium-High** - Requires:
122- Robust citation parsing across multiple formats
123- API integration with retraction databases
124- Handling of partial/incomplete citation data
125- Fuzzy matching for title-based lookups
126- Rate limiting and caching for API calls
127
128## Quality Criteria
129
130A successful scan must:
131- [ ] Parse >90% of citations correctly from standard formats
132- [ ] Achieve <1% false positive rate on retraction detection
133- [ ] Provide actionable recommendations for each flagged citation
134- [ ] Handle missing DOIs/PMIDs via title matching fallback
135- [ ] Complete checks within reasonable time (<30s for 50 references)
136- [ ] Preserve reference numbering for easy identification
137
138## Limitations
139
140- Requires internet connection for database lookups
141- Rate limits may apply to free API tiers
142- Very recent retractions (<48 hours) may not be indexed
143- Title-only matching may produce false positives with similar titles
144- Non-English papers may have limited coverage
145- Preprint citations (arXiv, bioRxiv) typically not tracked for retractions
146
147## Example Usage
148
149```python
150# Check a PDF manuscript
151python scripts/main.py --input manuscript.pdf --format detailed
152
153# Check a BibTeX file
154python scripts/main.py --input references.bib --output report.txt
155
156# Check raw text
157python scripts/main.py --text "[paste references here]"
158
159# Quick check with summary only
160python scripts/main.py --input paper.pdf --format summary
161```
162
163## Data Sources
164
165- **Retraction Watch Database**: https://retractionwatch.com/
166- **Crossref API**: https://api.crossref.org/
167- **PubMed E-utilities**: https://www.ncbi.nlm.nih.gov/home/develop/api/
168- **Open Retractions**: https://openretractions.com/
169
170## References
171
172See `references/` for:
173- `citation-formats.md`: Supported citation format specifications
174- `api-documentation.md`: Database API reference and rate limits
175- `example-reports/`: Sample output reports for testing
176
177---
178
179**Author**: AI Assistant
180**Version**: 1.0
181**Last Updated**: 2026-02-06
182**Status**: Ready for use
183**Requires**: Internet connection for database lookups
184
185## Risk Assessment
186
187| Risk Indicator | Assessment | Level |
188|----------------|------------|-------|
189| Code Execution | Python scripts with tools | High |
190| Network Access | External API calls | High |
191| File System Access | Read/write data | Medium |
192| Instruction Tampering | Standard prompt guidelines | Low |
193| Data Exposure | Data handled securely | Medium |
194
195## Security Checklist
196
197- [ ] No hardcoded credentials or API keys
198- [ ] No unauthorized file system access (../)
199- [ ] Output does not expose sensitive information
200- [ ] Prompt injection protections in place
201- [ ] API requests use HTTPS only
202- [ ] Input validated against allowed patterns
203- [ ] API timeout and retry mechanisms implemented
204- [ ] Output directory restricted to workspace
205- [ ] Script execution in sandboxed environment
206- [ ] Error messages sanitized (no internal paths exposed)
207- [ ] Dependencies audited
208- [ ] No exposure of internal service architecture
209
210## Prerequisites
211
212```text
213# Python dependencies
214pip install -r requirements.txt
215```
216
217## Evaluation Criteria
218
219### Success Metrics
220- [ ] Successfully executes main functionality
221- [ ] Output meets quality standards
222- [ ] Handles edge cases gracefully
223- [ ] Performance is acceptable
224
225### Test Cases
2261. **Basic Functionality**: Standard input → Expected output
2272. **Edge Case**: Invalid input → Graceful error handling
2283. **Performance**: Large dataset → Acceptable processing time
229
230## Lifecycle Status
231
232- **Current Stage**: Draft
233- **Next Review Date**: 2026-03-06
234- **Known Issues**: None
235- **Planned Improvements**:
236 - Performance optimization
237 - Additional feature support
238
239## Output Requirements
240
241Every final response should make these items explicit when they are relevant:
242
243- Objective or requested deliverable
244- Inputs used and assumptions introduced
245- Workflow or decision path
246- Core result, recommendation, or artifact
247- Constraints, risks, caveats, or validation needs
248- Unresolved items and next-step checks
249
250## Error Handling
251
252- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
253- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
254- If `scripts/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
255- Do not fabricate files, citations, data, search results, or execution outcomes.
256
257## Input Validation
258
259This skill accepts requests that match the documented purpose of `retraction-watcher` and include enough context to complete the workflow safely.
260
261Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
262
263> `retraction-watcher` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
264
265
266## References
267
268- [references/audit-reference.md](references/audit-reference.md) - Supported scope, audit commands, and fallback boundaries
269
270## Response Template
271
272Use the following fixed structure for non-trivial requests:
273
2741. Objective
2752. Inputs Received
2763. Assumptions
2774. Workflow
2785. Deliverable
2796. Risks and Limits
2807. Next Checks
281
282If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
283
284## When Not to Use
285
286- Do not proceed when required input files, identifiers, parameters, or context are missing — ask the user to provide them first.
287- Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.
288- Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.
289
290## Required Inputs
291
292| Field | Required | Format/Source | Example | If Missing |
293|---|---|---|---|---|
294| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |
295| 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 |
296| Output preference | No | Text | Language, format, target journal, template | Use skill default format |
297
298## Output Contract
299
300- Primary output: Structured result or target file aligned with this skill's objective.
301- Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.
302- 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.
303- If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.
304
305## Failure Handling
306
307- Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.
308- Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions — do not silently degrade.
309- Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.
310
311## User Checkpoints
312
313- Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
314- Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.
315
316## Quick Validation
317
318- Check that key scripts, templates, or reference file paths this skill depends on exist.
319- Check that the final output contains the core fields, sections, or files specified for this task.
320- Check that results clearly mark assumptions, limitations, and incomplete items.