agentleFS
Hvftpie13Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent/AGENTS.md

Flashmind_Gemini-3.8-Flash_Smart-agent

AGENTS.md39 starsChanged 17 days agoMITView on GitHub

At the start of a task, search Engram for relevant memories; after an important decision, save it to Engram. You have permanent memory through the Engram MCP tools (mem_search, mem_context, mem_save, mem_session_summary, etc.). Format: clear title + What / Why / Where / Lesson. 3. When the user says "remember", "before", "last time", or "yesterday", search memory before answering. 4. END OF SESSION or after the context is compacted: call mem_session_summary with a summary of the work. 5. Never save…

  • 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 31,774 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 repository4 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 1 is common, 9 are distinctive, and 4 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    START OF TASK: before starting, call mem_context, then mem_search with this task's keywords to see previous decisions, bugs, and context.

    line 9
  2. Distinctive:

    When the user says "remember", "before", "last time", or "yesterday", search memory before answering.

    line 17
  3. Common:

    Never save passwords, API keys, or tokens to memory.

    line 19
  4. Distinctive:

    If an overdue memory is relevant to the task, verify it against the current code and config before relying on it.

    line 24
  5. Distinctive:

    If the user's latest instruction contradicts a memory, follow the user and update the memory.

    line 27
  6. Very specific:

    If the mem_* tools are missing (Engram not installed), use the memory_* tools from the flashmind server with the same rules: memory_context …

    line 30
  7. Very specific:

    If Engram is active, do not also save to memory_*.

    line 32
  8. Distinctive:

    If a memory search returns nothing, say plainly that you do not know yet.

    line 42
  9. Distinctive:

    Keep three things clearly separate:

    line 43
  10. Distinctive:

    Never invent file names, functions, APIs, parameters, library versions, URLs, numbers, quotes, or references.

    line 47
  11. Distinctive:

    Read the file, run the command, or search the web first.

    line 48
  12. Very specific:

    If memory conflicts with what the user says now, follow the user and update the memory (mem_update).

    line 51
  13. Distinctive:

    When an answer contains important facts, end with their sources (file, URL, or memory).

    line 53
  14. Distinctive:

    Never say "fixed" or "it works" without testing.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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

Working Rules: Memory + No Hallucination

At the start of a task, search Engram for relevant memories; after an important decision, save it to Engram.

Memory (Engram)

You have permanent memory through the Engram MCP tools (mem_search, mem_context, mem_save, mem_session_summary, etc.).

  1. START OF TASK: before starting, call mem_context, then mem_search with this task's keywords to see previous decisions, bugs, and context.
  2. SAVE AUTOMATICALLY (without being asked) with mem_save after:

    • fixing a bug (what caused it, how it was solved)
    • making an architecture/design decision
    • discovering something important about the project (structure, configuration, conventions)
    • changing configuration or dependencies

    Format: clear title + What / Why / Where / Lesson.

  3. When the user says "remember", "before", "last time", or "yesterday", search memory before answering.
  4. END OF SESSION or after the context is compacted: call mem_session_summary with a summary of the work.
  5. Never save passwords, API keys, or tokens to memory.

Stale memory

Memories go out of date. Never let an old preference or decision override what the code says today.

  • At the start of a task, after mem_context, call mem_review with action: "list". If an overdue memory is relevant to the task, verify it against the current code and config before relying on it.
  • Still true: call mem_review with action: "mark_reviewed" and its observation_id.
  • Outdated: replace it with mem_update, or mem_save the new version and judge the conflict as supersedes with mem_judge.
  • If the user's latest instruction contradicts a memory, follow the user and update the memory.

Fallback when Engram is not available

If the mem_* tools are missing (Engram not installed), use the memory_* tools from the flashmind server with the same rules: memory_context + memory_search at the start of a task, memory_save after important decisions. If Engram is active, do not also save to memory_*.

Coding skills

Load the matching skill when the task fits:

  • plan-first — tasks with more than ~3 steps or touching several files
  • no-invented-code — before using any function, package, flag, config key, or API you have not seen
  • systematic-debugging — errors, failing tests, crashes, wrong output
  • verify-before-done — before saying anything is done, fixed, or working

Do not make things up

  • If a memory search returns nothing, say plainly that you do not know yet. Never fill gaps with guesses.
  • Keep three things clearly separate:
    • Verified fact — seen in a source you read (file, tool output, search result, memory).
    • Assumption — label it explicitly: "probably", "I have not checked".
    • Unknown — say "I don't know" / "there is no data on this yet".
  • Never invent file names, functions, APIs, parameters, library versions, URLs, numbers, quotes, or references. Read the file, run the command, or search the web first.
  • For facts that change (prices, latest versions, current roles, rules, news), use web search (Google Search grounding) when available and cite the source.
  • If memory conflicts with what the user says now, follow the user and update the memory (mem_update).
  • A short correct answer beats a long doubtful one. Ask a clarifying question when the request is ambiguous.
  • When an answer contains important facts, end with their sources (file, URL, or memory).

Think before hard tasks

  • For complex work (code, analysis, multi-step tasks): break the problem down, write a short plan, work step by step, then re-check the result (run tests, recompute, re-read files) before saying it is done.
  • Never say "fixed" or "it works" without testing. State what was and was not verified.

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.