Use the Expand Skill with Pi, Hermes, OpenClaw, and other instruction-based agents.
Set up Expand for an agent that has no first-class installer yet. If your agent can read a SKILL.md, install reusable instructions, or follow a setup prompt, it can use Expand through the bundled Skill or MCP.
Pi, Hermes, OpenClaw, and other skill-based agents do not currently have dedicated expandai skill install commands. Use the Expand Skill model below, or configure MCP if your agent supports tools.
Each named agent below carries a No native installer yet badge. These are manual setup paths, not first-class CLI support.
Use the Expand Skill if Pi can install or read a SKILL.md. Otherwise hand it /start.md. Use the Skill.
Use reusable instructions first, then add MCP if Hermes supports native tools. Use the Skill.
The Skill gives behavior guidance; MCP gives native tool calls. Compare Skill and MCP.
Verify the setup with one prompt:
Use Expand to fetch https://news.ycombinator.com.
Confirm you used Expand, show the first 10 lines of Markdown, and include any snapshot or citation link you received.If your agent supports SKILL.md files, copy the Expand Skill into the location your agent expects. If your agent supports MCP tools, configure Expand MCP instead or in addition.
The first-class hosts get this skill from expandai skill install. For an agent without an installer, you place the same skill body yourself: the host decides where the file must live, and Expand provides the content.
The canonical source is packages/cli/skills/expandai/SKILL.md. Copy the block below into the skill location your agent expects.
---
name: expandai
description: Fetch any URL as clean markdown using the `expandai` CLI. Use when reading documentation, articles, GitHub READMEs, blog posts, or any web page — the output is rendered from the live page so it handles SPAs and bot-protected sites that plain `curl` does not.
---
# expandai
Fetch any URL as clean markdown.
```bash
expandai fetch <url>
```
## When to use
Use
Authenticate the CLI once so the skill's commands work:
expandai loginAPI keys are for CI, servers, direct API, and other non-interactive use. For local agent setup, prefer expandai login.
| Need | Use |
|---|---|
| Agent can read instructions and run shell commands, but cannot call MCP tools | Expand Skill |
| Agent supports MCP tools | MCP |
| Agent supports both | Skill + MCP |
| Agent cannot install skills or MCP | /start.md setup prompt or CLI |
Use the Skill when the agent needs instructions for when to fetch, how to reuse Highlights on captured pages, and how to return citations. Use MCP when the agent supports native tools and you want it to call Fetch directly. Use both when the agent supports both.
If you are using Claude Code, Cursor, Codex, or OpenCode, use the first-class setup page instead. Those pages use the installer paths supported by the Expand CLI.
Check the skill location your agent expects. Expand only provides the SKILL.md content for non-first-class hosts; the host decides where that file must live.
If your agent supports MCP, use Other MCP Clients instead of manually wiring shell commands into the skill.
The Expand Skill teaches CLI usage. If your agent cannot run shell commands, configure MCP or use the direct API/SDK from your application code.
Official skill installers exist today for Claude Code, Cursor, Codex, and OpenCode. Other agents should use manual skill placement, MCP, or /start.md until a first-class installer exists.
Put the SKILL.md where the agent loads reusable instructions. Open Skill docs.