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/feli0x/docfs/agents-mdgit clone --depth 1 https://github.com/feli0x/docfsWhat 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.00457 | $0.00457 |
| Opus 5 | $0.00229 | $0.00229 |
| Sonnet 5 | $0.00091 | $0.00091 |
| Haiku 4.5 | $0.00046 | $0.00046 |
Grade A, and why
docfs 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.
What it actually says
Repository Guidelines
DocFS is a read-only filesystem MCP server with multiple root support, .gitignore filtering, and an
in-memory LRU cache for file metadata. Compared to a generic filesystem MCP server, it offers only
inspection tools and strictly validates paths against the configured roots.
MCP Tools for Agents
list_files: list files and directoriessearch_files: search text in filesread_files: read file contentsdir_tree: list directory tree
Use list_files ➜ search_files ➜ read_files ➜ dir_tree to explore the repo. Keep paths within allowed --root directories.
Project Structure
src/index.ts– server entrysrc/tools/– tool implementationssrc/utils/– filesystem helperssrc/types/– shared typessrc/__tests__/– Jest tests
Commands
pnpm install– install dependenciespnpm dev– run server in TSpnpm build– compile todist/pnpm start– run compiled serverpnpm lint/pnpm lint:fixpnpm format/pnpm format:checkpnpm testpnpm typecheck
Style
- TypeScript (strict ESM), Node >= 18
- Prettier: 2 spaces, 100 columns, single quotes, semicolons
- ESLint with typescript-eslint; prefer named exports and
camelCase.ts
Testing
- Jest with ts-jest
- Tests in
src/__tests__/or*.test.ts - Target ≥ 80% coverage
Commit & PR Guidelines
- Conventional Commits (e.g.,
docs: update readme) - Ensure
pnpm build,pnpm lint, andpnpm testpass before committing - PRs should include clear descriptions and usage examples
Security
- Only files under specified
--rootdirectories are accessible read_filesenforces file size limits; avoid large binaries
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 · 57 lines · 457 tokens per session scan A 5f72efbda2e0
docfs AGENTS.md is an instructions file published in the GitHub repository feli0x/docfs (0 stars, last pushed 12mo ago), licensed MIT. It adds 457 tokens to every session, about $0.0023 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
mcp-server-excel coverage-prevention-strategy.instructions.md
Instructions for sbroenne/mcp-server-excel, covering generated surface coverage, contract change workflow, required checks and common incomplete changes.
mcp-server-excel mcp-llm-guidance.instructions.md
Instructions for sbroenne/mcp-server-excel, a project described as: Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.
openrouter-mcp-multimodal AGENTS.md
Instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
ntfy-mcp-server AGENTS.md
Instructions for cyanheads/ntfy-mcp-server, covering developer protocol, what's next?, core rules, patterns and tool.
Plonk AGENTS.md
Instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
mcp-dockhand copilot-review.instructions.md
Instructions for strausmann/mcp-dockhand: When reviewing pull requests in this repository.