/scrapeatlas:scrapeatlas-setupfrom ScrapeAtlas
Installs and authenticates the ScrapeAtlas CLI for agents running in their own environment. Covers Node.js check, npm install, API key setup, and credential management via environment variable or saved login.
Ships in ScrapeAtlas. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Install the scrapeatlas CLI, give it a ScrapeAtlas API key without exposing the
key, and verify the connection with a free account read.
If the agent's runtime can connect to a remote MCP server with a custom header,
that also works: URL https://api.scrapeatlas.com/mcp, header
Authorization: Bearer <API key>, with the key taken from the runtime's secret
settings. The steps below cover the CLI.
node --version
The CLI requires Node.js 22 or newer. If Node is missing or older, tell the user; do not change the system Node installation without their approval.
npm install -g @scrapeatlas/cli
scrapeatlas --version
If global installs are not allowed, run every command through npx instead:
npx @scrapeatlas/cli@latest <command>. To update an existing install, run
npm install -g @scrapeatlas/cli@latest.
Ask the user to create a key at https://scrapeatlas.com/dashboard/keys/. Calls spend credits from that account.
Ask the user to store the key themselves as SCRAPEATLAS_API_KEY in the runtime's
secret or environment settings (for example the bot's environment variables, a
container secret or a CI secret). This keeps the key out of the conversation and
the agent's logs. Restart or reload the agent if the runtime requires it for new
variables.
The CLI reads credentials in this order: --api-key, then SCRAPEATLAS_API_KEY,
then the key saved by scrapeatlas auth login.
Environment variable (preferred for agents). If SCRAPEATLAS_API_KEY is
set, no login is needed. Containers and short-lived environments often lose
saved config, so prefer this.
Saved login. Interactive terminals: scrapeatlas auth login opens a hidden
prompt; the user types the key. Noninteractive: pipe the key from a variable or
secret file, never from a literal in the command:
printf '%s' "$SCRAPEATLAS_API_KEY" | scrapeatlas auth login --stdin
Login verifies the key before saving it to
~/.config/scrapeatlas/config.json (mode 0600). Set SCRAPEATLAS_CONFIG_DIR to
store it elsewhere.
Rules for the key:
echo the key, print it, write it into a command line, commit it or
include it in a reply. Avoid --api-key on shared hosts; it can appear in shell
history and process lists.scrapeatlas auth status
This shows whether a key is configured and its source, without printing it or contacting the API. Then make a free authenticated read:
scrapeatlas usage account-usage --days 1
This costs 0 credits. Exit code 0 with "success":true means the key works. Exit
code 1 with HTTP 401 means the key is missing, invalid or revoked. A revoked key
can take up to a minute to stop working.
Optional 1-credit retrieval test:
scrapeatlas bluesky profile --handle bsky.app --pretty
scrapeatlas list # platforms
scrapeatlas list tiktok # commands for one platform
scrapeatlas tiktok profile --help # parameters for one command
scrapeatlas list tiktok --json # operation IDs and schemas
Each command makes one request and prints the response JSON to stdout. Exit codes:
0 usable (including partial), 1 API or network failure, 2 local usage error. Use
--output file.json to save a result. Follow the scrapeatlas skill for reading
status, coverage and failures, pagination and credits.
To remove the saved key: scrapeatlas auth logout. This does not revoke the key;
revoke it in the dashboard.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub scrapeatlas/social-media-agent-skills --plugin scrapeatlas17 skills in this plugin
/ad-library-teardownTear down a competitor's ads from the Meta Ad Library (Facebook and Instagram ads) and the LinkedIn Ad Library with ScrapeAtlas: active ads, how long each has run, hooks, angles, offers, CTAs, landing pages, creative formats and video ad transcripts. Use when the user asks to spy on competitor ads, analyze Facebook or Instagram ads, research ad creatives, find winning ads or plan ad tests./comment-miningMine public social media comments with ScrapeAtlas for voice-of-customer research: questions, objections, pain points, praise, buying intent, feature requests and exact audience language from TikTok, YouTube, Instagram, Facebook, Reddit, Threads, Hacker News and Product Hunt comments. Use when the user wants to analyze comments on a post or video, understand audience reaction, find content ideas from comments, or collect customer language for copy./competitor-content-researchCompare the public content of a set of accounts with ScrapeAtlas: retrieve one page of posts or videos per account, rank the top posts by views, likes and comments, and identify recurring formats, topics and hooks. Use when the user asks for competitor research, content benchmarking, top-performing posts for several creators or brands, or what is working for specific accounts on TikTok, Instagram, YouTube, X, Threads, LinkedIn, Facebook or Bluesky./content-repurposingRepurpose social videos and posts with ScrapeAtlas: pull transcripts and captions from YouTube, TikTok, LinkedIn and Reddit videos and turn them into LinkedIn posts, X threads, short-form scripts, newsletter sections, blog outlines and carousel copy. Use when the user wants to repurpose a video or podcast clip, turn a YouTube video into posts, write a thread from a TikTok, or reuse their own content across platforms./creator-profile-teardownTear down why a creator or brand account works with ScrapeAtlas: positioning, bio and funnel, content pillars, posting cadence, formats, hooks, outlier posts and monetization across TikTok, Instagram, YouTube, X, Threads and LinkedIn. Returns a playbook the user can copy. Use when the user asks to analyze a creator, break down an influencer's strategy, audit a social media account, or learn how an account grew./hook-libraryBuild a hook library for short-form video with ScrapeAtlas: collect the top TikToks, Instagram Reels and YouTube Shorts in a niche, transcribe their first lines, and group the hooks into reusable formulas with examples and view counts. Use when the user wants viral hooks, video hook ideas, opening lines for TikTok or Reels, a swipe file of short-form scripts, or to know which hook styles work in their niche.Other plugins' skills for the same job