Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/zakelfassi/skills-driven-developmentnpx agentmods add skills/zakelfassi/skills-driven-development/backfill-runbookWrote 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.1 | $0.00076 | $0.01038 |
| Opus 5.5 | $0.00030 | $0.00415 |
| Sonnet 5.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 3mo 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.
- 3mo 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 28d ago), licensed MIT. It adds 76 tokens to every session and 1,038 once invoked, about $0.0003 per session on Opus 5.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.
backfill-runbook compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backfill-runbookzakelfassi/skills-driven-development | Skill | 18 | 28d ago | MIT | A | 76 | Claude Code, Codex |
| dbt-sf-to-bq-translatorgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 93 | Claude Code, Codex |
| bigquery-bigframesgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 61 | Claude Code, Codex |
| google-cloud-solution-hybrid-search-alloydbgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 115 | Claude Code, Codex |
| similarity-search-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 25d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| coverage-trackerelvisun/newsjack | Skill | 1.7k | 9d ago | MIT | A | 47 | Claude Code |
| vector-db-rag-expertroedyrustam/vibes-plug | Skill | 132 | yesterday | MIT | A | 47 | Cursor |