with one click
workctl
管理 Work Agent 平台能力。通过 `workctl schema` 发现动态产品和命令,再用结构化输出执行操作。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
管理 Work Agent 平台能力。通过 `workctl schema` 发现动态产品和命令,再用结构化输出执行操作。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Use this skill when the task is specifically about AI search, AI Overviews, LLM citations, answer-engine optimization, or improving visibility in AI-generated answers. Good fit for AEO, GEO, LLMO, AI citations, zero-click AI visibility, and optimization for ChatGPT, Perplexity, Claude, Gemini, or similar systems. Do NOT use as the default for broad SEO audits or for pure schema implementation.
在创造性产品或设计工作之前使用此技能:创建新功能、构建新组件、添加新能力,或有意改变既定产品行为。在实现前先探索用户意图、需求和设计。不要用于 bug 修复、测试失败、构建失败、回归修复、恢复已有行为,或预期行为已经明确的实现任务;这些情况优先使用 systematic-debugging、test-driven-development 和 verification-before-completion。
Unified Impeccable frontend design skill. Use when the goal is to design, build, redesign, or improve a frontend interface — web pages, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, empty states, responsive behavior, typography, spacing, layout, color, motion, UX copy, accessibility, or UI-perceived performance. Also use for Impeccable command-style requests aimed at frontend work, such as `impeccable craft`, `shape`, `init`, `document`, `extract`, `critique`, `audit`, `polish`, `bolder`, `quieter`, `distill`, `harden`, `onboard`, `animate`, `colorize`, `typeset`, `layout`, `delight`, `overdrive`, `clarify`, `adapt`, `optimize`, `live` (`teach` is only a deprecated alias for `init`). Do NOT use for backend or non-frontend code audits, docs, or reviews; live-site design-language extraction; static poster or cover art; HTML slide decks; PowerPoint / PDF / Word / spreadsheet deliverables; or specialized React/Next performance work.
遇到 bug、测试失败、构建失败、生产事故或异常行为时使用;在提出修复方案之前先找根因,不要凭直觉打补丁。 / Use for bugs, test failures, build failures, production incidents, or unexpected behavior — investigate the root cause before proposing a fix; do not patch symptoms.
在实现新功能、有意的行为变更,或非平凡 bug 修复时使用——先写一个会失败的测试,再写实现代码。例外:一次性原型、生成代码、配置文件、单行 trivial 修改、纯文案/排版/样式调整,以及没有可测行为的改动。 / Use when implementing new features, intentional behavior changes, or non-trivial bug fixes — write a failing test before implementation. Exceptions: throwaway prototypes, generated code, config files, trivial single-line patches, copy / typography / pure style edits, and changes with no testable behavior.
当确实需要与当前工作区隔离时使用,例如并行开发、临时 hotfix、PR 检查、多方案实验或执行大型实现计划。不要作为日常小修、普通 bug 修复、只读调查或单文件改动的默认流程。
| name | workctl |
| description | 管理 Work Agent 平台能力。通过 `workctl schema` 发现动态产品和命令,再用结构化输出执行操作。 |
| cli_version | >=0.1.28 |
通过 workctl 命令管理 Work Agent 平台能力。
每次会话首次使用 workctl 前,必须按以下顺序检查就绪状态:
workctl version --format json
如果返回 command not found 或类似错误,执行安装:
npm install -g @accio-ai/cli@latest
安装完成后重新执行 workctl version --format json 验证。
workctl auth status --format json
如果返回 authenticated: false 或 auth_not_found:
workctl auth login --provider alibaba --format json
workctl cache status
如果缓存状态为 stale 或命令数为 0:
workctl cache refresh
只有三步都通过后,才可以执行业务命令。
当 workctl version --format json 返回的版本低于本 Skill 要求的 cli_version 时,执行升级:
npm install -g @accio-ai/cli@latest
升级后缓存会自动清除(postinstall 行为),无需手动清理。
--format json 以获取可解析输出--yes 执行# 查看所有产品
workctl schema
# 查看某个命令的完整参数
workctl schema <product>.<group>.<command> --format json
# 示例
workctl schema messaging.thread.list --format json
workctl schema directory.user.search --format json
workctl schema
workctl schema <product>.<group>.<command> --format json
workctl <product> <group> <command> --dry-run --format json
workctl <product> <group> <command> --format json
以下操作为不可逆或高影响操作,执行前必须先向用户展示操作摘要并获得明确同意。
判断依据:
schema / --format json 返回 requires_yes=truemeta.mutating=true 且存在明显不可逆行为Step 1 → 展示操作摘要(操作类型 + 目标对象 + 影响范围)
Step 2 → 用户明确回复确认(如 "确认" / "好的")
Step 3 → 加 --yes 执行命令
# command not found → 执行 BOOTSTRAP Step 1 安装
# auth_not_found / 401 → 执行 BOOTSTRAP Step 2 认证
# registry 不可用 → workctl cache refresh
# 如果命令报错,先查看 --help
workctl <product> <group> <command> --help
# 如果参数不确定,先查 schema
workctl schema <product>.<group>.<command> --format json
# 如果 registry 不可用,检查配置
workctl cache status
workctl auth status
所有命令默认输出 table 格式。agent 应始终使用 --format json:
# JSON 输出(推荐 agent 使用)
workctl <product> <group> <command> --format json
# jq 过滤
workctl <product> <group> <command> --format json --jq '.items[].name'
# 字段选择
workctl <product> <group> <command> --format json --fields name,id
# 输出到文件
workctl <product> <group> <command> --format json -o result.json
如果 JSON 返回被自动收口,输出会包含 meta.agent_friendly.large_result=true、field_index、suggested_selectors 和 data.artifact_id。这时不要读取整段大 JSON,先按建议 selector 取局部数据:
workctl artifact get <artifact_id> --format json --jq '.data.items[0]'