Update outdated Paseo skill CLI options

This commit is contained in:
Mohamed Boudra
2026-03-12 22:26:10 +07:00
parent 16da3300e3
commit 79795b6f49
4 changed files with 14 additions and 23 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ $NO_EDITS"
Same prompt to both, `[Committee]` prefix for identification:
```bash
opus_id=$(paseo run -d --mode bypassPermissions --model opus --thinking on --name "[Committee] Task description" "$prompt" -q)
opus_id=$(paseo run -d --mode bypass --model opus --thinking on --name "[Committee] Task description" "$prompt" -q)
gpt_id=$(paseo run -d --mode full-access --provider codex --model gpt-5.4 --thinking medium --name "[Committee] Task description" "$prompt" -q)
```
+7 -9
View File
@@ -34,9 +34,9 @@ Parse `$ARGUMENTS` to determine:
|---|---|---|---|
| *(nothing)* | `codex` | `gpt-5.4` | `full-access` |
| `codex` | `codex` | `gpt-5.4` | `full-access` |
| `claude` | `claude` | `opus` | `bypassPermissions` |
| `opus` | `claude` | `opus` | `bypassPermissions` |
| `sonnet` | `claude` | `sonnet` | `bypassPermissions` |
| `claude` | `claude` | `opus` | `bypass` |
| `opus` | `claude` | `opus` | `bypass` |
| `sonnet` | `claude` | `sonnet` | `bypass` |
Default is **Codex** with `gpt-5.4`.
@@ -106,32 +106,30 @@ This is the critical step. The receiving agent has **zero context** about your c
## Launching the Agent
Use `--ui` so that the agent is visible in the UI.
### Default (Codex, no worktree)
```bash
paseo run --ui -d --mode full-access --provider codex --name "[Handoff] Task description" "$prompt"
paseo run -d --mode full-access --provider codex --name "[Handoff] Task description" "$prompt"
```
### Claude (Opus, no worktree)
```bash
paseo run --ui -d --mode bypassPermissions --model opus --name "[Handoff] Task description" "$prompt"
paseo run -d --mode bypass --model opus --name "[Handoff] Task description" "$prompt"
```
### Codex in a worktree
```bash
base=$(git branch --show-current)
paseo run --ui -d --mode full-access --provider codex --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
paseo run -d --mode full-access --provider codex --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
```
### Claude in a worktree
```bash
base=$(git branch --show-current)
paseo run --ui -d --mode bypassPermissions --model opus --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
paseo run -d --mode bypass --model opus --worktree task-branch-name --base "$base" --name "[Handoff] Task description" "$prompt"
```
## After Launch
+2 -2
View File
@@ -111,7 +111,7 @@ worker_flags=()
if [[ "$worker_provider" == "codex" ]]; then
worker_flags+=(--mode full-access --provider codex)
elif [[ "$worker_provider" == "claude" ]]; then
worker_flags+=(--mode bypassPermissions)
worker_flags+=(--mode bypass)
fi
[[ -n "$worker_model" ]] && worker_flags+=(--model "$worker_model")
[[ -n "$thinking" ]] && worker_flags+=(--thinking "$thinking")
@@ -121,7 +121,7 @@ judge_flags=()
if [[ "$judge_provider" == "codex" ]]; then
judge_flags+=(--mode full-access --provider codex)
elif [[ "$judge_provider" == "claude" ]]; then
judge_flags+=(--mode bypassPermissions)
judge_flags+=(--mode bypass)
fi
[[ -n "$judge_model" ]] && judge_flags+=(--model "$judge_model")
+4 -11
View File
@@ -14,14 +14,11 @@ paseo ls -g # All agents across all projects (global)
paseo ls --json # JSON output for parsing
# Create and run an agent (blocks until completion by default)
paseo run --mode bypassPermissions "<prompt>"
paseo run --mode bypassPermissions --name "Task Name" "<prompt>"
paseo run --mode bypassPermissions --model opus "<prompt>"
paseo run --mode bypass "<prompt>"
paseo run --mode bypass --name "Task Name" "<prompt>"
paseo run --mode bypass --model opus "<prompt>"
paseo run --mode full-access --provider codex "<prompt>"
# UI visible agents
paseo run --ui "hello"
# Detached mode - runs in background, returns agent ID immediately
paseo run --detach "<prompt>"
paseo run -d "<prompt>" # Short form
@@ -75,10 +72,6 @@ paseo ls --json # JSON output
paseo ls -q # IDs only (quiet mode, useful for scripting)
```
## UI
By default agents you run are not visible in the UI, use the `--ui` flags so that they're visible.
### Available Models
**Claude (default provider)** - use aliases, CLI resolves to latest version:
@@ -92,7 +85,7 @@ By default agents you run are not visible in the UI, use the `--ui` flags so tha
### Permissions
Always launch agents fully permissioned. Use `--mode bypassPermissions` for Claude and `--mode full-access` for Codex. Control behavior through **strict prompting**, not permission modes.
Always launch agents fully permissioned. Use `--mode bypass` for Claude and `--mode full-access` for Codex. Control behavior through **strict prompting**, not permission modes.
### Agent Use Cases