| Từ | Nghĩa đơn giản |
|---|---|
| skill | Một “nghiệp vụ” AI biết làm (ví dụ: bỏ đoạn nói lặp, viết kịch bản, dựng timeline). Mỗi skill nằm trong 1 folder riêng kèm file SKILL.md mô tả cách dùng. |
| job | Một dự án video cụ thể bạn đang làm. Mỗi lần làm 1 clip mới = 1 folder jobs/<tên>/. |
| asset | Ảnh, video hoặc audio gốc bạn cung cấp (chưa qua xử lý). |
| watcher | Chương trình chạy nền 24/7. Bạn drop file vào raw_assets/ là nó tự phát hiện, gọi AI phân tích, lưu vào DB. Không cần bật/tắt thủ công. |
Chi tiết từng thư mục
skills/ — project skills
skills/ — project skills
Mỗi folder con là một skill độc lập với file
SKILL.md mô tả:skills/audio-deduplicate/— bỏ đoạn nói trùng lặp.skills/_shared/— utils dùng chung giữa các skill.- (Sẽ bổ sung thêm.)
SKILL.md trước, sau đó load script trong skills/<name>/scripts/ khi cần.jobs/ — runtime của pipeline
jobs/ — runtime của pipeline
Mỗi job là một lần chạy thực tế:
<job_id> thường có dạng YYYY-MM-DD_NNN_short-name.Folder jobs/ nằm trong .gitignore — không commit job output.raw_assets/ — pool asset toàn cục
raw_assets/ — pool asset toàn cục
Drop ảnh/video/audio vào 3 folder con:Watcher tự pick file mới, embed vào
.asset_index/index.db. File pool dùng chung cho mọi job.Folder bị gitignore (chỉ track layout .gitkeep).tools/ — công cụ hỗ trợ
tools/ — công cụ hỗ trợ
tools/asset_index/— watcher, router, analyzers, embed, search, service. Module cốt lõi của Asset Index.tools/word-keep-editor/— UI gán keep-flag choaudio-deduplicate.
scripts/ — script tiện ích cấp project
scripts/ — script tiện ích cấp project
scripts/ensure-remotion-skill.sh— cài$remotion-best-practicesvào.agents/skills/.
setup/ — auto-installer
setup/ — auto-installer
8 file (4 chức năng × 2 OS):
Install.command/Install.bat— cài full asset index.Search.command/Search.bat— tìm asset bằng truy vấn tiếng Việt.Status.command/Status.bat— xem trạng thái watcher.Uninstall.command/Uninstall.bat— gỡ service launchd / Task Scheduler.
.asset_index/ — runtime của watcher
.asset_index/ — runtime của watcher
index.db— SQLite + sqlite-vec virtual table chứa metadata + embedding.state.json— pid + processed_count + last_error của watcher (đọc nhanh khi debug).logs/watcher.{out,err}.log— log từ launchd / Task Scheduler.
.env + env.example
.env + env.example
.env chứa 4 API key (xem Cấu hình API keys). File env.example là template được commit.AGENTS.md — quy tắc cho agent
AGENTS.md — quy tắc cho agent
File này định nghĩa pipeline order rule và danh sách skills cho agent (ví dụ Cursor, Claude Code) đọc khi vào project.
Bước tiếp theo
Sử dụng cơ bản
Workflow drop → search → status.
Nâng cao: Asset Index
Kiến trúc Asset Index, file runtime, CLI, idempotency.