Skip to content
cccskills
FreePublished on GitHub

ai-ltm

runtime 組込みのメモリ機能(Claude Code の auto memory、Codex の memories 等)とは別に、プロジェクト横断の学び・失敗・意思決定・中断点を長期記憶から検索し、確定した知見を記録する。最上位のセッションの開始・再開、過去の経緯の参照、知見の確定、終了時の要約で使う。

委譲された担当では自動発動しない。短期の判断差分は /field-notes、感想は /ai-diary に分ける。

The English summary is being prepared. Showing the original description.

See how to install

Files included (21)

  • SKILL.md3.9 KB
  • .gitignore104 B
  • init.sql1.8 KB
  • README.md8.6 KB
  • references/cleanup.md1.2 KB
  • references/maintenance.md2.8 KB
  • references/recording.md2.0 KB
  • references/search.md3.6 KB
  • references/session-close.md2.8 KB
  • references/session-recall.md4.6 KB
  • references/setup.md2.1 KB
  • scripts/jev_bridge.py9.1 KB
  • scripts/merge_conflict.py12.3 KB
  • scripts/session_recall.py33.3 KB
  • scripts/sync_memory.py12.6 KB
  • scripts/vector_search.py28.8 KB
  • tests/test_jev_bridge.py12.4 KB
  • tests/test_session_recall.py30.5 KB
  • tests/test_sync_memory.py17.1 KB
  • tests/test_vector_search_readonly.py13.9 KB
  • tests/test_vector_search.py8.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

AI Long-Term Memory (ai-ltm)

~/ai-ltm-data/memory.db (SQLite) に、プロジェクト横断で再利用する学び・失敗・意思決定・中断点を蓄積する。

責任と読者

親が発動判断、query/summary、作業への反映、記録・同期の最終判断を持つ。直接実行する場合は、必要な script と reference だけをこの Skill の実体から読む。委任する場合は、親が実在確認した物理 path、対象範囲、起動権限、返却形式を worker に渡し、worker 自身に必要な資料を読ませる。

起動時の recall worker は bounded な recall だけを担当し、親の工程を再委任・再起動しない。worker は stage event と terminal record だけを返し、記録・embed・mark-used・同期を代行しない。利用できない非同期 API や未確認の path は本命を止める根拠にせず、未実行として返す。

自動発動とモード routing

自動発動は最上位のセッションで行い、委譲された担当では recall や record を起動しない。承認済みの自動モードは毎回確認せず、条件に該当したモードだけを実行する。単なる進捗や毎回のツール成功では発動しない。

条件モード参照
DB または repository の初回セットアップ、setup-needed の解消setupreferences/setup.md
最上位のセッションの開始・長い中断からの再開bounded な非同期 recallreferences/session-recall.md
前回の続き、過去の失敗、類似問題の参照必要な範囲の searchreferences/search.md
学び・失敗・意思決定・中断点の確定episode の record と embedreferences/recording.md
最上位のセッションの終了・自然な会話終了・おやすみ・長く離れる旨summary、embed、同期references/session-close.md
記憶の削除・修正・一覧・archive明示された managementreferences/maintenance.md
cleanup の明示依頼対話的な cleanupreferences/cleanup.md

短期の判断差分は /field-notes、感想・日記は /ai-diary に分け、同じ内容を二重に記録しない。cleanup は自動発動しない。

共通の前提

親はロードした SKILL.md の実体パスの親を SKILL_DIR とし、そこから script と reference の絶対 path を確定する。検索は既存 DB を read-only で開き、init.sql をスキーマの SSOT として不足や不正を自動補完しない。書き込みは親が明示した範囲で行い、recall の terminal record を観測する前の insert、embed、mark-used、archive、同期は defer または skip する。

注意事項

  • 記録は簡潔に。1つのepisodeのsummaryは1-2文に収める
  • contextには再現に必要な情報を入れるが、コード全体のコピーは避ける
  • 機密情報(パスワード、トークン、秘密鍵)は絶対に記録しない
  • 検索は控えめに。毎回全検索するのではなく、関連しそうなときだけ引く
  • SQLにユーザー入力を埋め込む際は、シングルクォートを '' にエスケープする

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

別AIのCLI呼び出しを支援する。Codex以外のCLIを使う依頼で使う。 Codexへの相談・実装委譲は codex Skill を使う。Skill運用の移行は agent-skill-migrate、配置監査は overlay-audit を使う。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

明示されたCodex・CursorのSkill運用移行を、指定設計と既存点検に基づき適用する。一般的な指示ファイルの整理は instruction-refactor を使う。通常の実装依頼では起動しない。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

明示されたリポジトリのSkill・Agent・呼出し・生成配布を点検または移行する。通常の実装・レビュー・調査では起動しない。一般的な指示ファイルの整理は instruction-refactor を使う。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

デザインシステムの作成・監査・保守、デザイントークンやUIの一貫性・個性・アクセシビリティの改善に使う。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

プロジェクトのデザインシステムを SSOT として作成・監査・更新する。トークン、デザインシステムに関わるアクセシビリティ、Typography、Motion、aesthetic direction の作業に使う。デザインシステムに紐づかない単発UI実装や個別デザインレビューには使わない。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

AIに日記を書かせるスキル。会話を振り返り、AI視点の自由な日記風テキストを生成して保存する。「日記書いて」「AI日記」「日記風に振り返って」「感想を日記にして」「diary」「write a diary」といった日記・感想の依頼に使う。作業改善の振り返りは /retro、知見の記録や要約は /ai-ltm を使う。

The English summary is being prepared. Showing the original description.

coil398/dotfiles8Updated Oct 18, 2026

See all skills by coil398

Report a problem with this skill