agentleFS
boshu2boshu2/agentops/skills/memory/SKILL.md

memory

Skill453 starsChanged 4 months agoApache-2.0View on GitHub

Find or curate supported lessons and agent rules. Use when: asked to remember, trace a corrected claim, audit instructions or write an agent rule.

99 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Maliot100XSkill

    send-user-message

    Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.

    Also in 4 projects that use this

  • jh941213Skill

    docs-ci

    문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.

    Also in 3 projects that use this

  • jh941213Skill

    docs-interfaces

    API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.

    Also in 3 projects that use this

  • +6 more from naman10parikh
  • +1 more from jh941213

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 82 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use maintained experience only when it changes an action.

    line 29
  2. Very specific:

    Look for an existing entry first: Search the selected .context/ pages, external topic pages or the target instruction file (AGENTS.md, …

    line 38
  3. Distinctive:

    Use the template below; an entry with no invalidation is incomplete.

    line 55
  4. Distinctive:

    Keep rare useful constraints.

    line 87
  5. Distinctive:

    Use only sources already authorized for the task, owner, model/provider and exact destination.

    line 120
  6. Very specific:

    No blind TTL or delete operation is part of Memory.

    line 128

“Common” is measured: kept by at least 6 in 10 of the 82 edited versions of this file we could read. “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
SKILL.md

Memory

Use maintained experience only when it changes an action. Memory is optional: no mandatory recall at RPI entry, lesson at completion, worksheet, page quota or background mining. A trivial edit can proceed directly to implementation.

Rules for any saved lesson or rule

Apply these whenever a request would save or promote a lesson, including a request to turn an incident into a rule for an instruction file:

  1. Look for an existing entry first. Search the selected .context/ pages, external topic pages or the target instruction file (AGENTS.md, CLAUDE.md, a team rules file). Amend the entry that already covers the behavior; add a new one only when none fits. If the final code, tests, comments or a doc already explain the reasoning, point there rather than save a copy; save only what they cannot show a later reader, such as ruled-out causes, why the fix works and what brings the failure back. Effort, a finished task or a large diff never qualifies a lesson. If nothing qualifies, save nothing and say why.
  2. Size the claim to its evidence. One incident supports a narrow observation scoped to the conditions it actually had. A universal rule needs repeated independent occurrences and later reapplication. When a recurring correction is a mechanical slip that a lint rule, test or hook could catch, propose that check alongside the prose rule or in its place, as Postmortem does for such a miss; a check fails where a rule can only ask.
  3. State all five fields: applicability, action, support, limits and invalidation. Use the template below; an entry with no invalidation is incomplete. For an incident, applicability includes the exact error text or observable symptom, the words a later search will use. An instruction file such as AGENTS.md loads into every session, so its entry is usually one line: the action and when it applies, worded as information rather than an order to read, linking the project .context/ page or the doc beside the governed code (never an external-bundle page from a checked-in file) that carries all five fields. A line that only restates what agents already do by default earns no place.
  4. Review before admission. Give the draft inline in your reply unless the caller named storage outside Git; never write it into the repository before review. A fresh reviewer who is not the author checks factual support and disclosure of the exact text, paths and destination before it enters .context/, an instruction file such as AGENTS.md, or any Git object. Promoting an entry into an instruction file is a separate policy change owned by that file. On an explicit request to remember something, the runtime's own memory store (such as Claude Code auto-memory or Codex memory) is a valid destination; rules 1-3 still apply, and fresh review is owed only when that store is shared or checked in.
  5. Saving proves nothing. Saved pages, retrieval counts and structural checks prove no benefit. Only later work can show that reuse changed an action and helped; keep failed, harmful and no-change results. Until then a saved rule is an untested hypothesis.
### <one-line claim>
- Applies when: <the conditions the evidence covered>
- Action: <the check or step to take>
- Support: <cited sources; number of independent occurrences>
- Limits: <where it is untested or may not hold>
- Invalidate when: <the change or contrary evidence that retires it, and how to check it>

Keep rare useful constraints; age or low frequency alone is no reason to delete them. Learning may also simplify or remove rules.

Choose one operation

NeedRead on demand
An earlier constraint or source map may change the next actionFind / recall
Capture useful evidence from selected sources, episodes or correctionsCapture / mine / learn
Update, qualify, consolidate or retire a supported claimCurate / qualify / retire
Rank repeated operational friction in supplied historyToil evidence
Trace a corrected claim or audit the loaded instruction setInstruction sources

Memory owns these operations. Whether recurring evidence warrants a general rule is decided by Research's pattern mode (independent exemplars and a holdout). Capture includes bounded source maps, verdicts, corrections and failed or harmful reuse; it is never a required completion step. Load only the selected operation's reference. The optional OKF page profile checks structure only.

One authority per fact

BD or the caller's tracker owns work and handoffs, Git owns content history, and native sessions or CASS own episodes. Reviewed topic pages in a project .context/ or an external bundle hold reusable claims and point to the docs, ADRs and code that own a policy instead of copying it. Do not make one lesson file per session, copy a transcript lake, or silently initialize a memory store. Read a project .context/ from its README.md map, when present, with rg and cat; this needs neither BD nor AO and creates nothing. External bundles and the ao config context route are in Find / recall.

Access, storage and honest limits

Use only sources already authorized for the task, owner, model/provider and exact destination; read permission does not imply publication or Git storage. This skill enforces no access control, so do not route restricted material through it; ao session read-source grants no broader transcript access. Unavailable and denied evidence remain explicit gaps; do not fetch then redact. Drafts and review proof go inline in your reply or to storage outside Git that the caller named; missing routing does not authorize a workspace fallback. Preserve requested legacy .agents/ proof and unique evidence under owner policy. No blind TTL or delete operation is part of Memory. Labels and structural parsers do not prove isolation. ADR-0016 (AgentOps source checkout only) owns these boundaries. Mining is budgeted separately and cannot delay an authorized change or alter its verdict.

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.