fetch-meta-from-kb
Installation
SKILL.md
Fetch Meta from KB
Workflow
- Read DB env vars from
.envor process env:KB_DB_HOST,KB_DB_PORT,KB_DB_NAME,KB_DB_USER,KB_DB_PASSWORD. - Query
journalswherecreated_at >= now_utc - DAYS, ordered bycreated_at DESC, selecting onlydoi,title,abstract,date. - Return/write JSON array records with exactly these fields:
doi,title,abstract,date.
Script
Run:
cd fetch-meta-from-kb
python3 scripts/fetch_meta_from_kb.py --days 7 --output selected-abstract.json
Env example: