Financial-Modeling-Prep-MCP-Server
AGENTS.md149 starsChanged 25 days agoApache-2.0View on GitHub
Sparse hierarchy of files capturing non-obvious architectural knowledge — pitfalls, anti-patterns, invariants — that agents cannot infer from reading code alone. Score 0-1: Delete. Score 2: Keep gotcha sentence. Score 3-4: FLOW.md. Score 5: Inline in AGENTS.md.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If you change behavior documented in an AGENTS.md or FLOW.md, update that file in the same PR
- Very specific: line 16
If you add a new major directory with distinct concerns, add an AGENTS.md at its mirror path, wire it into the navigation below, CLAUDE.md, …
- Distinctive: line 17
If a node goes stale, fix or delete the claim.
- Distinctive: line 22
No facts derivable from reading code
- Distinctive: line 23
No fact repeated within a file or in a sibling node
- Distinctive: line 24
No teaching/procedural content (that goes in GUIDE.md)
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Intent Layer
Sparse hierarchy of files capturing non-obvious architectural knowledge — pitfalls, anti-patterns, invariants — that agents cannot infer from reading code alone.
Design Principles
- Progressive Disclosure — Start with minimum context; drill into detail via downlinks as needed
- Token Efficiency — Each AGENTS.md under 600 words (FLOW.md files stay as short); if obvious from code, delete it
- LCA Optimization — Place shared knowledge at lowest common ancestor; never duplicate across siblings
- Hierarchical Loading — When a node loads, all ancestors load too (T-shaped view)
- Root-only Bootstrap — Only
CLAUDE.mdand this file sit at the repo root; every other node is reached by downlink from here
Maintenance Rules
- If you change behavior documented in an AGENTS.md or FLOW.md, update that file in the same PR
- If you add a new major directory with distinct concerns, add an AGENTS.md at its mirror path, wire it into the navigation below,
CLAUDE.md, and the path table in.claude/skills/code-review/SKILL.md - If a node goes stale, fix or delete the claim; never leave an unverified claim in place
Authoring Constraints
- Under 600 words per AGENTS.md (
wc -w, whole file) - No facts derivable from reading code
- No fact repeated within a file or in a sibling node
- No teaching/procedural content (that goes in GUIDE.md)
- Nodes live under
docs/and mirror the source path they describe (src/api→docs/src/api,scripts→docs/scripts,__tests__/smoke→docs/tests/smoke); a FLOW.md sits beside its AGENTS.md - Positive framing in Key Rules, negative in Anti-patterns
Control Flow Scoring
| Points | Criterion |
| +0 | Pure procedural step (code shows it) |
| +1 | Ordering dependency code enforces |
| +2 | Non-obvious ordering code does NOT enforce |
| +1 | Failure blast radius beyond immediate operation |
| +1 | Side-effect an agent wouldn't expect |
| +1 | Environment-dependent behavior |
Score 0-1: Delete. Score 2: Keep gotcha sentence. Score 3-4: FLOW.md. Score 5: Inline in AGENTS.md.
Navigation
| Node | Non-obvious Knowledge |
docs/src/AGENTS.md | Startup sequence dependencies, custom Fastify app pitfall, layer rules |
docs/src/api/AGENTS.md | API key as query param, token precedence, error surface |
docs/src/tools/AGENTS.md | Never-throw pattern |
docs/src/toolception-adapters/AGENTS.md | Session context, swallowed loader failures |
docs/src/server-mode-enforcer/AGENTS.md | Singleton init order, mode resolution order, fail-fast on invalid toolsets |
docs/src/constants/AGENTS.md | Tool set catalog uniqueness and lockstep |
docs/src/prompts/AGENTS.md | Silent prompt no-op, prompt text vs runtime |
docs/src/endpoints/AGENTS.md | Server-card registry coupling, schema/runtime divergence |
docs/src/utils/AGENTS.md | Helpers that are not wired into the runtime |
docs/scripts/AGENTS.md | Release pipeline, version sync, toolception verification |
docs/tests/smoke/AGENTS.md | Smoke test requirements: build first, SSE parsing, global session state |
docs/GUIDE.md | Procedural guides for adding tools, modules, tool sets, and intent nodes |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

