From citedy-seo-agent
Ingests URLs to extract structured content from YouTube videos (via Gemini Video API), web articles, PDFs, and audio files, providing transcripts, summaries, and metadata for LLM pipelines.
How this skill is triggered — by the user, by Claude, or both
Slash command
/citedy-seo-agent:citedy-content-ingestionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Connection:** REST API over HTTPS
Connection: REST API over HTTPS
Base URL: https://www.citedy.com
Auth: Authorization: Bearer $CITEDY_API_KEY
Turn any URL into structured content your agent can use. Pass a link — the skill extracts the full text, transcript, metadata, and summary — and returns it as clean structured data ready for your LLM pipeline.
Supported content types:
Differentiator: YouTube ingestion uses the Gemini Video API for deep video understanding — it goes beyond auto-generated captions, capturing speaker intent, visual context, and structure.
Use this skill as a standalone input node for any LLM pipeline. Feed the output directly into summarization, Q&A, article generation, or knowledge base indexing.
Use this skill when the user:
To authenticate, register your agent and obtain an API key:
Register your agent:
POST https://www.citedy.com/api/agent/register
Content-Type: application/json
{
"agent_name": "My Agent"
}
Approve the registration — you will receive an approval URL in the response. Open it in your browser to confirm.
Save your API key — after approval, the key (prefixed citedy_agent_) is returned. Store it as CITEDY_API_KEY in your environment.
All subsequent requests use Authorization: Bearer $CITEDY_API_KEY.
Step 1 — Submit URL:
POST /api/agent/ingest
Authorization: Bearer $CITEDY_API_KEY
Content-Type: application/json
{
"url": "https://www.youtube.com/watch?v=example"
}
Returns 202 Accepted with:
{
"id": "job_abc123",
"status": "processing",
"poll_url": "/api/agent/ingest/job_abc123"
}
If the URL was already ingested (cache hit), returns 200 OK with "cached": true — costs 1 credit.
Step 2 — Poll for completion:
GET /api/agent/ingest/{id}
Returns current status: processing, completed, or failed. Poll every 5–15 seconds. No credit cost.
Step 3 — Retrieve content:
GET /api/agent/ingest/{id}/content
Returns the full extracted content, transcript, and metadata. No credit cost.
Submit up to 20 URLs in a single request:
POST /api/agent/ingest/batch
Authorization: Bearer $CITEDY_API_KEY
Content-Type: application/json
{
"urls": [
"https://example.com/article",
"https://www.youtube.com/watch?v=abc",
"https://example.com/doc.pdf"
],
"callback_url": "https://your-service.com/webhook" // optional
}
Returns an array of job IDs. If callback_url is provided, a POST request is sent to it when all jobs complete.
GET /api/agent/ingest?status=completed&limit=20&offset=0
Filter by status, paginate with limit/offset.
User: "Transcribe this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ"
# Step 1: Submit
curl -X POST https://www.citedy.com/api/agent/ingest \
-H "Authorization: Bearer $CITEDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
# Step 2: Poll
curl https://www.citedy.com/api/agent/ingest/job_abc123 \
-H "Authorization: Bearer $CITEDY_API_KEY"
# Step 3: Get content
curl https://www.citedy.com/api/agent/ingest/job_abc123/content \
-H "Authorization: Bearer $CITEDY_API_KEY"
Response includes full transcript, video title, duration, and chapter breakdown.
User: "Extract the main content from https://techcrunch.com/2026/01/01/ai-trends"
curl -X POST https://www.citedy.com/api/agent/ingest \
-H "Authorization: Bearer $CITEDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://techcrunch.com/2026/01/01/ai-trends"}'
Response includes clean article text, title, author, publish date, and word count.
User: "I have 5 articles to process"
curl -X POST https://www.citedy.com/api/agent/ingest/batch \
-H "Authorization: Bearer $CITEDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"urls": [
"https://example.com/article-1",
"https://example.com/article-2",
"https://example.com/article-3",
"https://www.youtube.com/watch?v=abc123",
"https://example.com/report.pdf"
]
}'
Returns 5 job IDs. Poll each individually or wait for all to complete.
Submit a single URL for ingestion.
Request:
{
"url": "string (required) — any supported URL"
}
Response 202 (new job):
{
"id": "job_abc123",
"status": "processing",
"content_type": "youtube_video",
"poll_url": "/api/agent/ingest/job_abc123",
"estimated_credits": 5
}
Response 200 (cache hit):
{
"id": "job_abc123",
"status": "completed",
"cached": true,
"credits_charged": 1
}
Poll job status. No credit cost.
Response:
{
"id": "job_abc123",
"status": "completed",
"content_type": "youtube_video",
"created_at": "2026-03-01T10:00:00Z",
"completed_at": "2026-03-01T10:01:30Z",
"credits_charged": 5,
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
Status values: queued | processing | completed | failed
Retrieve full extracted content. No credit cost.
Response:
{
"id": "job_abc123",
"content_type": "youtube_video",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"metadata": {
"title": "Video Title",
"author": "Channel Name",
"duration_seconds": 212,
"published_at": "2009-10-25"
},
"transcript": "Full transcript text...",
"summary": "Brief summary of the content...",
"word_count": 1840,
"language": "en"
}
Submit up to 20 URLs at once.
Request:
{
"urls": ["string", "..."],
"callback_url": "string (optional)"
}
Response 202:
{
"jobs": [
{ "url": "https://...", "id": "job_abc123", "status": "queued" },
{ "url": "https://...", "id": "job_abc124", "status": "queued" }
],
"total": 2
}
List ingestion jobs.
Query params:
status — filter by queued | processing | completed | failedlimit — max results (default 20, max 100)offset — pagination offsetResponse:
{
"jobs": [...],
"total": 42,
"limit": 20,
"offset": 0
}
Check API availability. 0 credits.
Return current agent identity and credit balance. 0 credits.
Return API status, current rate limit usage, and service health. 0 credits.
| Content Type | Duration / Size | Credits |
|---|---|---|
web_article | any | 1 credits |
pdf_document | any | 2 credits |
youtube_video | < 10 min | 5 credits |
youtube_video | 10–30 min | 15 credits |
youtube_video | 30–60 min | 30 credits |
youtube_video | 60–120 min | 55 credits |
audio_file | < 10 min | 3 credits |
audio_file | 10–30 min | 8 credits |
audio_file | 30–60 min | 15 credits |
audio_file | 60+ min | 30 credits |
| Cache hit (any type) | — | 1 credits |
Credits are charged on completed status only. Failed jobs are not charged.
DURATION_EXCEEDED.SIZE_EXCEEDED.youtube_video, web_article, pdf_document, audio_file| Endpoint | Limit |
|---|---|
| POST /api/agent/ingest | 30 requests/hour per tenant |
| POST /api/agent/ingest/batch | 5 requests/hour per tenant |
| All other endpoints | 60 requests/minute per tenant |
Rate limit headers are included in all responses:
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset| Error Code | HTTP Status | Meaning |
|---|---|---|
INVALID_URL | 400 | URL is malformed or unsupported |
UNSUPPORTED_CONTENT_TYPE | 400 | Content type not supported |
DURATION_EXCEEDED | 400 | YouTube video longer than 120 min |
SIZE_EXCEEDED | 400 | Audio file larger than 50 MB |
INSUFFICIENT_CREDITS | 402 | Not enough credits to process |
RATE_LIMIT_EXCEEDED | 429 | Too many requests |
JOB_NOT_FOUND | 404 | Job ID does not exist |
PROCESSING_FAILED | 500 | Ingestion failed on server side |
PRIVATE_CONTENT | 403 | Content is behind login or paywall |
On PROCESSING_FAILED, retry after 60 seconds. If it fails twice, try a different URL or contact support.
When returning ingested content to the user:
This skill is part of the Citedy AI platform. The full suite includes:
Learn more at citedy.com or explore the citedy-seo-agent skill for the complete toolkit.
npx claudepluginhub citedy/claude-plugins --plugin citedy-seo-agentSummarizes or extracts text/transcripts from URLs, local files, and YouTube links via a CLI tool. Supports multiple AI providers and configurable output length.
Fetches YouTube video transcripts, then summarizes, repurposes, or analyzes content. Use when a user pastes a YouTube URL for text-based output.
Extracts transcripts, generates visual infographics, creates audio summaries (TTS), and produces processed video content from YouTube URLs.