Agent Skill
Workplace memory (CLAUDE.md and memory/)
Decodes your workplace shorthand from a CLAUDE.md hot cache and a memory/ folder of people, projects and terms, and asks what new terms mean, then saves them.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkInstall
Commands are pinned to commit 0e0fcac, the version we read, wherever the install method supports it.
npx skills
npx skills add anthropics/knowledge-work-plugins@0e0fcacddcc892eb92a1b7873ff9d68159c47571 --skill memory-management -a claude-codeCopies the skill into .claude/skills/ in this project, pinned to the reviewed commit.
Plugin marketplace
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install productivity@knowledge-work-pluginsRun inside Claude Code. Installs the whole productivity plugin from its default branch, not the pinned commit, including the /start command that seeds memory and the plugin's MCP connectors.
npx skills
npx skills add anthropics/knowledge-work-plugins@0e0fcacddcc892eb92a1b7873ff9d68159c47571 --skill memory-management -a codexInstalls to .agents/skills/, which Codex scans from the working directory up to the repo root.
npx skills
npx skills add anthropics/knowledge-work-plugins@0e0fcacddcc892eb92a1b7873ff9d68159c47571 --skill memory-management -a cursorInstalls to .agents/skills/, one of the folders Cursor reads skills from.
gh skill
gh skill install anthropics/knowledge-work-plugins productivity/skills/memory-management --pin 0e0fcacddcc892eb92a1b7873ff9d68159c47571 --agent github-copilotNeeds GitHub CLI 2.90.0 or later. Use --scope user to install for every repository.
npx skills
npx skills add anthropics/knowledge-work-plugins@0e0fcacddcc892eb92a1b7873ff9d68159c47571 --skill memory-managementPinned to the commit we reviewed. The CLI asks which agents to install for; add -g to install for your user instead of this project.
What it does
The other skill in Anthropic’s productivity plugin. Before acting on a request, the agent decodes names, acronyms and codenames through a tiered lookup: CLAUDE.md in the working directory first (a hot cache of about 30 people, 30 terms and the active projects, kept under about 100 lines), then memory/glossary.md, then the profiles in memory/people/, memory/projects/ and memory/context/, and finally it asks you and saves the answer. The SKILL.md gives a template for each file, a table of what goes where, and rules for promoting an entry to CLAUDE.md when it is used often and demoting it when a project ends or a contact goes quiet. Seeding the memory from chat, calendar, email and documents is left to the plugin’s /productivity:start command.
When to use it
You work through an agent every day and keep explaining the same people, acronyms and project names. Once the files are seeded, a request such as “ask todd to do the PSR for oracle” resolves to a person, a document and a deal without clarifying questions. Everything is plain markdown you can read, correct and back up, and the lookup order keeps the always-loaded part small.
When to skip it
Inside a code repository: the skill writes its own # Memory layout into CLAUDE.md in the working directory, and in a repository that file is usually the team’s shared project instructions. Run it from a separate personal folder instead. The people files are profiles of colleagues (preferences, reporting lines, personal notes) kept in plain text, so check your employer’s rules before you let it write them. Claude Code reads CLAUDE.md at startup; agents that do not will only see the cache when the skill runs.
Try it
Remember that PSR means Pipeline Status Report, our weekly sales doc,
and that "Phoenix" is the Postgres migration Sarah Chen leads. Then draft
a Slack message asking Dev for this week's PSR on Phoenix.
What it can touch
- Bundles scripts
- No
- Pre-approved tools
- None declared
- Needs
- Nothing beyond the agent
- Client-specific fields
- user-invocable
- Files
- At commit
0e0fcacthe SKILL.md is 323 lines long and is the only file in the folder.
claude.ai and the Claude API reject uploads that use fields outside the open spec or names containing "claude" or "anthropic", so this skill needs editing before you upload it there.
Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.
Instructions only. The agent creates and edits CLAUDE.md and files under memory/ in the working directory, and nothing else. No scripts and no network calls; reading your email, chat and calendar happens only through the plugin’s start and update commands and whatever connectors you add. user-invocable is a Claude Code field, so claude.ai and the API refuse the upload.
Alternatives
- Task management with TASKS.md, its partner skill in the same plugin.
- Agent memory and compaction if you want to set up
CLAUDE.mdand auto memory for coding work yourself. - Handoff for passing one session’s state to a fresh agent.
SKILL.md
The file exactly as published at the reviewed commit, reproduced under its Apache-2.0 licence.
---
name: memory-management
description: Two-tier memory system that makes Claude a true workplace collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Claude understands requests like a colleague would. CLAUDE.md for working memory, memory/ directory for the full knowledge base.
user-invocable: false
---
# Memory Management
Memory makes Claude your workplace collaborator - someone who speaks your internal language.
## The Goal
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:
- **todd** → Todd Martinez, Finance lead, prefers Slack
- **PSR** → Pipeline Status Report (weekly sales doc)
- **oracle** → Oracle Systems deal, not the company
## Architecture
```
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):**
- Top ~30 people you interact with most
- ~30 most common acronyms/terms
- Active projects (5-15)
- Your preferences
- **Goal: Cover 90% of daily decoding needs**
**memory/glossary.md (Full Glossary):**
- Complete decoder ring - everyone, every term
- Searched when something isn't in CLAUDE.md
- Can grow indefinitely
**memory/people/, projects/, context/:**
- Rich detail when needed for execution
- Full profiles, history, context
## Lookup Flow
```
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/.
## File Locations
- **Working memory:** `CLAUDE.md` in current working directory
- **Deep memory:** `memory/` subdirectory
## Working Memory Format (CLAUDE.md)
Use tables for compactness. Target ~50-80 lines total.
```markdown
# 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
```
## Deep Memory Format (memory/)
**memory/glossary.md** - The decoder ring:
```markdown
# 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:**
```markdown
# 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:**
```markdown
# 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:**
```markdown
# 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 |
```
## How to Interact
### Decoding User Input (Tiered Lookup)
**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.
```
### Adding Memory
When user says "remember this" or "X means Y":
1. **Glossary items** (acronyms, terms, shorthand):
- Add to memory/glossary.md
- If frequently used, add to CLAUDE.md Quick Glossary
2. **People:**
- Create/update memory/people/{name}.md
- Add to CLAUDE.md Key People if important
- **Capture nicknames** - critical for decoding
3. **Projects:**
- Create/update memory/projects/{name}.md
- Add to CLAUDE.md Active Projects if current
- **Capture codenames** - "Phoenix", "the migration", etc.
4. **Preferences:** Add to CLAUDE.md Preferences section
### Recalling Memory
When user asks "who is X" or "what does X mean":
1. Check CLAUDE.md first
2. Check memory/ for full detail
3. If not found: "I don't know what X means yet. Can you tell me?"
### Progressive Disclosure
1. Load CLAUDE.md for quick parsing of any request
2. Dive into memory/ when you need full context for execution
3. Example: drafting an email to todd about the PSR
- CLAUDE.md tells you Todd = Todd Martinez, PSR = Pipeline Status Report
- memory/people/todd-martinez.md tells you he prefers Slack, is direct
## Bootstrapping
Use `/productivity:start` to initialize by scanning your chat, calendar, email, and documents. Extracts people, projects, and starts building the glossary.
## Conventions
- **Bold** terms in CLAUDE.md for scannability
- Keep CLAUDE.md under ~100 lines (the "hot 30" rule)
- Filenames: lowercase, hyphens (`todd-martinez.md`, `project-phoenix.md`)
- Always capture nicknames and alternate names
- Glossary tables for easy lookup
- When something's used frequently, promote it to CLAUDE.md
- When something goes stale, demote it to memory/ only
## What Goes Where
| 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/ |
## Promotion / Demotion
**Promote to CLAUDE.md when:**
- You use a term/person frequently
- It's part of active work
**Demote to memory/ only when:**
- Project completed
- Person no longer frequent contact
- Term rarely used
This keeps CLAUDE.md fresh and relevant.Related skills
Task management with TASKS.md
Keeps your to-do list in a TASKS.md file with Active, Waiting On, Someday and Done sections, edits it on request, and asks before adding tasks from meetings.
Handoff (Matt Pocock)
Writes a short handoff document from the current session so a fresh agent can pick up the work, saved to your temp folder with secrets redacted.
Grill me
A user-invoked interview that questions you in rounds until a loose idea becomes a plan you can commit to. Needs the companion grilling skill.
Guides and recipes that use Workplace memory (CLAUDE.md and memory/)
- Agent memory and compaction in practice
Keep long Claude Code sessions accurate with compaction, CLAUDE.md, auto memory, subagents and a summarise-and-restart routine, and know what survives each.