Skip to content
cccskills
FreePublished on GitHub

digest-setup

EpisodicRAG初期セットアップ(対話的)

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

See how to install

Files included (1)

  • SKILL.md4.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

digest-setup - 初期セットアップスキル

EpisodicRAG プラグインの初期セットアップを対話的に実行するスキルです。 このスキルは自律的には起動しません(ユーザーの明示的な呼び出しが必要)。

目次


用語説明

📖 パス用語(plugin_root / base_dir / paths)・ID桁数・命名規則は 用語集 を参照


実装時の注意事項

UI メッセージはコードブロックで囲む。 VSCode拡張では単一改行が空白に変換されるため、 対話型メッセージは三連バッククォートで囲む必要があります。

📖 共通の実装ガイドライン(パス検証、閾値検証、バリデーション、エラーハンドリング)は _implementation-notes.md を参照してください。


実行フロー

⚠️ 重要: 以下のTodoリストをTodoWriteで作成し、順番に実行すること

TodoWrite items:
1. セットアップ状態確認 - digest_setup checkを実行
2. 対話的Q&A - ユーザーにパス・Threshold等を質問
3. 設定値収集 - 回答をJSON形式に構築
4. セットアップ実行 - digest_setup initを実行
5. 結果報告 - 作成されたファイル・ディレクトリを報告
Step実行内容使用スクリプト/処理
1セットアップ状態確認python -m interfaces.digest_setup check
2対話的Q&AClaude がユーザーに質問(下記参照)
3設定値収集・JSON構築Claude が回答を JSON に構築
4セットアップ実行python -m interfaces.digest_setup init --config '{...}'
5結果報告Claude がユーザーに報告

配置先: scripts/interfaces/digest_setup.py

対話的Q&A(Step 2)

Claude がユーザーに確認する項目:

  • Q1: Loopファイル配置先
  • Q2: Digestsファイル配置先
  • Q3: Essencesファイル配置先
  • Q4: 外部Identity.md
  • Q5: Threshold設定

📖 trusted_external_paths の詳細は 用語集 を参照

CLI内部処理(Step 4)

init コマンド実行時に以下が自動処理されます:

  • 設定ファイル作成
  • ディレクトリ作成(8階層 + Provisional)
  • 初期ファイル作成(テンプレートからコピー)

デフォルト設定例

永続化ディレクトリ使用(デフォルト)

{
  "base_dir": "~/.claude/plugins/.episodicrag",
  "trusted_external_paths": ["~/.claude/plugins/.episodicrag"],
  "paths": {
    "loops_dir": "data/Loops",
    "digests_dir": "data/Digests",
    "essences_dir": "data/Essences",
    "identity_file_path": null
  },
  "levels": {
    "weekly_threshold": 5,
    "monthly_threshold": 5,
    "quarterly_threshold": 3,
    "annual_threshold": 4,
    "triennial_threshold": 3,
    "decadal_threshold": 3,
    "multi_decadal_threshold": 3,
    "centurial_threshold": 4
  }
}

カスタムディレクトリ使用時

{
  "base_dir": "~/DEV/my-project/EpisodicRAG",
  "trusted_external_paths": ["~/DEV/my-project"],
  "paths": {
    "loops_dir": "data/Loops",
    "digests_dir": "data/Digests",
    "essences_dir": "data/Essences",
    "identity_file_path": null
  },
  "levels": { ... }
}

出力例

check(状態確認)

未セットアップ:

{
  "status": "not_configured",
  "config_exists": false,
  "directories_exist": false,
  "message": "Initial setup required"
}

セットアップ済み:

{
  "status": "configured",
  "config_exists": true,
  "directories_exist": true,
  "config_file": "~/.claude/plugins/.episodicrag/config.json",
  "message": "Setup already completed"
}

init(セットアップ実行)

{
  "status": "ok",
  "created": {
    "config_file": "~/.claude/plugins/.episodicrag/config.json",
    "directories": ["data/Loops", "data/Digests/1_Weekly", ...],
    "files": ["GrandDigest.txt", "ShadowGrandDigest.txt", "last_digest_times.json"]
  },
  "warnings": [],
  "external_paths_detected": []
}

EpisodicRAG by Weave | GitHub

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

Development methodology rules (Clean Architecture, TDD flow, 3-Strike rule, decision priority) that govern planning, implementation, and review. Load before designing, staging, implementing, or reviewing code changes.

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

EpisodicRAG 健全性診断と階層推奨

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

EpisodicRAG設定変更(対話的)

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

Operational readiness checklist (security, cost, legal, data design, performance, incident response, LLM integration defenses) applied when a change touches deployment, infrastructure, external services, secrets, or user data.

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

Deep reflection skill - read memory and context, decide whether there is something worth sending

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

Email sending skill (Gmail SMTP + Yagmail)

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

Bizuayeu/Plugins-Weave11Updated Oct 4, 2026

See all skills by Bizuayeu

Report a problem with this skill