agentleFS
JurnLoryuJurnLoryu/claude-code-starter-kit/memory/SKILL.md

memory

Skill0 starsChanged 5 months agoMITView on GitHub

The user's persistent file-based memory + daily-log system, encoded as a skill. Sediments non-obvious learnings — root causes, established standards, pitfalls, user preferences — into memory files with an index, and auto-creates/updates a daily log of work done. Use whenever finishing a chunk of work, after a non-obvious fix or decision, when the user says to remember something, or to write the day's log. Triggers: remember this, sediment, write log, daily log, recap, 记一下, 记住, 沉淀, 写日记, 复盘, 总结今天.

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

Files
SKILL.md

Memory

把非显然的经验沉淀成带索引的记忆文件,并按「月/日」自动写工作日记——让 AI 有"记性"。

把"非显然的东西只踩一次坑"做成习惯:边干边沉淀记忆 + 自动写日记。

文件化记忆(~/.claude/projects/<project>/memory/)

  • 一事一文件,frontmatter:name(kebab,与文件名一致) / description(一句话,供召回判定) / metadata.type(user|feedback|project|reference)。
  • 正文写事实;feedback/project 类补 Why 和 How to apply 两行。用 [[name]] 互链相关记忆(链到还没写的也行,等于标记待写)。
  • 在 MEMORY.md 加一行索引(标题 + 钩子);MEMORY.md 只放索引,正文永远在各自文件。
  • 去重而非堆叠:先找已覆盖同一事的文件直接改它,别新建重复;写错就删。
  • 相对日期转绝对("昨天"→具体日期)。

该记 / 不该记

  • 记:非显然的修复根因、确立的标准与约定、踩过的坑、用户偏好与反馈。
  • 不记:代码本身/git 历史/CLAUDE.md 已说明的;只对当前对话有用的。被要求记这类时,问"哪里非显然",只记那个点。

自动日记(做完一段工作就写,不必用户开口)

  • 位置沿用项目日志库的现有命名:<X月日记>/<YY.M.D>/<YY.M.D>.md(例:记忆代码/六月日记/26.6.7/26.6.7.md)。
  • 今天没有该文件就创建,已有就追加一节;用今天的真实日期。
  • 一节写:做了什么 · 关键决策与理由 · 踩的坑与解法 · 改了哪些文件。
  • 基于真实发生的事;没干事的休息日不补建空日志。

边界

记忆/日志库 ≠ 代码工程源。真实代码在各自仓库;记忆库只存记忆与日志,别当代码目录用。

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.