mnemonics
過去の会話内容を記憶し、ユーザーの決定や学習内容、好みを踏まえて文脈を管理するSkill。
📜 元の英語説明(参考)
Memory management by using the historian subagent to store, recall, and manage persistent memories across conversations. Use when you need to remember decisions, preferences, learnings, or retrieve stored context.
🇯🇵 日本人クリエイター向け解説
過去の会話内容を記憶し、ユーザーの決定や学習内容、好みを踏まえて文脈を管理するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o mnemonics.zip https://jpskill.com/download/6791.zip && unzip -o mnemonics.zip && rm mnemonics.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6791.zip -OutFile "$d\mnemonics.zip"; Expand-Archive "$d\mnemonics.zip" -DestinationPath $d -Force; ri "$d\mnemonics.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
mnemonics.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
mnemonicsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[スキル名] mnemonics
Mnemonics: Historian を介したメモリ管理
重要: @historian を使用する必要があります
メモリツールは、@historian サブエージェントを介してのみ利用できます。これらのツールを直接呼び出すことはできません。
memory_remember- メモリを作成または更新しますmemory_recall- メモリを検索および取得しますmemory_forget- メモリを削除しますmemory_list_types- 利用可能なメモリタイプを一覧表示しますmemory_sync- 検索インデックスを再構築します
常に historian に委任してください:
@historian remember that we decided on PostgreSQL for the database
@historian what did we decide about authentication?
メモリタイプ
| タイプ | 用途 | 例 |
|---|---|---|
architectural-decision |
システムアーキテクチャの選択 | "スケーリングのためにリードレプリカ付きのPostgreSQLを使用" |
design-decision |
UI/UX の決定 | "ダッシュボードのカードレイアウト、デスクトップでは3列" |
learning |
教訓と発見 | "BunのネイティブTSサポートによりビルドステップが不要に" |
user-preference |
ユーザー設定 | "ユーザーはダークモード、スペースではなくタブを好む" |
project-preference |
チームの慣例 | "Conventional Commitsを使用し、PRレビューは必須" |
issue |
既知の問題 | "レート制限はまだ実装されていません、#42で追跡中" |
context |
一般的なコンテキスト (デフォルト) | "プロジェクトは2026年2月に開始、MVP目標はQ2" |
recurring-pattern |
再利用可能なパターン | "エラー処理: try/catchでラップし、{error}を返す" |
conventions-pattern |
コーディング標準 | "名前付きエクスポートを使用し、デフォルトエクスポートは避ける" |
注: プロジェクトは、設定を介してカスタムメモリタイプを定義できます。現在のプロジェクトで利用可能な完全なリストを確認するには、常に
@historian list all memory types availableを使用してください。
Historian に委任するタイミング
記憶 (作成/更新):
- 重要なアーキテクチャまたは設計上の決定を下した後
- ユーザーが作業方法に関する設定を述べたとき
- コードベースやツールについて重要な何かを発見したとき
- セッション間で永続化すべき教訓を学んだとき
想起 (検索/取得):
- 新しいセッションを開始するとき → 関連するコンテキストを想起する
- ユーザーが「Xについて何と決めましたか?」と尋ねたとき
- 決定がすでになされたかどうかを確認する必要があるとき
- 既知の問題やパターンを探しているとき
忘却 (削除):
- ユーザーが古くなったメモリや誤ったメモリを削除したいとき
- 重複したエントリや無関係なエントリをクリーンアップするとき
同期 (再インデックス):
.mnemonics/内のメモリファイルを手動で編集した後- 検索結果が古く見えるとき
プロンプトの例
記憶
@historian remember that we decided on JWT auth with 15-min expiry
@historian save this learning: Bun handles TypeScript natively without compilation
@historian note that the user prefers minimal UI animations
@historian store this as an architectural-decision: we're using event sourcing for the audit log
想起
@historian what did we decide about authentication?
@historian recall any known issues with the API
@historian what are my preferences for this project?
@historian show all architectural decisions
@historian find memories about database choices
管理
@historian list all memory types available
@historian forget the memory about the old API design
@historian sync the index to include recent memory files
仕組み
- メモリは YAML フロントマター付きの Markdown ファイルとして
.mnemonics/{type}/{title}.mdに保存されます。 - インデックス作成は qmd (ハイブリッド BM25 + ベクトル検索) を介して自動的に行われます。
- Historian は分類、重複排除、セマンティック検索を処理します。
- ファイルは Git フレンドリーです - チーム間で共有するためにコミットしてください。
ベストプラクティス
- タイトルは具体的にする - 「重要な決定」ではなく「qmd-cli-for-writes」のようにします。
- Historian に分類させる - 重複を避けるためにまず検索します。
- 決定する前に想起する - 決定がすでに存在するかどうかを確認します。
- メモリファイルをコミットする - それらはプロジェクトの知識の一部です。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Mnemonics: Memory Management via Historian
CRITICAL: You Must Use @historian
Memory tools are ONLY available via the @historian subagent. You CANNOT call these tools directly:
memory_remember- Create or update memoriesmemory_recall- Search and retrieve memoriesmemory_forget- Delete memoriesmemory_list_types- List available memory typesmemory_sync- Rebuild the search index
Always delegate to historian:
@historian remember that we decided on PostgreSQL for the database
@historian what did we decide about authentication?
Memory Types
| Type | Use For | Example |
|---|---|---|
architectural-decision |
System architecture choices | "Using PostgreSQL with read replicas for scaling" |
design-decision |
UI/UX decisions | "Card layout for dashboard, 3 columns on desktop" |
learning |
Lessons and discoveries | "Bun's native TS support removes build step need" |
user-preference |
User preferences | "User prefers dark mode, tabs not spaces" |
project-preference |
Team conventions | "We use conventional commits, PR reviews required" |
issue |
Known problems | "Rate limiting not implemented yet, tracking in #42" |
context |
General context (default) | "Project started Feb 2026, MVP target Q2" |
recurring-pattern |
Reusable patterns | "Error handling: wrap in try/catch, return {error}" |
conventions-pattern |
Coding standards | "Use named exports, avoid default exports" |
Note: Projects may define custom memory types via configuration. Always use
@historian list all memory types availableto see the complete list for the current project.
When to Delegate to Historian
Remember (create/update):
- After making a significant architectural or design decision
- User states a preference about how they work
- Discovering something important about the codebase or tools
- Learning a lesson that should persist across sessions
Recall (search/retrieve):
- Starting a new session → recall relevant context
- User asks "what did we decide about X?"
- Need to check if a decision was already made
- Looking for known issues or patterns
Forget (delete):
- User wants to remove outdated or incorrect memories
- Cleaning up duplicated or irrelevant entries
Sync (reindex):
- After manually editing memory files in
.mnemonics/ - When search results seem outdated
Example Prompts
Remembering
@historian remember that we decided on JWT auth with 15-min expiry
@historian save this learning: Bun handles TypeScript natively without compilation
@historian note that the user prefers minimal UI animations
@historian store this as an architectural-decision: we're using event sourcing for the audit log
Recalling
@historian what did we decide about authentication?
@historian recall any known issues with the API
@historian what are my preferences for this project?
@historian show all architectural decisions
@historian find memories about database choices
Managing
@historian list all memory types available
@historian forget the memory about the old API design
@historian sync the index to include recent memory files
How It Works
- Memories are stored in
.mnemonics/{type}/{title}.mdas markdown files with YAML frontmatter - Indexing is automatic via qmd (hybrid BM25 + vector search)
- Historian handles classification, deduplication, and semantic search
- Files are git-friendly - commit them to share across team
Best Practices
- Be specific in titles - "qmd-cli-for-writes" not "important decision"
- Let historian classify - it will search first to avoid duplicates
- Recall before deciding - check if a decision already exists
- Commit memory files - they're part of project knowledge