> Documentation index: https://www.socialcrawl.dev/llms.txt > Every page is also available as Markdown by adding .md. # Agent skill (/docs/agent-skill) Install the skill so your agent knows every endpoint and calls the API for you. A skill is a folder of instructions and reference files that an agent reads when a task needs it. The `socialcrawl` skill teaches your agent every endpoint, so it can pick one, call it and explain the result. It works in Claude Code, Cursor, Windsurf, Codex, Gemini CLI and the other agents that read skill files. ```bash title="Terminal" npx skills add socialcrawl/skills ``` Add `-g` to install it for every project instead of the current one. ## Set your key The skill looks for your key only when a task needs a live call. Questions about endpoints, prices or code need no key. It checks two places, in this order: 1. The `SOCIALCRAWL_API_KEY` environment variable, when it starts with `sc_` and is not an example placeholder. 2. The file `~/.config/socialcrawl/api_key`. With neither, the skill asks you to create a key in the dashboard and store it in one of those two places. It never asks you to paste a key into the chat, and it never prints one. ```bash title="Terminal" export SOCIALCRAWL_API_KEY="sc_your_key_here" ``` Add that line to `~/.bashrc`, `~/.zshrc` or your shell's equivalent so it lasts between sessions. ## Use it Type `/socialcrawl`, or ask in plain words. The skill picks the platform and the endpoint, makes the call and returns the data. ```text title="Prompt" Get the TikTok profile for @charlidamelio. ``` ```text title="Prompt" Search YouTube for machine learning videos from this month. ``` ## Skills or MCP? [#skills-or-mcp] Both call the same API and bill the same credits. Pick the one your agent supports, or use both. | | Agent skill | MCP server | | --- | --- | --- | | Install with | skills.sh or Git | A hosted URL, npm or the MCP Registry | | How the agent uses it | Reads the skill files | Calls tools over MCP | | Works in | Agents that read skill files | Any MCP client | | Free discovery tools | No, the skill does the routing | Yes, and they need no key | | Checks a call before it is billed | No | Yes | | Reference offline | Yes, in its reference files | Yes, in its bundled data | | Paging, monitors and web pages | Yes, through the REST API | Yes, through its tools | [MCP server](/docs/mcp.md) covers the other half. ## Install from Git An agent finds a skill at `//SKILL.md`. So copy the `socialcrawl` folder, not the whole repository. ```bash title="Terminal" git clone --depth 1 https://github.com/socialcrawl/skills /tmp/socialcrawl-skills mkdir -p .claude/skills cp -r /tmp/socialcrawl-skills/skills/socialcrawl .claude/skills/socialcrawl ``` Use your agent's own skills folder in place of `.claude/skills` if it differs.