# Agent skill

> Install the Xholic agent skill in Claude Code and other agents with npx skills add xholic/xholic-agent: recipes for X growth on top of the xholic CLI.

Source: https://docs.xholic.ai/agent-skill/

The Xholic agent skill teaches coding agents such as Claude Code how to work your X account through the `xholic` CLI: which commands to run for a job, in what order, and the rules to follow.

```bash
npx skills add xholic/xholic-agent
```

The skill installs the CLI if it's missing and runs `xholic login` the first time, so the agent can act as you. In CI or a remote sandbox, set `XHOLIC_API_KEY` instead.

## What's inside

- **Recipes** built from Ask Xholic's playbooks: a week of posts, a reply sprint, repurposing a winner, an instant lead hunt, a warm outreach pipeline, a weekly growth recap and more. They are the same playbooks as the MCP [prompts](/mcp/prompts/).
- **The rules** every Xholic surface follows: read `xholic events updates` and `xholic me get` first, write with `xholic context writing-kit`, check drafts before posting, never post or send without being asked, show credit quotes before confirming them, no links in posts.

## Skill, CLI or MCP?

| You use | Pick |
| --- | --- |
| Claude, ChatGPT or another chat app | [MCP](/mcp/): one click, no install |
| Claude Code, Cursor, an IDE agent | MCP for chat-style work; the skill when the agent should script with the CLI |
| CI jobs, cron, shell scripts | The [CLI](/cli/) with `XHOLIC_API_KEY` |
| Your own product or n8n / Zapier / Make | The [REST API](/api/reference/) and [webhooks](/webhooks/) |
