CLIEntrypointPrompt & interactionInteractive process

ctxdex code [PROMPT...]

CTXDEX Code/code/commands/cli/root

Shell command for ctxdex code.

Options
22
Arguments
1
Examples
2
Industry
5 of 5 mapped

About

Start interactive session; optional initial prompt.

Syntax

The canonical syntax string as recorded in the catalogue. It is authoritative — it is never reconstructed from the option and argument lists below.

ctxdex code [PROMPT...]

Arguments

  • promptstringOptionalposition 1

    Prompt text to submit or schedule.

    Repeatableyes

Options

Defaults, 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_LAUNCH

    Override the model used for this invocation or delegated run.

  • --effort <enum>enumOptionalScope: GLOBAL_LAUNCH

    Override the reasoning-effort level. Allowed values: auto, low, medium, high, xhigh.

    Allowedauto, low, medium, high, xhigh
  • --fallback-model <string>stringOptionalScope: GLOBAL_LAUNCH

    Add a fallback model considered when the primary model cannot be used; repeatable. This option may be repeated.

    Repeatableyes
  • --mode <enum>enumOptionalScope: GLOBAL_LAUNCH

    Choose the execution-autonomy mode for the invocation. Allowed values: interactive, plan, autonomous. Default: interactive.

    Allowedinteractive, plan, autonomousDefaultinteractive
  • --permissions <enum>enumOptionalScope: GLOBAL_LAUNCH

    Choose the permission profile for the invocation. Allowed values: read-only, standard, auto-edit, full-access. Default: standard.

    Allowedread-only, standard, auto-edit, full-accessDefaultstandard
  • --sandbox <enum>enumOptionalScope: GLOBAL_LAUNCH

    Choose the sandbox boundary for the invocation. Allowed values: read-only, workspace, isolated, unrestricted.

    Allowedread-only, workspace, isolated, unrestricted
  • --include-dir <path>pathOptionalScope: GLOBAL_LAUNCH

    Add an approved workspace directory for this invocation; repeatable. This option may be repeated.

    Repeatableyes
  • --worktreestringOptionalScope: GLOBAL_LAUNCH

    Use an isolated Git worktree for the invocation or agent run. Default: False.

    Defaultfalse
  • --output-format <enum>enumOptionalScope: GLOBAL_LAUNCH

    Choose human-readable text, one JSON result, or a stream of JSON events. Allowed values: text, json, stream-json. Default: text.

    Allowedtext, json, stream-jsonDefaulttext
  • --output-schema <path>pathOptionalScope: GLOBAL_LAUNCH

    Validate the final structured result against the supplied JSON Schema file.

  • --output <path>pathOptionalScope: GLOBAL_LAUNCH

    Write the final result to the specified file.

  • --quietbooleanOptionalScope: GLOBAL_LAUNCH

    Suppress non-essential diagnostics while preserving the output contract. Default: False.

    Defaultfalse
  • --cibooleanOptionalScope: GLOBAL_LAUNCH

    Use strict non-interactive behavior suitable for CI, failing unresolved prompts or approvals. Default: False.

    Defaultfalse
  • --barebooleanOptionalScope: GLOBAL_LAUNCH

    Skip nonessential user/project customizations and context defined by bare mode. Default: False.

    Defaultfalse
  • --ephemeralbooleanOptionalScope: GLOBAL_LAUNCH

    Run without persisting durable session/run history after completion. Default: False.

    Defaultfalse
  • --max-duration <duration>durationOptionalScope: GLOBAL_LAUNCH

    Set the maximum duration allowed for the run.

  • --max-tool-calls <integer>integerOptionalScope: GLOBAL_LAUNCH

    Stop after the configured number of tool calls, after the current atomic action completes.

  • --debugbooleanOptionalScope: GLOBAL_LAUNCH

    Enable runtime debug logging and diagnostics. Default: False.

    Defaultfalse
  • --acpbooleanOptionalScope: GLOBAL_LAUNCH

    Start the ACP server instead of the normal interactive prompt process. Default: False.

    DefaultfalseConflicts with--prompt
  • -p, --prompt <string>stringOptionalScope: GLOBAL_LAUNCH

    Provide a non-interactive prompt from the command line.

    Conflicts with--acp
  • --helpbooleanOptionalScope: GLOBAL_LAUNCH

    Show shell help. Default: False.

    Defaultfalse
  • --versionbooleanOptionalScope: GLOBAL_LAUNCH

    Show the installed version. Default: False.

    Defaultfalse

Examples

  • With arguments

    WITH ARGUMENTS
    ctxdex code "review this repository"

    Start interactive session; optional initial prompt.

  • With arguments

    WITH ARGUMENTS
    git diff | ctxdex code -p "review this diff"

    Use stdin as context/input and --prompt as the instruction.

Availability & requirements

Nothing recorded — this command is offered in the default session, with no repository, authentication, capability or platform requirement attached to it.

Relationships

Aliases

None recordedNo alias resolves to this command

Alternate surfaces

Related commands

None recordedNo related command is recorded

Industry comparison

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

Open in Compare →