跳到主要内容
Supermarket
返回能力市场
Claude Skill
productivity
MIT

project-butler

Project memory system for AI coding assistants (Claude Code, Cursor, Codex): session logs, project wiki, rules, TODOs, and handoff.

JamesShi96JamesShi96
83/ 100

公开评测 · 综合采用结论

证据充分,整体质量与安全表现优秀

查看评测依据 评测我的项目基于公开项目证据,非安全认证或安装推荐
372stars
11forks
最近更新 2个月前
评测生成时间(北京时间)
本报告引擎
v3.10.0
当前引擎
v3.16.0

本报告与当前引擎使用不同规则;原分数不会自动更新,不同版本的分数不宜直接对比。

重新评测此项目

进入后确认来源与额度,提交才会创建任务。

Evaluation report

综合采用结论

83
B
满分 100
值得推荐低风险
决策摘要

证据充分,整体质量与安全表现优秀

88%
高置信度
92
文档
100
安全
81
质量
72
活跃
40
采用
  • 基础评测完成+25/25确定性评分与静态安全扫描已完成
  • README 有效证据+25/2515,367 个去重后的有效字符
  • 独立证据来源+8/202 类非重复证据,重复文件不叠加
  • 仓库元数据+10/10已取得仓库状态与采用数据
  • 活跃记录+5/5已取得最近提交时间
  • AI 复核+15/15已完成结构化 AI 证据复核
How it works · 流程图

project-butler 会话流程

README描述从设置到结束会话再到恢复的连续步骤,适合用流程图表示。

AI 提取 · 证据约束

左右滑动查看完整图示

project-butler 会话流程README描述从设置到结束会话再到恢复的连续步骤,适合用流程图表示。初始化后会话结束下次继续设置项目记忆用户触发正常工作用户与AI协作结束会话保存进度恢复会话下次开始
图示依据
  • • Quick Start中步骤:/project-butler, end session, continue
  • • Main Commands表格中命令用途
五维表现
解决AI跨会话记忆丢失的真实问题,提供清晰命令和文件结构,但缺少错误处理与排障文档,且部分高级功能依赖内部机制未充分展示。
质量证据
  • README中'Why It Exists'列出具体痛点如'重新解释架构'
  • Main Commands表格列出命令及使用场景
  • What It Maintains列出维护的文件树
  • Requirements列出依赖jq和Claude Code
  • Update Log记录版本变更
采用建议
优势
  • 问题与用途描述
  • 有效 README
  • 安装或接入步骤
  • 可执行示例
  • 未发现已知高风险模式
关注点
  • 缺少错误处理或排障
  • 缺少错误处理或排障章节
  • 高级命令(如full close)的边界和失败处理未详细说明
  • 更新检查的副作用和调试限制仅简要提及
  • 未提供最小可运行示例的完整代码
适合

使用Claude Code进行长期项目开发的团队、需要跨会话保持项目上下文的个人开发者、在多个AI编码助手间切换的用户、希望维护项目规则和文档一致性的项目

不建议直接用于

不需要跨会话记忆的简单一次性任务、对AI编码助手无依赖的传统开发环境

也有自己的公开项目?先看完证据,再用当前规则生成独立报告。

评测我的项目 →
文档证据
92/100
问题与用途描述10 分
有效 README12 分
安装或接入步骤14 分
可执行示例16 分
输入、参数或工具说明11 分
输出或结果说明9 分
限制、权限或边界12 分
错误处理或排障8 分
许可证信息5 分
结构化章节3 分
安全证据
低风险
未发现已知高风险模式

静态扫描不是安全保证,生产接入前仍应人工复核权限和数据边界。

优先改进清单
  1. 01补充错误处理或排障
方法、证据与局限展开
数据来源

GitHub Repository API

扫描范围

2 个文件 · 31,934 字符

评测引擎

v3.10.0 · AI 复核已启用(deepseek-chat)

局限
  • 静态评测不会安装或执行项目代码
  • 安全扫描基于高信号文件与已知模式,不能替代人工审计
  • 流行度只反映采用程度,不代表安全或工程质量

README

project-butler

English | 中文

GitHub stars GitHub release License: MIT AI Coding Assistants

