Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

socialcrawlsocialcrawl 搜索

Agent Skill

socialcrawl 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

915

周安装

37

GitHub Stars

公开资料未说明

下载量

287
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:socialcrawl(socialcrawl 搜索)
来源仓库:https://github.com/socialcrawl/skills
仓库路径:skills/socialcrawl
安装命令:
npx skills add https://github.com/socialcrawl/skills --skill socialcrawl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/socialcrawl/skills --skill socialcrawl

简介

socialcrawl 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。

  • 它支持网页内容抓取、DOM 结构解析和前端交互模拟,适用于需要快速获取页面数据或测试 UI 行为的场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能,具体用法可参考原始 README 文档。
  • 安装前需确认权限范围、维护状态,并注意可能触发的联网、命令执行或文件读写操作。
  • 建议结合来源仓库进一步核验功能细节,确保符合实际使用环境和安全要求。

SKILL.md

SocialCrawl API

Unified social media data API. One API key, one response format, 21 platforms, 108 endpoints. Author and Post responses are normalized through platform field maps and augmented with deterministic computed fields (engagement_rate, language, content_category, estimated_reach) under data.computed. List archetypes (PostList, CommentList, SearchResult, Audience, Analytics) pass through as {items, next_cursor?, total?} without computed fields. Add ?format=raw to bypass the transform pipeline entirely.

API Key

Resolve the API key before making any call, checking these sources in order:

  1. Env var: echo "$SOCIALCRAWL_API_KEY" — if set and starts with sc_ (and is not a placeholder like sc_your_api_key_here), use it.
  2. Config file: cat ~/.config/socialcrawl/api_key 2>/dev/null — if the file exists and contains a key starting with sc_, use it.
  3. Ask the user: If neither source has a valid key:

- Tell the user: "I need your SocialCrawl API key to continue. You can find it at https://socialcrawl.dev/dashboard — every account starts with 100 free credits." - Ask them to paste their key. - After receiving the key, auto-save it so they never need to paste it again: mkdir -p ~/.config/socialcrawl && echo "sc_xxxxx" > ~/.config/socialcrawl/api_key - Tell the user: "I've saved your key to ~/.config/socialcrawl/api_key so it will be available in future sessions."

For all subsequent API calls in the session, use the resolved key directly in the curl command (do not rely on the env var being set).

First Use

On the first interaction with this skill in a session:

  1. Briefly introduce: "SocialCrawl provides a single API for 21 social media platforms (105 endpoints). Let me verify your API key."
  2. Resolve the API key using the steps above. If the key is missing or a placeholder, stop here and ask for it before proceeding.
  3. Tell the user you'll make a test call that costs 1 credit, then run: curl -s -H "x-api-key: KEY" "https://www.socialcrawl.dev/v1/tiktok/profile?handle=tiktok" (Replace KEY with the resolved key value.)
  4. If successful, confirm the key works and show credits_remaining. Then respond to whatever the user actually asked.
  5. If it fails, report the error and help troubleshoot (see Error Handling below).

Platforms

Workflow

Determine what the user wants, then follow the matching workflow:

User wants data:

  1. Identify the platform and resource from their request
  2. Read the platform's reference file from the table above
  3. Resolve API key
  4. Construct and execute the curl command
  5. Return raw JSON response
  6. Note credits_used and credits_remaining from the response

User wants code:

  1. Identify platform, resource, and target language
  2. Read the platform's reference file
  3. Generate a working code snippet using $SOCIALCRAWL_API_KEY env var for the key
  4. Present the code without executing

User asks about capabilities:

  1. Answer from the platform table above
  2. If they need details about auth, response format, errors, or credits, read references/api-overview.md

User asks about credits/balance:

  1. Resolve API key
  2. Run: curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" "https://www.socialcrawl.dev/v1/credits/balance"
  3. Return data.balance from the envelope (the call costs 0 credits)

Ambiguous platform: If the user says "get profile for @nike" without specifying a platform, ask which platform they mean.

Multi-platform requests: Load each platform's reference file and make sequential calls.

Making API Calls

Base URL: https://www.socialcrawl.dev

All endpoints are GET requests:

curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  "https://www.socialcrawl.dev/v1/{platform}/{resource}?{param}={value}"

URL-encode parameter values that contain spaces or special characters.

