vimalinx/bio-agent / .claude/skills/archive-pids
archive-pids
VerifiedUse when maintaining a local PubMed-to-PMCID postings archive for offline identifier crosswalks in EDirect workflows.
archive-pids
Quick Start
- Command:
archive-pids [daily|-index] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/archive-pids - Full reference: See references/help.md for complete documentation
When To Use This Tool
- Build a local postings archive for the PubMed
PMCIDfield. - Support offline PMID-to-PMCID style lookups inside a populated local EDirect archive.
- Refresh the PMCID posting data after PubMed metadata updates.
- Keep this identifier crosswalk in the same archive layout used by the rest of the PubMed local-data tools.
Common Patterns
# 1) Refresh the local PMCID postings archive
export EDIRECT_LOCAL_ARCHIVE=/data/edirect
archive-pids
# 2) Rebuild incremental index and invert layers after a refresh
archive-pids daily
# 3) Rebuild merged postings for downstream local queries
archive-pids -index
Recommended Workflow
- Set
EDIRECT_LOCAL_ARCHIVEand verify the target archive tree is writable. - Confirm
pm-setup,pm-prepare, and the local Go toolchain are available. - Run
archive-pidsto refresh the underlying PMCID data. - Follow with
dailyor-indexas a separate maintenance command when you need refreshed postings. - Check the timing summary before assuming the archive is ready for local identifier lookups.
Guardrails
--helpand--versionare not safe here; they still execute archive setup and prerequisite checks.- The script depends on
EDIRECT_LOCAL_ARCHIVE,pm-setup,pm-prepare, and a working localgocompiler. - Cleaning and indexing must be separate commands.
- Cleanup aliases remove local scratch content, so treat them as destructive maintenance.
- This tool is for building the local PMCID postings archive, not for extracting a one-off ID list from stdin.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |