claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルKnowledge Work

🧠memory-management

プラグイン
Productivity

説明

二層構造のメモリシステムにより、Claudeを真の職場コラボレーターとして機能させます。 略語、頭字語、ニックネーム、社内用語などを解読し、同僚と話すように自然なリクエストをClaudeが理解できるようにします。 作業メモリには `CLAUDE.md`、全ナレッジベースの保存には `memory/` ディレクトリを使用します。

原文を表示

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.

ユースケース

  • 社内用語や略語を解読する必要があるとき
  • Claudeに職場の文脈を理解させたいとき
  • 長期的な情報を保存・参照したいとき
  • 同僚との自然な会話のようにリクエストするとき

本文(日本語訳)

メモリ管理

メモリ機能により、Claudeは社内の言語を理解する職場のコラボレーターになります。

目的

省略表現を正確な意味に変換します:

ユーザー: "ask todd to do the PSR for oracle"
              ↓ Claude が解読
"Todd Martinez(Finance リード)に Oracle Systems の案件($2.3M、Q2 クローズ予定)の
 Pipeline Status Report を作成するよう依頼する"

メモリがなければ、このリクエストは意味をなしません。 メモリがあれば、Claude は次のことを把握できます:

  • todd → Todd Martinez、Finance リード、Slack を好む
  • PSR → Pipeline Status Report(週次営業ドキュメント)
  • oracle → Oracle Systems の案件(企業名ではない)

アーキテクチャ

CLAUDE.md          ← ホットキャッシュ(主要人物 ~30 名、頻出用語)
memory/
  glossary.md      ← 完全デコーダーリング(全項目)
  people/          ← 詳細プロフィール
  projects/        ← プロジェクト詳細
  context/         ← 会社・チーム・ツール情報

CLAUDE.md(ホットキャッシュ):

  • 最もよく関わる上位 ~30 名
  • 最頻出の頭字語・用語 ~30 件
  • 進行中のプロジェクト(5〜15 件)
  • 個人の設定・好み
  • 目標: 日常的な解読ニーズの 90% をカバー

memory/glossary.md(完全グロッサリー):

  • 完全なデコーダーリング — 全員・全用語を網羅
  • CLAUDE.md に見つからない場合に検索
  • 無制限に拡張可能

memory/people/、projects/、context/:

  • 実行時に必要な詳細情報
  • 完全なプロフィール、履歴、コンテキスト

ルックアップの流れ

ユーザー: "ask todd about the PSR for phoenix"

1. CLAUDE.md を確認(ホットキャッシュ)
   → Todd? ✓ Todd Martinez、Finance
   → PSR? ✓ Pipeline Status Report
   → Phoenix? ✓ DB マイグレーションプロジェクト

2. 見つからない場合 → memory/glossary.md を検索
   → 完全グロッサリーに全員・全項目を収録

3. それでも見つからない場合 → ユーザーに確認
   → "X はどういう意味ですか?記憶しておきます。"

この階層的なアプローチにより、CLAUDE.md をコンパクト(~100 行)に保ちつつ、 memory/ で無制限のスケールに対応できます。

ファイルの場所

  • ワーキングメモリ: カレントディレクトリの CLAUDE.md
  • ディープメモリ: memory/ サブディレクトリ

