Skip to main content

Build a structured AI knowledge graph in Obsidian through natural conversation

Project description

🛰️ recon — Obsidian × AI Knowledge Base

Your project's brain — built by AI, lived in Obsidian.

PyPI version License: MIT Claude Code Obsidian

recon is a Claude Code MCP server that turns a natural conversation into a structured project knowledge graph — stored as Markdown in your Obsidian vault.

You describe your project. Claude infers goals, personas, modules, decisions, and features — then writes them as linked nodes. No forms. No templates.

The graph then feeds focused context back to any AI session via generate_context() — so Claude always knows what you're building, every session.


Install

/plugin marketplace add deploysquad-ai/recon
/plugin install recon@deploysquad-ai/recon

Then run /recon.setup, restart Claude Code, and run /recon.


The loop

💬 /recon       →   🧠 graph         →   ⚡ CONTEXT.md    →   🏗️ build
describe             10 node types        per feature           with context
project                                                              ↓
                ←─────────────── 🔄 /recon.add-feature ───────────┘
                                  keep graph current

Node types

Project → Goals → Personas → Constraints → Modules → Decisions → User Stories → Epics → Features → Versions

All stored as [[wikilinked]] Markdown in your Obsidian vault.


Python API

from deploysquad_recon_core import (
    create_node, get_node, list_nodes, update_node,
    resolve_links, build_index, generate_context,
)

# Author a node
path = create_node("feature", {
    "name": "Task Board",
    "description": "Kanban board for task management",
    "implements": ["[[User Story - Create Task]]"],
    "actors": ["[[Persona - Manager]]"],
    "belongs_to": "[[Module - Dashboard]]",
    "status": "active",
}, project_dir)

# Generate CONTEXT.md for any AI session
context = generate_context("Task Board", project_dir)

Semantic linking (optional)

recon can embed nodes and find semantically similar ones using the Gemini API.

Claude Code plugin users: /recon.setup prompts for your Gemini API key and writes it to the MCP server config automatically.

Python library users:

pip install "deploysquad-recon-core[embed]"

Set GEMINI_API_KEY in your environment, then:

from deploysquad_recon_core import embed_nodes, find_similar

embed_nodes(project_dir)
similar = find_similar(node_path, project_dir)

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deploysquad_recon_core-0.1.6.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deploysquad_recon_core-0.1.6-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file deploysquad_recon_core-0.1.6.tar.gz.

File metadata

  • Download URL: deploysquad_recon_core-0.1.6.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for deploysquad_recon_core-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cdf4fd9de727f5bf6bed4eee1f39720767f84b85ad40c51f63d0df657f5287bb
MD5 e643058ab6d996306afed0c3dfd40009
BLAKE2b-256 84b8f8aa393f6718b73f90325a8aba1362ef1edbe4cb80e756433586e87d78f3

See more details on using hashes here.

File details

Details for the file deploysquad_recon_core-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for deploysquad_recon_core-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 65a6c02e2699d1acb1d9004bc9fe5d7813e34e36b1c3bcf2104d8456f171c2ef
MD5 7dacea3813ed1303a8aed53fe1e3781e
BLAKE2b-256 00fcc9bc5f2b7f3ba791d64bbdb366023fd5fe0caaed7448519f44c89b15e268

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page