Make AI coding agents remember your project between sessions.

project-butler helps Claude Code, Cursor, Codex, and similar AI coding assistants behave like long-term project teammates instead of starting from scratch every session.

For normal use, you only need four actions:

/project-butler   Set up project memory
end session       Save progress and next steps
continue          Resume next time
status            Check where the project stands

For projects that need stronger product, architecture, roadmap, research, or eval alignment, project-butler can also create a Project Profile during setup and offer profile-aware Normal Close / Full Close behavior.

Quick Start

Install as a Claude Code skill:

git clone https://github.com/JamesShi96/project-butler.git ~/.claude/skills/project-butler

Open any project and set up project memory:

/project-butler

Work normally. At the end of a work session:

end session

Next time, resume without re-explaining the project:

continue

That is enough for daily use. For Cursor, Codex, and other assistants, see Tool Compatibility.

Updating project-butler

The skill auto-checks for updates on every invocation. Once per day per machine, it runs git fetch against its own repo and compares local HEAD to origin/main. If behind, Claude Code asks you once — and at most once every 24 hours:

project-butler is 3 commits behind upstream. Update now?
  › Update now       — pull the latest version right here
  › Remind me later  — ask again tomorrow
  › Stop reminding   — turn the check off

Picking Update now runs a fast-forward-only git pull for you and reports the result. If it fails (local changes, offline, SSH blocked), you get the manual command plus an HTTPS fallback. Nothing is ever pulled without you choosing it.

The prompt is worded in your project's CLAUDE.md Language: setting (English / Chinese / bilingual), and stops appearing once you are up to date — the cache is keyed on commit SHA, not just time.

Side effect on git status: after the auto-fetch, git status inside the skill directory may show "behind origin/main by N commits". This is expected and harmless — the skill never modifies the working tree unless you pick "Update now".

Silencing: export PROJECT_BUTLER_NO_UPDATE_CHECK=1. Only the literal value "1" silences — =0, =false, or empty does not silence (counter-intuitive but intentional).

Note: the check runs as a skill instruction, so it is best-effort — it may occasionally not fire. Run the script manually any time you want a definitive answer.

Debugging a missing prompt: from an external shell only, run the shared update-check script with PROJECT_BUTLER_UPDATE_CHECK_DEBUG=1. Never enable debug inside Claude Code — CC captures stderr into the LLM context and debug output will leak into responses.

Cursor / Codex: these tools do not have Claude Code's skill lifecycle, so update checks are manual/on-demand:

bash "${PROJECT_BUTLER_SKILL_DIR:-$HOME/.claude/skills/project-butler}/scripts/check-update.sh"

Outside Claude Code there is no prompt — the script just prints a VERSION_NOTICE: block with the update command when you are behind, and nothing when you are current.

Reach limitation: if you installed project-butler before v1.7.0, you do not have this auto-check feature yet. Pull once manually:

cd ~/.claude/skills/project-butler && git pull

After that, future updates are announced automatically.

Why It Exists

AI coding assistants are powerful in one session and forgetful across sessions. If any of these sound familiar, project-butler is for you:

  • "I had to re-explain the architecture again." Each new session starts with missing context.
  • "What did we decide about naming conventions last week?" Decisions disappear into chat history.
  • "The README and TODOs keep drifting from reality." Project state stops matching the files.
  • "The AI keeps violating rules I already explained." Rules live in your head instead of in project memory.
  • "I switch between Claude Code, Cursor, and Codex." Different tools need one shared source of truth.

project-butler turns a project folder into that source of truth, so the next AI session can pick up where the last one stopped.

Main Commands

All triggers are natural language. Use slash commands only for first-time setup.

CommandUse it when
/project-butlerSet up or upgrade project memory.
end session / we're doneSave progress, refresh next steps, and record important changes.
continue / continue from last timeResume the previous session without re-explaining context.
status / where are weGet the current project state and the next best step.

Advanced Commands

CommandUse it when
continue full contextRebuild the full project trajectory after a long break or assistant switch.
review claude / check the rulesReview candidate project rules before they become long-term rules.
sync wiki / update overviewForce-refresh PROJECT.md.
organize filesClean up new files according to STRUCTURE.md.
change languageSwitch project management files between English, Chinese, and bilingual mode.
normal closeSave the session and defer profile-impacting updates into the pending queue.
full closeAlign affected profile docs now with a bounded Scope Plan.
profile setup / foundation repairCreate or repair the project profile and baseline reference docs after confirmation.

