loopilot-workbench
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Run and open the local LooPilot operations workbench in Codex Browser. It indexes real report manifests and SQLite state, exposes safe local media, stores auditable human content reviews and publish-readiness facts, and lets Codex materialize approved reviews for workflow resume without requiring Feishu.
In this repository10 other files it gives its agents.
- content-reviewerSkill
- creative-runnerSkill
- douyin-music-librarySkill
- ecommerce-operationsSkill
- loopilot-deployerSkill
- loopilot-doctorSkill
- reusable-material-librarySkill
- video-content-understandingSkill
- video-editor-runnerSkill
- video-script-generatorSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to start or reuse the local LooPilot workbench and open a requested page in Codex Browser.
- Very specific: line 47
Use --backfill-days N only when the user explicitly wants a read-only recent legacy scan.
- Very specific: line 53
Every review is append-only.
- Distinctive: line 55
Run the real local HTTP bridge smoke without external side effects:
- Distinctive: line 81
Do not stop the service merely because the current Codex task finished.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LooPilot Workbench
Use this skill to start or reuse the local LooPilot workbench and open a requested page in Codex Browser.
Current scope
- Pages:
overview,products,creative,creative/<creative_id>,publishing,videos, andruns/<run_id>. - Navigation: the main menu stays in a sticky top header at every viewport width; detail pages return to their parent business page, with run parents resolved from
run.module. - Runtime: Python standard library plus native HTML/CSS/JavaScript.
- Service: loopback-only, on-demand, persistent across Codex tasks, and explicitly stoppable.
- Data: production mode discovers validated
report-manifest-v1files only under configured run roots, with optional explicit recent-day legacy backfill. The SQLite index is disposable and rebuildable; run artifacts remain the truth source. - Accounts: list pages aggregate all accounts by default, expose a per-page account filter, display the human-readable account name, and retain
account_keyplusaccount_idfor stable isolation. - Creative media: the list and detail pages expose only task-declared media through opaque media IDs; video playback supports HTTP Range.
- Remix tasks: 混剪与普通创作共用
creative页面,以task_type=remix/creation标识和筛选;详情可查看方案 revisions、实际使用原素材和成片。素材入库进度不进入页面,用户通过 Codex 按导入任务 ID 查询。 - Formal batch download:
/api/creative-tasks/formal-batch-download只打包用户勾选且formal_publish_ready=true的 MP4,使用客户/商品/任务/变体/方案 revision 命名临时 ZIP;请求结束后清理临时文件,不代表发布授权。 - Video replication: detail pages read back the exact
replication_modeandgeneration_strategy; strong-fidelity jobs display “逐镜强保真” and “先锁画面,再统一配音” without enabling generation or publish actions. - Local write boundary: publish readiness plus append-only
human-reviews/events.jsonland its atomiccurrent.jsonprojection understate_root. An approved workflow review may be materialized into that workflow'sreviews/current.jsonandmanual_creative_review_snapshot.jsonfor Codex/heartbeat readback. - Safety: reviews and publish readiness do not request or execute generation, editing, publishing, cart changes, ad spend, configuration writes, or Feishu writes.
原创任务
原创任务复用 /creative 及原详情页,task_type=creation / creation_mode=product_original,任务类型显示“原创”。同页读取完整方案、商品事实、主档进度/额度、实际商品/主体/场景素材和成片;未知费用显示未知,不以剩余额度代替已用费用。无参考视频不显示“参考缺失”。不新增入口或网页生成/重试/改方案接口,原创详情不提供发布准备操作。
原生 report producer 可从任务文件零 Provider 重建投影;业务完成以当前主档 final result 与实际文件 SHA 为准,不以 Provider 成功或任意 MP4 存在代替。缓存非权威,媒体越界/串账号不开放。
Start or reuse
python3 skills/loopilot-workbench/scripts/manage_workbench.py ensure-running \
--run-root /absolute/user-owned/loopilot/runs \
--path /overviewThe command returns JSON containing the actual local URL. Verify GET /api/health, then open the returned URL with the Codex in-app Browser when the user explicitly asks to view it.
Bundled demo data is never a production fallback. Enable it explicitly for development only:
python3 skills/loopilot-workbench/scripts/manage_workbench.py ensure-running --demo-mode --path /overviewUse --backfill-days N only when the user explicitly wants a read-only recent legacy scan. Backfill updates the local index and does not modify historical runs.
Human review and Codex bridge
Reviewable manifest assets use stages product_image, model_image, video_prompt, raw_video, or final_video, with an immutable asset SHA256, payload SHA256, object revision, account and workflow ID. The API derives those fields from the manifest; the browser may submit only decision, comment, reviewer and matching account.
Every review is append-only. Asset, prompt payload, account, object or revision changes make the old decision stale. approved may be materialized for the control plane, but the workbench never calls the next execution skill itself. rejected, changes_requested, stale, missing or cross-account decisions remain blocked.
Run the real local HTTP bridge smoke without external side effects:
python3 skills/loopilot-workbench/scripts/smoke_review_bridge.py \
--output-root /absolute/user-owned/loopilot/state/workbench-smokeExecution skills now write lifecycle manifests natively. Verify the complete creative/review/edit/local-publish projection without network or external writes:
python3 skills/loopilot-workbench/scripts/smoke_specialist_reporting.py \
--output-root /absolute/user-owned/loopilot/state/specialist-report-smokeProduction product and creative views merge summary.product, summary.creative, and summary.publishing by exact account and product identity. A ready or published fact may not be downgraded by an older draft.
See references/report-contract.md for manifest, media and review contracts.
Lifecycle
python3 skills/loopilot-workbench/scripts/manage_workbench.py status
python3 skills/loopilot-workbench/scripts/manage_workbench.py restart --path /overview
python3 skills/loopilot-workbench/scripts/manage_workbench.py stopDo not stop the service merely because the current Codex task finished. Heartbeat and background tasks may refresh data later, but must not automatically expand the Browser sidebar.
Truth-source boundary
Local business run artifacts remain the intended truth source. Feishu integration status and outbox counts are display-only metadata and never overwrite local business facts.
Changing the selected publish account, work title, video task, or video content invalidates the previous ready state. Publishing and published tasks are immutable in the workbench; the publisher must still perform its own fresh readback, explicit confirmation, platform action, and result verification.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

