Orbit CLI

Index and query a LOCAL checkout of a repository offline with the Orbit CLI (the `orbit` binary, run directly or via `glab orbit`). It builds a DuckDB property graph from the working tree. Use grep for definitions and relationships, context for source bodies, and read-only SQL for aggregations. Use when the request targets the current checkout, working tree, or a branch that is not pushed/indexed remotely, or is explicitly offline/local: index this repo locally, who calls X in my checkout, list definitions in a file, generate a repo map of a local checkout, run SQL over the local code graph, or serve the local graph over MCP. For queries against already-indexed production data in GitLab (a project such as gitlab-org/gitlab, cross-project blast radius, contributor or merge-request aggregation) use the `orbit` skill; for single-entity GitLab lookups or write operations use `glab`.

gitlabhq f3f0cf4 4 files · 21.2 KB Updated

File contents

gitlabhq/orbit-knowledge-graph/tree/main/skills/orbit-cli commit f3f0cf4859

Frequently asked questions

npx skillmds@latest add gitlabhq/orbit-cli