Logo Media Use

Media Use

Cộng đồng
waker240
media-use

Tìm và đưa nhạc nền, hiệu ứng âm thanh, hình ảnh, biểu tượng và tài sản thương hiệu cục bộ đã được duyệt vào các tệp dự án cố định cùng một tệp kê khai. Dùng khi bản dựng HyperFrames cần tư liệu không có giọng đọc đã được cung cấp, đặt trong assets/, có sẵn trong bộ nhớ đệm cục bộ đáng tin cậy hoặc được chọn rõ ràng từ danh mục duyệt cục bộ sau khi tìm và nghe thử.

Add to TypingMind

Tổng quan

Nhà phát hànhwaker240
Kho mãFullVideoProductionSkill
Tên kỹ năngmedia-use
Sao
211
Bản fork
47
Tệp đi kèm
15
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 15 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được waker240 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Media Use trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/media-use
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/waker240/FullVideoProductionSkill.git /tmp/FullVideoProductionSkill
mkdir -p .claude/skills
cp -r /tmp/FullVideoProductionSkill/skills/media-use .claude/skills/media-use
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Media Use trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Media Use ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Media Use với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

media-use

Turn an approved local asset into a stable project path and ledger record. This skill is an inventory and ingestion layer: it performs no web search, download, media generation, or voice synthesis.

For revisioned audition decisions, generated images/video, derivatives and the distinction between a reviewed asset and one actually used in a release, read review and derivative provenance. Keep those editorial records alongside the resolver manifest; do not pretend its existing flags implement a full editorial state machine.

Voice is outside this resolver. fish-audio-api is the bundled synthesis adapter. Respect supplied narration or a user-selected provider; prepare that audio through its supported route, then import the resulting local narration file and measured timing into the composition.

Public package setup

No media recordings, author library, review database or cache is included. Supply your own reviewed files and rights records. A new project can begin with an empty library; discovery may return no results. Use explicit --source ingestion when you already have a permitted file.

The project wrapper finds .agents/skills/media-use or the directory named by MEDIA_USE_SKILL_DIR. Its optional MEDIA_CATALOG points to a catalog within the project/workspace; --catalog overrides it. The resolver's optional MEDIA_USE_GLOBAL_CACHE_DIR selects a user-owned cache. These paths are configuration, not assets supplied by this release. Standalone resolver/catalog commands read environment variables; the scaffolded wrapper additionally reads the project .env.

Resolve

bash
node <SKILL_DIR>/scripts/resolve.mjs --type <type> --intent "<description-or-id>" --project <dir>

Types: bgm, sfx, image, icon, and the local-only brand record.

For brand, a local frame.md, FRAME.md, design.md, or DESIGN.md can be frozen as the design record. Flat YAML frontmatter is retained when present; a plain Markdown design document is still a valid local record.

Resolution is deterministic and local:

  1. Reuse a valid project-manifest record matching the requested id, path, exact prompt, or entity.
  2. Adopt a matching unregistered file from the project's assets/ tree, preserving supplied review/rights flags. Strict HyperFrames audio delivery still requires those fields before wiring.
  3. Reuse a frozen record from the local global cache. BGM and SFX cache entries must carry local-origin provenance.
  4. On a miss, stop with staging instructions. The agent or user selects and reviews the asset before retrying.

Review-catalog handoff

In a scaffolded HyperFrames project, npm run audio:discover -- --type bgm --query "<semantic job>" (or --type sfx) searches workspace review catalogs without copying or approving anything. Treat its result as a lead: inspect the source/license/technical metadata, audition the file, then ingest that exact reviewed candidate with --source, --reviewed, and the catalog's --expected-sha256. Preserve source id/page, catalog id, license name/URL, a substantive review note, and creator/attribution when present. Catalog membership alone is never approval, and a render must never reference the review-library path directly.

After explicit ingestion, the resolver prints one concise result:

text
resolved sfx_001 → assets/sfx/soft-whoosh.wav (sfx)

Ingest an explicit local file

Use --source after selecting and reviewing a file. The resolver copies it into .media/, probes its metadata, and records its local provenance.

