memory-3layer SKILL.md skillA

memory-3layer from kimyx0207/kim_service is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kimyx0207/kim_service/memory-3layer@git:20261112.a12723c

Pins git:20261112.a12723c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kimyx0207/kim_service
Path
skills/memory-3layer/SKILL.md
Versions recorded
3
Latest version
git:20261112.a12723c, committed Nov 12, 2026
First version recorded
Jul 15, 2026
Size
10,198 bytes
Repository stars
193
License
MIT

为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks 自动接线,其他 Agent Skills 宿主只使用手动核心。不要用它保存秘密、完整聊天记录、一次性日志或未经确认的推测。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 三层记忆

## 本能力的验收方法

执行前读取 [method.json](method.json) 中当前 capabilityId 的诊断、决策和逐字段 outputChecks,并读取 [任务验收与完整示例](references/acceptance.md)。按本次能力选择相应规则,不用字段齐全、行数或作者自报代替产物质量。缺少 blocking 证据时保留未验收;既有具体授权与宿主最终决定权不变。

专业引用与工具路线继续按下文渐进读取;[来源记录](PROVENANCE.md) 和 [作者正反例](evals/professional-cases.json) 供评审。当前 Meta Skill 发现不会自动注入 method.json,宿主需按此入口读取;未观察到加载或执行时不得宣称生效。

把会影响后续工作的知识保存为可检查、可迁移、可控制生命周期的项目资产。默认数据目录是项目根目录下的 `.memory-3layer/`;`MEMORY_DIR` 可以显式覆盖。

组织事项经验治理时,同时读取 [operating-contract 的公司候选模板](references/operating-contract.md):Work/采用/效果分开,保留失败、拒用、适用/失效与复用反馈。公司私有候选先留内部;本轮没有改变 Python 存储格式、自动检索或调度能力。普通记忆任务无需新增 Work 登记。

## 目标合同

为正在进行长期项目、会跨会话切换 Agent 的用户,生成一套人和 Agent 都能检查的三层记忆,并满足以下可观察标准:

- Layer 1 在 `areas/topics/<topic>/items.json` 保存带状态的结构化事实。
- Layer 2 在 `memory/YYYY-MM-DD.md` 保存按日期追加的工作轨迹。
- Layer 3 在 `MEMORY.md` 保存人工确认的长期隐性知识。
- 新会话只加载受预算约束的 active 内容,不把整个历史塞进上下文。
- 旧知识可标记为 `superseded`,不靠删除历史来制造“最新事实”。
- Claude Code 与 Codex 的自动化都调用同一 Python 核心;其他平台不伪装成自动支持。

## 触发与非触发

使用本技能:

- 用户要求“记住这条规则”“下次继续”“跨会话保存”“查看/清理项目记忆”。
- 项目已有 `.memory-3layer/`,当前任务需要读取其中的长期上下文。
- 项目仍有 `.claude/memory/`,用户要迁移到平台中立目录。
- 需要为 Claude Code 或 Codex 接入三层记忆生命周期。

不要使用:

- 只需写一次性日志、缓存、构建输出或完整会话转储。
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_igtcydj2ohc26xjr/f359ab77a33e8ed52435db6a5fcfaf37614bb21110d7401f5736706a60ea20c7.json

Then /plugin install memory-3layer@markdownregistry-igtcydj2ohc26xjr in Claude Code. It installs git:20261112.a12723c, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add kimyx0207/kim_service/memory-3layer@sha256:f359ab77a33e8ed5

