npx skills add https://github.com/getpaseo/paseo --skill paseo# 列出智能体(默认按目录范围)
paseo ls # 仅显示当前目录的智能体
paseo ls -g # 所有项目中的所有智能体(全局)
paseo ls --json # 用于解析的 JSON 输出
# 创建并运行智能体(默认阻塞直到完成,无超时)
paseo run --mode bypass "<提示词>"
paseo run --mode bypass --name "任务名称" "<提示词>"
paseo run --mode bypass --model opus "<提示词>"
paseo run --mode full-access --provider codex "<提示词>"
# 等待超时 - 限制运行命令阻塞的时间(默认:无限制)
paseo run --wait-timeout 30m "<提示词>" # 最多等待 30 分钟
paseo run --wait-timeout 1h "<提示词>" # 最多等待 1 小时
paseo run --wait-timeout 3600 "<提示词>" # 纯数字 = 秒
# 分离模式 - 在后台运行,立即返回智能体 ID
paseo run --detach "<提示词>"
paseo run -d "<提示词>" # 简写形式
# 结构化输出 - 智能体仅返回匹配的 JSON
paseo run --output-schema '{"type":"object","properties":{"summary":{"type":"string"}},"required":["summary"]}' "<提示词>"
paseo run --output-schema schema.json "<提示词>" # 或从文件读取
# 注意:--output-schema 会阻塞直到完成(不能与 --detach 一起使用)
# 注意:--wait-timeout 也适用于 --output-schema 运行
# 工作树 - 用于并行功能开发的隔离 git 工作树
paseo run --worktree feature-x "<提示词>"
# 检查智能体日志/输出
paseo logs <智能体-id>
paseo logs <智能体-id> -f # 跟随(流式输出)
paseo logs <智能体-id> --tail 10 # 最后 10 条记录
paseo logs <智能体-id> --filter tools # 仅工具调用
# 等待智能体完成或需要权限
paseo wait <智能体-id>
paseo wait <智能体-id> --timeout 60 # 60 秒超时
# 向运行中的智能体发送后续提示词
paseo send <智能体-id> "<提示词>"
paseo send <智能体-id> --image screenshot.png "<提示词>" # 附带图片
paseo send <智能体-id> --no-wait "<提示词>" # 排队发送而不等待
# 检查智能体详细信息
paseo inspect <智能体-id>
# 中断智能体的当前运行
paseo stop <智能体-id>
# 强制删除智能体(如果需要会先中断)
paseo delete <智能体-id>
# 附加到智能体输出流(按 Ctrl+C 分离而不停止)
paseo attach <智能体-id>
# 权限管理
paseo permit ls # 列出待处理的权限请求
paseo permit allow <智能体-id> # 允许智能体的所有待处理请求
paseo permit deny <智能体-id> --all # 拒绝所有待处理请求
# 智能体模式切换
paseo agent mode <智能体-id> --list # 显示可用模式
paseo agent mode <智能体-id> bypass # 设置 bypass 模式
# 输出格式
paseo ls --json # JSON 输出
paseo ls -q # 仅 ID(安静模式,适用于脚本编写)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Claude(默认提供商) — 使用别名,CLI 会解析到最新版本:
--model haiku — 快速/便宜,仅用于测试(不用于实际工作)--model sonnet — 默认,适用于大多数任务--model opus — 用于更难的推理、复杂的调试Codex (--provider codex):
--model gpt-5.4 — 最新的前沿智能体编码模型(默认,所有工程任务的首选)--model gpt-5.1-codex-mini — 更便宜、更快,但能力稍弱始终以完全授权的模式启动智能体。对于 Claude 使用 --mode bypass,对于 Codex 使用 --mode full-access。通过严格的提示词来控制行为,而不是权限模式。
paseo run 和 paseo wait 都会阻塞直到智能体完成。请信任它们。
paseo run 默认等待无限长时间(无超时)。使用 --wait-timeout 设置限制。
paseo wait 默认也无限等待。使用 --timeout 设置限制。
智能体任务可能合法地需要 10、20 甚至 30 分钟以上。这是正常的。
当等待超时时,只需重新运行 paseo wait <id> — 不要惊慌,不要开始检查日志,不要检查状态。智能体仍在工作。
不要用 paseo ls、paseo inspect 或 paseo logs 循环轮询来"检查"智能体。
只有当你有特定理由认为出了问题时才检查日志/详细信息。
切勿因为等待超时而启动重复的智能体。原始的智能体仍在运行。
paseo wait <id> # 超时了?只需再次运行它: paseo wait <id> # 还在进行中?继续等待: paseo wait <id> --timeout 300 # 或者使用更长的超时时间
paseo wait <id> # 超时 paseo ls # 它还在运行吗?? paseo inspect <id> # 它在做什么?? paseo logs <id> # 让我检查一下日志!!
paseo run 默认阻塞,而 --output-schema 返回结构化 JSON,这使得在 bash 循环和管道中组合智能体变得容易。
实现并验证循环:
while true; do
paseo run --provider codex "让测试通过" >/dev/null
verdict=$(paseo run --provider claude --output-schema '{"type":"object","properties":{"criteria_met":{"type":"boolean"}},"required":["criteria_met"],"additionalProperties":false}' "确保所有测试都通过")
if echo "$verdict" | jq -e '.criteria_met == true' >/dev/null; then
echo "标准已满足"
break
fi
done
用于并行工作的分离 + 等待模式:
# 启动并行智能体
api_id=$(paseo run -d --name "API 实现" "实现 API" -q)
ui_id=$(paseo run -d --name "UI 实现" "实现 UI" -q)
# 等待两者都完成
paseo wait "$api_id"
paseo wait "$ui_id"
每周安装量
131
仓库
GitHub 星标数
289
首次出现
11 天前
安全审计
安装于
mcpjam131
antigravity131
kilo131
replit131
junie131
windsurf131
# List agents (directory-scoped by default)
paseo ls # Only shows agents for current directory
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, no timeout)
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>"
# Wait timeout - limit how long run blocks (default: no limit)
paseo run --wait-timeout 30m "<prompt>" # Wait up to 30 minutes
paseo run --wait-timeout 1h "<prompt>" # Wait up to 1 hour
paseo run --wait-timeout 3600 "<prompt>" # Plain number = seconds
# Detached mode - runs in background, returns agent ID immediately
paseo run --detach "<prompt>"
paseo run -d "<prompt>" # Short form
# Structured output - agent returns only matching JSON
paseo run --output-schema '{"type":"object","properties":{"summary":{"type":"string"}},"required":["summary"]}' "<prompt>"
paseo run --output-schema schema.json "<prompt>" # Or from a file
# NOTE: --output-schema blocks until completion (cannot be used with --detach)
# NOTE: --wait-timeout applies to --output-schema runs too
# Worktrees - isolated git worktree for parallel feature development
paseo run --worktree feature-x "<prompt>"
# Check agent logs/output
paseo logs <agent-id>
paseo logs <agent-id> -f # Follow (stream)
paseo logs <agent-id> --tail 10 # Last 10 entries
paseo logs <agent-id> --filter tools # Only tool calls
# Wait for agent to complete or need permission
paseo wait <agent-id>
paseo wait <agent-id> --timeout 60 # 60 second timeout
# Send follow-up prompt to running agent
paseo send <agent-id> "<prompt>"
paseo send <agent-id> --image screenshot.png "<prompt>" # With image
paseo send <agent-id> --no-wait "<prompt>" # Queue without waiting
# Inspect agent details
paseo inspect <agent-id>
# Interrupt an agent's current run
paseo stop <agent-id>
# Hard-delete an agent (interrupts first if needed)
paseo delete <agent-id>
# Attach to agent output stream (Ctrl+C to detach without stopping)
paseo attach <agent-id>
# Permissions management
paseo permit ls # List pending permission requests
paseo permit allow <agent-id> # Allow all pending for agent
paseo permit deny <agent-id> --all # Deny all pending
# Agent mode switching
paseo agent mode <agent-id> --list # Show available modes
paseo agent mode <agent-id> bypass # Set bypass mode
# Output formats
paseo ls --json # JSON output
paseo ls -q # IDs only (quiet mode, useful for scripting)
Claude (default provider) — use aliases, CLI resolves to latest version:
--model haiku — Fast/cheap, ONLY for tests (not for real work)--model sonnet — Default, good for most tasks--model opus — For harder reasoning, complex debuggingCodex (--provider codex):
--model gpt-5.4 — Latest frontier agentic coding model (default, preferred for all engineering tasks)--model gpt-5.1-codex-mini — Cheaper, faster, but less capableAlways launch agents fully permissioned. Use --mode bypass for Claude and --mode full-access for Codex. Control behavior through strict prompting , not permission modes.
Both paseo run and paseo wait block until the agent completes. Trust them.
paseo run waits forever by default (no timeout). Use --wait-timeout to set a limit.
paseo wait also waits forever by default. Use --timeout to set a limit.
Agent tasks can legitimately take 10, 20, or even 30+ minutes. This is normal.
When a wait times out, just re-runpaseo wait <id> — don't panic, don't start checking logs, don't inspect status. The agent is still working.
Do NOT poll with paseo ls, paseo inspect, or paseo logs in a loop to "check on" the agent.
paseo run blocks by default and --output-schema returns structured JSON, making it easy to compose agents in bash loops and pipelines.
Implement-and-verify loop:
while true; do
paseo run --provider codex "make the tests pass" >/dev/null
verdict=$(paseo run --provider claude --output-schema '{"type":"object","properties":{"criteria_met":{"type":"boolean"}},"required":["criteria_met"],"additionalProperties":false}' "ensure tests all pass")
if echo "$verdict" | jq -e '.criteria_met == true' >/dev/null; then
echo "criteria met"
break
fi
done
Detach + wait pattern for parallel work:
# Kick off parallel agents
api_id=$(paseo run -d --name "API impl" "implement the API" -q)
ui_id=$(paseo run -d --name "UI impl" "implement the UI" -q)
# Wait for both to finish
paseo wait "$api_id"
paseo wait "$ui_id"
Weekly Installs
131
Repository
GitHub Stars
289
First Seen
11 days ago
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
mcpjam131
antigravity131
kilo131
replit131
junie131
windsurf131
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
66,200 周安装
Only check logs/inspect if you have a specific reason to believe something is wrong.
Never launch a duplicate agent because a wait timed out. The original is still running.
paseo wait <id> # timed out? just run it again: paseo wait <id> # still going? keep waiting: paseo wait <id> --timeout 300 # or use a longer timeout
paseo wait <id> # timed out paseo ls # is it still running?? paseo inspect <id> # what's it doing?? paseo logs <id> # let me check the logs!!