Engraph
ResearchengraphEngraph is an Agent Skill for research published in the devwhodevs/engraph repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Index and search document collections using hybrid semantic + graph + full-text search. Use when users need to search knowledge bases, find connections between documents, discover related content via link graphs, or query indexed markdown collections.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/devwhodevs/engraph/blob/HEAD/skills/engraph/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/engraph, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Engraph — Hybrid Semantic & Graph Search for Document Collections
Local knowledge engine for markdown document collections. Combines semantic embeddings, full-text search (BM25), wikilink graph traversal, temporal scoring, and cross-encoder reranking.
Status
!engraph --version 2>/dev/null || echo "Not installed: brew install devwhodevs/tap/engraph"
Indexing
engraph index /path/to/documents # Incremental; only changed files re-embedded
engraph index /path/to/documents --rebuild
engraph status # File count, stats, index freshness
engraph clear # Drop the index (--all also removes models)
Search
engraph search "how does the auth flow work"
engraph search "performance regressions last month" --explain
engraph search "architecture decisions" -n 5 --json
| Flag | Description |
|---|---|
-n, --top-n <N> | Number of results (default: from config or 10) |
--explain | Show per-lane RRF score breakdown |
--json | Machine-readable JSON output |
Query Tips
- Conceptual / vague: Use natural language. The orchestrator classifies intent and boosts semantic weight automatically.
- Keyword-heavy: Exact terms, identifiers, and names work well via the BM25 lane.
- Temporal: "last week", "yesterday", "March 2026" — the temporal lane activates automatically.
Graph Inspection
engraph graph show "path/to/note.md" # Connections for a document
engraph graph show "#docid" # By document ID
engraph graph stats # Nodes, edges, density
Context Queries
engraph context topic "authentication" --budget 8000
engraph context who "Person Name"
engraph context project "Project Name"
engraph context vault-map # Collection structure overview
engraph context read "path/to/note.md" # Full content + metadata
engraph context list --tags architecture # Filter by tags, folder, created_by, etc.
Health diagnostics (orphans, broken links, stale notes, tag hygiene) are exposed through the MCP
healthtool and the HTTPGET /api/healthendpoint — seereferences/http-rest-api.md.
Setup
engraph index /path/to/documents
engraph search "your query"
References
references/mcp-setup.md— configure engraph as an MCP server (Claude Code, Claude Desktop).references/http-rest-api.md— HTTP REST API endpoints, authentication, and examples for web agents and scripts.