reels-factory: Agent for Claude Code

.claude/agents/cover-agent.md

cover-agent is an agent for Claude Code from aslanzubairaev/reels-factory. It costs 0 tokens per session (1,510 once invoked), scanned A, original, MIT.

A cover-design agent that creates branded Instagram Reel covers from a video, cover text, and a topic.

In plain words
What is it for?
Use it to select video frames, generate a background, add white and orange text, and produce final and preview cover files.
Why use it?
It turns the video and its headline into a consistent cover image, so each Reel follows the same visual style.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is aslanzubairaev/reels-factory's own configuration. It tells Claude Code how to work on reels-factory itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything reels-factory configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .claude/skills/generate-cover/extract_frames.py "projects/{name}/output/recording_full.mp4".

Reuse

Borrowing it

Nothing to install: this file belongs to aslanzubairaev/reels-factory. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aslanzubairaev/reels-factory/master/.claude/agents/cover-agent.md
Clone the repo
git clone --depth 1 https://github.com/aslanzubairaev/reels-factory

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cover-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/aslanzubairaev/reels-factory/cover-agent/github.svg)](https://agentmods.dev/agents/aslanzubairaev/reels-factory/cover-agent)
Your own site
<a href="https://agentmods.dev/agents/aslanzubairaev/reels-factory/cover-agent"><img src="https://agentmods.dev/badge/agents/aslanzubairaev/reels-factory/cover-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cover-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/aslanzubairaev/reels-factory/cover-agent"><img src="https://agentmods.dev/badge/agents/aslanzubairaev/reels-factory/cover-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01510
Opus 5 $0.00000 $0.00755
Sonnet 5 $0.00000 $0.00302
Haiku 4.5 $0.00000 $0.00151

Measured 11d ago against content hash 74cae364a3ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cover-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/cover-agent.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Агент: Дизайнер обложки

Роль

Создаёт обложку для Instagram Reels в едином бренд-стиле: тёмная workspace-атмосфера, текст белый + оранжевый #FF6B00.

Когда вызывать

После Копирайтера (cover_text.json уже готов).

Вход

  • projects/{name}/output/recording_full.mp4 — для извлечения кадров
  • projects/{name}/output/cover_text.json — текст обложки
  • projects/{name}/02_script.jsontopic поле используется для выбора категории фото из библиотеки

Выход (в projects/{name}/output/)

  • cover_bg_generated.png — фон без текста (Gemini)
  • cover_final.png — готовая обложка 1080×1920
  • cover_preview.png — preview 540×960
  • cover_data.json — метаданные
  • cover_candidates/ — топ-3 кадра из видео

Бренд-ассеты (зафиксированы, НЕ менять на лету)

  • .claude/agents/cover-system/template-cover.png — единый референс-фон
  • .claude/agents/cover-system/system-prompt.txt — правила для Gemini
  • .claude/agents/cover-system/task-prompt-template.txt — шаблон задания
  • .claude/agents/cover-system/style-rules.txt — brand style
  • assets/photos/{work,portrait,lifestyle}/ — библиотека фото автора

Пошаговая инструкция

Шаг 1: Проверка входных файлов

  1. recording_full.mp4 — обязателен
  2. cover_text.json — обязателен
  3. Если чего-то нет — ошибка и стоп

Шаг 2: Извлечение кадров из видео

python .claude/skills/generate-cover/extract_frames.py "projects/{name}/output/recording_full.mp4"

Скилл сохраняет топ-3 самых чётких кадра в cover_candidates/.

Шаг 3: Предложение вариантов пользователю (ЕДИНСТВЕННАЯ пауза)

Покажи пользователю два направления и попроси выбрать:

А) Кадр из видео — показать 3 самых чётких кадра (cover_candidates/frame_XX.png).

Б) Фото из библиотеки — автоматически предложить 3-5 фото из подходящей подпапки assets/photos/. Определи категорию по topic из 02_script.json (совпадение по ключевым словам):

Ключевые слова в topic Папка по умолчанию
код / программирование / AI / автоматизация / инструменты / Claude / дебаг assets/photos/work/
продуктивность / мотивация / привычки / утро / дисциплина assets/photos/portrait/
остальное (путешествия, lifestyle, быт) assets/photos/lifestyle/

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 125 lines · 0 tokens per session scan A 74cae364a3ed

Subscribe to this mod's changes

cover-agent is an agent published in the GitHub repository aslanzubairaev/reels-factory (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,510 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

visual-critic

Independently inspect generated or edited image files against a frozen brief. Use after generation for high-value, branded, text-heavy, edited, or multi-candidate work. Never generate, edit, or rewrite files.

AgriciDaniel/banana-claude · 47 tokens

encoder

Executes video/audio encodes with the right codec, container, and flags for the target. Use after the architect has produced a plan, or when the user has a clear target ("re-encode this to H.265 10-bit under 5 Mbps", "transcode to ProRes 422 HQ for Premiere"). Owns rate-control math, preset selection, pixel format…

damionrashford/media-os · 83 tokens

hdr

Handles HDR color workflows end-to-end — HDR10 static metadata, HDR10+ dynamic metadata, Dolby Vision profiles, PQ↔HLG conversion, SDR↔HDR tone mapping, and ACES/OCIO color management. Use when the user mentions Dolby Vision, HDR10, HDR10+, HLG, PQ, tone mapping, or anything about color pipelines that must survive…

damionrashford/media-os · 80 tokens

architect

Designs end-to-end media pipelines before a single command runs. Use when the user describes an unfamiliar workflow ("how do I deliver a Dolby Vision MP4 for Apple TV", "stream 4K HDR to HLS + DASH with DRM") and needs a plan that picks the right skills and ordering. Produces a staged recipe with exact tools, not just…

damionrashford/media-os · 76 tokens

gemini-image-gen

Image generation and editing agent. Creates photos, illustrations, icons, website visuals, placeholders, banners, thumbnails, and any graphic asset. Edits, retouches, and applies style transfer to existing images. Use for any task requiring image creation or manipulation.

Ibrahim-3d/nano-banana-claude-plugin · 56 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens