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.
git clone --depth 1 https://github.com/robotaitai/project-bedrockWrote 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/rules/robotaitai/project-bedrock/history-backfill)<a href="https://agentmods.dev/rules/robotaitai/project-bedrock/history-backfill"><img src="https://agentmods.dev/badge/rules/robotaitai/project-bedrock/history-backfill/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/rules/robotaitai/project-bedrock/history-backfill"><img src="https://agentmods.dev/badge/rules/robotaitai/project-bedrock/history-backfill.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.00017 | $0.00632 |
| Opus 5.5 | $0.00007 | $0.00253 |
| Sonnet 5.5 | $0.00003 | $0.00126 |
| Haiku 4.5 | $0.00002 | $0.00063 |
Grade A, and why
history-backfill 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
History Backfill
After bootstrapping memory on a project with existing history, backfill the memory tree from evidence before proceeding with steady-state work.
Apply this rule once per project. It is not needed on every session.
When to apply
Apply after memory-bootstrap when the project:
- Has a git history with more than ~10 commits
- Has existing documentation (README, CLAUDE.md, AGENTS.md,
.agent-project.yaml,agent-knowledge/) - Has existing task files (
tasks/todo.md,tasks/lessons.md) - Was previously worked on by another agent or developer
Do NOT apply on every session — only when onboarding or when memory is newly empty.
Steps (summary — full detail in skill)
- Read the
history-backfillskill. - Run
scripts/import-agent-history.sh .to collect raw evidence. - Read evidence files in priority order (docs first, then manifests/configs/tests/workflows, then git and sessions).
- Distill stable facts into memory branch notes (Current State section).
- Record any architectural decisions found in
decisions/. - Update
Memory/MEMORY.mdbranch summaries to reflect real content. - Leave Open Questions for anything evidence hints at but doesn't resolve.
Evidence sources (priority order)
agent-knowledge/Evidence/imports/existing-docs.txt— README, CLAUDE.md, AGENTS.md,.agent-project.yamlagent-knowledge/Evidence/raw/manifests.txt— authoritative for stackagent-knowledge/Evidence/raw/config-files.txt— strong signal for conventionsagent-knowledge/Evidence/raw/tests.txtandraw/ci-workflows.txt— verification and deploy signalagent-knowledge/Evidence/raw/structure.txt— actual architecture shapeagent-knowledge/Evidence/imports/tasks.txtandimports/session-files.txt— context and recurring work areasagent-knowledge/Evidence/raw/git-log-detail.txtandraw/git-log.txt— why and what changed over timeagent-knowledge/Evidence/imports/trace-index.txt— supporting traces only, never canonical truth
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 · 68 lines · 17 tokens per session scan A 465e7de2d9cf
history-backfill is a cursor rule published in the GitHub repository robotaitai/project-bedrock (45 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 632 once invoked, about $0.0001 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.
history-backfill compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| history-backfillrobotaitai/project-bedrock | Cursor rule | 45 | 3mo ago | MIT | A | 17 | Cursor |
| second-brainSpillwaveSolutions/wiki_ticket_sdd | Cursor rule | 10 | 21d ago | MIT | A | 238 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 203k | 10d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |