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/pawcoding/astro-loader-pocketbase/agents-mdgit clone --depth 1 https://github.com/pawcoding/astro-loader-pocketbaseWhat 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.01105 | $0.01105 |
| Opus 5 | $0.00553 | $0.00553 |
| Sonnet 5 | $0.00221 | $0.00221 |
| Haiku 4.5 | $0.00111 | $0.00111 |
Grade A, and why
astro-loader-pocketbase 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 yesterday.
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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Compact ramp-up guide for AI agents. Each item exists because an agent would likely miss it.
Project
An Astro content loader package that integrates PocketBase as a data source, using Astro's Content Loader API. Key capabilities: loading PocketBase collections, real-time updates (via astro-integration-pocketbase), incremental builds, schema generation/validation, and file handling.
Relevant upstream documentation:
Environment
- Node >= 22.12.0 required;
.nvmrcspecifies node version. Usenvm usebefore anything. - Package manager:
npm(version enforced viapackageManagerfield). Do not use pnpm or yarn.
Essential commands
npm run format # oxfmt — format all files
npm run lint:fix # oxlint --fix — lint + auto-fix
npm run typecheck # tsc --noEmit on src/ and test/
npm test # vitest run (unit + e2e, needs PocketBase for e2e)
npm run test:unit # unit tests only — no PocketBase needed
npm run test:e2e # e2e tests only — PocketBase must be running first
npm run build # tsdown → dist/
Run a single test file:
npx vitest run test/path/to/file.spec.ts
Pre-commit order (husky enforces this)
All three must pass before committing, in this order:
npm run formatnpm run lint:fixnpm run typecheck
lint-staged runs oxfmt + oxlint on staged files automatically. The pre-commit hook also runs npm run typecheck if any .ts files are staged.
E2E test setup
E2E tests require a PocketBase instance at http://localhost:8090.
# One-time: download PocketBase binary to .pocketbase/ (gitignored)
npm run test:e2e:setup
# Start PocketBase (blocks terminal — use a separate terminal)
./.pocketbase/pocketbase serve
# Then run e2e tests
npm run test:e2e
Hardcoded test credentials: [email protected] / test1234 (created by the setup script).
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.
- yesterday First seen · 114 lines · 1,105 tokens per session scan A 2521c63bcd0d
astro-loader-pocketbase AGENTS.md is an instructions file published in the GitHub repository pawcoding/astro-loader-pocketbase (63 stars, last pushed 10d ago), licensed MIT. It adds 1,105 tokens to every session, about $0.0055 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-09-01.
Other instructions, from other repositories
starwind-ui AGENTS.md
Instructions for starwind-ui/starwind-ui, covering agents.md, project shape, useful commands and contribution conventions.
pocketbase-sveltekit-starter AGENTS.md
Instructions for spinspire/pocketbase-sveltekit-starter, covering agents, project structure, dev mode, deployment and key commands.
stardrive AGENTS.md
Instructions for peltmonger/stardrive, covering 🛑 critical: repository bootstrap directive 🛑, general information and guidelines for ai agents, analyze your high-level use case first, how the .ai guidance files relate and this is an astro project.
AnvilWiki AGENTS.md
Instructions for PNGTRID/AnvilWiki, covering agents.md, repository purpose, read these first, intended tech stack (verified, as of 2026-08-11) and architecture: code/config/content separation (critical).
seo-graph AGENTS.md
Instructions for jdevalk/seo-graph, covering agents.md — seo-graph, what this library does, architecture, installation and astro projects — install both.
markdy-com copilot-instructions.md
Instructions for HoangYell/markdy-com, a project described as: 🎬 Open-source animated architecture diagrams as code. Diagram-native DSL, 17 layout engines, Web Animations API, and MCP server for AI agents.