Session recovery (continue / continue full context) is routed through project-butler internally. There is no separate /continue command to install.

What It Maintains

Run /project-butler once. It maintains these plain Markdown files in your project:

project-root/
├── CLAUDE.md                   <- Project rules / constitution
├── PROJECT.md                  <- Current project wiki
├── STRUCTURE.md                <- File organization rules
├── UPDATE_LOG.md               <- Milestone-level changelog
├── DOCS.md                     <- Document index and metadata
├── session-handoff.md          <- Cross-session handoff
├── TODO.md                     <- Execution checklist
├── docs/                       <- Archived project documents
├── log/                        <- Session logs
└── .claude/
    ├── candidates.md           <- Candidate rules for review
    ├── project-profile.json    <- Project profile config
    ├── profile-pending.json    <- Profile pending/debt queue
    └── .file-snapshot.json     <- File organization snapshot

The core files are plain Markdown, so other tools can read them even when they do not run the skill natively.

What that means in practice:

  • Keeps the current project state readable.
  • Keeps next steps clear between sessions.
  • Keeps project documents indexed and findable.
  • Records milestone changes so the project has a clear history.
  • Keeps new files from drifting into random folders.
  • Preserves long-term rules only after user review.

Project Butler also keeps a small machine-readable profile so the assistant can understand which long-lived docs matter, which sections are protected, and which profile updates have been deferred.

Tool Support

ToolStatusHow it works
Claude CodeNative skillInstall this repo under ~/.claude/skills/project-butler and run /project-butler.
CursorProject rules, best-effortproject-butler can generate .cursor/rules/project-system.mdc, which points Cursor at the same project memory files and mirrors the main triggers.
CodexAGENTS.md, best-effortproject-butler can generate AGENTS.md, which points Codex at the same project memory files and mirrors the main triggers.
Other AI assistantsFile-basedAny assistant that can read project files can use the project memory as shared context.

See docs/compatibility.md for details and caveats.

How It Works

Internals: The Memory Stack

project-butler uses a 7-component memory stack internally, organized by stability:

Stable rules
┌─────────────────────────────────────┐
│  CLAUDE.md / project rules          │  <- Human-reviewed principles
│  ↑ candidates collected by AI       │
└─────────────────────────────────────┘
            ↑ distilled from work
Current state
┌─────────────────────────────────────┐
│  PROJECT.md                         │  <- What the project is now
│  STRUCTURE.md                       │  <- Where files belong
│  UPDATE_LOG.md                      │  <- Milestone-level changes
│  DOCS.md                            │  <- Document index
│  .claude/project-profile.json       │  <- Profile config
│  .claude/profile-pending.json       │  <- Profile debt queue
└─────────────────────────────────────┘
            ↑ summarized from facts
Raw facts
┌──────────────────────┐ ┌───────────────────────┐
│  log/                │ │  TODO.md              │
│  What happened       │ │  What needs doing     │
└──────────────────────┘ └───────────────────────┘
            ↓
session-handoff.md       <- Where the next session should resume

Bottom feeds top. Top constrains bottom.

  • Session logs capture what happened.
  • Handoff tells the next assistant where to resume.
  • Project wiki summarizes the current state.
  • TODOs keep execution visible.
  • Rules / constitution preserve decisions that should keep guiding the project.
  • Update log records significant changes at milestone level.
  • Structure rules keep files from drifting into chaos.
  • Document index keeps project documents organized under docs/.
  • Project profile tracks project shape, document tiers, document policies, pending profile updates, and review queue items.

Project Profiles

Project Profile System is internal profile-aware behavior for setup and close. Fresh setup stays conversational and can remain lightweight by creating only minimal confirmed docs.

During setup, project-butler asks what you are trying to do in natural language, infers the project shape, asks a few targeted follow-up questions, and proposes Required / Recommended / Optional reference docs. It does not force you to pick a fixed project type or expose Profile System as a setup switch.

