Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks 自动接线,其他 Agent Skills 宿主只使用手动核心。不要用它保存秘密、完整聊天记录、一次性日志或未经确认的推测。
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install KimYx0207/Kim_Service memory-3layer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memory-3layer .claude/skills/memory-3layer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .claude/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install KimYx0207/Kim_Service memory-3layer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/memory-3layer .agents/skills/memory-3layer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .agents/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install KimYx0207/Kim_Service memory-3layer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/memory-3layer .cursor/skills/memory-3layer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .cursor/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/KimYx0207/Kim_Service.git --path skills/memory-3layer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install KimYx0207/Kim_Service memory-3layer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/memory-3layer .gemini/skills/memory-3layer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .gemini/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install KimYx0207/Kim_Service memory-3layerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/memory-3layer .github/skills/memory-3layer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .github/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KimYx0207/Kim_Service --skill memory-3layer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install KimYx0207/Kim_Service memory-3layer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KimYx0207/Kim_Service.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/memory-3layer .opencode/skills/memory-3layer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "memory-3layer" agent skill from https://github.com/KimYx0207/Kim_Service/tree/main/skills/memory-3layer into .opencode/skills/memory-3layer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory-3layer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
memory-3layer为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks 自动接线,其他 Agent Skills 宿主只使用手动核心。不要用它保存秘密、完整聊天记录、一次性日志或未经确认的推测。
Memory 3layer is an agent skill from KimYx0207/Kim_Service. 为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks 自动接线,其他 Agent Skills 宿主只使用手动核心。不要用它保存秘密、完整聊天记录、一次性日志或未经确认的推测。
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 46 other files, including scripts and reference files (for example `CHANGELOG.md`, `README.md` and `README_CN.md`). Compatibility notes: Requires Python 3.8+. Automatic lifecycle integration requires Claude Code Hooks or trusted Codex Hooks; other Agent Skills hosts use the manual core.
It sits in Development. It works with Git. The repository describes itself as: 面向 Claude Code、Codex 等 AI 编码助手的 Hook 与 Agent Skill 开源合集。 The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 20296f7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires Python 3.8+. Automatic lifecycle integration requires Claude Code Hooks or trusted Codex Hooks; other Agent Skills hosts use the manual core.
From compatibility in the SKILL.md frontmatter.
Memory 3layer loads about 1.2k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 287 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from KimYx0207/Kim_Service at commit 20296f7, republished under its MIT licence (© KimYx0207). 287 words, ~1,205 tokens.
.claude/skills/memory-3layer/SKILL.md (or your agent's skills folder). This skill also uses 42 other files; get the full folder from GitHub.把会影响后续工作的知识保存为可检查、可迁移、可控制生命周期的项目资产。默认数据目录是项目根目录下的 .memory-3layer/;MEMORY_DIR 可以显式覆盖。
为正在进行长期项目、会跨会话切换 Agent 的用户,生成一套人和 Agent 都能检查的三层记忆,并满足以下可观察标准:
areas/topics/<topic>/items.json 保存带状态的结构化事实。memory/YYYY-MM-DD.md 保存按日期追加的工作轨迹。MEMORY.md 保存人工确认的长期隐性知识。superseded,不靠删除历史来制造“最新事实”。使用本技能:
.memory-3layer/,当前任务需要读取其中的长期上下文。.claude/memory/,用户要迁移到平台中立目录。不要使用:
在写入前先确认五项事实:项目根目录、当前宿主、.memory-3layer/ 是否存在、legacy .claude/memory/ 是否存在、当前任务是否授权写入。无法确认项目根目录或写入权限时,只报告发现,不创建或迁移文件。
输入:
claude、codex 或 manual。MEMORY_DIR、MEMORY_MAX_ITEMS、MEMORY_DAILY_DAYS、MEMORY_TOPICS。输出:
.memory-3layer/ 中变更后的三层记忆文件。| 步骤 | 输入 | 动作 | 可观察输出 | 转移条件 | 失败路线 |
|---|---|---|---|---|---|
| 1. 定位 | cwd、Git 状态、宿主标识 | 确定项目根、运行平台、数据目录与写权限 | 输出四项定位结果 | 路径唯一且权限符合任务 | 路径不唯一则询问;无写权限则切换只读状态检查 |
| 2. 初始化或迁移 | 当前目录、legacy 目录、用户授权 | 新项目初始化 .memory-3layer/;legacy 仅在显式迁移时复制并校验,默认不覆盖 | 标准目录存在;迁移报告列出 copied/skipped/conflict | 结构校验通过 | 冲突或目标非空时停止,不删除源目录,转人工处理 |
| 3. 加载 | active facts、近期日记、MEMORY.md、预算参数 | 按 Layer 3 → Layer 2 → Layer 1 组装受限上下文 | loader 返回可读上下文和条目计数 | 输出未超预算且来源可追溯 | 文件损坏时跳过坏文件并报告;不得静默重写 |
| 4. 记录 | 用户明确记忆、受确认的记忆协议、现有条目 | 调用 scripts/record_memory.py,脱敏、分类、去重后追加 Layer 1/2;只把人工确认的长期结论提升到 Layer 3 | 文件 diff 显示新增或去重跳过 | 每条记录有来源、日期与状态 | 普通工具输出不自动持久化;内容含秘密、来源不明或只是推测时拒绝并说明原因 |
| 5. 会话保护 | PreCompact/等价事件或手动请求 | 保存最小可恢复状态,不保存完整聊天记录 | session state 可解析并含时间与摘要 | 写入原子完成 | 无对应事件的宿主降级为手动保存,不声称自动恢复 |
| 6. 复查 | 三层文件、日期、status | 识别重复、冲突、过时条目,提出 active → superseded 建议 | review 报告与逐项建议 | 用户确认后再改状态 | 无法判断新旧时保持原状并标记待确认 |
| 7. 验证 | 包文件、临时项目、宿主配置 | 运行包校验与目标平台测试;检查 Hook 是否实际触发 | 分别报告 artifact、adapter、runtime 三层结果 | 所需层级都有证据 | 只通过静态校验时只能称“配置完成”,不能称“自动运行已验证” |
| 平台 | Agent Skills | 自动生命周期 | 接线位置 | 使用前提 |
|---|---|---|---|---|
| Claude Code | 是 | 是,适配 SessionStart、PostToolUse、PreCompact | .claude/settings.json | Python 可用;项目 Hooks 已启用 |
| Codex | 是 | 是,适配同类 Codex Hooks 事件 | .codex/hooks.json | Python 可用;安装后在 /hooks 审查并信任项目 Hooks |
| 其他支持 Agent Skills 的宿主 | 视宿主而定 | 否 | 无自动接线 | 使用 manual 核心,显式加载、记录、复查 |
“支持 Agent Skills”不等于“自动支持其 Hook 协议”。没有适配器或运行证据时,一律标为 manual。
.memory-3layer/ 和明确选择的平台配置;合并现有配置,不覆盖无关 Hooks;不自动提交 Git。旧版默认路径 .claude/memory/ 只作为只读发现来源,不再作为新写入默认值。只有用户明确要求迁移时才运行:
python scripts/migrate_legacy_memory.py --project-dir <目标项目>迁移默认复制到 .memory-3layer/、不覆盖现有文件、不删除 legacy。完整冲突规则见 references/migration.md。
用户说“记住”时,由 Agent 调用受控记录入口;不要假设普通 PostToolUse 输出会自动变成事实:
python scripts/record_memory.py --project-dir <目标项目> --fact "这个项目统一使用 pnpm" --topic workflow只有本包受管记录器传入的顶层 memory_fact 可以持久化。任何工具响应中的 summary、fact、confirmed 或其他原始输出都默认忽略。
.claude/memory/ 或用户要求改路径:读 references/migration.md。先验证平台中立核心,再验证目标平台适配器:
python scripts/check_memory_3layer.py
python -m unittest discover -s evals -p "test_*.py"静态测试不能证明宿主已触发 Hook。Claude Code 需在新会话观察加载事件;Codex 需先通过 /hooks 信任,再在新会话观察加载事件。报告时分开写:
artifact_status:文件与结构是否一致。adapter_status:平台配置是否合并成功。runtime_status:真实宿主事件是否触发并产生预期输出。当前公开源是 KimYx0207/Kim_Service 中的 skills/memory-3layer/。旧 KimYx0207/claude-memory-3layer 仅保留历史 provenance,不再作为安装源或当前能力声明依据。
© KimYx0207, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 42 other files (scripts, references) in skills/memory-3layer of KimYx0207/Kim_Service.
Open the folder on GitHubat commit 20296f7
Memory 3layer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Memory 3layer this skillKimYx0207/Kim_Service | 174 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Code Design Rationale Investigatorcursor/plugins | 11k | 9 repos | ~2.6k | Automated safety check: Pass | None | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Finishing A Development Branchfarm-fe/farm | 5.6k | 34 repos | ~1.8k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
farm-fe/farm
A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
KimYx0207/Kim_Service
创建、重构或验收可复用技能包。适用于把重复工作流做成跨宿主能力包,并明确触发规则、第一动作、渐进加载、资产模板、脚本校验、触发评测、基线对比、验收证据、闭环治理、公开交付边界和不可伪造的运行证明;也适用于清理冗余参考、拆分人读模板与机器结构数据、补齐首次公开前的验收记录、记录运行反馈、生成写回或不写回决定。当用户提到"做一个 skill / 改 skill / 优化 skill / 评审…
KimYx0207/Kim_Service
Cross-runtime playbook for multi-agent collaboration, agent teams, swarm orchestration, parallel task distribution, capability discovery, and quality gates on Claude Code, Codex, OpenClaw, and Cursor.
KimYx0207/Kim_Service
生成完整的小红书/Rednote 图文发布包:先自动研究内容机会,再完成标题、正文、封面、6-8 页内页、逐页视觉导演表、Image2 优先图片路线、封面 MVP 确认、批量出图和发布前自检。适用于课程、服务、产品、个人 IP、本地商家和知识分享;单点标题、封面字或改写不触发。
KimYx0207/Kim_Service
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities.
KimYx0207/Kim_Service
A skill your agent uses when the user asks for KIM, Kim, laojin, 老金, 问问老金, 老金怎么看, asks for decision analysis, structured reasoning, product/business/content review, PRD, MVP, user path, growth…
KimYx0207/Kim_Service
Runs the installed local Semgrep CLI through a bounded JSON wrapper with two bundled non-secret rules.
Works with
Categories
为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks 自动接线,其他 Agent Skills 宿主只使用手动核心。不要用它保存秘密、完整聊天记录、一次性日志或未经确认的推测。. Memory 3layer is an agent skill from KimYx0207/Kim_Service.
Memory 3layer fits situations like: development work in your project.
Run `npx skills add KimYx0207/Kim_Service --skill memory-3layer -a claude-code`. Or copy the skill folder (skills/memory-3layer in KimYx0207/Kim_Service) into .claude/skills/memory-3layer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add KimYx0207/Kim_Service --skill memory-3layer -a codex`. Or copy the skill folder (skills/memory-3layer in KimYx0207/Kim_Service) into .agents/skills/memory-3layer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add KimYx0207/Kim_Service --skill memory-3layer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-3layer, .gemini/skills/memory-3layer, .github/skills/memory-3layer and .opencode/skills/memory-3layer in your project.
Going by SKILL.md and its folder, Memory 3layer needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires Python 3.8+. Automatic lifecycle integration requires Claude Code Hooks or trusted Codex Hooks; other Agent Skills hosts use the manual core..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Memory 3layer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Memory 3layer: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Code Design Rationale Investigator (cursor/plugins, 11k stars) and Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
KimYx0207 (a GitHub user) maintains it in KimYx0207/Kim_Service, which has 174 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 6, 2026.
Source: KimYx0207/Kim_Service on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.