Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Aznatkoiny/zAI-Skills --skill openclaw-setupgit clone --depth 1 https://github.com/Aznatkoiny/zAI-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aznatkoiny/zai-skills/openclaw-setup)<a href="https://agentmods.dev/skills/aznatkoiny/zai-skills/openclaw-setup"><img src="https://agentmods.dev/badge/skills/aznatkoiny/zai-skills/openclaw-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aznatkoiny/zai-skills/openclaw-setup"><img src="https://agentmods.dev/badge/skills/aznatkoiny/zai-skills/openclaw-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00179 | $0.02295 |
| Opus 5.5 | $0.00072 | $0.00918 |
| Sonnet 5.5 | $0.00036 | $0.00459 |
| Haiku 4.5 | $0.00018 | $0.00230 |
Grade F, and why
openclaw-setup scanned grade F with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Harvests environment variableshighData exfiltration
Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.
**Secrets stay out of the chat.** API keys, bot tokens and the gateway token go straight into the onboarding wizard, an editor, or a `.env` file with `chmod 600`, typed by the user. Refer to them as `${ANTHROPIC_API_KEY} Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**Secrets stay out of the chat.** API keys, bot tokens and the gateway token go straight into the onboarding wizard, an editor, or a `.env` file with `chmod 600`, typed by the user. Refer to them as `${ANTHROPIC_API_KEY} Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- running the installer (`curl … | bash`), `sudo`, or package installs; Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- running the installer (`curl … | bash`), `sudo`, or package installs; How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenClaw setup
OpenClaw runs a Gateway on the user's own machine or server. The Gateway connects a model provider (here, Anthropic) to messaging channels such as Telegram and iMessage, so the user can talk to an agent that can run tools on that machine. That last part is why setup is mostly about safety: anyone who can message the bot, or reach the Gateway port, can try to make it act. Your job is a working install that only its owner controls and whose spending is capped.
- Docs: https://docs.openclaw.ai (source of truth for commands and config keys)
- Source: https://github.com/openclaw/openclaw
Working with the user
A person is present during setup, so explain choices in plain language and let them decide. Read-only checks (openclaw --version, openclaw doctor, openclaw status, ss -tlnp) can run freely. Before each of the following, say in one line what will change and get a yes:
- running the installer (
curl … | bash),sudo, or package installs; - editing
~/.openclaw/openclaw.json(back it up first:cp openclaw.json openclaw.json.bak); - firewall, SSH, or Docker changes on a server, and stopping or restarting the Gateway;
- installing third-party plugins or skills.
Secrets stay out of the chat. API keys, bot tokens and the gateway token go straight into the onboarding wizard, an editor, or a .env file with chmod 600, typed by the user. Refer to them as ${ANTHROPIC_API_KEY} and so on. Check that a secret is set by its presence or length, never by printing it, and don't run commands that echo one (such as printenv TOKEN); if the user needs to see a token, they run that command themselves.
Match the work to the request
- Fresh install: the full path below.
- Adding a channel or changing a setting on a working install: go straight to the relevant reference; check the version and run
openclaw doctorafterwards. Don't walk them back through installation. - Something's broken: start with
openclaw doctor,openclaw status --all,openclaw channels status --probeandopenclaw logs --follow, then use the troubleshooting table. - "Is my install safe?": suggest
/openclaw-audit, which runs the checklist read-only.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 25d ago Changed · -104 lines · -9 tokens per session scan E → F 1b7c977f214a
- 3mo ago First seen · 204 lines · 188 tokens per session scan E d43c8fcc763d
openclaw-setup is a skill published in the GitHub repository Aznatkoiny/zAI-Skills (10 stars, last pushed 26d ago), licensed MIT. It adds 179 tokens to every session and 2,295 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it F with 4 findings (harvests environment variables, asks for root, downloads and executes remote code). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
openclaw-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openclaw-setupAznatkoiny/zAI-Skills | Skill | 10 | 26d ago | MIT | F | 179 | Claude Code |
| text-optimizekochetkov-ma/claude-brewcode | Skill | 41 | 3d ago | MIT | A | 74 | Codex |
| doc-digestegorfedorov/claude-context-optimizer | Skill | 142 | 2d ago | MIT | A | 75 | Claude Code |
| brewpage-publishkochetkov-ma/claude-brewcode | Skill | 41 | 3d ago | MIT | A | 133 | Claude Code |
| token-checkegorfedorov/claude-context-optimizer | Skill | 142 | 2d ago | MIT | A | 66 | Claude Code |
| e2ekochetkov-ma/claude-brewcode | Skill | 41 | 3d ago | MIT | A | 37 | Claude Code |
| sharpen-promptegorfedorov/claude-context-optimizer | Skill | 142 | 2d ago | MIT | A | 47 | Claude Code |