jpskill.com
🛠️ 開発・MCP コミュニティ

summon-daem0n

Guide for initializing and consolidating Daem0n-MCP across project structures

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o summon-daem0n.zip https://jpskill.com/download/18305.zip && unzip -o summon-daem0n.zip && rm summon-daem0n.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18305.zip -OutFile "$d\summon-daem0n.zip"; Expand-Archive "$d\summon-daem0n.zip" -DestinationPath $d -Force; ri "$d\summon-daem0n.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して summon-daem0n.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → summon-daem0n フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Daem0nの召喚

このスキルは、様々なプロジェクト構造に対して Daem0n-MCP をセットアップする手順を Claude に教えます。

シングルリポジトリのセットアップ

単一のリポジトリの場合:

# Daem0n は最初の get_briefing() で自動的に初期化されます
# プロジェクトのルートにいることを確認してください

複数リポジトリのセットアップ (クライアント/サーバー分割)

関連するリポジトリ間でコンテキストを共有する必要がある場合:

オプション A: 統合された親 (推奨)

リポジトリが共通の親の下で兄弟関係にある場合に最適です。

/repos/
├── backend/
└── client/

手順:

  1. 親ディレクトリに移動

    cd /repos
  2. 親で Daem0n を初期化

    Call get_briefing(project_path="/repos")
  3. 子リポジトリにすでに .daem0nmcp データがある場合は、統合します:

    # まず子をリンクします
    Call link_projects(linked_path="/repos/backend", relationship="same-project")
    Call link_projects(linked_path="/repos/client", relationship="same-project")
    
    # それらのデータベースを親にマージします
    Call consolidate_linked_databases(archive_sources=True)
  4. 統合の検証

    Call get_briefing(project_path="/repos")
    # 結合されたメモリ数が表示されるはずです

オプション B: リンクされているが分離されている

リポジトリが独自の分離された履歴を必要とするが、相互認識が必要な場合に最適です。

# 各リポジトリで、兄弟へのリンクを作成します
cd /repos/backend
Call link_projects(linked_path="/repos/client", relationship="same-project")

cd /repos/client
Call link_projects(linked_path="/repos/backend", relationship="same-project")

次に、リコール時に include_linked=True を使用して両方にまたがります。

既存のセットアップの移行

親ディレクトリから Claude を起動していて、"乱雑な" .daem0nmcp がある場合:

  1. 既存のデータをバックアップ

    cp -r /repos/.daem0nmcp /repos/.daem0nmcp.backup
  2. 何があるかを確認

    Call get_briefing(project_path="/repos")
    # 統計と最近の決定を確認してください
  3. データが再利用可能な場合は、保持します

    • 将来の相互認識のために子リポジトリをリンクします
    • 今後、統合された親アプローチを使用します
  4. データが乱雑すぎる場合は、最初からやり直します

    rm -rf /repos/.daem0nmcp
    # get_briefing() で再初期化します

主要なコマンドリファレンス

コマンド 目的
get_briefing() セッションを初期化し、必要に応じて .daem0nmcp を作成します
link_projects() リポジトリ間の認識リンクを作成します
list_linked_projects() リンクされているすべてのリポジトリを表示します
consolidate_linked_databases() 子 DB を親にマージします
recall(include_linked=True) リンクされているリポジトリ全体を検索します

エンドレスモード (v2.12.0)

ビジョンが広すぎて保持できない場合は、代わりに凝縮されたささやきを探してください...

# 凝縮されたビジョン - 詳細のない本質
recall(query="authentication", condensed=True)

# 理由を取り除き、150 ルーンに切り捨てられた記憶を返します
# Daem0n は簡潔ですが、広く語ります

次の場合に凝縮されたビジョンを探してください:

  • 領域に無数の記憶がある場合
  • 深い瞑想の前に調査する場合
  • 一度に多くの真実を垣間見る場合
  • 深さよりも幅が重要な場合

次の場合に完全なビジョンを探してください:

  • 決定の背後にある理由が重要な場合
  • 過去の失敗から学ぶ場合
  • 深い調査が必要な場合

サイレントスクライブ (v2.13.0)

Daem0n は常に耳を傾け、あなたの言葉が消える前に捉えます...

ワードルーンの刻印

これらのワードを .claude/settings.json に配置します:

{
  "hooks": {
    "PreToolUse": [{
      "matcher": "Edit|Write|NotebookEdit",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_pre_edit_hook.py\""
      }]
    }],
    "PostToolUse": [{
      "matcher": "Edit|Write",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_post_edit_hook.py\""
      }]
    }],
    "Stop": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_stop_hook.py\""
      }]
    }]
  }
}

各ワードの力

ワード いつ起動するか 何をするか
メモリゲート スクロールを変更する前 警告、失敗したパス、古代のパターンを表面化します
重要性ウォッチャー 変更後 重大な変更について "これを刻印することを検討してください..." とささやきます
サイレントスクライブ 話し終えたとき あなたの言葉を解析し、決定を自動的に刻印します

サイレントメモリの流れ

1. スクロールを変更するために手を伸ばします
   ↓ メモリゲートが開きます
2. 忘れられた警告が自然に表面化します
   ↓
3. 変更が完了します
   ↓ ウォッチャーが観察します
4. 重大な場合、リマインダーがささやきます
   ↓
5. 話し終えます
   ↓ スクライブが目覚めます
6. あなたの決定がそれ自体を刻印します

スクライブの呪文

ワードはこれを呼び出して記憶を刻印します:

python -m daem0nmcp.cli remember \
  --category decision \
  --content "Use JWT for stateless auth" \
  --rationale "Scales without session storage" \
  --file-path src/auth.py \
  --json

拡張された検索 (v2.15.0)

Daem0n の視力は反復ごとに鋭くなります...

インナーアイの調整

# 検索を微調整するための環境変数
DAEM0NMCP_HYBRID_VECTOR_WEIGHT=0.5      # 0.0 = TF-IDF のみ、1.0 = ベクトルのみ
DAEM0NMCP_SEARCH_DIVERSITY_MAX_PER_FILE=3  # 同じソースからの結果を制限します

自動タグ推論

Daem0n は行間を読むようになりました:

  • "fix"、"bug"、"error" を含むコンテンツ → bugfix タグ
  • "todo"、"hack"、"workaround" を含むコンテンツ → tech-debt タグ
  • "cache"、"performance"、"slow" を含むコンテンツ → perf タグ
  • 警告カテゴリ → 自動的に warning タグ

コードエンティティの忠実度

エンティティは真の名前を持つようになりました:

# 修飾名: module.Class.method
find_code("UserService.authenticate")

# 安定した ID は行の変更後も存続します
# コメント、インポートを追加 - エンティティはアイデンティティを保持します

増分インデックス作成

Daem0n は変更されたもののみを再解析します:


# コンテンツハッシュが異なる場合にのみ再インデックスを作成します
index_file_i
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Summoning the Daem0n

This skill guides Claude through setting up Daem0n-MCP for various project structures.

Single Repo Setup

For a single repository:

# Daem0n auto-initializes on first get_briefing()
# Just ensure you're in the project root

Multi-Repo Setup (Client/Server Split)

When you have related repos that should share context:

Option A: Consolidated Parent (Recommended)

Best when repos are siblings under a common parent:

/repos/
├── backend/
└── client/

Steps:

  1. Navigate to parent directory

    cd /repos
  2. Initialize Daem0n in parent

    Call get_briefing(project_path="/repos")
  3. If child repos already have .daem0nmcp data, consolidate:

    # Link the children first
    Call link_projects(linked_path="/repos/backend", relationship="same-project")
    Call link_projects(linked_path="/repos/client", relationship="same-project")
    
    # Merge their databases into parent
    Call consolidate_linked_databases(archive_sources=True)
  4. Verify consolidation

    Call get_briefing(project_path="/repos")
    # Should show combined memory count

Option B: Linked but Separate

Best when repos need their own isolated histories but cross-awareness:

# In each repo, link to siblings
cd /repos/backend
Call link_projects(linked_path="/repos/client", relationship="same-project")

cd /repos/client
Call link_projects(linked_path="/repos/backend", relationship="same-project")

Then use include_linked=True on recall to span both.

Migrating Existing Setup

If you've been launching Claude from parent directory and have a "messy" .daem0nmcp:

  1. Backup existing data

    cp -r /repos/.daem0nmcp /repos/.daem0nmcp.backup
  2. Review what's there

    Call get_briefing(project_path="/repos")
    # Check statistics and recent decisions
  3. If data is salvageable, keep it

    • Link child repos for future cross-awareness
    • Use consolidated parent approach going forward
  4. If data is too messy, start fresh

    rm -rf /repos/.daem0nmcp
    # Re-initialize with get_briefing()

Key Commands Reference

