CLI Quickstart
If
dotnet runcomplains about multiple frameworks, add-f net8.0.
Single repository (wizard)
intelligencex setup wizardReview a PR (local)
The reviewer reads inputs from environment variables (or GITHUB_EVENT_PATH ).
$env:INPUT_REPO = "owner/name"
$env:INPUT_PR_NUMBER = "123"
intelligencex reviewer runWeb UI (preview)
intelligencex setup webSingle repository (non-interactive)
intelligencex setup --repo owner/name --with-configSingle repository (non-interactive, multi-account routing)
intelligencex setup --repo owner/name --with-config `
--openai-account-id acc-primary `
--openai-account-ids acc-primary,acc-backup,acc-team `
--openai-account-rotation round-robin `
--openai-account-failover trueUpdate only the auth secret
intelligencex setup --repo owner/name --update-secretOne-step ChatGPT auth login + GitHub secret sync
dotnet run --project IntelligenceX.Cli/IntelligenceX.Cli.csproj -c Release -- auth login --set-github-secretThe command auto-detects repo/org + token if available (see CLI Overview for details).
Usage snapshot (limits + credits)
intelligencex usage --eventsUsage snapshot (JSON)
intelligencex usage --json --no-cacheUsage snapshot by surface (codex vs spark)
intelligencex usage --events --by-surfaceManual GitHub workflow run with account override
gh workflow run review-intelligencex.yml `
-f repo=owner/name `
-f pr_number=123 `
-f openai_account_ids=acc-primary,acc-backup `
-f openai_account_rotation=round-robin `
-f openai_account_failover=true `
-f usage_budget_guard=true `
-f usage_budget_allow_credits=true `
-f usage_budget_allow_weekly_limit=falseManual secret flow
intelligencex setup --repo owner/name --manual-secretintelligencex setup --repo owner/name --manual-secret --manual-secret-stdoutExplicit secrets block (no inherit)
intelligencex setup --repo owner/name --explicit-secretsClean up
intelligencex setup --repo owner/name --cleanup --keep-secretRelease notes (CLI)
dotnet run --project IntelligenceX.Cli/IntelligenceX.Cli.csproj -c Release -- release notes --update-changelogRelease notes (workflow)
Use .github/workflows/release-notes.yml (template in IntelligenceX.Cli/Templates/release-notes.yml ). Inputs are mapped to environment variables to keep YAML minimal.
Release reviewer (workflow)
Use .github/workflows/release-reviewer.yml . Inputs like release_tag , release_title , release_repo , and rids map to env vars. Token env: INTELLIGENCEX_REVIEWER_TOKEN (fallback: INTELLIGENCEX_RELEASE_TOKEN , GITHUB_TOKEN ).
Resolve stale review threads (local)
intelligencex reviewer resolve-threads --repo owner/name --pr 123