WeryAI Task Inspector
Inspect existing WeryAI tasks and batches through the official task query endpoints. This skill is read-only: it never submits new jobs and never mutates remote state.
Example Prompts
- - INLINECODE0
- INLINECODE1
- INLINECODE2
- INLINECODE3
Quick Summary
- - Main jobs:
task status lookup, batch status lookup, artifact inspection, INLINECODE7 - Inputs:
taskId or INLINECODE9 - Main outputs: normalized status, best-effort artifacts, raw task payload
- Main trust signals: official read-only task query endpoints, explicit no-submit boundary, podcast-aware
content_status handling
Prerequisites
- -
WERYAI_API_KEY must be set before running task queries. - Node.js
>=18 is required. - This skill is read-only and safe to re-run.
Preferred command
CODEBLOCK0
Workflow
- 1. Determine whether the user has a single
taskId or a batchId. - Query the corresponding official endpoint.
- Return normalized state plus best-effort extracted artifacts.
- For podcast tasks, interpret
content_status as the primary lifecycle signal.
Output contract
Successful output includes:
- - INLINECODE16
- INLINECODE17
- INLINECODE18
- INLINECODE19 or INLINECODE20
- INLINECODE21
- INLINECODE22 when present
- INLINECODE23
- INLINECODE24
Failure output includes:
- - INLINECODE25
- INLINECODE26
Definition of Done
- - A valid
taskId returns normalized task state plus best-effort artifacts and the raw payload. - A valid
batchId returns a batch-level phase and per-task normalized state. - Podcast tasks surface
contentStatus when present. - Invalid or inaccessible task identifiers fail with a clear
errorCode and errorMessage.
Re-run Behavior
- - Re-running this skill is read-only and safe.
- It never creates new WeryAI tasks and never spends credits by itself.
Boundaries
- - Do not use this skill to create new image, video, music, chat, or podcast jobs.
- Do not invent undocumented output fields when the raw payload does not contain them.
- Do not treat podcast
task_status=completed as final if content_status has not reached audio-success.
References
WeryAI 任务检查器
通过官方任务查询端点检查现有的 WeryAI 任务和批次。此技能为只读:从不提交新作业,也从不修改远程状态。
示例提示
- - 检查此 WeryAI 任务 ID 并告诉我它是否已完成。
- 查询此 WeryAI 批次 ID 并总结每个任务的状态。
- 检查此播客任务是否已达到音频成功状态。
- 显示此 WeryAI 任务的输出产物,包括音频或视频 URL(如果存在)。
快速摘要
- - 主要任务:任务状态查询、批次状态查询、产物检查、播客内容状态检查
- 输入:taskId 或 batchId
- 主要输出:标准化状态、尽力获取的产物、原始任务负载
- 主要信任信号:官方只读任务查询端点、明确的不提交边界、播客感知的 content_status 处理
前提条件
- - 运行任务查询前必须设置 WERYAIAPIKEY。
- 需要 Node.js >=18。
- 此技能为只读,可安全重复运行。
推荐命令
sh
node {baseDir}/scripts/task-inspector.js --task-id <任务ID>
node {baseDir}/scripts/task-inspector.js --batch-id <批次ID>
工作流程
- 1. 确定用户拥有单个 taskId 还是 batchId。
- 查询相应的官方端点。
- 返回标准化状态以及尽力提取的产物。
- 对于播客任务,将 content_status 解释为主要生命周期信号。
输出约定
成功输出包括:
- - ok
- phase
- queryType
- taskId 或 batchId
- taskStatus
- contentStatus(如果存在)
- artifacts
- raw
失败输出包括:
完成标准
- - 有效的 taskId 返回标准化任务状态以及尽力获取的产物和原始负载。
- 有效的 batchId 返回批次级别阶段和每个任务的标准化状态。
- 播客任务在存在时显示 contentStatus。
- 无效或无法访问的任务标识符会以清晰的 errorCode 和 errorMessage 返回。
重新运行行为
- - 重新运行此技能为只读且安全。
- 它从不创建新的 WeryAI 任务,也从不自行消耗积分。
边界
- - 请勿使用此技能创建新的图像、视频、音乐、聊天或播客作业。
- 当原始负载不包含未记录的输出字段时,请勿自行编造。
- 如果 contentstatus 尚未达到 audio-success,请勿将播客 taskstatus=completed 视为最终状态。
参考