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 instructions/pdugan20/rewind/agents-mdgit clone --depth 1 https://github.com/pdugan20/rewindWhat 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.02280 | $0.02280 |
| Opus 5 | $0.01140 | $0.01140 |
| Sonnet 5 | $0.00456 | $0.00456 |
| Haiku 4.5 | $0.00228 | $0.00228 |
Grade A, and why
rewind AGENTS.md 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 2d 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 — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rewind
Work modes
- Default to exploration for UI, documentation, prototypes, and small changes. Make focused edits directly; do not require a formal spec, separate plan, worktree, or TDD.
- Apply production rigor when the user explicitly asks to ship, harden, prepare a release, or use strict TDD. Match verification to risk and obey any stronger test requirements below.
- Ask before deployments, remote D1 migrations, production-data changes, live API mutations, releases, or security-rule changes. A user request naming the exact mutation and target counts as approval for that operation.
Personal data aggregation service. Syncs data from Strava, Last.fm, Discogs, Plex, Letterboxd, and Instapaper into Cloudflare D1, serves via REST API at api.rewind.rest with an image CDN at cdn.rewind.rest. MCP server published as rewind-mcp-server on npm, deployed as a Cloudflare Worker at mcp.rewind.rest.
Development Commands
npm run dev # Start local dev server (wrangler dev)
npm run deploy # Deploy to Cloudflare Workers
npm run db:generate # Generate Drizzle migrations from schema changes
npm run db:migrate # Apply migrations to local D1
npm run db:remote # Apply migrations to remote D1
npm run db:studio # Open Drizzle Studio (local D1)
npm run lint # ESLint
npm run format # Prettier
npm run lint:claude # claudelint (validate agent instruction files)
npm test # Vitest
Agent configuration
AGENTS.mdis the canonical cross-agent guide;CLAUDE.mdis only a compatibility shim.- Repository skills live in
.agents/skills. Claude consumes those same files through symlinks in.claude/skills; do not maintain a second copy. - Keep domain procedures such as adding and finding media project-scoped. General design, delivery, review, and hardening workflows come from the global agent-tooling setup.
- See
.agents/skills/README.mdfor the project inventory and mutation boundaries.
Architecture Overview
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.
- 2d ago First seen · 156 lines · 2,280 tokens per session scan A dc0501345c47
rewind AGENTS.md is an instructions file published in the GitHub repository pdugan20/rewind (5 stars, last pushed 8d ago), licensed MIT. It adds 2,280 tokens to every session, about $0.0114 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-31.
Other instructions, from other repositories
svelteflare AGENTS.md
Instructions for pinebasedev/svelteflare, covering agent rules for this project, theme fidelity (non-negotiable), talking to the user and deep-dive skills.
FlareMo AGENTS.md
AGENTS.md instructions for realchendahuang/FlareMo, covering flaremo agent 指南, 项目定位, 常用命令, 修改规则 and issue 和 pr 流程.
business-card-mcp AGENTS.md
AGENTS.md instructions for ai-cooperation/business-card-mcp, covering agents.md — business card mcp 部署引導(跨 cli), 前置, 步驟, 1. 說明與同意(確認 1) and 2. 組裝.
inkwell AGENTS.md
AGENTS.md instructions for Mumega-com/inkwell, covering mcp tools: code-review-graph, when to use graph tools first, key tools and workflow.
svelteflare CLAUDE.md
Instructions for pinebasedev/svelteflare, a project described as: A SvelteKit, Hono and Cloudflare SaaS boilerplate to launch your next MVP.
cloudflare-workers-nextjs-saas-template AGENTS.md
Instructions for LubomirGeorgiev/cloudflare-workers-nextjs-saas-template, covering project context, vinext, general coding rules, control flow and comments.