Index of every page on this site: llms.txt
All skills
dgalarza avatar

/creatorsignal-api

@55e1ae4
Run it yourself

Interact with the CreatorSignal API: submit video ideas for AI validation, poll for scored Go/Refine/Kill verdicts, manage channels and webhooks, and check quota. Use this skill whenever the user mentions CreatorSignal API, video idea validation, cs_live_ tokens, validation polling, webhook endpoints, or programmatic idea submission.

  • 4 files
  • 16.6 KB
  • Updated 7 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/dgalarza/agent-skills-legacy/creatorsignal-api

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈89 tokens for metadata: the name and description. ≈1.4k when used: this file. ≈1.6k more on demand in 2 files.

Description uses 4.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈355 characters, or 4.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

CreatorSignal API

Resource model

  • Channel — a YouTube channel linked to your account. Ideas are submitted against a channel.
  • Idea — a video idea with a title and category. Submitting an idea triggers AI validation.
  • Validation — the AI research result for an idea. Contains a score (0-100), verdict (go/refine/kill), and a structured report.
  • Webhook Endpoint — an HTTPS URL that receives validation events so you don't need to poll.

Authentication

API keys use the format cs_live_<prefix>_<secret>. Pass as a Bearer token:

curl -s https://app.creatorsignal.io/api/v1/me \
  -H "Authorization: Bearer $CS_API_KEY"

Before any mutation, verify the key works:

curl -s -o /dev/null -w "%{http_code}" https://app.creatorsignal.io/api/v1/me \
  -H "Authorization: Bearer $CS_API_KEY"
# 200 = valid, 401 = invalid/revoked/expired

Keys are created from Settings > API Keys in your CreatorSignal account. The full key is shown once at creation — store it securely.

Base URL

All endpoints live under https://app.creatorsignal.io/api/v1/.

Quick operations

# Check quota
curl -s https://app.creatorsignal.io/api/v1/me \
  -H "Authorization: Bearer $CS_API_KEY" | jq '.quota'

# List channels
curl -s https://app.creatorsignal.io/api/v1/channels \
  -H "Authorization: Bearer $CS_API_KEY" | jq '.channels[] | {id, name}'

# Submit an idea
curl -s -X POST https://app.creatorsignal.io/api/v1/ideas \
  -H "Authorization: Bearer $CS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"idea": {"title": "Topic here", "category": "engineering", "channel_id": 1}}' | jq '.idea.id'

# Poll validation status
curl -s -w "\n%{http_code}" https://app.creatorsignal.io/api/v1/ideas/123/validation \
  -H "Authorization: Bearer $CS_API_KEY"

# List ideas filtered by status
curl -s "https://app.creatorsignal.io/api/v1/ideas?status=validated&per_page=10" \
  -H "Authorization: Bearer $CS_API_KEY" | jq '.ideas[] | {id, title, verdict: .validation.verdict, score: .validation.score}'

Core workflow

The end-to-end flow for validating an idea:

  1. Verify auth — GET /api/v1/me returns 200
  2. Check quota — confirm quota.remaining > 0
  3. Get channels — GET /api/v1/channels to find the target channel_id
  4. Submit idea — POST /api/v1/ideas with title, category, channel_id
  5. Poll for results — GET /api/v1/ideas/{id}/validation
    • 202 = in progress, sleep for Retry-After seconds (default 10)
    • 200 = done (check validation.status for complete or failed)
  6. Present results — extract verdict, score, report summary, and recommendations

For polling, use the helper script: bash scripts/poll-validation.sh <idea_id>

Error handling

HTTP Status Code Meaning Recovery
401 unauthorized Missing or invalid API key Check $CS_API_KEY is set and valid
401 key_revoked Key was revoked Create a new key in Settings > API Keys
401 key_expired Key has expired Create a new key in Settings > API Keys
402 quota_exhausted No validations remaining Wait for quota reset (rolling 30-day window) or upgrade plan
404 not_found Resource doesn't exist or wrong user Verify the ID and that it belongs to the authenticated user
422 validation_error Invalid request body Check error.details for field-level errors
429 rate_limited Too many requests Wait Retry-After seconds before retrying

Error responses use two shapes:

  • 401/404: {"error": {"message": "...", "status": 404}}
  • 402/422/429: {"error": {"code": "...", "message": "...", "details": {...}}}

API documentation

For full endpoint specs, request/response schemas, and parameter details, see the API docs at app.creatorsignal.io/api.

For additional reference within this skill:

Topic Reference
Validation state machine and polling references/api-spec-guide.md
Webhook setup, signing, event types references/webhook-patterns.md

Execution rules

  1. Always verify auth before mutations — call GET /api/v1/me and confirm 200 before creating ideas or webhook endpoints.
  2. Check quota before POST /ideas — a 402 after the fact wastes a round-trip. Read quota.remaining first.
  3. Respect Retry-After headers — both 202 (polling) and 429 (rate limit) include this header. Never use a fixed sleep.
  4. Cap polling at 12 attempts — validations typically complete in 30-90 seconds. If still pending after ~2 minutes, report the status and suggest checking back.
  5. Never echo the full API key — show only the format cs_live_<prefix>_*** in output. The key is a secret.
  6. Use jq for JSON parsing — never parse JSON with grep/sed/awk.
  7. Set Content-Type on POST/PATCH — always include -H "Content-Type: application/json" with request bodies.

Composition patterns

  • Quick check: auth → quota → report remaining validations
  • Full validation: auth → quota → channels → submit idea → poll → present verdict + recommendations
  • Webhook setup: auth → create endpoint → store signing secret → test ping → verify delivery
  • Bulk review: auth → list ideas (filtered by status=validated) → summarize verdicts and scores
  • Idea with webhook: auth → quota → submit idea with webhook_url field → confirm 201

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 55e1ae4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 7 months ago
What it can do
Runs commands
All 3 allowed tools
Bash(curl:*)Bash(jq:*)Bash(bash:*)

README badge

README badge for dgalarza/agent-skills-legacy/creatorsignal-api