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/alignbase/filegrc/agents-mdgit clone --depth 1 https://github.com/Alignbase/filegrcWhat 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.04668 | $0.04668 |
| Opus 5 | $0.02334 | $0.02334 |
| Sonnet 5 | $0.00934 | $0.00934 |
| Haiku 4.5 | $0.00467 | $0.00467 |
Grade A, and why
filegrc 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 — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
filegrc Repository Instructions
Purpose
This monorepo builds filegrc, a Git-native GRC system for SOC 2 work. It has two Node.js packages:
filegrc: the zero-dependency filegrc engine, which validates, searches, edits, and renders GRC data.create-filegrc: the filegrc scaffolder, which creates a standalone SOC 2 repository.
The generated repository is the product. Keep it understandable to an engineer who opens it without prior context.
Agent-facing product surface
Treat headless use as a first-class interface. An agent with no filegrc context must be able to discover the right record type, inspect current relationship candidates, create or update JSON and Markdown through one validated payload, complete scheduled and event work, prepare an audit, and verify the result without opening the renderer.
- Keep the generated root
AGENTS.mdas the program and Git guide. - Keep
data/AGENTS.mdas the universal record workflow. Add collection-levelAGENTS.mdfiles only where a wrong action has material compliance, privacy, or audit consequences. - Keep
filegrc guide,types,list,get,references,scaffold, CRUD,content, obligations, events, program readiness, audit readiness, and evidence packets model-driven. - Scaffold files are prompts, not compliance facts. They must keep incomplete work in a non-final state and make missing required values obvious.
- Browser and CLI mutations must use the same domain functions and the same
{ record, content }shape. - Every resource type must pass automated guide and scaffold coverage. Test first-class multi-record workflows through the CLI as well as their domain functions.
Product principles
- Git is the system of record. GRC records live as plain, reviewable files under
data/. - Git exclusively supplies version-control facts: file history, authors, commit timestamps, diffs, commit messages, revisions, renames, and prior file versions. Do not mirror them in FileGRC records or maintain a parallel change log.
- Domain events still need explicit dates. Do not replace dates such as
occurredOn,approvedOn, orcompletedOnwith Git metadata. - Do not store a second change log or duplicate Git-derived fields such as
createdAt,updatedAt,createdBy, orupdatedBy. - Store each mutable program fact or decision in one authoritative record and reference it by ID. Policies state durable rules, categories, and required outcomes; they do not copy current people, vendors, systems, reporting addresses, schedules, recovery targets, or other inventories that have their own resource.
- Roll up an Obligation occurrence when one queue-level owner, window, population rule, and reconciliation conclusion govern the work. Keep member-level operating records, evidence, completion, exception, and non-applicability facts inside that occurrence. Split work into separate Obligations or Action Items only when a member needs its own queue owner, deadline, conclusion, or follow-up lifecycle.
- The engine must work locally, in CI, and in a basic server environment with only a supported Node.js release and Git.
- The current repository state must remain useful without a network connection.
- Data files are authoritative. Rendered pages, indexes, caches, and reports are derived output.
- Never fetch external references automatically. A user may open or import one explicitly.
- Keep the model generic. Organization-specific fields belong in namespaced extensions.
- Keep the default starter Security-only and as simple as the Security Common Criteria permit. Do not turn optional Trust Services Categories or common implementation choices into default records or readiness gates. Require category-specific details, including numeric recovery objectives, only when management selects that category or an approved commitment or risk decision requires them.
- Prefer explicit, inspectable behavior over automation that changes audit records without review.
- UI, HTTP, and CLI workflows must call the same domain functions so headless agents receive the same calculations, validation, and output as browser users.
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 · 195 lines · 4,668 tokens per session scan A 7228e0278fb1
filegrc AGENTS.md is an instructions file published in the GitHub repository Alignbase/filegrc (21 stars, last pushed yesterday), licensed MIT. It adds 4,668 tokens to every session, about $0.0233 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-30.
Other instructions, from other repositories
agent-governance-toolkit copilot-instructions.md
Instructions for microsoft/agent-governance-toolkit, covering copilot instructions for agent-governance-toolkit, architecture, build, test, and lint, python and install (editable, all extras).
agent-governance-toolkit AGENTS.md
Instructions for microsoft/agent-governance-toolkit, covering agent governance toolkit - repository instructions, project overview, repository layout status, where changes belong and routing rules.
mind-mem CLAUDE.md
Instructions for star-ga/mind-mem, covering mind-mem — persistent ai memory system, architecture, key components, mcp tools (97) and config.
compliance-trestle-skills AGENTS.md
Instructions for oscal-compass-lab/compliance-trestle-skills, covering agent instructions for compliance trestle, purpose of this repository, primary directory layout, agent safety rules and legacy ssp, pdf, and docx to oscal workflow.
mind-mem AGENTS.md
Instructions for star-ga/mind-mem, covering mind-mem: agent instructions (auto-written), memory context, apr 21, 2026, may 2, 2026 and may 6, 2026.
compliance-trestle-skills GEMINI.md
Instructions for oscal-compass-lab/compliance-trestle-skills, covering gemini cli instructions, repository purpose, key paths, required guardrails and legacy document to oscal quick path.