videohub-queue

A local API and queue manager for VideoHub's idle-time jobs. An API is a way for programs to request information or actions from another program.

In plain words
What is it for?
Use it to check health, view or add queue items, remove or clear tasks, and read or change idle-time settings while the VideoHub GUI is running.
Why use it?
It lets a browser extension or other client inspect and change queued work without directly controlling the worker that eventually runs it.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cacity/videohub/videohub-queue
Any agent
npx skills add cacity/VideoHub --skill videohub-queue
Clone the repo
git clone --depth 1 https://github.com/cacity/VideoHub

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.00495
Opus 5 $0.00021 $0.00247
Sonnet 5 $0.00008 $0.00099
Haiku 4.5 $0.00004 $0.00049

Measured 2d ago against content hash 56cc7633504a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

videohub-queue scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST http://127.0.0.1:8765/api/queue/add -H "Content-Type: application/json" -d '{"platform":"youtube","url":"https://example.com","title":"sample"}'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl*)
.agents/skills/videohub-queue/SKILL.md · 50 lines

What it actually says

VideoHub Idle Queue

复用 F:/work/VideoHub/src/api_server.py:19 提供的本地 API。

前置条件

必须先启动 GUI:

python main.py

GUI 启动后会拉起本地 Flask API,默认端口 8765

可用接口

  • GET /api/health
  • GET /api/queue
  • POST /api/queue/add
  • DELETE /api/queue/clear
  • DELETE /api/queue/remove/<task_id>
  • GET /api/settings
  • PUT /api/settings

示例

curl http://127.0.0.1:8765/api/health
curl http://127.0.0.1:8765/api/queue
curl -X POST http://127.0.0.1:8765/api/queue/add -H "Content-Type: application/json" -d '{"platform":"youtube","url":"https://example.com","title":"sample"}'
curl -X DELETE http://127.0.0.1:8765/api/queue/remove/0
curl -X DELETE http://127.0.0.1:8765/api/queue/clear

请求要求

新增任务至少包含:

  • platform
  • url
  • title

当前任务默认值

  • src/api_server.py 会把扩展请求转换成闲时任务,默认生成字幕、嵌入字幕,但 translate_to_chinese 默认为 False
  • 如果任务参数里没有 target_language,后端 worker 会使用默认 zh-CN
  • 如需非中文字幕翻译,应在调用链中显式传入 target_language(例如 jakoru)。

注意

  • 这个 skill 不是独立后端,它依赖正在运行的 GUI 状态。
  • 队列实际执行仍由 main.py 中的 idle queue 定时逻辑负责。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 50 lines · 42 tokens per session scan B 56cc7633504a

Subscribe to this mod's changes

videohub-queue is a skill published in the GitHub repository cacity/VideoHub (130 stars, last pushed 6d ago), licensed MIT. It adds 42 tokens to every session and 495 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

qiaomu-cut

把一句话需求转成可复现、可验收视频工程的乔木智能剪辑导演。Use when the user asks to create, plan, edit, remix, explain, narrate, subtitle, animate, composite, or render a video; build English-learning movie mixes, person profiles, explainers, product launch videos, cinematic shorts, social clips, course/PPT videos, AI…

joeseesun/qiaomu-cut-skill · 171 tokens

stage-compose

Authoring knowledge for Orkas/OVS HTML video compositions -- write an index.html, drive animation from a paused timeline, declare canvas + duration, then run the VideoStudio draft gate to render an mp4. Trigger for explainer / animation / motion-graphics / caption / lower-third / title-card work, or to build a compose…

Orkas-AI/Orkas-VideoStudio · 96 tokens

stage-edit

Intelligent editing of real user-supplied footage—understand it with transcript/OCR/scene/silence/quality/vision evidence, then choose deterministic timeline operations or a constrained semantic AI edit. Trigger for repurpose, montage, cleanup, localization, narration, or local content changes.

Orkas-AI/Orkas-VideoStudio · 62 tokens

stage-plan

The "ingest + plan" half of end-to-end video orchestration — ingest the user's material from evidence, then decompose intent into ONE cross-modal EDL (plan.json: edit/generate/compose/provided segments + narration/music/caption tracks + a delivery promise), validate it with ovs plan validate. Trigger when the…

Orkas-AI/Orkas-VideoStudio · 104 tokens

orchestration

The master program for producing or editing a video end to end — read this at the START of any video task (after video-router), then follow the gates and the per-line steps. Trigger for "make / edit / cut / caption / dub / animate a video"; it sequences the compose / generate / edit lines and the approval gates. Do…

Orkas-AI/Orkas-VideoStudio · 99 tokens

stage-assemble

Deterministically assemble an approved cross-modal EDL (plan.json) into a finished video — produce each segment (edit/compose/generate/provided, delegated to its line), then assemble in ffmpeg tiers: concat primaries → overlay composed layers → mix narration once (coverage check) → burn captions → verify loudness…

Orkas-AI/Orkas-VideoStudio · 107 tokens