ワーキングメモリの書式(CLAUDE.md

コンパクトさのためにテーブルを使用します。合計 ~50〜80 行を目標とします。

# Memory

## Me
[名前]、[チーム] の [役割]。[担当業務を一文で。]

## People
| Who | Role |
|-----|------|
| **Todd** | Todd Martinez、Finance リード |
| **Sarah** | Sarah Chen、Engineering(Platform) |
| **Greg** | Greg Wilson、Sales |
→ 全リスト: memory/glossary.md、プロフィール: memory/people/

## Terms
| Term | Meaning |
|------|---------|
| PSR | Pipeline Status Report |
| P0 | 最優先(全作業を中断) |
| standup | 毎朝 9 時の同期ミーティング |
→ 完全グロッサリー: memory/glossary.md

## Projects
| Name | What |
|------|------|
| **Phoenix** | DB マイグレーション、Q2 ローンチ |
| **Horizon** | モバイルアプリ再設計 |
→ 詳細: memory/projects/

## Preferences
- ミーティングは 25 分、前後にバッファあり
- 非同期優先、メールより Slack
- 金曜午後はミーティングなし

ディープメモリの書式(memory/)

memory/glossary.md — デコーダーリング:

# Glossary

職場の省略表現、頭字語、社内言語。

## Acronyms
| Term | Meaning | Context |
|------|---------|---------|
| PSR | Pipeline Status Report | 週次営業ドキュメント |
| OKR | Objectives & Key Results | 四半期計画 |
| P0/P1/P2 | 優先度レベル | P0 = 全作業を中断 |

## Internal Terms
| Term | Meaning |
|------|---------|
| standup | 毎朝 9 時 #engineering チャンネルでの同期 |
| the migration | Project Phoenix のデータベース作業 |
| ship it | 本番環境へのデプロイ |
| escalate | リーダーシップを巻き込む |

## Nicknames → Full Names
| Nickname | Person |
|----------|--------|
| Todd | Todd Martinez(Finance) |
| T | 同 Todd Martinez |

## Project Codenames
| Codename | Project |
|----------|---------|
| Phoenix | データベースマイグレーション |
| Horizon | 新モバイルアプリ |

memory/people/{name}.md:

# Todd Martinez

**別名:** Todd、T
**役割:** Finance リード
**チーム:** Finance
**上長:** CFO(Michael Chen)

## コミュニケーション
- Slack DM を好む
- レスポンスが早く、非常に端的
- 連絡しやすい時間帯: 午前中

## コンテキスト
- 全 PSR および財務レポートを担当
- $500k 超の案件承認の主要連絡先
- 売上予測で Sales と密に連携

## メモ
- Cubs ファン、野球の話が好き

memory/projects/{name}.md:

# Project Phoenix

**コードネーム:** Phoenix
**別称:** "the migration"
**ステータス:** 進行中、Q2 ローンチ予定

## 概要
レガシー Oracle から PostgreSQL へのデータベースマイグレーション。

## 主要メンバー
- Sarah — テックリード
- Todd — 予算オーナー
- Greg — ステークホルダー(Sales への影響あり)

## コンテキスト
予算 $1.2M、期間 6 ヶ月。Horizon プロジェクトのクリティカルパス。

memory/context/company.md:

# Company Context

## ツール・システム
| ツール | 用途 | 社内呼称 |
|--------|------|----------|
| 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" → Todd Martinez、Finance ✓
  "PSR" → Pipeline Status Report ✓
  "oracle" → (ホットキャッシュに未登録)

memory/glossary.md を参照:
  "oracle" → Oracle Systems 案件($2.3M) ✓

これで Claude は完全なコンテキストをもとに行動できます。

メモリの追加

ユーザーが「これを覚えておいて」や「X は Y のことだ」と言った場合:

  1. グロッサリー項目(頭字語・用語・省略表現):

    • memory/glossary.md に追加
    • 頻繁に使う場合は CLAUDE.md のクイックグロッサリーにも追加
  2. 人物:

    • memory/people/{name}.md を作成・更新
    • 重要な場合は CLAUDE.md の Key People にも追加
    • ニックネームを必ず記録 — デコードの要
  3. プロジェクト:

    • memory/projects/{name}.md を作成・更新
    • 進行中の場合は CLAUDE.md の Active Projects にも追加
    • コードネームを必ず記録 — "Phoenix"、"the migration" など
  4. 個人設定: CLAUDE.md の Preferences セクションに追加

メモリの参照

ユーザーが「X とは誰?」「X はどういう意味?」と聞いた場合:

  1. まず CLAUDE.md を確認
  2. 詳細は memory/ を確認
  3. 見つからない場合: 「X についてはまだ記憶していません。教えていただけますか?」

段階的な情報取得

  1. リクエストをすばやく解析するために CLAUDE.md を読み込む
  2. 実行に完全なコンテキストが必要な場合は memory/ を参照する
  3. 例: Todd への PSR に関するメールを下書きする場合
    • CLAUDE.md から Todd = Todd Martinez、PSR = Pipeline Status Report と判断
    • memory/people/todd-martinez.md から Slack を好む・端的なスタイルを把握

初期設定(ブートストラップ)

/productivity:start を使用して初期化します。 チャット、カレンダー、メール、ドキュメントをスキャンし、 人物・プロジェクトを抽出してグロッサリーの構築を開始します。

規約

  • CLAUDE.md ではスキャンしやすいように用語を 太字 にする
  • CLAUDE.md は ~100 行以内に収める(「ホット 30」ルール)
  • ファイル名: 小文字、ハイフン区切り(todd-martinez.mdproject-phoenix.md
  • ニックネームや別名は必ず記録する
  • 参照しやすいようにグロッサリーはテーブル形式にする
  • 頻繁に使う情報は CLAUDE.md に昇格させる
  • 使わなくなった情報は memory/ のみに降格させる

情報の格納先

種別 CLAUDE.md(ホットキャッシュ) memory/(フルストレージ)
人物 頻繁に関わる上位 ~30 名 glossary.md + people/{name}.md
頭字語・用語 最頻出 ~30 件 glossary.md(完全リスト)
プロジェクト 進行中のみ glossary.md + projects/{name}.md
ニックネーム Key People 上位 30 名分 glossary.md(全ニックネーム)
会社コンテキスト クイックリファレンスのみ context/company.md
個人設定 全設定
過去・陳腐化情報 ✗ 削除 ✓ memory/ に保持

昇格・降格

CLAUDE.md に昇格させる場合:

  • 用語・人物を頻繁に使うようになった
  • 現在進行中の作業に関係している

memory/ のみに降格させる場合:

  • プロジェクトが完了した
  • 頻繁に関わらなくなった人物
  • ほとんど使わなくなった用語

これにより、CLAUDE.md を常に新鮮で関連性の高い状態に保ちます。

原文(English)を表示

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.

# 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:

# 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 |

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.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。