Skills for Real Engineers. Straight from my .agents directory.
second-brain-backfill
Agent skill fromundefined-ui/second-brain-os
Import a large archive into the vault in controlled batches: triage what is worth ingesting, process oldest first, checkpoint after every batch, and keep cost visible. Use this skill whenever the user wants to import years of bookmarks, an export from another notes app, a downloads folder, a chat history dump, or says "backfill", "bulk import", "process my archive". Do NOT use for ingesting one or a few new sources, which is second-brain-ingest.
How to install second-brain-backfill
npx skills add undefined-ui/second-brain-os# or add only this skill to Claude Code: copy the folder
skills/second-brain-backfill/
# into
~/.claude/skills/second-brain-backfill/ (all projects)
.claude/skills/second-brain-backfill/ (one project)
1# Backfill an archive23A backfill is where cost and quality both go wrong quietly. Done in the wrong4order it also inverts the vault's history, because later sources should update5pages that earlier ones created.67## Core rule89Oldest first, ten sources per batch, stop for a go-ahead between batches.1011## Workflow12131. **Triage before ingesting.** Read titles and first paragraphs. Sort into14 worth-ingesting, keep-in-raw, and delete. Most archives are half dead links15 and things saved but never opened.162. **Order by date, oldest first.** Run it the other way and every old source17 arrives as a contradiction against a page that already has the final answer.183. **Batch of ten.** Ingest following `second-brain-ingest`.194. **Checkpoint:** update `index.md`, append to `log.md`, commit with the batch20 range in the message, report counts.215. **Stop and wait** before the next batch.226. **Full lint at the end.** Large imports always leave orphans and duplicates.2324## Output format2526```27Batch <n>/<total>: <range>28Ingested: <n> sources -> <n> new pages, <n> updated, <n> links29Skipped: <n> (reason)30Running total: <n> of <n>31Next batch: <what it contains>32```3334## Calibration3536Read every page the first batch produced, all of them. A flaw you let through in37batch one is a flaw in four hundred pages by the end, and fixing it afterwards38costs more than the original run.3940If the archive is over about two hundred sources, propose a filter before41starting rather than quoting the full cost.
Excerpt shown under the repository's MIT license.
More skills in second-brain-os
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
