Hipocampus Core
kevin-hs-sohn/hipocampus
3-tier agent memory system with 5-level compaction tree. An agent skill from kevin-hs-sohn/hipocampus.
Project memory workflow for init/upgrade, profile-aware setup, end session, normal/full close, file organization, document archiving, language switching, versioned update logs, rule review, status…
$ npx skills add JamesShi96/project-butler --skill project-butler -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JamesShi96/project-butler project-butler --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .claude/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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.
$ npx skills add JamesShi96/project-butler --skill project-butler -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JamesShi96/project-butler project-butler --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .agents/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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 JamesShi96/project-butler --skill project-butler -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JamesShi96/project-butler project-butler --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .cursor/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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.
$ npx skills add JamesShi96/project-butler --skill project-butler -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JamesShi96/project-butler project-butler --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .gemini/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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 JamesShi96/project-butler project-butlerInstalls 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 JamesShi96/project-butler --skill project-butler -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .github/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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 JamesShi96/project-butler --skill project-butler -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JamesShi96/project-butler project-butler --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "project-butler" agent skill from https://github.com/JamesShi96/project-butler/tree/main into .opencode/skills/project-butler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "project-butler", 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.
project-butlerProject memory workflow for init/upgrade, profile-aware setup, end session, normal/full close, file organization, document archiving, language switching, versioned update logs, rule review, status…
Project Butler is an agent skill from JamesShi96/project-butler. Project memory workflow for init/upgrade, profile-aware setup, end session, normal/full close, file organization, document archiving, language switching, versioned update logs, rule review, status, wiki sync, and context recovery. Use for /project-butler, setup/初始化, foundation setup, profile setup, end session/收工, normal close, full close, foundation repair, organize files/整理文件, change language/切换语言, continue/接着上次, continue full context/全面回顾, review claude, sync wiki, status. Maintains project memory files. Runs…
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 40 other files, including scripts and reference files (for example `README.md`, `README_zh.md` and `UPDATE_LOG.md`).
It sits in Agent Workflows, covering Agent memory and File organization. The repository describes itself as: Project memory system for AI coding assistants (Claude Code, Cursor, Codex): session logs, project wiki, rules, TODOs, and handoff. The licence is MIT.
Read from SKILL.md and the folder at commit 246dd66. 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/, which the agent can run.
Shell commands in SKILL.md call:
bashgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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.
Project Butler loads about 3.9k tokens when it runs, and up to ~36k if it reads all its reference files. Until then it costs about 145 tokens; SKILL.md has 1,470 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 JamesShi96/project-butler at commit 246dd66, republished under its MIT licence (© JamesShi96). 1,470 words, ~3,884 tokens.
.claude/skills/project-butler/SKILL.md (or your agent's skills folder). This skill also uses 35 other files; get the full folder from GitHub.Initialize standardized project memory:
上层(稳定原则)
┌─────────────────────────────────────┐
│ CLAUDE.md(项目宪法)← 人工确认 │
│ ↑ candidates(AI 自动收集候选) │
└─────────────────────────────────────┘
↑ 抽象沉淀
中层(当前快照)
┌─────────────────────────────────────┐
│ PROJECT.md(项目 Wiki)← AI 自动同步 │
│ 概览 / 结构 / 模块状态 / 文件索引 │
│ STRUCTURE.md(文件管理规则)← AI 自动│
│ 目录规则 / 匹配条件 / 整理历史 │
│ UPDATE_LOG.md(里程碑变化)← AI 自动 │
│ DOCS.md(文档索引 + 元数据)← AI 自动 │
│ .claude/project-profile.json(画像配置)│
│ .claude/profile-pending.json(画像待处理)│
└─────────────────────────────────────┘
↑ 状态汇总
下层(事实流水)
┌────────────────────┐ ┌────────────────────┐
│ log/(会话日志) │ │ TODO.md(执行清单)│
│ raw + summaries │ │ owner/deadline/ │
│ + archive(分级) │ │ deps │
└────────────────────┘ └────────────────────┘
↓
session-handoff.md(下次接手点)Core idea: bottom feeds top, top constrains bottom. Logs and TODOs are raw facts. Handoff marks the next resume point. Wiki is the current snapshot. Structure manages file organization. Docs index manages document output. Update Log records versioned milestone changes. Constitution is stable principles.
Supports 3 language modes: English (en), Chinese (zh), or bilingual. All content adapts to the selected language.
<EXTREMELY_IMPORTANT>
Before any other step, read references/update-check.md and execute
the version freshness check described there.
VERSION_NOTICE: block → do NOT print it
verbatim. Instead present ONE interactive update prompt with
AskUserQuestion, worded in the project's CLAUDE.md language:VERSION_NOTICE: line).bash "<SKILL_DIR>/scripts/check-update.sh" --pull "<SKILL_DIR>"
as a single Bash call, then report its UPDATE_OK / UPDATE_FAILED
output to the user.PROJECT_BUTLER_NO_UPDATE_CHECK=1 to silence permanently.
Present this prompt once, before the triggered work. The script already
limits it to once per 24h, so do not add your own suppression.git pull on the skill directory yourself EXCEPT as the
"Update now" action the user explicitly selected (which runs the
--pull subcommand above).<path>" line
in the current skill loading prompt, skip the check silently and
continue to Step 0.
</EXTREMELY_IMPORTANT>Determine how this skill was triggered:
A. "整理文件" / "organize files":
references/file-reorganization.mdB. "收工" / "end session" / "结束会话" / "we're done" / "wrap up" / "done for today" / "normal close" / "full close":
C. Initialization (/project-butler, 初始化项目, setup project, etc.): → Continue to Init Flow below
D. "切换语言" / "change language":
references/language-change.md + references/language-adaptation.mdE. "continue" / "接着上次" / "上次做到哪了":
references/continue.mdF. "continue full context" / "全面回顾" / "项目全景" / "full context":
references/continue-full-context.mdG. "review claude" / "审查规则" / "更新宪法" / "check the rules":
.claude/candidates.md.claude/candidates.mdH. "sync wiki" / "同步项目" / "update overview" / "refresh overview":
I. "status" / "项目现状" / "where are we":
.claude/project-profile.json or .claude/profile-pending.json exists, read references/project-profile-system.md and include profile debt / review queue in the dashboardJ. "foundation setup" / "profile setup" / "foundation repair" / "profile repair" / "profile sync":
references/project-profile-system.mdWhen triggered by "end session" / "结束会话" / "收工" / "we're done" / "wrap up" / "done for today" / "normal close" / "full close", execute in order:
log/session-YYYY-MM-DD-{slug}.mdsession-2026-04-21-prd-draft.md)references/log-compaction.md and execute.claude/candidates.md (see rules below).claude/project-profile.json exists, .claude/profile-pending.json exists, or the user explicitly requested Normal Close / Full Close / profile sync:references/project-profile-system.md.claude/profile-pending.jsonreferences/file-reorganization.md, execute Mode B.claude/.file-snapshot.jsonreferences/document-archiving.md, scan and archive document outputdocs/ subdirectoriesDOCS.md index and metadatareferences/update-log.mdAfter end session, summarize outcomes instead of listing internal protocol steps:
Session saved.
Updated:
- Handoff refreshed
- TODO updated: {done count} done, {active count} active
- Project wiki synced
- Profile: {normal close / full close / no profile impact / profile pending count}
- Documents archived: {count}
- Update log: {version added or skipped}
Next:
- {next action}
- {next action}Omit lines that do not apply. For status, answer as a compact dashboard:
Current Status
Project:
- Stage: {stage}
- Focus: {current focus}
Active Work:
- {active item}
Recent Change:
- {latest update log entry or "No milestone update yet"}
Profile:
- {profile shape / pending debt / review needed, only when profile files exist}
Next Best Step:
- {single recommended next step}Session log headers adapt to the configured language (read references/language-adaptation.md for glossary).
# Session YYYY-MM-DD — {topic}
## Session Goal
## Key Actions (Chronological)
## Decisions & Rationale
## Output Files
## Unfinished Items / Next Session Pickup
## CLAUDE.md Candidates (if any)AI automatically appends to .claude/candidates.md when:
Never promote candidates into CLAUDE.md automatically. All candidates require explicit user review via "review claude" before CLAUDE.md is changed.
Each task in TODO.md must include:
- [ ] {task description}
Owner: {name} | Deadline: {date} | Dependencies: {prerequisite}If user provides a task missing required fields, ask them to fill in. Completed tasks are checked and kept (not deleted).
Scan project root for: CLAUDE.md, PROJECT.md, session-handoff.md, TODO.md, log/, STRUCTURE.md, UPDATE_LOG.md, DOCS.md, docs/, .claude/.file-snapshot.json, .claude/candidates.md, .claude/project-profile.json, .claude/profile-pending.json
references/project-profile-system.md and run Foundation Setup as the default setup path. Create the base 7-component memory stack, .claude/project-profile.json, .claude/profile-pending.json, and only the user-confirmed baseline docs. For lightweight projects, use maintenance.preference = "lightweight" and keep Required docs minimal instead of skipping profile state.references/upgrade-mode.md; if profile files are missing, also read references/project-profile-system.md and offer profile-aware upgrade using the latest Foundation Setup modelFor Fresh initialization, follow Foundation Setup in references/project-profile-system.md: ask for the required setup basics, ask for a natural project description, infer the project shape, generate project-specific foundation areas, ask only targeted follow-up questions, and propose Required / Recommended / Optional documents before file creation.
AskUserQuestion should still keep setup lightweight. Make clear that the user can press Enter for recommended defaults.
Required:
Recommended defaults:
en / zh / bilingual (default bilingual)Read references/file-templates.md + references/language-adaptation.md + references/document-archiving.md + references/project-profile-system.md.
Create each file using templates, replacing {{VARIABLES}} with user answers. For UPDATE_LOG.md, calculate the initial version based on the version style selection and current date (e.g., semantic → v0.1.0, date → 2026.06.1). Apply language adaptation rules and glossary from the reference.
Create log/.gitkeep (empty file) alongside log/ directory so git tracks it when empty.
Create .claude/.file-snapshot.json with empty content: {"lastScan":"","files":{}}.
Create .claude/project-profile.json, .claude/profile-pending.json, and confirmed Required profile baseline docs from the approved Foundation Setup proposal.
If the user enabled Cursor support, create .cursor/rules/project-system.mdc from Template 6.
If the user enabled Codex support, create AGENTS.md from Template 6b. If AGENTS.md already exists, do not overwrite it; offer to append the project-butler section after confirmation.
Adapt this report to the configured language:
Project memory is ready.
Daily commands:
- end session — save progress and next steps
- continue — resume next time
- status — check current state
Advanced:
- review claude — approve long-term rules when needed
Created:
- Project memory and handoff notes
- TODO tracking
- Document index
- Update log
- Profile config and pending queue: created
- File organization rules
- Cursor rules: created / skipped
- Codex AGENTS.md: created / skipped
Settings:
- Language: {{LANGUAGE}}
- Version style: {{VERSION_STYLE}} (starting: {{VERSION_INITIAL}})| Trigger | Read these files |
|---|---|
| Init (fresh) | references/file-templates.md + references/language-adaptation.md + references/document-archiving.md + references/project-profile-system.md |
| Init (upgrade) | above + references/upgrade-mode.md; include references/project-profile-system.md when creating, repairing, or preserving profile files |
| End session | references/file-reorganization.md + references/document-archiving.md + references/update-log.md + references/log-compaction.md (if logs ≥ threshold); include references/project-profile-system.md when profile files exist or Normal/Full Close is requested |
| 整理文件 / organize files | references/file-reorganization.md |
| 切换语言 / change language | references/language-change.md + references/language-adaptation.md |
| continue / 接着上次 | references/continue.md |
| continue full context / 全面回顾 | references/continue-full-context.md |
| review claude / 审查规则 | Inline workflow in Step 0 |
| sync wiki / 同步项目 | Inline workflow in Step 0 |
| status / 项目现状 | Inline workflow in Step 0; include references/project-profile-system.md when profile files exist |
| profile setup / full close / foundation repair | references/project-profile-system.md |
© JamesShi96, 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 35 other files (scripts, references) in the repository root of JamesShi96/project-butler.
Open the folder on GitHubat commit 246dd66
Project Butler 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 |
|---|---|---|---|---|---|---|
| Project Butler this skillJamesShi96/project-butler | 374 | — | ~3.9k | Automated safety check: Pass | MIT | |
| Hipocampus Corekevin-hs-sohn/hipocampus | 210 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Hipocampus Corekevin-hs-sohn/hipocampus | 210 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Hipocampus Corekevin-hs-sohn/hipocampus | 210 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Hipocampus Corekevin-hs-sohn/hipocampus | 210 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Directory Managementawslabs/agent-plugins | 916 | — | ~426 | Automated safety check: Pass | Apache-2.0 |
kevin-hs-sohn/hipocampus
3-tier agent memory system with 5-level compaction tree. An agent skill from kevin-hs-sohn/hipocampus.
kevin-hs-sohn/hipocampus
3-tier agent memory system with 5-level compaction tree. An agent skill from kevin-hs-sohn/hipocampus.
kevin-hs-sohn/hipocampus
3-tier agent memory system with 5-level compaction tree. An agent skill from kevin-hs-sohn/hipocampus.
kevin-hs-sohn/hipocampus
3-tier agent memory system with 5-level compaction tree. An agent skill from kevin-hs-sohn/hipocampus.
awslabs/agent-plugins
Manages project directory setup and artifact organization. An agent skill from awslabs/agent-plugins.
giuseppe-trisciuoglio/developer-kit
Provides comprehensive memory file management capabilities including auditing, quality assessment, and targeted improvements for files such as CLAUDE.md.
Categories
Project memory workflow for init/upgrade, profile-aware setup, end session, normal/full close, file organization, document archiving, language switching, versioned update logs, rule review, status…. Project Butler is an agent skill from JamesShi96/project-butler. Project memory workflow for init/upgrade, profile-aware setup, end session, normal/full close, file organization, document archiving, language switching, versioned update logs, rule review, status, wiki sync, and context recovery.
Project Butler fits situations like: /project-butler; foundation setup; foundation repair; organize files/整理文件.
Run `npx skills add JamesShi96/project-butler --skill project-butler -a claude-code`. Or copy the skill folder (the JamesShi96/project-butler repository) into .claude/skills/project-butler in your project. Claude Code loads it when a task matches its description.
Run `npx skills add JamesShi96/project-butler --skill project-butler -a codex`. Or copy the skill folder (the JamesShi96/project-butler repository) into .agents/skills/project-butler 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 JamesShi96/project-butler --skill project-butler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/project-butler, .gemini/skills/project-butler, .github/skills/project-butler and .opencode/skills/project-butler in your project.
Going by SKILL.md and its folder, Project Butler needs the command-line tools its instructions call (bash and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Project Butler is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.9k tokens (SKILL.md is roughly 16k 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 32k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Project Butler: Hipocampus Core (kevin-hs-sohn/hipocampus, 210 stars), Hipocampus Core (kevin-hs-sohn/hipocampus, 210 stars), Hipocampus Core (kevin-hs-sohn/hipocampus, 210 stars) and Hipocampus Core (kevin-hs-sohn/hipocampus, 210 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
JamesShi96 (a GitHub user) maintains it in JamesShi96/project-butler, which has 374 GitHub stars. The repository was last updated on July 29, 2026.
Source: JamesShi96/project-butler on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.