memory-management by anthropics/knowledge-work-plugins
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill memory-management记忆让 Claude 成为你的工作伙伴——一个懂你内部语言的人。
将简写转化为理解:
用户:"ask todd to do the PSR for oracle"
↓ Claude 解码
"请托德·马丁内斯(财务负责人)准备 Oracle Systems 交易的
管线状态报告(230万美元,第二季度结案)"
没有记忆,这个请求毫无意义。有了记忆,Claude 知道:
CLAUDE.md ← 热缓存(约30人,常用术语)
memory/
glossary.md ← 完整解码环(所有内容)
people/ ← 完整个人档案
projects/ ← 项目详情
context/ ← 公司、团队、工具
CLAUDE.md(热缓存):
memory/glossary.md(完整术语表):
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
memory/people/, projects/, context/:
用户:"ask todd about the PSR for phoenix"
1. 检查 CLAUDE.md(热缓存)
→ Todd? ✓ 托德·马丁内斯,财务部
→ PSR? ✓ 管线状态报告
→ Phoenix? ✓ 数据库迁移项目
2. 如果未找到 → 搜索 memory/glossary.md
→ 完整术语表包含所有人/所有内容
3. 如果仍未找到 → 询问用户
→ "X 是什么意思?我会记住它。"
这种分层方法使 CLAUDE.md 保持精简(约100行),同时支持 memory/ 目录的无限扩展。
CLAUDE.mdmemory/ 子目录使用表格以保持紧凑。目标总行数约50-80行。
# 记忆
## 关于我
[姓名],[团队]的[角色]。[一句关于我工作内容的描述。]
## 人员
| 谁 | 角色 |
|-----|------|
| **Todd** | 托德·马丁内斯,财务负责人 |
| **Sarah** | 萨拉·陈,工程部(平台组) |
| **Greg** | 格雷格·威尔逊,销售部 |
→ 完整列表:memory/glossary.md,档案:memory/people/
## 术语
| 术语 | 含义 |
|------|---------|
| PSR | 管线状态报告 |
| P0 | 最高优先级(放下一切处理) |
| standup | 每日上午9点同步会 |
→ 完整术语表:memory/glossary.md
## 项目
| 名称 | 内容 |
|------|------|
| **Phoenix** | 数据库迁移,第二季度发布 |
| **Horizon** | 移动应用重新设计 |
→ 详情:memory/projects/
## 偏好
- 25分钟会议,带缓冲时间
- 异步优先,Slack 优于邮件
- 周五下午不安排会议
memory/glossary.md - 解码环:
# 术语表
工作场所简写、缩写和内部语言。
## 缩写
| 术语 | 含义 | 上下文 |
|------|---------|---------|
| PSR | 管线状态报告 | 每周销售文档 |
| OKR | 目标与关键成果 | 季度规划 |
| P0/P1/P2 | 优先级级别 | P0 = 放下一切处理 |
## 内部术语
| 术语 | 含义 |
|------|---------|
| standup | 每日上午9点在 #engineering 频道的同步会 |
| the migration | Project Phoenix 数据库工作 |
| ship it | 部署到生产环境 |
| escalate | 上报给领导层 |
## 昵称 → 全名
| 昵称 | 人员 |
|----------|--------|
| Todd | 托德·马丁内斯(财务部) |
| T | 也是托德·马丁内斯 |
## 项目代号
| 代号 | 项目 |
|----------|---------|
| Phoenix | 数据库迁移 |
| Horizon | 新移动应用 |
memory/people/{name}.md:
# 托德·马丁内斯
**亦称为:** Todd, T
**角色:** 财务负责人
**团队:** 财务部
**汇报给:** CFO(迈克尔·陈)
## 沟通方式
- 偏好 Slack 私信
- 回复迅速,非常直接
- 最佳沟通时间:上午
## 背景
- 处理所有 PSR 和财务报告
- 超过50万美元交易审批的关键联系人
- 与销售部在预测方面紧密合作
## 备注
- 小熊队球迷,喜欢谈论棒球
memory/projects/{name}.md:
# Project Phoenix
**代号:** Phoenix
**亦称为:** "the migration"
**状态:** 活跃,第二季度发布
## 项目内容
从遗留 Oracle 到 PostgreSQL 的数据库迁移。
## 关键人员
- Sarah - 技术负责人
- Todd - 预算负责人
- Greg - 利益相关者(销售影响)
## 背景
120万美元预算,6个月时间线。Horizon 项目的关键路径。
memory/context/company.md:
# 公司背景
## 工具与系统
| 工具 | 用途 | 内部名称 |
|------|----------|---------------|
| Slack | 沟通 | - |
| Asana | 工程任务 | - |
| Salesforce | CRM | "SF" 或 "the CRM" |
| Notion | 文档/wiki | - |
## 团队
| 团队 | 职责 | 关键人员 |
|------|--------------|------------|
| Platform | 基础设施 | Sarah(负责人) |
| Finance | 财务相关 | Todd(负责人) |
| Sales | 营收 | Greg |
## 流程
| 流程 | 含义 |
|---------|---------------|
| Weekly sync | 周一上午10点全员会议 |
| Ship review | 周四部署审批 |
始终 在根据请求行动前解码简写:
1. CLAUDE.md(热缓存) → 首先检查,覆盖90%的情况
2. memory/glossary.md → 如果不在热缓存中,则查询完整术语表
3. memory/people/, projects/ → 需要丰富细节时查询
4. 询问用户 → 未知术语?学习它。
示例:
用户:"ask todd to do the PSR for oracle"
CLAUDE.md 查找:
"todd" → 托德·马丁内斯,财务部 ✓
"PSR" → 管线状态报告 ✓
"oracle" → (不在热缓存中)
memory/glossary.md 查找:
"oracle" → Oracle Systems 交易(230万美元) ✓
现在 Claude 可以在完整上下文中行动。
当用户说"记住这个"或"X 意思是 Y"时:
术语表条目(缩写、术语、简写):
人员:
项目:
偏好: 添加到 CLAUDE.md 偏好部分
当用户询问"X 是谁"或"X 是什么意思"时:
使用 /productivity:start 通过扫描你的聊天记录、日历、邮件和文档来初始化。提取人员、项目并开始构建术语表。
todd-martinez.md, project-phoenix.md)| 类型 | CLAUDE.md(热缓存) | memory/(完整存储) |
|---|---|---|
| 人员 | 前约30位频繁联系人 | glossary.md + people/{name}.md |
| 缩写/术语 | 约30个最常用 | glossary.md(完整列表) |
| 项目 | 仅活跃项目 | glossary.md + projects/{name}.md |
| 昵称 | 如果是前30位,则在关键人员中 | glossary.md(所有昵称) |
| 公司背景 | 仅快速参考 | context/company.md |
| 偏好 | 所有偏好 | - |
| 历史/过时内容 | ✗ 移除 | ✓ 保留在 memory/ |
提升到 CLAUDE.md 当:
降级到仅保留在 memory/ 当:
这使 CLAUDE.md 保持新鲜和相关性。
每周安装量
376
仓库
GitHub 星标数
8.9K
首次出现
Jan 31, 2026
安全审计
安装于
opencode340
codex330
gemini-cli322
github-copilot314
amp295
kimi-cli295
Memory makes Claude your workplace collaborator - someone who speaks your internal language.
Transform shorthand into understanding:
User: "ask todd to do the PSR for oracle"
↓ Claude decodes
"Ask Todd Martinez (Finance lead) to prepare the Pipeline Status Report
for the Oracle Systems deal ($2.3M, closing Q2)"
Without memory, that request is meaningless. With memory, Claude knows:
CLAUDE.md ← Hot cache (~30 people, common terms)
memory/
glossary.md ← Full decoder ring (everything)
people/ ← Complete profiles
projects/ ← Project details
context/ ← Company, teams, tools
CLAUDE.md (Hot Cache):
memory/glossary.md (Full Glossary):
memory/people/, projects/, context/:
User: "ask todd about the PSR for phoenix"
1. Check CLAUDE.md (hot cache)
→ Todd? ✓ Todd Martinez, Finance
→ PSR? ✓ Pipeline Status Report
→ Phoenix? ✓ DB migration project
2. If not found → search memory/glossary.md
→ Full glossary has everyone/everything
3. If still not found → ask user
→ "What does X mean? I'll remember it."
This tiered approach keeps CLAUDE.md lean (~100 lines) while supporting unlimited scale in memory/.
CLAUDE.md in current working directorymemory/ subdirectoryUse tables for compactness. Target ~50-80 lines total.
# Memory
## Me
[Name], [Role] on [Team]. [One sentence about what I do.]
## People
| Who | Role |
|-----|------|
| **Todd** | Todd Martinez, Finance lead |
| **Sarah** | Sarah Chen, Engineering (Platform) |
| **Greg** | Greg Wilson, Sales |
→ Full list: memory/glossary.md, profiles: memory/people/
## Terms
| Term | Meaning |
|------|---------|
| PSR | Pipeline Status Report |
| P0 | Drop everything priority |
| standup | Daily 9am sync |
→ Full glossary: memory/glossary.md
## Projects
| Name | What |
|------|------|
| **Phoenix** | DB migration, Q2 launch |
| **Horizon** | Mobile app redesign |
→ Details: memory/projects/
## Preferences
- 25-min meetings with buffers
- Async-first, Slack over email
- No meetings Friday afternoons
memory/glossary.md - The decoder ring:
# Glossary
Workplace shorthand, acronyms, and internal language.
## Acronyms
| Term | Meaning | Context |
|------|---------|---------|
| PSR | Pipeline Status Report | Weekly sales doc |
| OKR | Objectives & Key Results | Quarterly planning |
| P0/P1/P2 | Priority levels | P0 = drop everything |
## Internal Terms
| Term | Meaning |
|------|---------|
| standup | Daily 9am sync in #engineering |
| the migration | Project Phoenix database work |
| ship it | Deploy to production |
| escalate | Loop in leadership |
## Nicknames → Full Names
| Nickname | Person |
|----------|--------|
| Todd | Todd Martinez (Finance) |
| T | Also Todd Martinez |
## Project Codenames
| Codename | Project |
|----------|---------|
| Phoenix | Database migration |
| Horizon | New mobile app |
memory/people/{name}.md:
# Todd Martinez
**Also known as:** Todd, T
**Role:** Finance Lead
**Team:** Finance
**Reports to:** CFO (Michael Chen)
## Communication
- Prefers Slack DM
- Quick responses, very direct
- Best time: mornings
## Context
- Handles all PSRs and financial reporting
- Key contact for deal approvals over $500k
- Works closely with Sales on forecasting
## Notes
- Cubs fan, likes talking baseball
memory/projects/{name}.md:
# Project Phoenix
**Codename:** Phoenix
**Also called:** "the migration"
**Status:** Active, launching Q2
## What It Is
Database migration from legacy Oracle to PostgreSQL.
## Key People
- Sarah - tech lead
- Todd - budget owner
- Greg - stakeholder (sales impact)
## Context
$1.2M budget, 6-month timeline. Critical path for Horizon project.
memory/context/company.md:
# Company Context
## Tools & Systems
| Tool | Used for | Internal name |
|------|----------|---------------|
| Slack | Communication | - |
| Asana | Engineering tasks | - |
| Salesforce | CRM | "SF" or "the CRM" |
| Notion | Docs/wiki | - |
## Teams
| Team | What they do | Key people |
|------|--------------|------------|
| Platform | Infrastructure | Sarah (lead) |
| Finance | Money stuff | Todd (lead) |
| Sales | Revenue | Greg |
## Processes
| Process | What it means |
|---------|---------------|
| Weekly sync | Monday 10am all-hands |
| Ship review | Thursday deploy approval |
Always decode shorthand before acting on requests:
1. CLAUDE.md (hot cache) → Check first, covers 90% of cases
2. memory/glossary.md → Full glossary if not in hot cache
3. memory/people/, projects/ → Rich detail when needed
4. Ask user → Unknown term? Learn it.
Example:
User: "ask todd to do the PSR for oracle"
CLAUDE.md lookup:
"todd" → Todd Martinez, Finance ✓
"PSR" → Pipeline Status Report ✓
"oracle" → (not in hot cache)
memory/glossary.md lookup:
"oracle" → Oracle Systems deal ($2.3M) ✓
Now Claude can act with full context.
When user says "remember this" or "X means Y":
Glossary items (acronyms, terms, shorthand):
People:
Projects:
Preferences: Add to CLAUDE.md Preferences section
When user asks "who is X" or "what does X mean":
Use /productivity:start to initialize by scanning your chat, calendar, email, and documents. Extracts people, projects, and starts building the glossary.
todd-martinez.md, project-phoenix.md)| Type | CLAUDE.md (Hot Cache) | memory/ (Full Storage) |
|---|---|---|
| Person | Top ~30 frequent contacts | glossary.md + people/{name}.md |
| Acronym/term | ~30 most common | glossary.md (complete list) |
| Project | Active projects only | glossary.md + projects/{name}.md |
| Nickname | In Key People if top 30 | glossary.md (all nicknames) |
| Company context | Quick reference only | context/company.md |
| Preferences | All preferences | - |
| Historical/stale | ✗ Remove | ✓ Keep in memory/ |
Promote to CLAUDE.md when:
Demote to memory/ only when:
This keeps CLAUDE.md fresh and relevant.
Weekly Installs
376
Repository
GitHub Stars
8.9K
First Seen
Jan 31, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode340
codex330
gemini-cli322
github-copilot314
amp295
kimi-cli295
头脑风暴技能:AI协作设计流程,将创意转化为完整规范与实施计划
77,000 周安装