LOCAL AGENT ONBOARDING

把 Actionway CLI
交给你的 Agent

复制下面第一段消息给 Codex、Claude 或其他本地 Agent。Agent 会安装 CLI、打开浏览器授权,并在连接成功后给你一份简短的 Quick Start。

WORKS WITH YOUR LOCAL AGENT

从你已经使用的 Agent 开始。

Codex 与 Claude 可以安装 Actionway Skill;其他能够运行本地命令、打开浏览器的 Agent 也可以使用 CLI。

选择你的本地 Agent手动选择
Codex

让 Codex 完成 CLI 与 Skill 安装。

Skill 安装位置~/.codex/skills/actionway
复制下面的内容给 CodexREADY / COPY
Set up Actionway for Codex.

1. Confirm the host OS is macOS or Linux. If it differs, stop and ask me to copy the matching setup message from the website.
2. If your shell is sandboxed with network restrictions (e.g. the Claude Code sandbox), first allow `registry.npmjs.org`, `actionway.ai`, and `*.actionway.ai` — for Claude Code add them to `sandbox.network.allowedDomains` in settings. Blocked egress surfaces as a bare 403. Ask me before editing settings files.
3. Install by running `curl -fsSL https://actionway.ai/install.sh | sh`. The installer checks Node.js 20+ (installing the LTS if missing), installs the Actionway CLI, and runs its doctor check. Do not use `sudo` without my approval. If doctor reports failed checks, report them and stop; do not change npm registry, proxy, CA, PATH, or shell profile without my approval.
4. Run `actionway --agent-host=codex init --install-session-id=<install-session-id>`. For this Agent, keep the same `--agent-host` declaration immediately after `actionway` on every future Actionway command. Let me approve browser access; never ask me to paste credentials.
5. Read the `skill` block in the init output and use its local `source` path. Install it at `~/.codex/skills/actionway` so Codex can load it in future sessions.
6. Replace an existing destination only if it is an earlier Actionway Skill; otherwise ask me first.
7. Verify setup with `actionway --agent-host=codex whoami`, then give me three short examples from `actionway --agent-host=codex --help`.
  1. 01

    安装 Actionway CLI

  2. 02

    在浏览器中完成安全登录

  3. 03

    将 Skill 安装到 Codex 的 Skill 目录

WHAT HAPPENS NEXT

你只需要批准浏览器授权。

  1. 01

    Agent 检查 Node 与 npm

  2. 02

    安装 Actionway CLI

  3. 03

    浏览器完成安全登录

  4. 04

    Agent 安装 Skill 并返回示例

YOUR FIRST TASK

连接完成后,直接描述目标。

Agent 会自己发现能力、读取输入要求和价格;真正执行前再向你确认。

EXAMPLE 01

把这张图片生成一个 10 秒视频,保持人物一致。

EXAMPLE 02

把这段文字生成自然的中文旁白。

EXAMPLE 03

转录这个视频并告诉我镜头切换发生在哪里。

MANUAL & TROUBLESHOOTING

需要时再手动安装

默认让 Agent 完成以下步骤。只有 Agent 无法修改本机环境,或你需要排障时,才手动执行。

01

1. 安装 CLI

全局安装 Actionway CLI。可执行文件名为 actionway。

Windows: powershell -ExecutionPolicy Bypass -Command "irm https://actionway.ai/install.ps1 | iex"
macOS/Linux: curl -fsSL https://actionway.ai/install.sh | sh
02

2. 初始化 Actionway

init 会打开浏览器授权页,并把薄 Skill 准备到本机 ~/.actionway/skill 固定路径。不要把 Token 或凭据粘贴到 Agent 对话中。

Windows: actionway.cmd doctor
         actionway.cmd init
macOS/Linux: actionway doctor
             actionway init
03

3. 验证环境

确认身份与命令目录可读。完成后可直接用自然语言向 Agent 提需求。

Windows: actionway.cmd whoami
         actionway.cmd --help
macOS/Linux: actionway whoami
             actionway --help