The line at the top of this page pins the label git:20261112.a12723c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_igtcydj2ohc26xjr.svg)](https://markdownregistry.com/a/art_igtcydj2ohc26xjr)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in kimyx0207/kim_service/memory-3layer since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of memory-3layer from somewhere else? Ask it: where did my memory-3layer come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 3 versions of this file, between Jul 15, 2026 and Nov 12, 2026, about one every 60 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261112.a12723c latest2026-11-12 a12723c 10,198 BA view · diff
git:20261110.c4dcec82026-11-10 c4dcec8 9,843 BA view · diff
git:20260715.cad35172026-07-15 cad3517 9,146 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10198 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kimyx0207/kim_service · 193 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_igtcydj2ohc26xjr
GET https://markdownregistry.com/api/v1/resolve?ref=kimyx0207/kim_service/memory-3layer
GET https://markdownregistry.com/api/v1/blob/f359ab77a33e8ed52435db6a5fcfaf37614bb21110d7401f5736706a60ea20c7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kimyx0207/kim_service

accessibility-audit SKILL.md skill
kimyx0207/kim_service · skills/accessibility-audit/SKILL.md · 可访问性检查与修复(accessibility WCAG keyboard screen reader audit)。用真实任务检查键盘、阅读器、焦点、文字和错误恢复,并把问题落实到修复位置。用于检查页面能否用键盘和阅读器操作。;帮我修表单…
git:20261111.89b2b28 · audit A · 193 stars
agent-evaluation SKILL.md skill
kimyx0207/kim_service · skills/agent-evaluation/SKILL.md · 用相同数据集比较不同模型客户端的已有输出,保留缺失项、关键断言、分层回归和成本延迟预算。 agent evaluation offline regression budget
git:20261117.56fee03 · audit A · 193 stars
agent-teams-playbook SKILL.md skill
kimyx0207/kim_service · skills/agent-teams-playbook/SKILL.md · Cross-runtime playbook for multi-agent collaboration, agent teams, swarm orchestration, parallel task distribution…
v4.10.0 · audit A · 193 stars
agent-thinking-patterns SKILL.md skill
kimyx0207/kim_service · skills/agent-thinking-patterns/SKILL.md · 全行业、所有专业 Agent 可按任务选用的通用思考与行动方法。适合目标澄清、反证审查、目标倒推、专家方法比较、方案取舍、机会探索、先练后评、重复工作系统化、知识提炼或战略聚焦;不限定教育场景、不替换原 Agent…
git:20261115.381cd57 · audit A · 193 stars
api-contract-review SKILL.md skill
kimyx0207/kim_service · skills/api-contract-review/SKILL.md · API 契约审查(API contract OpenAPI compatibility idempotency)。检查接口是否能被真实调用、正确失败并兼容现有消费者。用于前后端要并行,先定接口。;API改版会不会破坏现有客户端?;接口重试和…
git:20261111.89b2b28 · audit A · 193 stars
construction-information-review SKILL.md skill
kimyx0207/kim_service · skills/construction-information-review/SKILL.md · 核对建筑模型信息要求、IFC/IDS版本、属性覆盖和交付证据 construction BIM IFC IDS information delivery review
git:20261110.c4dcec8 · audit A · 193 stars
customer-case-operations SKILL.md skill
kimyx0207/kim_service · skills/customer-case-operations/SKILL.md · 按可配置阶段、角色、材料和事件重放客户事项,输出下一步与缺项,独立保留验证、回执与采纳。 customer case operations workflow receipt
git:20261113.9c7ee35 · audit A · 193 stars
data-lineage-impact SKILL.md skill
kimyx0207/kim_service · skills/data-lineage-impact/SKILL.md · 核对字段血缘、变更影响范围、证据完整性与回归责任 data lineage impact analysis column change
git:20261113.3967162 · audit A · 193 stars
database-migration SKILL.md skill
kimyx0207/kim_service · skills/database-migration/SKILL.md · 数据库渐进迁移(database migration expand contract rollback PostgreSQL)。把数据库结构变更拆成兼容扩展、可重跑回填、切换和清理,保留可恢复路径。用于给已有大表加字段并迁移旧数据。;字段改…
git:20261111.89b2b28 · audit A · 193 stars
evidence-pack SKILL.md skill
kimyx0207/kim_service · skills/evidence-pack/SKILL.md · 把长文原文保留成带来源哈希的分页分块索引,按字节预算取回当前模块所需材料。 evidence source chunk context budget
git:20261113.9c7ee35 · audit A · 193 stars
experiment-analysis SKILL.md skill
kimyx0207/kim_service · skills/experiment-analysis/SKILL.md · 设计和审查随机实验、分流质量、指标与效果解释 experiment analysis A/B testing randomization SRM
git:20261110.c4dcec8 · audit A · 193 stars
feedback-to-requirements SKILL.md skill
kimyx0207/kim_service · skills/feedback-to-requirements/SKILL.md · 将客户反馈、明确重复关系与分组转成需求候选,计算独立客户数,保留矛盾证据和版本绑定采纳记录。 feedback requirements evidence ledger
git:20261117.56fee03 · audit A · 193 stars

Every file in kimyx0207/kim_service

Browse by kind, by grade A, or by owner.