Skip to content

Tools

Kompass uses structured tools to keep workflows grounded in repository and GitHub state instead of inferred context.

Current built-in tools:

  • changes_load
  • pr_load
  • pr_sync
  • ticket_load
  • ticket_sync
  • reload

Built-in tools

changes_load

Loads committed branch changes or uncommitted work in a structured form.

  • inputs: base, head, depthHint, uncommitted
  • used by: branch review, PR creation, change summaries, cleanup flows

pr_load

Loads PR metadata, review history, issue comments, and review threads.

  • inputs: pr
  • used by: /pr/review, /pr/fix

pr_sync

Creates, updates, comments on, or reviews a GitHub pull request.

  • notable inputs: title, description, base, head, checklists, review, replies, commentBody
  • used by: /pr/create, /pr/review, /pr/fix

ticket_load

Loads a ticket from GitHub, a file path, or raw text.

  • inputs: source, comments
  • used by: /ticket/ask, /ticket/dev, /ticket/plan, and sometimes /pr/review

ticket_sync

Creates or updates a GitHub issue with checklist support.

  • notable inputs: title, description, labels, assignees, checklists, refUrl, comments
  • used by: /ticket/create, /ticket/ask, /ticket/plan, and /pr/create when ticket auto-creation is needed

reload

Refreshes the active OpenCode project cache.

  • inputs: none
  • used by: /reload