agentleFS
imbenrabiimbenrabi/Financial-Modeling-Prep-MCP-Server/AGENTS.md

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.

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
  1. Distinctive:

    If you change behavior documented in an AGENTS.md or FLOW.md, update that file in the same PR

    line 15
  2. Very specific:

    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, …

    line 16
  3. Distinctive:

    If a node goes stale, fix or delete the claim.

    line 17
  4. Distinctive:

    No facts derivable from reading code

    line 22
  5. Distinctive:

    No fact repeated within a file or in a sibling node

    line 23
  6. Distinctive:

    No teaching/procedural content (that goes in GUIDE.md)

    line 24

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

  1. Progressive Disclosure — Start with minimum context; drill into detail via downlinks as needed
  2. Token Efficiency — Each AGENTS.md under 600 words (FLOW.md files stay as short); if obvious from code, delete it
  3. LCA Optimization — Place shared knowledge at lowest common ancestor; never duplicate across siblings
  4. Hierarchical Loading — When a node loads, all ancestors load too (T-shaped view)
  5. Root-only Bootstrap — Only CLAUDE.md and 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

PointsCriterion
+0Pure procedural step (code shows it)
+1Ordering dependency code enforces
+2Non-obvious ordering code does NOT enforce
+1Failure blast radius beyond immediate operation
+1Side-effect an agent wouldn't expect
+1Environment-dependent behavior

Score 0-1: Delete. Score 2: Keep gotcha sentence. Score 3-4: FLOW.md. Score 5: Inline in AGENTS.md.

Navigation

NodeNon-obvious Knowledge
docs/src/AGENTS.mdStartup sequence dependencies, custom Fastify app pitfall, layer rules
docs/src/api/AGENTS.mdAPI key as query param, token precedence, error surface
docs/src/tools/AGENTS.mdNever-throw pattern
docs/src/toolception-adapters/AGENTS.mdSession context, swallowed loader failures
docs/src/server-mode-enforcer/AGENTS.mdSingleton init order, mode resolution order, fail-fast on invalid toolsets
docs/src/constants/AGENTS.mdTool set catalog uniqueness and lockstep
docs/src/prompts/AGENTS.mdSilent prompt no-op, prompt text vs runtime
docs/src/endpoints/AGENTS.mdServer-card registry coupling, schema/runtime divergence
docs/src/utils/AGENTS.mdHelpers that are not wired into the runtime
docs/scripts/AGENTS.mdRelease pipeline, version sync, toolception verification
docs/tests/smoke/AGENTS.mdSmoke test requirements: build first, SSE parsing, global session state
docs/GUIDE.mdProcedural guides for adding tools, modules, tool sets, and intent nodes

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.