oneworks-cli-print-mode
说明 One Works CLI 的 print 模式、stdin 控制、权限确认和恢复会话方式。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
说明 One Works CLI 的 print 模式、stdin 控制、权限确认和恢复会话方式。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Configure OneWorks model services using built-in provider defaults, management portals, API base URLs, model lists, balance/status capabilities, and safe config-source writeback.
Control the current OneWorks session's internal browser tabs with semantic snapshots, reliable element refs, screenshots, waits, and page-safe concurrent workflows.
Drive native macOS apps through the Cua Driver tools. Use when a task asks to open, inspect, click, type, scroll, capture a final screenshot, or verify a real macOS app without stealing the user's focus.
Control a user-paired external browser through a Chrome extension, explicit typed targets, and semantic operations.
当用户想创建或改造 OneWorks plugin,实现界面入口、按钮、tab、launcher 搜索、server 命令、scoped API 或本地服务时,先理解目标效果;需求不明确时列出不确定点让用户确认,再转成 manifest、前端入口、server 入口和验证步骤。
Apply, review, and continuously evolve the OneWorks team's durable UI design standards. Use for any OneWorks task that changes or reviews layout, styling, theme, spacing, responsive behavior, component appearance, visual assets, or reference-image fidelity, and whenever user visual feedback may express a reusable team standard. Require a Visual Brief, conflict-aware project memory capture, a completed independent visual consistency session with real expected-behavior validation, and experience persistence before delivery; do not promote one-off pixel nudges into lasting rules.
| name | oneworks-cli-print-mode |
| description | 说明 One Works CLI 的 print 模式、stdin 控制、权限确认和恢复会话方式。 |
在需要解释 oneworks --print、--input-format、权限确认或继续会话时使用这个 skill。
oneworks --print "任务描述":把事件和最终输出直接打印到终端。--output-format text:默认文本模式,适合直接阅读。--output-format stream-json:逐条输出结构化事件,适合脚本消费。--output-format json:任务结束时输出 JSON。--input-format text:从 stdin 读取一行纯文本作为输入。--input-format json:从 stdin 读取一个 JSON 对象。--input-format stream-json:按行读取 JSON 事件,适合长连接控制。interaction_request 且没有可用 stdin 控制时,CLI 会打印请求并终止任务。oneworks --resume <sessionId> --print --input-format stream-jsononeworks --resume <sessionId> --permission-mode bypassPermissionsoneworks --resume <sessionId> --yolo{ "type": "submit_input", "data": "allow_once" }
allow_onceallow_sessionallow_projectdeny_oncedeny_sessiondeny_projectoneworks list --view full 找到 session id。oneworks --resume <sessionId> 或 oneworks --resume <sessionId> --print --input-format stream-json 继续。oneworks stop <sessionId> 或 oneworks kill <sessionId>。