Skip to main content
cops ask forwards a free-text question or instruction to the Devin CLI and streams the response back to your terminal. Use it to query cops-managed data or get guidance without remembering exact command syntax.
Devin CLI is optional. All other cops commands work without it. cops ask fails with an error if devin is not available on your PATH.

Usage

cops ask [--yes] "<prompt>"
Wrap multi-word prompts in quotes.

Arguments

prompt
string
required
The natural-language prompt to send to Devin CLI. Wrap in quotes when it contains spaces or special characters.

Flags

--yes
boolean
default:"false"
Skip confirmation and run Devin with dangerous permission mode, which grants full system access. Equivalent to passing --permission-mode dangerous to the Devin CLI directly.Short form: -y

Environment variables

VariableDescription
COPS_DEVIN_PERMISSION_MODEOverride the Devin permission mode. Accepts any value that Devin CLI accepts for --permission-mode (e.g. auto, dangerous). Takes priority over the --yes flag.

Examples

cops ask "What is the status of story ABC-123?"

How it works

cops prepends a system preamble to your prompt that instructs Devin to run in non-interactive mode, avoid follow-up questions, and return the final answer as Markdown. The response is rendered in the terminal. Nested invocations are blocked — if Devin attempts to call cops ask from within a cops ask session, the command exits with an error. Use specific cops <topic> <command> commands instead.

Notes

Install Devin CLI and ensure the devin binary is on your PATH before using cops ask. All other cops commands are fully independent and do not require Devin.

Installation

Set up cops and optional integrations.

auth login

Configure auth profiles for product commands.

Build docs developers (and LLMs) love