00-andruia-consultant
Usar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un…
Rules for when an agent should recall from long-term memory before acting and when it should save decisions, corrections and failures afterwards. Works with any memory backend.
Claude Code
$ npx -y skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline --agent claude-code
Codex
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a codex -y
Cursor
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a cursor -y
Gemini CLI
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a gemini-cli -y
GitHub Copilot
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a github-copilot -y
OpenCode
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a opencode -y
Windsurf
$ npx skills add sickn33/agentic-awesome-skills --skill agent-memory-discipline -a windsurf -y
name: agent-memory-discipline description: "Rules for when an agent should recall from long-term memory before acting and when it should save decisions, corrections and failures afterwards. Works with any memory backend." category: memory risk: critical source: community source_repo: mnemoverse/agent-memory-discipline source_type: community date_added: "2026-09-23" author: mnemoverse tags: [agent-memory, long-term-memory, context-engineering, mcp, agent-skills] tools: [claude, cursor, gemini] license: "CC0-1.0" license_source: "https://github.com/mnemoverse/agent-memory-discipline/blob/main/LICENSE"
Connecting a memory tool does not make an agent use it: tools register, the session runs, and nothing gets recalled or saved. This skill supplies the missing part, standing rules for when to read memory and when to write it.
The problem it solves is specific. An agent with memory available still repeats settled questions, reverts corrected habits, and loses decisions between sessions, because nothing tells it when recall and save are due. The rules below make both moments explicit.
The agent needs a memory tool it can call. Any backend works, and the rules are identical for each:
Authentication is whatever the chosen backend requires: none for a local folder, the server's own configuration for a local MCP server, an API key or OAuth sign-in for a hosted service. This skill never handles credentials itself and never writes them into memory.
Read memory **before** doing any of these, not after:
Skip recall for one-off factual questions, arithmetic, or anything fully specified in the current message. Recall costs a tool call and context; spending it on a self-contained question is waste.
Search with the words the user actually used, plus the project or repository name. If the first search returns nothing useful, try one broader query, then stop and proceed without memory rather than looping.
Within the user-authorized memory scope and host retention policy, write when one of these has just happened:
Do **not** save: the contents of files that can be read again, restatements of the current task, transient state, anything the user marked as temporary, and anything containing secrets, tokens, or personal data.
One memory, one fact. A paragraph containing four decisions cannot be superseded cleanly when one of them changes.
A memory that is useless in three weeks was written wrong. Give each entry, in the text if the backend has no fields for it:
Prefer the user's own words over a paraphrase. Paraphrase drifts.
When something changes, the old memory is not wrong. It is **closed**.
If the project moved from Redux to Zustand, "we use Redux" was true from January to June. Deleting it destroys the explanation for every component written in that window. Mark it superseded, keep its validity window, and write the new one alongside.
This is the single most destructive habit in agent memory, and it stays invisible until someone asks a question about old code.
If recall returns two entries that disagree, do not pick the closer match and proceed. Surface both, with their dates, and ask or flag. A convention that a recent failure contradicts is exactly the situation where the user needs to be told, not smoothed over.
An observation becomes policy when a human confirms it, when it lands in a merged decision record, or when an authorized owner explicitly adopts the repeated observations as policy. Never promote a single observation to a rule without one of those.
Two things, and nothing else:
Find reusable instructions for your project, inspect their complete files, and keep an exact skill set you can review and reuse.
Usar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un…
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and…
Usar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la…
Usar tras definir el sector de un proyecto: prepara un dossier en español con contexto, normas aplicables, patrones UX y riesgos,…
AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize…
360 feedback register: reviewer, subject, review cycle, visibility, due date and score, as CSV, SQL, JSON Schema or Notion on…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration