CTXDEX Code/code/commands/cli/root
Shell command for ctxdex code.
Start interactive session; optional initial prompt.
The canonical syntax string as recorded in the catalogue. It is authoritative — it is never reconstructed from the option and argument lists below.
promptstringOptionalposition 1Prompt text to submit or schedule.
yesDefaults, allowed values, conflicts and scope come from the catalogue; blank fields mean the catalogue records nothing, not that the constraint is absent.
-m, --model <string>stringOptionalScope: GLOBAL_LAUNCHOverride the model used for this invocation or delegated run.
--effort <enum>enumOptionalScope: GLOBAL_LAUNCHOverride the reasoning-effort level. Allowed values: auto, low, medium, high, xhigh.
auto, low, medium, high, xhigh--fallback-model <string>stringOptionalScope: GLOBAL_LAUNCHAdd a fallback model considered when the primary model cannot be used; repeatable. This option may be repeated.
yes--mode <enum>enumOptionalScope: GLOBAL_LAUNCHChoose the execution-autonomy mode for the invocation. Allowed values: interactive, plan, autonomous. Default: interactive.
interactive, plan, autonomousDefaultinteractive--permissions <enum>enumOptionalScope: GLOBAL_LAUNCHChoose the permission profile for the invocation. Allowed values: read-only, standard, auto-edit, full-access. Default: standard.
read-only, standard, auto-edit, full-accessDefaultstandard--sandbox <enum>enumOptionalScope: GLOBAL_LAUNCHChoose the sandbox boundary for the invocation. Allowed values: read-only, workspace, isolated, unrestricted.
read-only, workspace, isolated, unrestricted--include-dir <path>pathOptionalScope: GLOBAL_LAUNCHAdd an approved workspace directory for this invocation; repeatable. This option may be repeated.
yes--worktreestringOptionalScope: GLOBAL_LAUNCHUse an isolated Git worktree for the invocation or agent run. Default: False.
false--output-format <enum>enumOptionalScope: GLOBAL_LAUNCHChoose human-readable text, one JSON result, or a stream of JSON events. Allowed values: text, json, stream-json. Default: text.
text, json, stream-jsonDefaulttext--output-schema <path>pathOptionalScope: GLOBAL_LAUNCHValidate the final structured result against the supplied JSON Schema file.
--output <path>pathOptionalScope: GLOBAL_LAUNCHWrite the final result to the specified file.
--quietbooleanOptionalScope: GLOBAL_LAUNCHSuppress non-essential diagnostics while preserving the output contract. Default: False.
false--cibooleanOptionalScope: GLOBAL_LAUNCHUse strict non-interactive behavior suitable for CI, failing unresolved prompts or approvals. Default: False.
false--barebooleanOptionalScope: GLOBAL_LAUNCHSkip nonessential user/project customizations and context defined by bare mode. Default: False.
false--ephemeralbooleanOptionalScope: GLOBAL_LAUNCHRun without persisting durable session/run history after completion. Default: False.
false--max-duration <duration>durationOptionalScope: GLOBAL_LAUNCHSet the maximum duration allowed for the run.
--max-tool-calls <integer>integerOptionalScope: GLOBAL_LAUNCHStop after the configured number of tool calls, after the current atomic action completes.
--debugbooleanOptionalScope: GLOBAL_LAUNCHEnable runtime debug logging and diagnostics. Default: False.
false--acpbooleanOptionalScope: GLOBAL_LAUNCHStart the ACP server instead of the normal interactive prompt process. Default: False.
falseConflicts with--prompt-p, --prompt <string>stringOptionalScope: GLOBAL_LAUNCHProvide a non-interactive prompt from the command line.
--acp--helpbooleanOptionalScope: GLOBAL_LAUNCHShow shell help. Default: False.
false--versionbooleanOptionalScope: GLOBAL_LAUNCHShow the installed version. Default: False.
falseWith arguments
WITH ARGUMENTSctxdex code "review this repository"
Start interactive session; optional initial prompt.
With arguments
WITH ARGUMENTSgit diff | ctxdex code -p "review this diff"
Use stdin as context/input and --prompt as the instruction.
Nothing recorded — this command is offered in the default session, with no repository, authentication, capability or platform requirement attached to it.
5 of 5 products mapped
Command-level mappings against 5 audited products, each with its documentation source and capture date. No documented equivalent means the audit found nothing in that product’s official documentation — it is not a claim that the product lacks the capability.
Every canonical command was reviewed against all 5 products in one pass captured 2026-09-18. A product with no mapping is a reviewed finding of no documented equivalent, not an unreviewed pair.
Captured 2026-09-18 · 238 commands × 5 products
claudePrimary shell entrypoint.
geminiPrimary shell entrypoint.
codexPrimary shell entrypoint.
copilotPrimary shell entrypoint.
agentPrimary shell entrypoint.