Media Useのロゴ

Media Use

コミュニティ
waker240
media-use

レビュー済みのローカルBGM、効果音、画像、アイコン、ブランド素材を、変更されないプロジェクトファイルとマニフェストにまとめます。HyperFramesのコンポジションで、すでに提供された素材、assets/内に用意された素材、信頼できるローカルキャッシュ内の素材、または検出・試聴後にローカルのレビュー用カタログから明示的に選んだ素材など、音声以外のメディアが必要なときに使用します。

Add to TypingMind

概要

公開者waker240
リポジトリFullVideoProductionSkill
スキル名media-use
スター
211
フォーク
47
同梱ファイル
15
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 15個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    waker240がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Media Use」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/media-use
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMedia Useを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMedia Useを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Media Useは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Media Use」では何ができますか?

レビュー済みのローカルBGM、効果音、画像、アイコン、ブランド素材を、変更されないプロジェクトファイルとマニフェストにまとめます。HyperFramesのコンポジションで、すでに提供された素材、assets/内に用意された素材、信頼できるローカルキャッシュ内の素材、または検出・試聴後にローカルのレビュー用カタログから明示的に選んだ素材など、音声以外のメディアが必要なときに使用します。

TypingMindでMedia Useを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Media Useはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMedia Useをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/media-useを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Media Useを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Media Useで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMedia Useを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Media Use」は無料ですか?

はい。waker240がApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