Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/zakelfassi/skills-driven-development/backfill-runbooknpx skills add zakelfassi/skills-driven-development --skill backfill-runbookgit clone --depth 1 https://github.com/zakelfassi/skills-driven-developmentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zakelfassi/skills-driven-development/backfill-runbook)<a href="https://agentmods.dev/skills/zakelfassi/skills-driven-development/backfill-runbook"><img src="https://agentmods.dev/badge/skills/zakelfassi/skills-driven-development/backfill-runbook.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00076 | $0.01038 |
| Opus 5 | $0.00038 | $0.00519 |
| Sonnet 5 | $0.00015 | $0.00208 |
| Haiku 4.5 | $0.00008 | $0.00104 |
Grade A, and why
backfill-runbook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backfill Runbook
Safely reprocess historical data for a pipeline stage without locking tables or losing existing rows.
Inputs
- Stage name (e.g.,
customer_ltv) - Start date (
YYYY-MM-DD) - End date (
YYYY-MM-DD, defaults to yesterday) - Chunk size (number of days per chunk, defaults to
7) - Dry run? (boolean, defaults to
true— always start with dry-run)
Steps
-
Scope the backfill Estimate the volume:
select count(*), min(event_date), max(event_date) from raw.{source_table} where event_date between '{start_date}' and '{end_date}';Multiply by your stage's typical row-expansion ratio. If the result is >10M rows, reduce the chunk size to 3 days.
-
Dry-run the first chunk
python pipelines/transforms/{stage_name}/transform.py \ --start {start_date} \ --end {start_date + 6 days} \ --dry-runThe dry-run prints the SQL or DataFrame operations without writing output. Review for correctness before proceeding.
-
Back up the target table (if it exists)
create table {stage_name}_backup_{today} as select * from {layer}.{stage_name};Keep the backup for 7 days.
-
Execute in chunks
python scripts/backfill.py \ --stage {stage_name} \ --start {start_date} \ --end {end_date} \ --chunk-days {chunk_size} \ --pause-seconds 5The backfill script:
- Processes one chunk at a time
- Pauses
{pause_seconds}between chunks (reduces lock contention) - Logs progress:
[chunk {n}/{total}] {start}–{end}: {rows_written} rows - Writes a checkpoint file (
backfill-{stage}-{run_id}.checkpoint) so it can resume after a failure
-
Verify each chunk (or verify the full range after completion)
-- Row count by date select event_date, count(*) as rows from {layer}.{stage_name} where event_date between '{start_date}' and '{end_date}' group by event_date order by event_date;Compare against the raw source counts from step 1. Flag any date with zero rows.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 96 lines · 76 tokens per session scan A 7fccf437a7f3
backfill-runbook is a skill published in the GitHub repository zakelfassi/skills-driven-development (18 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,038 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
bigquery-bigframes
Generates Python code using BigQuery DataFrames (BigFrames), the pandas/scikit-learn-style API over BigQuery. Use when writing BigFrames code or doing pandas-style dataframe/ML work against BigQuery (e.g. in a notebook). Don't use for SQL-first workflows or the google-cloud-bigquery client library — use…
google-cloud-solution-hybrid-search-alloydb
Discovers requirements and generates architectural, design, and deployment guidance for dynamic hybrid search systems by combining semantic search and keyword search. Optimized for AlloyDB hybrid search use cases in Google Cloud. Use when users need vector search combined with structured SQL filtering, faceted…
coverage-tracker
Run a Google Alerts-style keyword coverage tracker. Uses news-search for recent keyword queries, lets the LLM dedupe and classify real features versus junk, stores decisions in SQLite, and alerts only on new real coverage.
vector-db-rag-expert
Expert guide for high-performance Vector Databases, RAG architectures, pgvector HNSW indexing, hybrid search (Dense + BM25), and semantic chunking / Panduan ahli Vector DB, arsitektur RAG, pgvector HNSW, dan hybrid search.
build-feature-store
Build a feature store using Feast for centralized feature management, configure offline and online stores for batch and real-time serving, define feature views with transformations, and implement point-in-time correct joins for ML pipelines. Use when managing features for multiple ML models, ensuring training-serving…
okf-bigquery
Google Cloud BigQuery connector that produces and ingests Open Knowledge Format (OKF) bundles from dataset schemas, table/field descriptions, and metadata. Use when documenting or cataloging BigQuery datasets, extracting schema metadata into OKF, or syncing descriptions back to BigQuery tables and fields.