소스 정보
- 저장소
- bilibili/carocut
- 최근 소스 활동
- 2026년 3월 20일 09:47
- 감지된 SKILL.md 언어
- 다국어 혼합
- 스타
- 126
- 포크
- 13
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/bilibili/carocut --skill carocut-planner-analysis명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | carocut-planner-analysis |
| description | 视频素材分析与清点。解析 PDF 文档提取文本/图片/表格,组织原始素材目录,生成结构化的 inventory.yaml 素材清单。 |
Extracts structured content from source materials (PDF, images, videos, audio) and creates an organized inventory for video production planning.
Transform user-provided raw materials into structured data that can drive production planning. This step creates the foundation for all subsequent workflow stages.
| Type | Extensions | Extraction Method |
|---|---|---|
| PDF documents | Text blocks, images, tables via material decompose tool | |
| Images | .png, .jpg, .jpeg, .webp | Copied to raws/images/existing/ |
| Videos | .mp4, .mov, .webm | Copied to raws/videos/ |
| Audio | .mp3, .wav, .m4a | Copied to raws/audio/ |
| Text | .txt, .md | Read and indexed |
| URL | http/https | Text, images, tables extracted via web crawling |
raws/
images/
existing/ # User-provided images (organized)
crawled/ # Images downloaded from URL
crawled_img_001.jpg
crawled_img_002.png
page_01_img_01.png # Images extracted from PDF
page_02_img_01.png
table_01.png # Table screenshots from PDF
data.json # Structured content from PDF or URL
content.txt # Plain text extraction
inventory.yaml # Complete material inventory
{
"stats": {
"total": 45,
"pages": 12,
"by_type": { "text": 30, "title": 5, "image": 7, "table": 3 }
},
"elements": [
{ "type": "title", "page": 1, "content": "Introduction" },
{ "type": "text", "page": 1, "content": "Text content from this section..." },
{ "type": "image", "page": 1, "path": "images/img_001.png" },
{ "type": "table", "page": 3, "path": "images/table_001.png", "context": {
"before": ["Previous text for context..."],
"after": ["Following text..."]
}}
]
}
inventory:
source_files:
- name: presentation.pdf
type: pdf
pages: 12
extracted: true
images:
- path: images/page_01_img_01.png
source: presentation.pdf
page: 1
description: "Architecture diagram"
- path: images/existing/logo.png
source: user_provided
description: "Company logo"
text_blocks: 30
tables: 2
total_images: 7
digraph material_analysis {
"User provides materials" [shape=doublecircle];
"Create raws/ directory" [shape=box];
"Has PDF?" [shape=diamond];
"Decompose PDF" [shape=box];
"Has URL?" [shape=diamond];
"Crawl URL" [shape=box];
"Organize other files" [shape=box];
"Generate inventory.yaml" [shape=box];
"Report to user" [shape=box];
"Proceed to STEP-2" [shape=doublecircle];
"User provides materials" -> "Create raws/ directory";
"Create raws/ directory" -> "Has PDF?";
"Has PDF?" -> "Decompose PDF" [label="yes"];
"Has PDF?" -> "Has URL?" [label="no"];
"Decompose PDF" -> "Has URL?";
"Has URL?" -> "Crawl URL" [label="yes"];
"Has URL?" -> "Organize other files" [label="no"];
"Crawl URL" -> "Organize other files";
"Organize other files" -> "Generate inventory.yaml";
"Generate inventory.yaml" -> "Report to user";
"Report to user" -> "Proceed to STEP-2";
}
When decomposing PDFs, the following extraction patterns apply:
page_{NN}_img_{NN}.pngtable_{NN}.pngIf user provides only images, videos, or other files without a PDF:
Create directory structure:
raws/
images/existing/
videos/
audio/
Copy files to appropriate directories
Create inventory.yaml manually:
inventory:
source_files: []
images:
- path: images/existing/diagram.png
source: user_provided
description: "User-provided diagram"
text_blocks: 0
tables: 0
total_images: 1
| Source | Description | Availability |
|---|---|---|
user_provided | Files directly supplied by the user | Available in raws/images/existing/ |
pdf_extracted | Images and tables extracted from PDF documents | Available after decomposition |
retrieve | Stock images to be fetched from Pexels/Pixabay | Resolved in STEP-4 |
generate | Custom images to be generated via Caro LLM API | Resolved in STEP-4 |
url_crawled | Images downloaded from crawled web pages | Available after crawling |
材料分析完成。
来源: presentation.pdf (12 页)
提取结果:
文本块: 30
图片: 5
表格: 2
输出目录: raws/
- data.json (结构化内容)
- images/ (7 个文件)
- inventory.yaml (材料清单)
请确认材料是否完整,然后继续下一步。
材料整理完成。
用户提供:
- 3 张图片 -> raws/images/existing/
- 1 个视频 -> raws/videos/
- presentation.pdf (12 页)
PDF 提取结果:
文本块: 30
图片: 5
总计: 9 个可用素材
材料清单: raws/inventory.yaml
请确认后继续。
| Issue | Cause | Solution |
|---|---|---|
| PDF images blurry | Low resolution in source PDF | Use higher quality source or request original images |
| Tables not detected | Complex table layout | Extract tables manually as screenshots |
| Text encoding errors | Non-UTF8 PDF encoding | Re-export PDF with UTF-8 encoding |
| Missing sections | Title pattern mismatch | Adjust title detection parameters when invoking decompose tool |
page_{NN}_img_{NN}.pngtable_{NN}.pngexisting/ subdirectories增量模式用于在已有素材库基础上添加新材料,不重新解析已处理的文件。
amendment 字段指定的新素材文件raws/inventory.yaml,了解已有素材清单inventory.yaml,追加新素材条目,保留已有条目不变raws/inventory.yaml