Agent Skills

Install the Social Fetch agent skill from its public download, so Cursor, Claude Code and other coding agents read the docs files, use MCP or POST /v1/ask, and call only routes that exist.

An agent skill is a set of instructions your coding agent keeps on hand and loads when a task needs it. The Social Fetch skill tells agents such as Claude Code, Cursor and Codex how to work with Social Fetch: read the docs files first, call only routes that exist, and handle API keys and responses correctly.

The skill doesn't fetch anything by itself. It points your agent at the docs files, and the agent gets data through MCP or the API.

Diagram of three cards joined by arrows: the agent skill installed in your agent (boxed and labelled 'The instructions you install'), the docs files on socialfetch.dev, and MCP or the API at api.socialfetch.dev, with a note on POST /v1/ask below
The skill holds the rules. The docs files list the routes, and MCP or the API returns the data.

What you need

  • A coding agent that supports skills, such as Claude Code, Cursor or Codex.
  • A Social Fetch account, so the agent can make calls. The skill itself is free.

Install the skill

The skill file is published at https://www.socialfetch.dev/skill.md. Open it and review the instructions, then save it as SKILL.md in a folder named socialfetch inside your agent's project skills folder.

Install by hand

For Claude Code, run these commands in your project folder using Bash (macOS, Linux or Git Bash):

mkdir -p .claude/skills/socialfetch
curl -fsSL https://www.socialfetch.dev/skill.md -o .claude/skills/socialfetch/SKILL.md

For Cursor and other agents that read .agents/skills:

mkdir -p .agents/skills/socialfetch
curl -fsSL https://www.socialfetch.dev/skill.md -o .agents/skills/socialfetch/SKILL.md

In PowerShell, use the folder your agent reads:

New-Item -ItemType Directory -Force .agents/skills/socialfetch | Out-Null
Invoke-WebRequest https://www.socialfetch.dev/skill.md -OutFile .agents/skills/socialfetch/SKILL.md

For Claude Code, replace .agents/skills/socialfetch with .claude/skills/socialfetch in both PowerShell commands. These commands download a file; they don't run it or configure MCP. Commit the skill folder if everyone on the project should have it.

The download contains the main instructions. Its relative references/mcp.md and references/rest.md links are not included. Use the public MCP guide and API quickstart for those details.

The GitHub source repository is private. The advertised npx skills add social-freak-ltd/socialfetch -s socialfetch command needs access to that repository; use the public download above if you don't have access.

Check it's working

Start a new chat in your agent so it picks up the skill, then ask for something that mentions Social Fetch, for example:

Use Social Fetch to get the TikTok profile for @duolingo and show me the follower count.

The agent should load the socialfetch skill, then call Social Fetch: through MCP if it's connected, or by reading /llms.txt or the TikTok file, /llms-tiktok.txt, and calling the TikTok profile route, not a URL it made up.

Claude Code in a project with the Social Fetch skill, after the prompt Use Social Fetch to get the TikTok profile for @duolingo and show me the follower count. Skill(socialfetch), Successfully loaded skill, is boxed and labelled The agent loads the socialfetch skill. Called Social Fetch is boxed and labelled Then calls Social Fetch (here through MCP). Below, the answer: @duolingo has 18,587,959 followers on TikTok, a table of followers, likes, videos, following and join date, and a note that the lookup cost 1 Social Fetch credit with its request ID
The agent loads the skill, then calls Social Fetch: here through MCP, which was connected.

Give your agent access

The skill tells the agent how to call Social Fetch. It still needs permission to make calls, in one of two ways:

  • MCP, for an agent you chat with. Add the hosted server, https://api.socialfetch.dev/mcp, and sign in when your browser opens. Lookup tools spend your workspace credits; docs_search and docs_read are free. This hosted MCP connection is separate from Ask AI inside the Social Fetch app. See MCP for each agent's steps.
  • An API key, for code the agent writes (REST or the TypeScript SDK). Create one on API Keys and keep it in an environment variable, never in the code.
The API Keys page in the Social Fetch app, with 'Coding agent' typed as the key name and the Create key button labelled 'Name it, then Create key'
Name the key after the agent or project that uses it, so you can tell keys apart later.

What the skill tells your agent

  • Read /llms.txt and /agents.txt first, then /llms-endpoints.txt or the file for one platform, such as /llms-tiktok.txt, before writing any code.
  • Use only routes listed in those files, the OpenAPI document or the MCP tools. If a route isn't listed, it doesn't exist.
  • When it isn't sure which route fits, ask in plain English with POST /v1/ask (the MCP tool nl_ask_post). Working out the route is free; the lookup it runs costs what that route normally costs. The answer names the route, so the agent can call it directly next time.
  • A 200 response doesn't always mean the account was found. Read data.lookupStatus (found, not_found, private and so on), and don't retry a not_found: each attempt is charged.
  • Log meta.requestId from successful responses and error.requestId from errors, so you can quote it to support.
  • Keep sfk_ API keys on the server. Never put one in a browser, an app or a public repository.

Find a call your agent made

REST API calls your agent makes with an API key appear in the app under Usage, then Request history, with their status and the credits each one cost. To look into a result that seems wrong, paste the meta.requestId the agent logged into Request ID.

The Request history page in the Social Fetch app, filtered to TikTok profile lookups, with the Request ID filter labelled 'Paste the request ID your agent logged'
Search by the request ID your agent logged to find that call.

If you need help with a call, contact support and include its request ID.

Update or remove the skill

To update a skill installed by hand, review the current skill file, then repeat the download command for the same folder. To remove it, delete the socialfetch folder you created inside your project's skills folder.

Removing the skill leaves any MCP connection and API key in place. Remove that connection or revoke that key separately if you no longer need it.

On this page