Openalex citation chain starter
Skill ma-compbio-lab/SkillFoundry/skills/scientific-knowledge/openalex-citation-chain-starter
A framework for discovering, compiling, and validating reusable skills for scientific agents.From the repository description
npx -y skills add ma-compbio-lab/SkillFoundry --skill openalex-citation-chain-starterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 263 tokens by cl100k_base, as published. Nobody here has run it
OpenAlex Citation Chain Starter
Use this skill to look up a seed paper in OpenAlex and summarize both upstream references and downstream citing works.
What it does
- Resolves a DOI or OpenAlex work ID through the official OpenAlex API.
- Summarizes the seed paper's title, year, DOI, and citation counts.
- Fetches a small citing-work slice and a small referenced-work slice for deterministic citation-chain inspection.
- Writes compact JSON that can feed later literature-triage or method-mining workflows.
When to use it
- You need a verified starter for
citation chaining. - You want machine-readable citation context for a canonical paper before deeper review or ranking.
Example
python3 skills/scientific-knowledge/openalex-citation-chain-starter/scripts/run_openalex_citation_chain.py \
--work-id 10.1038/nature12373 \
--limit 3 \
--out scratch/openalex-citation-chain/hallmarks_citation_chain.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/scientific-knowledge/openalex-citation-chain-starter/tests -p 'test_*.py' - Repository smoke target:
make smoke-openalex-citation-chain
What ships with it: 6 files
18.8 KB alongside SKILL.md, 2 of them executable
assets/
examples/
scripts/
- run_openalex_citation_chain.pyruns8.1 KB
tests/
- test_run_openalex_citation_chain.pyruns2.2 KB
- metadata.yaml1.2 KB
- refs.md183 B