Ask Devin
Executes Devin for Terminal to get coding assistance.
Note: This skill requires Devin for Terminal to be installed and available in your system's PATH.
Quick start
Run a single query with -p (print/non-interactive mode):
devin -p "Your question or task here"
Common options
| Option | Description |
|---|---|
-p PROMPT | Non-interactive mode (print response and exit) |
--model MODEL | Specify model (e.g. claude-sonnet-4, opus) |
--permission-mode MODE | auto (read-only auto-approve) or dangerous (all auto-approve) |
--prompt-file FILE | Load prompt from a file |
For all available options, run
devin --help
Examples
Ask a coding question:
devin -p "How do I implement a binary search in Python?"
Use a specific model:
devin --model claude-opus-4.6 -p "Write a function that validates email addresses"
Analyze code with dangerous permission mode:
devin --permission-mode dangerous -p "Add error handling to all API endpoints"
Notes
- Use
-pfor non-interactive (one-shot) mode; omit it for interactive sessions - Default permission mode is
auto(auto-approves read-only tools) - The command inherits the current working directory