During close, profile-aware projects can use:

ModeBehavior
Normal CloseSave the session and record profile-impacting changes in .claude/profile-pending.json.
Full CloseRead only affected profile docs, present a Scope Plan, and apply safe updates inside that boundary.

Full Close confirms boundaries, not every small edit. It still requires explicit confirmation before changing protected sections, document policies, stable baselines, or whole-document rewrites.

Language Support

project-butler supports three language modes:

ModeContent languageUser file naming
enEnglishEnglish naming (kebab-case)
zhChineseChinese naming allowed
bilingualChinese with English annotationsEnglish preferred, Chinese acceptable

You choose the mode during setup, and can later say change language.

Version Naming

During setup, project-butler asks which version style the project should use:

StyleExampleBest for
Semanticv0.1.0Engineering projects and libraries
CodenameProject Name 0.1Products, brands, and creative projects
PatchPatch 1Games and iterative content releases
Date2026.06.1Research logs, operations, and document-heavy work

end session uses this style when a significant update deserves an UPDATE_LOG.md entry.

Upgrade Mode

If a project already has some management files, project-butler creates only the missing ones. It does not replace existing files; when a system section needs an update, it asks before making a small targeted patch. It also detects legacy .claude/memory/ layouts and suggests migration.

During upgrade, project-butler preserves existing files and offers to bring the project into the current profile-aware setup model. It infers profile state from existing project docs and asks for confirmation before writing profile files or changing existing document policies.

Examples

See docs/examples.md for a complete session flow:

  1. initialize a project,
  2. work normally,
  3. end the session,
  4. resume the next day,
  5. review accumulated rules.

Requirements

  • Claude Code CLI for native skill execution
  • jq for continue / continue full context session recovery
  • Optional: Cursor for generated project rules
  • Optional: Codex or other AI coding assistants that can read project Markdown files and AGENTS.md

Update Log

v1.7.1 (2026-06-21) - Multi-Tool Compatibility Foundation

  • Extract version freshness detection into scripts/check-update.sh so Claude Code can keep automatic Step -1 checks while Cursor/Codex can run manual checks on demand.
  • Add Codex AGENTS.md project-instruction template and update Cursor rules with manual update-check coverage.
  • Document best-effort Cursor/Codex support and add an adapter coverage matrix.

v1.6.0 (2026-06-10) - Project Profile System Runtime Wiring

  • Add references/project-profile-system.md and route profile setup, Normal Close, Full Close, Foundation Repair, and profile-aware status through the main skill.
  • Teach generated project rules, continue, full context recovery, and upgrade mode to read and preserve profile files.
  • Document Project Profile System as internal profile-aware runtime behavior on top of the base 7-component memory stack.

v1.5.1 (2026-06-03) - Product Noise Reduction

  • Reframe the README around four primary actions: /project-butler, end session, continue, and status.
  • Move internals behind "How it works" and make examples result-focused.
  • Update generated CLAUDE/Cursor rules to separate daily workflow from advanced commands.

v1.5.0 (2026-06-03) - Versioned Update Log System

  • Add version style selection during setup: Semantic, Codename, Patch, and Date.
  • Teach end-session update logging to calculate the next version from the selected style.
  • Sync README, examples, compatibility docs, generated rules, continue recovery, document archiving, upgrade mode, and trigger routing with the current memory stack.

v1.4.1 (2026-06-02) - Cross-Reference + Flow Consistency

  • Fix DOCS.md, file snapshot, language switching, continue recovery, and template consistency gaps found through six review rounds.
  • Align document archiving, file reorganization, and Cursor rule templates.

v1.3.0 (2026-06-01) - Four-Phase File Reorganization

  • Replace template-based file organization with Discover, Ask or Plan, Plan, and Execute phases.
  • Add confidence routing, safe move planning, and a never-delete cleanup policy.

v1.2.1 (2026-05-09) - Skill Loader Compatibility

  • Move continue reference workflows under references/ instead of nested SKILL.md files.
  • Shorten skill metadata to satisfy loader limits.
  • Keep session recovery routed through the main project-butler skill.

Full update log: UPDATE_LOG.md | Releases: GitHub Releases

Star History

Star History Chart

License

MIT