

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# EGC: Session Memory Protocol23This project has persistent cross-session memory via the `egc-memory` MCP server.45## At the start of every session67Call `get_state` with no arguments: it uses the current working directory automatically:89```10get_state({})11```1213If the AI is running from outside the project directory, pass the path explicitly:1415```16get_state({ project_path: "/absolute/path/to/this/project" })17```1819Read the returned Markdown. It contains the decisions already made, what failed, coding preferences, and what to pick up next. Do not ask the user to re-explain any of that.2021## At the end of every session2223Call `update_state` with a summary of this session:2425```26update_state({27 project_path: "/absolute/path/to/project",28 context: "One sentence: what this project is and its current phase.",29 decisions: [30 { what: "What was decided", why: "Why" }31 ],32 avoid: [33 { what: "What failed or was rejected", why: "Why to skip it next time" }34 ],35 preferences: [36 "Coding style or workflow preference discovered this session"37 ],38 next: [39 "First thing to pick up in the next session"40 ]41})42```4344`update_state` merges with existing state: it does not erase previous memory. Only include fields that changed this session. Leave out fields with nothing new.4546## Where state is stored4748`~/.egc/state/<project-slug>/<branch>.md`: one file per project branch (flat `<project-slug>.md` files from older versions are still read). Files are encrypted at rest with AES-256-GCM (key at `~/.egc/encryption.key`); the memory server and session hooks decrypt them transparently.4950## MCP servers required5152Both servers must be registered in your MCP config (`.mcp.json`):5354- `egc-guardian`: `validate_command`, `validate_write`, `reduce_context`, `orchestrate_task`55- `egc-memory`: `get_state`, `update_state`, `store_decision`, `query_history`, `search_history`5657Run `sh install.sh` to build the servers. Run `egc doctor` to verify they are registered and running.5859## EGC Guardian Protocol — MANDATORY6061These calls are automatic and non-negotiable. Never wait for the user to ask.6263**Start of every task (non-trivial):**64```65orchestrate_task({ prompt: "<task description>" })66```6768**Before every shell/Bash command:**69```70validate_command({ command: "<command>" })71```7273**Before every new file Write or Edit on a file not yet read:**74```75validate_write({ filepath: "<path>" })76```7778Skipping any of these breaks the EGC contract. There are no exceptions for "simple" tasks.7980## EGC Auto-Intuition8182Act on user intent, not keywords. When what the user says implies an EGC action, call the right tool immediately -- no explicit command needed.8384- Session ending (goodbye, break, sleep, done, closing) → call `update_state`85- Session starting or resuming → call `get_state`86- Save/remember this decision → call `lesson_save` or `store_decision`87- What failed? What did we decide? → call `search_history` or `query_history`88- Review code or a PR → spawn `/review-pr` agents89- Context is heavy or slow → call `reduce_context`9091Judge by the full conversation context, never by literal words. A remark to someone nearby is not a command. When intent is ambiguous, keep working.9293<!-- egc:start -->94## EGC Project Memory9596<!-- egc:end -->97
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Fmarzochi/EGC.agents/AGENTS.md · 45 | AGENTS.md | stylegitdo-not | 36/100 | today | |
| Fmarzochi/EGC.codex/AGENTS.md · 45 | AGENTS.md | securityagent-behaviour | 63/100 | today | |
| Fmarzochi/EGC.cursor/rules/egc-context.mdc · 45 | Cursor rules | performance | 39/100 | today | |
| Fmarzochi/EGC.github/copilot-instructions.md · 45 | Copilot instructions | stylegitperformanceagent-behaviour+1 | 48/100 | today | |
| Fmarzochi/EGCAGENTS.md · 45 | AGENTS.md | archperformanceagent-behaviour | 62/100 | today | |
| Fmarzochi/EGCCLAUDE.md · 45 | CLAUDE.md | performancedo-not | 61/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| google-gemini/gemini-cliGEMINI.md · 107k | GEMINI.md | setupbuildtestlint-format+6 | 91/100 | 14 days ago | |
| enuno/unifi-mcp-serverGEMINI.md · 226 | GEMINI.md | setuptestlint-formatstyle+8 | 89/100 | today | |
| compozy/gographGEMINI.md · 9 | GEMINI.md | setuptestlint-formatarch+4 | 86/100 | 14 days ago | |
| nordeim/misc1/GEMINI.md · 0 | GEMINI.md | setupbuildtestlint-format+3 | 81/100 | 14 days ago | |
| doubts-suplab/eeik-bootstrapGEMINI.md · 1 | GEMINI.md | teststylearchgit+2 | 80/100 | today | |
| nodejs/nodedeps/v8/GEMINI.md · 119k | GEMINI.md | buildteststylearch+4 | 77/100 | 14 days ago | |
| abpframework/abpnpm/ng-packs/packages/schematics/src/commands/ai-config/files/gemini/.gemini/GEMINI.md · 14k | GEMINI.md | testlint-formatstylearch+8 | 76/100 | 13 days ago | |
| zyx77550/spardaGEMINI.md · 5 | GEMINI.md | testlint-formatgitapi+2 | 75/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/fmarzochi-egc-gemini)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.