Skills CLI

Scrumball Skills is a set of AI agent skills for influencer marketing. It maps a user's natural-language request to an executable business task, then calls the Scrumball API through an explicit operationId.

This is not just a prompt collection. It also ships:

  • 5 agent skills grouped by business domain;
  • 84 underlying API operations;
  • 86 semantic tasks aimed at business users and AI agents;
  • the social data capabilities supported on each platform;
  • unified tooling for setup, connectivity checks, task discovery and demos;
  • a per-skill API index, parameter reference, response structure and runner script;
  • the OpenAPI schema and a machine-readable task map.

Typical use cases include creator discovery, audience fit, realtime data enrichment, campaign monitoring and TikTok Shop commerce intelligence.

Capability overview

DomainSkillTasksAPI operationsPlatformsMain capabilities
Creator discoveryinfluencer-lead-discovery2223YouTube, TikTok, Instagram, cross-platformCreator and content search, profiles, similar creators, brand deals, hashtag engagement
Audience fitinfluencer-audience-fit-scoring3835YouTube, TikTok, InstagramGeography, language, age, gender, interests, engagement behavior, follower authenticity, rating
Realtime enrichmentinfluencer-realtime-enrichment1010YouTube, TikTok, InstagramRealtime profiles, videos, posts, stories and content details
Campaign monitoringinfluencer-campaign-monitoring1111YouTube, TikTok, Instagram, cross-platformCreate, query, refresh and stop monitoring tasks, read metrics and download assets
Commerce intelinfluencer-commerce-intel55TikTokSales data, products, livestreams, ad videos and product details

Quick start

Initialize

The setup tool asks for the gateway URL, API key, optional auth prefix and timeout, writes them to .env, and calls /api/ping by default.

bash
npx skills add scrumball/skills

Verify

bash
python3 scripts/scrumball_cli.py doctor

A successful run returns:

json
{
"ok": true
}

Find a task

bash
python3 scripts/scrumball_cli.py tasks --search creator

Preview a call

bash
python3 scripts/scrumball_cli.py demo \
--task lead.find-tiktok-creators \
--param query=nike \
--dry-run

Run the call

Once the task, parameters and target environment are confirmed, drop --dry-run:

bash
python3 scripts/scrumball_cli.py demo \
--task lead.find-tiktok-creators \
--param query=nike

Security and production guidance

Credentials

  • Never commit .env or a real API key to the repository.
  • In production, use a secret manager or CI/CD secrets.
  • Never print a full API key in logs, errors, prompts or reports.
  • Use separate credentials for development, testing and production.
  • Rotate API keys regularly and follow least privilege.

Safe calls

  • Run a task with --dry-run first to check the mapping and parameters.
  • Do not treat documentation samples as real user input.
  • Add confirmation and auditing around creating, refreshing and stopping monitoring tasks.
  • Control concurrency, retries and timeouts for batch calls.
  • Rate limits and quotas follow the live Scrumball gateway policy; do not assume them client-side.
  • When comparing platforms, flag metric differences instead of equating them.

Data quality

  • If a realtime endpoint returns nothing, retry once and record the degraded result.
  • A missing audience dimension may keep scoring, but confidence must go down.
  • With no search results, relax one filter at a time and log the change.
  • When monitoring data lags, state the data freshness explicitly.
  • Keep the source identifier, call time and operationId with every conclusion for auditing.

Troubleshooting

Symptom or errorCommon causeWhat to do
SCRUMBALL_BASE_URL is requiredNo gateway URL configuredSet SCRUMBALL_BASE_URL in .env
SCRUMBALL_API_KEY is requiredNo API key configuredSet SCRUMBALL_API_KEY in .env
Missing required ...A required query or body field is missingCheck the task's follow-up questions or the matching request-response.md
Unknown operationIdTypo, or the wrong skill is in useRun that skill's list command
HTTP 401 / 403Wrong API key, auth prefix or permissionsCheck the key, SCRUMBALL_AUTH_PREFIX and the gateway permissions
HTTP 404Wrong gateway URL, endpoint path or target resourceCheck SCRUMBALL_BASE_URL, the operationId and the identifier fields
Network error / DNSGateway unreachable, VPN or DNS problemRun doctor and confirm the network environment
Request timeoutSlow gateway response or a timeout set too lowRaise SCRUMBALL_TIMEOUT_SECONDS and log the retry
Empty responseWrong identifier, data not collected yet, or realtime collection failedValidate the platform identifier, retry once and explain the fallback
Task map mismatchOperations were added or renamed without updating the task mapRun check-task-map --strict and update the mapping