bash
node <SKILL_DIR>/scripts/resolve.mjs \
  --type sfx \
  --intent "soft interface whoosh" \
  --source /absolute/path/to/reviewed-whoosh.wav \
  --reviewed \
  --expected-sha256 <64-hex-catalog-hash> \
  --source-id <source-provider-asset-id> \
  --source-page <original-asset-page> \
  --catalog-id <catalog-asset-id> \
  --license <license-name-or-id> \
  --license-url <license-page> \
  --review-note "auditioned under narration; clean short tail" \
  --project .

--source is an explicit ingestion path, so it bypasses discovery and cache matching. It accepts a regular local file only. When --catalog-id is present, the review, hash, source, rights, and substantive-note fields shown above are mandatory. The resolver verifies the hash both before and after freezing the copy, before it writes the manifest.

Flags

FlagMeaning
--type, -tbgm, sfx, image, icon, or brand
--intent, -iDescription, manifest id, or manifest path
--entity, -eOptional exact entity match
--sourceReviewed local file to freeze and register
--source-pageOriginal asset page retained as audit metadata
--licenseLicense name or identifier retained as audit metadata
--license-urlLicense page retained as audit metadata
--attributionAttribution text retained as audit metadata
--reviewedRecord that the candidate was explicitly reviewed before ingestion
--expected-sha256Require the source bytes to match a 64-hex catalog hash
--creatorCreator retained as audit metadata
--source-idSource provider's asset id retained as audit metadata
--catalog-idLocal review-catalog asset id retained as audit metadata
--review-noteHuman audition/review note retained as audit metadata
--project, -pProject directory; defaults to .
--adoptInventory supported files already under assets/; bulk inventory alone does not approve audio for rendering
--jsonEmit machine-readable output

Adopt an existing project

bash
node <SKILL_DIR>/scripts/resolve.mjs --adopt --project .

Adoption probes supported media with ffprobe, appends records to .media/manifest.jsonl, and regenerates .media/index.md. Bulk adoption is an inventory operation, not editorial approval: BGM/SFX records still need substantive review and rights provenance before the strict HyperFrames sound gate will allow them to render. Resolve a selected staged audio asset individually with the relevant review/license flags to make that provenance explicit. Narration and voice files are intentionally ignored; TTS outputs remain owned by the Fish Audio workflow.

Inventory and cache

  • .media/manifest.jsonl is the project source of truth.
  • .media/index.md is the readable inventory.
  • ~/.media/ is the frozen cross-project cache. MEDIA_USE_GLOBAL_CACHE_DIR may point the resolver at another trusted local cache root.

The resolver does not purge older cache entries. It simply refuses BGM or SFX records whose provenance does not establish local selection or adoption. Legacy adopted records marked with both provider: local and adopted: true remain reusable; a remote provider marker is never accepted as local provenance.

Cache eligibility is not current editorial approval. Before reuse, check the current project's decisions and exclusions by candidate id and source hash. A cached asset rejected in this project remains excluded even if an earlier project approved it.

Miss handling

When resolution misses, use the HyperFrames project's read-only audio:discover command, or select a properly licensed asset outside this skill, then ingest the reviewed file with --source. Preserve source, license, attribution, hash, catalog identity, and review notes in the project record.

Requirement

ffprobe is recommended for duration, codec, and dimensions. Resolution still works when probing fails, but those metadata fields remain empty.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Media Use làm được gì?

Tìm và đưa nhạc nền, hiệu ứng âm thanh, hình ảnh, biểu tượng và tài sản thương hiệu cục bộ đã được duyệt vào các tệp dự án cố định cùng một tệp kê khai. Dùng khi bản dựng HyperFrames cần tư liệu không có giọng đọc đã được cung cấp, đặt trong assets/, có sẵn trong bộ nhớ đệm cục bộ đáng tin cậy hoặc được chọn rõ ràng từ danh mục duyệt cục bộ sau khi tìm và nghe thử.

Vì sao nên dùng Media Use trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Media Use là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Media Use trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/media-use. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Media Use?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Media Use với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Media Use với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Media Use có miễn phí không?

Có. Kỹ năng này được waker240 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