Teleskopiq
简介
Teleskopiq
原始描述
Creates and manages AI-generated YouTube scripts, metadata, thumbnails, and schedules via a GraphQL API with specialized Markdown tags for production.
通过你的 Agent 添加
安装目录:teleskopiq/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
Teleskopiq Skill
YouTube content creation platform — AI-generated scripts, metadata, and thumbnails via GraphQL API.
Setup
Set environment variables:
export TELESKOPIQ_API_KEY="tsk_..."
export TELESKOPIQ_ENDPOINT="http://localhost:3000/api/graphql" # optional, this is the default
Script Content Format
Script content is Markdown with special production tags. Use all of these when writing scripts.
Structure
## Section Title
### Sub-section
Your spoken narration goes here. Write as you'd actually say it aloud.
Production Tags
## Section Title
### Sub-section
Your spoken narration goes here. Write as you'd actually say it aloud.
These are rendered with distinct colors in the Teleskopiq editor and exported to PDF. Always use them to mark non-spoken directions:
| Tag | Syntax | Purpose | Color |
|---|---|---|---|
| B-Roll | [B-ROLL: description of footage] |
Cut-away video footage | Cyan |
| Visual Cue | [VISUAL: prop, action or camera move] |
On-screen action/prop | Purple |
| Graphic | [GRAPHIC: text overlay or lower-third] |
Text overlay, title card | Yellow |
| Music | [MUSIC: track name or mood] |
Background music cue | Pink |
| SFX | [SFX: sound effect description] |
Sound effect or ambient | Red |
Full Example
## Hook
What happens when you give an AI agent full control of your computer?
[B-ROLL: terminal window running automated scripts, fast-forward timelapse]
I tried it for 24 hours. Here's what I learned.
## The Setup
[GRAPHIC: "OpenClaw — AI Agent Framework"]
OpenClaw gives your AI access to your machine — calendar, email, terminal, browser.
[VISUAL: screen recording of OpenClaw dashboard]
Today I set it completely loose.
## What It Did Well
[MUSIC: upbeat lo-fi background]
- Scheduled my week automatically
- Organized 3 months of project files
[B-ROLL: clean desktop, organized folders]
## Where It Got Weird
[SFX: error chime]
It tried to commit code without asking.
[VISUAL: shocked face, zoom in]
## Call to Action
Would you let an AI run your computer for a day? Drop your answer in the comments.
[GRAPHIC: Subscribe button animation]
CLI Script
## Hook
What happens when you give an AI agent full control of your computer?
[B-ROLL: terminal window running automated scripts, fast-forward timelapse]
I tried it for 24 hours. Here's what I learned.
## The Setup
[GRAPHIC: "OpenClaw — AI Agent Framework"]
OpenClaw gives your AI access to your machine — calendar, email, terminal, browser.
[VISUAL: screen recording of OpenClaw dashboard]
Today I set it completely loose.
## What It Did Well
[MUSIC: upbeat lo-fi background]
- Scheduled my week automatically
- Organized 3 months of project files
[B-ROLL: clean desktop, organized folders]
## Where It Got Weird
[SFX: error chime]
It tried to commit code without asking.
[VISUAL: shocked face, zoom in]
## Call to Action
Would you let an AI run your computer for a day? Drop your answer in the comments.
[GRAPHIC: Subscribe button animation]
Located at scripts/teleskopiq.py relative to this skill directory.
SKILL_DIR="$HOME/.openclaw/workspace/skills/teleskopiq"
python3 "$SKILL_DIR/scripts/teleskopiq.py" <command> [options]
Commands
Command
Description
list-scripts
List all scripts with status and schedule
create-script --title "..." [--content "..."]
Create a script, prints ID
generate-metadata --script-id ID
Start metadata job, poll until done, print results
generate-thumbnails --script-id ID
Start thumbnail jobs for all ideas
auto-schedule --script-id ID
Auto-schedule to next available preferred day slot
schedule --script-id ID [--date YYYY-MM-DD] [--time HH:MM] [--status ReadyToShoot]
Schedule (omit --date to auto-schedule)
full-flow --title "..." --content "..." [--date YYYY-MM-DD]
Create + metadata + thumbnails + auto-schedule
Direct GraphQL Usage
| Command | Description |
|---|---|
list-scripts |
List all scripts with status and schedule |
create-script --title "..." [--content "..."] |
Create a script, prints ID |
generate-metadata --script-id ID |
Start metadata job, poll until done, print results |
generate-thumbnails --script-id ID |
Start thumbnail jobs for all ideas |
auto-schedule --script-id ID |
Auto-schedule to next available preferred day slot |
schedule --script-id ID [--date YYYY-MM-DD] [--time HH:MM] [--status ReadyToShoot] |
Schedule (omit --date to auto-schedule) |
full-flow --title "..." --content "..." [--date YYYY-MM-DD] |
Create + metadata + thumbnails + auto-schedule |
All queries go to $TELESKOPIQ_ENDPOINT with header Authorization: Bearer $TELESKOPIQ_API_KEY.
List scripts
{ scripts { id title status { name } scheduledFor } }
Create script
mutation CreateScript($input: CreateScriptInput!) {
createScript(input: $input) { id title status { name } }
}
# variables: { "input": { "title": "...", "content": "..." } }
Read script (full detail)
{ script(id: "...") {
title status { name } scheduledFor
metadata { titles description tags }
thumbnailIdeas { text visual }
thumbnails { url }
}
}
Generate metadata (async)
mutation { startMetadataJob(scriptId: "...", scriptContent: "...") { success } }
{ scripts { id title status { name } scheduledFor } }
mutation CreateScript($input: CreateScriptInput!) {
createScript(input: $input) { id title status { name } }
}
# variables: { "input": { "title": "...", "content": "..." } }
Read script (full detail)
{ script(id: "...") {
title status { name } scheduledFor
metadata { titles description tags }
thumbnailIdeas { text visual }
thumbnails { url }
}
}
Generate metadata (async)
mutation { startMetadataJob(scriptId: "...", scriptContent: "...") { success } }
{ script(id: "...") {
title status { name } scheduledFor
metadata { titles description tags }
thumbnailIdeas { text visual }
thumbnails { url }
}
}
mutation { startMetadataJob(scriptId: "...", scriptContent: "...") { success } }
⚠️ Async — poll script(id) query every 5s for ~30s until metadata is populated.
generateScriptMetadata is deprecated — always use startMetadataJob.
Generate thumbnails (async, one per idea)
mutation { startThumbnailJob(scriptId: "...", idea: "...", ideaIndex: 0) { success } }
mutation { startThumbnailJob(scriptId: "...", idea: "...", ideaIndex: 0) { success } }
Run once per thumbnail idea (typically 3). Poll script(id) for thumbnails array.
Auto-schedule (server-side, uses channel's preferred publishing day)
# Normal: finds next empty preferred slot
mutation { autoScheduleScript(scriptId: "...") { scriptId scheduledFor slotsChecked bumped } }
# Urgent: takes the very next preferred slot, bumps displaced scripts forward
mutation { autoScheduleScript(scriptId: "...", urgent: true) { scriptId scheduledFor slotsChecked bumped } }
- Default (
urgent omitted or false): finds the next preferred publishing day with no script already scheduled. bumped is always 0.
urgent: true: takes the very next preferred day (even if occupied). Any script on that day gets cascaded to the next preferred day, and so on. bumped returns the count of displaced scripts.
- Always prefer this over computing dates yourself.
Update / schedule script manually
mutation { updateScript(input: { id: "...", scheduledFor: "2025-03-09T12:00:00-05:00", status: ReadyToShoot }) { success } }
# Normal: finds next empty preferred slot
mutation { autoScheduleScript(scriptId: "...") { scriptId scheduledFor slotsChecked bumped } }
# Urgent: takes the very next preferred slot, bumps displaced scripts forward
mutation { autoScheduleScript(scriptId: "...", urgent: true) { scriptId scheduledFor slotsChecked bumped } }
urgent omitted or false): finds the next preferred publishing day with no script already scheduled. bumped is always 0.urgent: true: takes the very next preferred day (even if occupied). Any script on that day gets cascaded to the next preferred day, and so on. bumped returns the count of displaced scripts.mutation { updateScript(input: { id: "...", scheduledFor: "2025-03-09T12:00:00-05:00", status: ReadyToShoot }) { success } }
Status enum: Draft | InProgress | ReadyToShoot | Recorded | Editing | Ready | Published | OnIce
Async Job Polling Pattern
- Fire the mutation (
startMetadataJob / startThumbnailJob)
- Wait 5 seconds
- Query
script(id) and check if metadata / thumbnails is populated
- Repeat up to 6 times (30s total)
- If still empty, report timeout
Tips
- Always use production tags (
[B-ROLL: ...], [GRAPHIC: ...], etc.) when writing scripts — they render visually in the editor
- Use
autoScheduleScript for scheduling — don't compute dates manually
- Content is plain Markdown;
## = section, ### = sub-section
generateScriptMetadata mutation is deprecated — use startMetadataJob
startMetadataJob / startThumbnailJob)script(id) and check if metadata / thumbnails is populated- Always use production tags (
[B-ROLL: ...],[GRAPHIC: ...], etc.) when writing scripts — they render visually in the editor - Use
autoScheduleScriptfor scheduling — don't compute dates manually - Content is plain Markdown;
##= section,###= sub-section generateScriptMetadatamutation is deprecated — usestartMetadataJob
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。