Files
gpt/claude.md
2025-07-29 03:29:46 +09:00

36 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# claude用の記憶装置を作る
claude desktop, claude codeで使用できるmemory機能をmcpで作ります。
1. chatgptのメモリ機能を参考に
2. chatgptのjsonをimportできる @json/
3. rustで作る
## 自動メモリー保存のルール
以下の情報が会話に現れた場合、自動的にcreate_memory MCPツールを使用して保存してください
1. **ユーザーの個人情報**
- 名前、誕生日、住所など
- 好きなもの、嫌いなもの
- 習慣や予定
2. **重要な決定事項**
- プロジェクトの決定
- 設定の変更
- 今後の計画
3. **技術的な解決策**
- 問題の解決方法
- 有用なコマンドやコード
- 設定手順
## 自動メモリー検索のルール
以下の場合、自動的にsearch_memories MCPツールを使用してください
1. ユーザーが「前に話した」「以前の」などと言及した場合
2. 過去の会話や情報を参照する必要がある場合
3. ユーザーの好みや設定を確認する必要がある場合