Media index

From 45ck/content-machine · View interactive version

Media index is an AI agent skill from the GitHub repository 45ck/content-machine. Maintain a local JSON index of reusable source media, transcripts, tags, and probe metadata.

How to use this skill

Skill file

Media Index

Use this after source media analysis when local assets should be reused

or searched later. The index is JSON, local-only, and keyed by resolved

file path.

Creative Source Provenance

Index evidence after scout/review; do not use media-index to decide

rights. The strict harness schema stores provenance under each item's

metadata, not as arbitrary top-level fields.

When indexing external or generated media, store enough evidence for

reuse and publish review:

downloaded-asset, generated-asset, or reference-provider

trademark risk, Content ID risk, attribution required

downloaded license file

originalVideoUrl, extractRange, licenseCertificatePath,

permissionEvidencePath, contentIdRisk, attributionPlacement, and

mixRole

rejected

publish-prep can review a media index directly through

mediaIndexPath. generate-short also writes

provenance/asset-ledger.json; use media-index provenance for reusable

library assets and the asset ledger for the specific render run.

For AI-generated media, also store provider, model, prompt,

negative prompt, reference assets, job id, status URL, settings, seed if

available, cost, and output hash.

cat skills/media-index/examples/request.json | \
  node --import tsx scripts/harness/media-index.ts
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.