pi-literature
v0.1.0
Published
Biomedical literature discovery skills for Pi: PubMed, PMC Open Access, bioRxiv, and medRxiv.
Maintainers
Readme
Pi Life Sciences Literature
pi-literature is a Pi package mirroring the focused
Life Sciences Literature Codex plugin. It provides three on-demand skills:
biorxiv-skill— compact bioRxiv and medRxiv metadata and publication linkagencbi-entrez-skill— PubMed search, summaries, fetches, and PubMed-to-PubMed linksncbi-pmc-skill— PMC Article Dataset Open Access, license, retraction, and file metadata
The package uses Node's built-in fetch (Node 18.17 or newer), so installation
does not require Python or third-party runtime packages. Each skill reads one
JSON object from stdin and writes one JSON object to stdout. Raw upstream bytes
are saved unchanged when save_raw is requested.
Install
From this checkout:
pi install .From npm after publishing:
pi install npm:pi-literaturePi discovers the skills from the package's pi.skills manifest. They can also
be invoked explicitly as /skill:biorxiv-skill, /skill:ncbi-entrez-skill, or
/skill:ncbi-pmc-skill.
Development
npm test
npm run validateThe source-presentation contract keeps provenance evidence separate from checked-only connectivity/metadata responses, emits deterministic canonical links for supported DOI/PMID/PMCID identifiers, redacts private query values, and never rewrites requested raw HTTP bytes.
Security
The skills call public biomedical APIs and execute local helper scripts. Review the package before installing it, as Pi packages and skills run with the permissions of the Pi process.
