Dpla staged report

From dpla/ingestion3 · View interactive version

Dpla staged report is an AI agent skill from the GitHub repository dpla/ingestion3. Report which hubs have new JSONL staged in S3 for a given month, and optionally post the report to Slack. Use when user asks what hubs are staged/ready for indexing, /ingest staged, or what changed this month in S3.

How to use this skill

Skill file

dpla-staged-report

Uses scheduler/orchestrator/staged_report.py to scan s3://dpla-master-dataset/<hub>/jsonl/ for timestamped dirs in a target month.

Commands

set -a
source .env
set +a

# Current month (console)
./venv/bin/python -m scheduler.orchestrator.staged_report

# February (month=2)
./venv/bin/python -m scheduler.orchestrator.staged_report --month=2

# JSON output (for scripting)
./venv/bin/python -m scheduler.orchestrator.staged_report --month=2 --json

# Post to Slack (uses SLACK_TECH_WEBHOOK then SLACK_WEBHOOK)
./venv/bin/python -m scheduler.orchestrator.staged_report --month=2 --slack

# If needed, set AWS profile explicitly
./venv/bin/python -m scheduler.orchestrator.staged_report --month=2 --profile=dpla

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.