orbit-wrapper
Use Orbit (`glab orbit` or `orbit`) to search code and read it with callers and tests. It reads MRs, issues, and failed jobs with the code they cite. Graph queries answer relationship and aggregation questions across GitLab. Skip it for writes that `glab` handles.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 60
- Forks
- 16
01 前言 Front Matter
- name
- orbit-wrapper
- license
- MIT
- version
- 0.2.4
- metadata
- { "audience": "developers", "keywords": "orbit, knowledge-graph, gkg, graph, query, glab", "workflow": "ai", "source-path": "skills/orbit-wrapper", "source-project": "gitlab-org/orbit/knowledge-graph" }
- description
- Use Orbit (`glab orbit` or `orbit`) to search code and read it with callers and tests. It reads MRs, issues, and failed jobs with the code they cite. Graph queries answer relationship and aggregation questions across GitLab. Skip it for writes that `glab` handles.
- compatibility
- Requires glab v1.126.0 or later with the GitLab Orbit CLI v0.163.0 or later, and network access to the GitLab instance for commands that call the GitLab Orbit API.
03 SKILL.md 正文
Orbit skill (wrapper)
This skill is a thin wrapper. It loads the Orbit skill that your GitLab instance serves, composed with sections from your installed GitLab Orbit CLI, so it always matches your setup.
!glab orbit skills get orbit
If the block above is not a skill (it should begin with ---), run
glab orbit skills get orbit and follow what it prints. For the standalone
Orbit binary, run orbit skills get orbit.
Links such as references/gql.md in the loaded skill are not files next
to this wrapper. Print them with glab orbit skills get orbit <path>.
If that prints help or an unknown-command error instead of a skill, the installed tooling is too old:
glab orbitandglab orbit skillsneed glab v1.126.0 or later. Upgrade glab if either is missing.- The GitLab Orbit CLI needs v0.163.0 or later. Run
glab orbit --updateto upgrade it.
If the GitLab Orbit CLI is not installed, ask the user before installing it. Do not
pass --yes or set GLAB_ORBIT_CLI_AUTO_DOWNLOAD without their approval.
04 同仓库更多 Skills
orbit
Use Orbit (`glab orbit` or `orbit`) to search code and read it with callers and tests. It reads MRs, issues, and failed jobs with the code they cite. Graph queries answer relationship and aggregation questions across GitLab. Skip it for writes that `glab` handles.
orbit-start
Walk a user through their first GitLab Orbit session. Check the setup, then answer a simple first question and a workflow from the prompt examples with Orbit. Offer to run a prompt again without Orbit, and to show how Orbit works. Use when the user asks to get started with Orbit, try Orbit, or see what Orbit can do.
orbit-package-registry
Use Orbit graph queries to answer questions about GitLab Package Registry packages and Container Registry repositories across projects and groups. Use it to find which projects host a package. It covers package versions and their files, declared dependencies, known vulnerabilities, and the pipelines that built them. Load it with the `orbit` skill. Skip it for one project's package list or for publishing, which `glab` and the package manager handle.
orbit-gql-migration
Converts and migrates legacy Orbit JSON DSL queries to Orbit GQL, then checks each converted query read-only against the graph. Legacy queries are objects with query_type, nodes, relationships, or aggregations. Use when a repo, runbook, script, doc, or agent skill contains them. Also use when a `glab orbit query --file` envelope or API body has an object `query`. Also use when a legacy JSON query fails with HTTP 400 compile_error. Do not use for writing new GQL queries (use the orbit skill).
orbit-cli
Index and query a local checkout offline with the GitLab Orbit CLI (`orbit`, or `glab orbit`). Reach for it when a question names a symbol or spans code structure. Examples: who calls or extends this, where it is defined, what a file defines, how definitions are distributed. One call replaces many file reads and text greps, including matches in config, templates, and docs. Works on the working tree and unpushed branches, and also searches and reads the project's GitLab. Not a fit: reading one known file, or counts and relationships across GitLab (use the `orbit` skill).