Oko/Docs

Command reference

oko context advise

Generates a structured CEO/PM advisory from strategy and live GitHub execution data.

Invocation#

Command
oko context advise [--router URL] [--model NAME] [--org NAME] [--anchors PATH]

Inputs and options#

  • Optional router/model/anchors overrides; GitHub and model identity credentials come only from configured grants.
  • The GitHub organization is --org, else OKO_GITHUB_ORGANIZATION, else the Oko Desktop setting githubOrganization. None is built in: without one the command refuses with `no GitHub organization is declared: pass --org, set OKO_GITHUB_ORGANIZATION, or set the Oko Desktop setting githubOrganization`. The Slack advisory, team velocity and assignment planning read the same declaration and refuse the same way.

Output and state effect#

  • The same read `oko repositories execution --provider github` answers: the organization's 20 most recently pushed repositories, 12 commit subjects each, their top authors and days since the last push, with the oko-github token it takes from Skarbiec as oko-github-client; the advisory is printed as JSON and deliberately not posted to Slack.

Refusals and safe exits#

  • Refuses --github-token, an oko-github token oko cannot read (named with the consumer), a GitHub read that fails (with the path, HTTP status and body), missing router/model identity, unreadable strategy, and model failures.

CLI reference#