Parameter rules

  • Required params — each platform reference file lists the required query parameters for every endpoint. A request missing any of them returns 400 INVALID_REQUEST with the message Missing required parameter(s):...; no credit is deducted.
  • oneOf groups — some endpoints (notably on YouTube, Facebook, TikTok, Instagram, Reddit, Google, Truth Social) accept mutually-substitutable identifiers such as channelId / handle / url. Pass at least one member of the group; the platform reference file lists the valid choices.
  • Optional params — any non-required param listed in the reference file may be forwarded. Anything unrecognized is rejected upstream.
  • format=raw — disables field maps and computed fields so you receive the original ScrapeCreators JSON.

Credit Tiers

TierCostTypical endpoints
standard1 creditProfiles, posts, search, comments
advanced5 creditsAudience demographics, ad libraries, trending
premium10 creditsVideo transcripts, age/gender detection

Before executing an advanced or premium call, mention the credit cost to the user. After every call, report credits_used and credits_remaining from the response.

Free calls (0 credits deducted):

  • Cache hitscached: true + X-Cache: HIT. Same data, no charge.
  • Idempotent replaysX-Idempotent-Replay: true. See "Idempotent Retries" below.
  • Empty-upstream 404s — when upstream returns a 200 with an empty body (nonexistent profile/post), the credit is auto-refunded and you get RESOURCE_NOT_FOUND.
  • GET /v1/credits/balance — meta endpoint.
  • Pre-flight rejections — 400/401/402/405/409/422/404-endpoint-not-found never deduct.

Idempotent Retries

Any /v1/* call can be made safe to retry by sending an Idempotency-Key header (UUIDv4 or any opaque 16+ char string). Replays of the same key + same params return the original body verbatim with X-Idempotent-Replay: true and 0 credits deducted. Keys last 24h. Reusing the key with different params returns 422; a key owned by a different account returns 409.

curl -s -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  -H "Idempotency-Key: 7a5e1b4c-2d8f-4a3b-9c1e-6e8b4d2a1f3c" \
  "https://www.socialcrawl.dev/v1/tiktok/profile?handle=tiktok"

Response Headers

HeaderValue
X-Request-Idreq-XXXXX
X-Credits-UsedCredits charged (0 on cache hit, replay, or refund)
X-Credits-RemainingBalance after this call
X-CacheHIT or MISS
X-Idempotent-Replay"true" on replays (absent otherwise)
Retry-After"30" — only on 503 circuit-breaker responses
Allow"GET" — only on 405 METHOD_NOT_ALLOWED

Warnings Channel

Successful responses may include an optional data._warnings: string[] with advisory notices from the transform pipeline (e.g. a clamped engagement_rate > 1.0, or an unresolved field-map path). Treat as observability-only — do not gate logic on it. Empty arrays are omitted.

Error Handling

CodeStatusAction
MISSING_API_KEY401Ask user for their API key
INVALID_API_KEY401"Your API key appears invalid. Check your SocialCrawl dashboard."
INSUFFICIENT_CREDITS402"You're out of credits. Top up at socialcrawl.dev/dashboard/billing"
INVALID_REQUEST400Missing required param OR malformed handle/URL (format validator). Check required params + formats in the platform reference.
METHOD_NOT_ALLOWED405All /v1/* endpoints are GET-only. Response includes Allow: GET.
ENDPOINT_NOT_FOUND404"That endpoint doesn't exist. Check the platform table above."
RESOURCE_NOT_FOUND404"That profile/post wasn't found on the platform." Credits were refunded if the upstream returned an empty body.
IDEMPOTENCY_KEY_CONFLICT409"That Idempotency-Key is in use by a different account. Pick a new key."
IDEMPOTENCY_KEY_PAYLOAD_MISMATCH422"You reused an Idempotency-Key with different params. Use a fresh key."
CONCURRENCY_LIMIT429"Too many concurrent requests (limit 50/key). Wait a moment and retry."
UPSTREAM_ERROR502"Platform temporarily unavailable. Credits were refunded."
SERVICE_UNAVAILABLE503"Platform circuit breaker is open. Try again in 30s. Credits refunded."
INTERNAL_ERROR500"Unexpected error. Credits were refunded."

References

  • references/api-overview.md — Read when user asks about authentication, response format, error details, credit system, or the ?format=raw parameter
  • references/{platform}.md — Read the specific platform file when user asks about or wants to call that platform's endpoints

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33%
按下载量换算95

Claude

31.09%
按下载量换算89

Cursor

20.08%
按下载量换算58

Gemini CLI

8.97%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills