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.
- no-invented-codeSkill
- plan-firstSkill
- systematic-debuggingSkill
- verify-before-doneSkill
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
- Very specific: line 9
START OF TASK: before starting, call mem_context, then mem_search with this task's keywords to see previous decisions, bugs, and context.
- Distinctive: line 17
When the user says "remember", "before", "last time", or "yesterday", search memory before answering.
- Common: line 19
Never save passwords, API keys, or tokens to memory.
- Distinctive: line 24
If an overdue memory is relevant to the task, verify it against the current code and config before relying on it.
- Distinctive: line 27
If the user's latest instruction contradicts a memory, follow the user and update the memory.
- Very specific: line 30
If the mem_* tools are missing (Engram not installed), use the memory_* tools from the flashmind server with the same rules: memory_context …
- Very specific: line 32
If Engram is active, do not also save to memory_*.
- Distinctive: line 42
If a memory search returns nothing, say plainly that you do not know yet.
- Distinctive: line 43
Keep three things clearly separate:
- Distinctive: line 47
Never invent file names, functions, APIs, parameters, library versions, URLs, numbers, quotes, or references.
- Distinctive: line 48
Read the file, run the command, or search the web first.
- Very specific: line 51
If memory conflicts with what the user says now, follow the user and update the memory (mem_update).
- Distinctive: line 53
When an answer contains important facts, end with their sources (file, URL, or memory).
- Distinctive: line 58
Never say "fixed" or "it works" without testing.
≈ “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.
Files
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.).
- START OF TASK: before starting, call
mem_context, thenmem_searchwith this task's keywords to see previous decisions, bugs, and context. SAVE AUTOMATICALLY (without being asked) with
mem_saveafter:- 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.
- When the user says "remember", "before", "last time", or "yesterday", search memory before answering.
- END OF SESSION or after the context is compacted: call
mem_session_summarywith a summary of the work. - 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, callmem_reviewwithaction: "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_reviewwithaction: "mark_reviewed"and itsobservation_id. - Outdated: replace it with
mem_update, ormem_savethe new version and judge the conflict assupersedeswithmem_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 filesno-invented-code— before using any function, package, flag, config key, or API you have not seensystematic-debugging— errors, failing tests, crashes, wrong outputverify-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.
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.

