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

Financial-Modeling-Prep-MCP-Server

AGENTS.md149 starsChanged 5 months 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 checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    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, update that file in the same PR

    line 14
  2. Distinctive:

    If you add a new major directory with distinct concerns, add an AGENTS.md and wire it into navigation

    line 15
  3. Distinctive:

    No facts derivable from reading code

    line 20
  4. Distinctive:

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

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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 file under 600 words; 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)

Maintenance Rules

  • If you change behavior documented in an AGENTS.md, update that file in the same PR
  • If you add a new major directory with distinct concerns, add an AGENTS.md and wire it into navigation

Authoring Constraints

  • Under 600 words per file
  • No facts derivable from reading code
  • No teaching/procedural content (that goes in GUIDE.md if needed)
  • 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
docs/src/api/AGENTS.mdAPI key as query param (never headers), token precedence
docs/src/tools/AGENTS.mdNever-throw pattern, global tool name uniqueness
docs/src/toolception-adapters/AGENTS.mdSession cache key formula, session-config transport, module adapter constraints
docs/src/server-mode-enforcer/AGENTS.mdSingleton init order, fail-fast on invalid toolsets
docs/src/endpoints/AGENTS.mdServer-card registry coupling, schema/runtime divergence
docs/tests/smoke/AGENTS.mdSmoke test requirements: build first, SSE parsing, global session state
docs/GUIDE.mdProcedural guides for adding tools, modules, and tool sets

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.