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)

# Write CONTEXT.md directly to the vault
from deploysquad_recon_core.context import write_context
path = write_context(context, "auto", project_dir, feature_name="Task Board")
# → features/CONTEXT - Task Board.md

# Link a spec back to the feature
update_node("features/Feature - Task Board.md", {
    "spec_path": "docs/specs/task-board-design.md"
})

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.2.0.tar.gz (50.2 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.2.0-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deploysquad_recon_core-0.2.0.tar.gz
  • Upload date:
  • Size: 50.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 968a94c7e9220a88cfc7edc24b04bb87933fcb4950f0a5b7f5322cd7611dd4a7
MD5 2a704dd2aa54e94b9305e70c1649bdf7
BLAKE2b-256 5c67b6a4e15a62ddb3f99cd14b2fbbf1dfaaa57bc4b623604f39ca98ffd9a28b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deploysquad_recon_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 149f7478ab5805878bd4f17822a86ba3f1011e99ac0a5b2df352a682b7906231
MD5 dbd5512962717b7e130ed411a3208757
BLAKE2b-256 222b2f0da9d86a63f4c5a2d9d4b8f75098b54b4dee06f8b58e8f9f85d109e961

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