
author-strategy
Use when analyzing a researcher's publication record from PubMed. Fetches an author's papers, classifies study types and author position, charts the patterns and writes a strategy report, with an optional trajectory-archetype classification. Works from PubMed metadata only.
- Installs
- 114
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/aperivue/medsci-skills --skill author-strategy- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads author-strategy automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
/author-strategy — PubMed Author Strategy Analysis
Work from PubMed metadata and the title/abstract text already fetched — nothing else. Do not
retrieve full text, follow external links, or resolve preprints. Signals that need citations,
citation half-life, venue-impact tier, repository/preprint links, or corresponding-author role are
unavailable and surface as [VERIFY] — never inferred.
Prerequisites
- Python 3.10+ with
biopython,pandas,matplotlib,seaborn, andpyyaml(PyYAML is required by the archetype classifier and the rubric renderer) - Scripts:
${CLAUDE_SKILL_DIR}/fetch_pubmed.py,${CLAUDE_SKILL_DIR}/analyze_patterns.py,${CLAUDE_SKILL_DIR}/pubmed_parse.py(stdlib parser),${CLAUDE_SKILL_DIR}/classify_archetypes.py,${CLAUDE_SKILL_DIR}/render_archetype_doc.py - Rubric:
${CLAUDE_SKILL_DIR}/references/trajectory_archetypes.yaml(canonical) and${CLAUDE_SKILL_DIR}/references/trajectory_archetypes.md(generated)
Workflow
Step 1: Gather Input
Ask the user for:
- Author name (PubMed format, e.g., "Kim DK" or "Lee KS")
- Last name for position classification (auto-detected if ambiguous)
- Output directory (default:
~/.local/cache/author-strategy/{AuthorName}/) - Email for NCBI E-utilities (passed as
--email)
Step 2: Fetch PubMed Data
python "${CLAUDE_SKILL_DIR}/fetch_pubmed.py" "{Author Name}" \
--last-name "{LastName}" \
--output "{output_dir}/data/{name}_publications.csv" \
--email "{user_email}"
Review the console summary (total count, study type distribution, author position). If count is 0, suggest alternative name formats (e.g., "Kim DK" vs "Kim D" vs the full first name) rather than generating data.
Step 3: Generate Visualizations and Report
python "${CLAUDE_SKILL_DIR}/analyze_patterns.py" "{output_dir}/data/{name}_publications.csv" \
--output-dir "{output_dir}/report/" \
--author-name "{Author Name}"
This produces 7 PNG charts (01-07) and analysis_report.md with the strategy breakdown.
Study types come from the keyword rules in pubmed_parse.py, first match in this order: GBD,
SR/MA, NHIS/Claims, Cross-national, National survey, Biobank, AI/ML, Clinical trial, Case report,
Letter/Commentary; anything else is "Other". Present the script's labels as they are — never
reclassify a paper by guess.
Step 4: Interpret and Present
Read analysis_report.md and present to the user; every count and rate comes from that
report or the fetched CSV, never from memory:
- Executive summary: total publications, growth trajectory, most frequent journals (venue-impact tier is
unavailable— never present a "high-tier" rate) - Primary strategy: what study type dominates and why
- Author position analysis: first/last positional rate vs middle (positional heuristic only — not leadership or corresponding-author metadata, which are unavailable here)
- Topic clusters: research focus areas
- ROI quadrant: which study types combine volume with first/last positional rate (chart 07; no venue-tier axis)
- Replication opportunities: which patterns are replicable with Claude Code + public databases
State the classifier's limits when they matter: it is tuned for Korean epidemiology and public health researchers and may undercount specialized study types in other fields, and NHIS studies that lack its keywords fall into "Other".
Known limits: a supplied --orcid or --initials that contradicts every same-surname author on
a paper yields match_basis orcid-conflict / initials-conflict and position unknown (a
namesake is never attributed). The journal_tier CSV column always reads unavailable [VERIFY].
The A3 reporting-quality term list no longer contains claim (it matched "claims database"), so
papers naming only the CLAIM checklist do not count toward dual_mode_corpus.
Step 5: Optional — MA Gap Identification
If the user asks "what MA topics are feasible with this professor?":
- Cross-reference topic clusters with the user's existing MA plans
- Identify gaps where the professor has domain expertise but no MA published
- Output a prioritized list of MA proposals
Optional: Trajectory-Archetype Classification
An opt-in path that classifies the trajectory into abstract career archetypes (A1–A6 + a
composite) as an explainable, multi-label, confidence-scored heuristic — not an objective
verdict, using the canonical rubric references/trajectory_archetypes.yaml.
Step 6: Disambiguation Gate (required before classification)
A surname alone never resolves an author. Pass disambiguators so the target author is uniquely attributed:
python "${CLAUDE_SKILL_DIR}/fetch_pubmed.py" "{Author Name}" \
--initials "{Initials}" --orcid "{ORCID}" \
--affiliation "{Institution}" --year-from "{YYYY}" --year-to "{YYYY}" \
--output "{output_dir}/data/{name}_publications.csv" --email "{user_email}"
This writes the CSV, a candidates.json of affiliation/year candidate clusters, and a
corpus_manifest.json with review_status: pending. Present the candidate clusters to
the user for review. The user decides include/exclude. Only after the user has reviewed
the clusters do you finalize and approve the corpus (the --approve flag is a human gate
— never set it without explicit user review/approval):
python "${CLAUDE_SKILL_DIR}/fetch_pubmed.py" "{Author Name}" \
--initials "{Initials}" --affiliation "{Institution}" \
--include-pmids "{included.txt}" --exclude-pmids "{excluded.txt}" --approve \
--output "{output_dir}/data/{name}_publications.csv" --email "{user_email}"
The manifest is cryptographically bound to the CSV (csv_sha256 + pmid_set_hash); the
classifier refuses to run on an unapproved or mismatched corpus.
Step 7: Run the Classifier and Present
python "${CLAUDE_SKILL_DIR}/classify_archetypes.py" \
"{output_dir}/data/{name}_publications.csv" \
--manifest "{output_dir}/data/corpus_manifest.json" \
--rubric "${CLAUDE_SKILL_DIR}/references/trajectory_archetypes.yaml" \
--output-dir "{output_dir}/report/"
Read archetype_report.md and present it to the user, stating up front that the labels
are explainable heuristics, not objective classifications. For each surfaced archetype,
show the score, confidence band, and the author's own evidence PMIDs. Honor the [VERIFY]
markers (h-index/citation/venue-tier are unavailable) and the A5 participation flag. List
the insufficient evidence archetypes too — below the minimum sample or with conflicting
signals, never force a label.
To retune the rubric, edit only the YAML and regenerate the narrative doc:
python "${CLAUDE_SKILL_DIR}/render_archetype_doc.py" # regenerate the .md
python "${CLAUDE_SKILL_DIR}/render_archetype_doc.py" --check # CI/test sync gate
Output Structure
{output_dir}/
data/
{name}_publications.csv
candidates.json # disambiguation candidate clusters (Step 6)
corpus_manifest.json # review_status + csv_sha256 + pmid_set_hash (Step 6)
report/
analysis_report.md
01_yearly_stacked.png
02_study_type_pie.png
03_author_position.png
04_journal_heatmap.png
05_topic_distribution.png
06_growth_curve.png
07_strategy_roi.png
archetype_report.md # trajectory-archetype classification (Step 7)
archetype_results.json # machine-readable labels + scores + evidence
FAQ
What does the author-strategy skill do?
Use when analyzing a researcher's publication record from PubMed. Fetches an author's papers, classifies study types and author position, charts the patterns and writes a strategy report, with an optional trajectory-archetype classification. Works from PubMed metadata only.
How do I install author-strategy?
Run npx skills add https://github.com/aperivue/medsci-skills --skill author-strategy in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/author-strategy/ (personal) or .claude/skills/author-strategy/ (project).
Which AI agents can use author-strategy?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is author-strategy safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains author-strategy?
It is published by aperivue in aperivue/medsci-skills. It has 114 recorded installs.
More from aperivue/medsci-skills
check-reporting
aperivue/medsci-skills
Use when auditing a manuscript item by item against a reporting guideline or risk-of-bias tool. Covers 49 reporting guidelines and risk-of-bias tools (STROBE, CONSORT, STARD, TRIPOD+AI, PRISMA, QUADAS and more), marking each item PRESENT, PARTIAL or MISSING. Not a reviewer critique (/self-review).
meta-analysis
aperivue/medsci-skills
Use when running a systematic review and meta-analysis, DTA or intervention. Covers PROSPERO protocol, search, screening, extraction, risk of bias (QUADAS-3, RoB 2, ROBINS-I), bivariate/HSROC or random-effects pooling, forest plots, heterogeneity and PRISMA reporting. Topic scouting is /ma-scout.
make-figures
aperivue/medsci-skills
Use when a paper needs publication-ready figures or a visual abstract. Makes ROC, forest, calibration, Kaplan-Meier and Bland-Altman plots, CONSORT/STARD/PRISMA flow diagrams, confusion matrices, pipeline diagrams and journal visual abstracts, checking the journal's AI-image policy first.
analyze-stats
aperivue/medsci-skills
Use when data needs statistical analysis. Runs reproducible Python/R code for Table 1, diagnostic accuracy, agreement, regression, survival, propensity score, survey-weighted and repeated-measures models, with publication tables. Sample size is /calc-sample-size; pooling studies is /meta-analysis.
verify-refs
aperivue/medsci-skills
Use when checking whether a manuscript's references are real. Audits each citation against PubMed and CrossRef, flags fabricated or mismatched entries and writes qc/referenceaudit.json. Audit-only; never edits references or refs.bib. Citation-key checks are /manage-refs.
search-lit
aperivue/medsci-skills
Use when finding papers or building a reference list. Searches PubMed, Semantic Scholar and bioRxiv/medRxiv, includes only references verified through an API, and generates BibTeX. Auditing an existing reference list is /verify-refs.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
slideshow
heygen-com/hyperframes
Build a HyperFrames slideshow to present live - slides, fragment reveals, branching hotspots and presenter mode with speaker notes, served by hyperframes present - or turn an existing page into one. Use when the person wants a deck or presentation rather than a rendered video.
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.