CLI¶
semtree CLI - modular Click-based command interface.
Commands
semtree index - index the current project semtree context - print context for a task/query semtree search - search for symbols semtree status - show index stats semtree memory - manage project memory (add/list/remove) semtree setup - set up AI assistant integrations semtree config - show or edit project config
main ¶
semtree - Semantic code trees for AI assistants.
Index your codebase once. Feed smart, token-efficient context to Claude, Cursor, Copilot, and Codex.
context ¶
Build context for a task and print it.
QUERY is a natural language description of your task.
memory_add ¶
Add or update a memory entry.
KIND: rule | ref | note KEY: short identifier VALUE: the content
setup ¶
Set up AI assistant integrations.
Creates config files for Claude Code (.claude/mcp.json), Cursor (.cursor/mcp.json), Copilot (.vscode/settings.json), and Codex (AGENTS.md).