devstatus
Report the current session state: branch, changes, PR status, and a summary. Use when: "what's the status", "where are we",…
Index (or re-index) the current project into the OpenTrace knowledge graph. Use when: "index this repo", "re-index", "update the graph", "build the index"
> /plugin marketplace add opentrace/opentrace > /plugin install opentrace-oss@opentrace-oss
How it fires
How this command gets triggered: by you, by Claude, or both.
/indexContext preview
What this command does when you run it.
Index (or re-index) the current project into the OpenTrace knowledge graph. Use when: "index this repo", "re-index", "update the graph", "build the index"
name: index description: | Index (or re-index) the current project into the OpenTrace knowledge graph. Use when: "index this repo", "re-index", "update the graph", "build the index" allowed-tools: Bash, Read
Index the current project into the OpenTrace knowledge graph so that agents and skills can query it.
$ARGUMENTS
1. **Determine the target path**: If the user provided a path in the arguments, use that. Otherwise default to the repository root (find it with `git rev-parse --show-toplevel`).
2. **Run the indexer**: Change directory to the target path and run the indexer. This ensures the `.opentrace/` directory is created in the right place.
cd <path> && uvx opentraceai index .
Use `--verbose` if the user asked for verbose/debug output. Pass through any other flags the user specified (e.g. `--db`, `--repo-id`, `--batch-size`).
3. **Report results**: After the command completes, summarize what was indexed. If the command fails, show the error and suggest fixes (e.g. missing `uv` or dependencies, wrong path).
4. **Verify**: Run `uvx opentraceai stats` (passing the same `--db` flag if the user provided one) to show the updated graph contents so the user can confirm the index looks right.
A knowledge graph that maps your codebase structure, service architecture, and system relationships — then exposes it all through MCP so AI tools can understand your systems. Index any repo, any size, in seconds.
Report the current session state: branch, changes, PR status, and a summary. Use when: "what's the status", "where are we",…
Fetch PR review comments, fix the issues, reply to threads, and push. Pass a PR number as argument, or omit to use the current…
Report the current session state: branch, changes, PR status, and a summary. Use when: "what's the status", "where are we",…
Surface god nodes, cross-cluster bridges, and suggested questions. Use when: "/analyze", "what should I look at first?", "surface…
Build a knowledge graph over the current folder (or a path / GitHub URL). Runs the native OpenTrace pipeline: index → cluster →…