Skip to content
Back to skills

Skill

BSecurity

CutLog 本地短视频审片工具:打开视频逐帧记意见(时间戳 + 标注截图),意见写入飞书多维表格。用户说「审片」「打开 CutLog」「看看这条片子的意见」「读审片意见改片」「把意见标成已改」时使用。

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythonbashgitapi

Works with

  • cli
  • api

Security analysis

B88/100
  • criticalSends environment variables or credentials to an external URL

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add bingfeng131415/CutLog --skill skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/bingfeng131415-skill/badge)](https://www.skillsdirectory.com/skills/bingfeng131415-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cutlog
description: CutLog 本地短视频审片工具:打开视频逐帧记意见(时间戳 + 标注截图),意见写入飞书多维表格。用户说「审片」「打开 CutLog」「看看这条片子的意见」「读审片意见改片」「把意见标成已改」时使用。
---

# CutLog

程序目录下面用 `$SPT` 表示(install.sh 装的在 `~/Library/Application Support/CutLog/app`,git clone 的就是 clone 目录);
数据目录用 `$SPD` 表示(`~/Library/Application Support/CutLog`,放 config.json、data/)。约定详见程序目录 CLAUDE.md。
路径里有空格,命令里一律加双引号:

```bash
SPT="$HOME/Library/Application Support/CutLog/app"
SPD="$HOME/Library/Application Support/CutLog"
```

## 1. 打开 CutLog

```bash
cd "$SPT" && NO_BROWSER=1 nohup python3 server.py >/tmp/cutlog.log 2>&1 &
open "http://127.0.0.1:8765/?path=$(python3 -c 'import urllib.parse,sys;print(urllib.parse.quote(sys.argv[1]))' "/绝对路径/视频_v2.mp4")"
```

已经在运行时 `server.py` 会直接打开浏览器后退出。用户一般双击桌面的「CutLog」图标(`open ~/Applications/CutLog.app`)。

审片快捷键:空格播放、M 记意见(暂停+定格)、I/O 标片段、G 全局意见、E/R/A/P 椭圆/方框/箭头/画笔、⌘↩ 保存。

## 2. 读意见

**本地(最快,含原始帧和标注图路径)**:`"$SPD/data/<视频名>__<版本>/comments.json"`

**飞书多维表格**:token 在 `$SPD/config.json` 的 `feishu.base_token` / `feishu.table_id`。

```bash
cfg="$SPD/config.json"
B=$(python3 -c "import json,sys;print(json.load(open(sys.argv[1]))['feishu']['base_token'])" "$cfg")
T=$(python3 -c "import json,sys;print(json.load(open(sys.argv[1]))['feishu']['table_id'])" "$cfg")
lark-cli base +record-list --base-token $B --table-id $T --as user \
  --filter-json '{"logic":"and","conditions":[["视频名","intersects","口播"],["状态","intersects",["待改"]]]}' \
  --format ndjson --output /tmp/todo.ndjson
```

字段:视频名、版本、范围(单点/片段/全局)、时间戳、秒数、结束秒数、标注截图(附件)、意见、类别(文案/画面/配音/字幕/节奏/音乐)、优先级(必改/建议)、状态(待改/已改/已确认)、本地ID、提交时间。

看标注图:优先用 comments.json 里的 `marked` 路径(`/data/...` 对应 `$SPD/data/...`,URL 编码过);
或 `lark-cli base +record-download-attachment --record-id <id> --field-id 标注截图 ...`。

## 3. 导出 PDF 审片报告

```bash
curl -s -X POST -H 'Content-Type: application/json' http://127.0.0.1:8765/api/report/pdf -d '{"video_name":"口播","version":"v3"}'
```

返回 `path`(PDF 绝对路径)。报告页预览:`http://127.0.0.1:8765/report?video=口播&version=v3`。

## 4. 按意见改片(一条一条)

用队列脚本,不要直接改表:

```bash
python3 "$SPT/agent_queue.py" list --video 口播 --version v3   # 看这条视频的所有意见和状态
python3 "$SPT/agent_queue.py" show <record_id>                # 一条的完整信息 + 本地截图路径
python3 "$SPT/agent_queue.py" done <record_id> --note "改了什么、改在哪个文件"   # → 已改
python3 "$SPT/agent_queue.py" ask  <record_id> --note "卡在哪、要本人定什么"     # → 需确认
python3 "$SPT/agent_queue.py" render-done <key>                # 渲染任务:输出文件渲染好后登记新版本
python3 "$SPT/agent_queue.py" render-fail <key> --note "…"     # 渲染任务:渲染不了
```

每条怎么改见 [改片手册.md](改片手册.md)。只把自己改过的标「已改」;「已确认」留给审片人。

Files in this skill

  • SKILL.md3.6 KB
  • 改片手册.md5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.