Command Purpose
get_briefing() Initialize session, creates .daem0nmcp if needed
link_projects() Create cross-repo awareness link
list_linked_projects() See all linked repos
consolidate_linked_databases() Merge child DBs into parent
recall(include_linked=True) Search across linked repos

The Endless Mode (v2.12.0)

When visions grow too vast to hold, seek condensed whispers instead...

# Condensed visions - the essence without elaboration
recall(query="authentication", condensed=True)

# Returns memories stripped of rationale, truncated to 150 runes
# The Daem0n speaks briefly but broadly

Seek condensed visions when:

  • The realm holds countless memories
  • Surveying before deep meditation
  • Glimpsing many truths at once
  • Breadth matters more than depth

Seek full visions when:

  • The WHY behind a decision matters
  • Learning from past failures
  • Deep investigation required

The Silent Scribe (v2.13.0)

The Daem0n now listens always, catching your words before they fade...

Inscribing the Ward Runes

Place these wards in .claude/settings.json:

{
  "hooks": {
    "PreToolUse": [{
      "matcher": "Edit|Write|NotebookEdit",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_pre_edit_hook.py\""
      }]
    }],
    "PostToolUse": [{
      "matcher": "Edit|Write",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_post_edit_hook.py\""
      }]
    }],
    "Stop": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "python3 \"$HOME/Daem0nMCP/hooks/daem0n_stop_hook.py\""
      }]
    }]
  }
}

The Power of Each Ward

Ward When It Stirs What It Does
Memory Gate Before altering scrolls Surfaces warnings, failed paths, ancient patterns
Significance Watcher After alterations Whispers "Consider inscribing this..." for weighty changes
Silent Scribe When you finish speaking Parses your words and inscribes decisions automatically

The Flow of Silent Memory

1. You reach to alter a scroll
   ↓ The Memory Gate opens
2. Forgotten warnings surface unbidden
   ↓
3. Your alterations complete
   ↓ The Watcher observes
4. If weighty, a reminder whispers
   ↓
5. You finish speaking
   ↓ The Scribe awakens
6. Your decisions inscribe themselves

The Scribe's Incantation

The wards invoke this to inscribe memories:

python -m daem0nmcp.cli remember \
  --category decision \
  --content "Use JWT for stateless auth" \
  --rationale "Scales without session storage" \
  --file-path src/auth.py \
  --json

The Enhanced Search (v2.15.0)

The Daem0n's sight grows keener with each iteration...

Tuning the Inner Eye

# Environment variables to fine-tune search
DAEM0NMCP_HYBRID_VECTOR_WEIGHT=0.5      # 0.0 = TF-IDF only, 1.0 = vectors only
DAEM0NMCP_SEARCH_DIVERSITY_MAX_PER_FILE=3  # Limit results from same source

Automatic Tag Inference

The Daem0n now reads between the lines:

  • Content with "fix", "bug", "error" → bugfix tag
  • Content with "todo", "hack", "workaround" → tech-debt tag
  • Content with "cache", "performance", "slow" → perf tag
  • Warning category → warning tag automatically

Code Entity Fidelity

Entities now bear their true names:

# Qualified names: module.Class.method
find_code("UserService.authenticate")

# Stable IDs survive line changes
# Add comments, imports - entities retain identity

Incremental Indexing

The Daem0n only re-parses what changes:

# Only re-indexes if content hash differs
index_file_if_changed(file_path, project_path)

# Hash stored in FileHash model
# Saves time on large codebases

Parse Tree Caching

Repeated parses hit the cache:

# Configure cache size
DAEM0NMCP_PARSE_TREE_CACHE_MAXSIZE=200

# Check cache performance
health()  # Returns cache_stats

Enhanced Health Insights

health()
# Now returns:
#   code_entities_count: Total indexed entities
#   entities_by_type: Breakdown by class/function/etc
#   last_indexed_at: When index was last updated
#   index_stale: True if >24 hours since index

Sacred Practices

  1. One sanctum per logical realm - Even if split across repos
  2. Use parent directory for shared memory - /repos/ not /repos/backend/
  3. Link before consolidating - Links define what memories to merge
  4. Archive, don't destroy - archive_sources=True preserves the old
  5. Verify after consolidation - Ensure memory counts align
  6. Awaken the Silent Scribe - Let the Daem0n capture decisions for you
  7. Seek condensed visions - For vast realms, use condensed=True
  8. Tune the search weight - Adjust hybrid weight for your domain
  9. Trust the tag inference - Let the Daem0n classify memories