Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/kyanitelabs/kinocut/agents-mdgit clone --depth 1 https://github.com/KyaniteLabs/kinocutWrote 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.
[](https://agentmods.dev/instructions/kyanitelabs/kinocut/agents-md)<a href="https://agentmods.dev/instructions/kyanitelabs/kinocut/agents-md"><img src="https://agentmods.dev/badge/instructions/kyanitelabs/kinocut/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01121 | $0.01121 |
| Opus 5 | $0.00561 | $0.00561 |
| Sonnet 5 | $0.00224 | $0.00224 |
| Haiku 4.5 | $0.00112 | $0.00112 |
Grade A, and why
kinocut AGENTS.md scanned grade A with 1 finding 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 5d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
9. **ALL `subprocess.run()` and `subprocess.Popen()` calls MUST have a `timeout` parameter.** Use `DEFAULT_FFMPEG_TIMEOUT` from `defaults.py`. How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kinocut - Project Rules
Public Agent Skill
skills/kinocut/SKILL.mdis the canonical public skill for this repo.- Invoke
$kinocutin compatible agent hosts for guarded video inspection, editing, Hyperframes, repurposing, release checkpoints, and human-review workflows. skills/mcp-video/SKILL.mdis a compatibility entry point only. Keep it thin and direct new work to$kinocut.- Keep the skill aligned with
docs/CLI_REFERENCE.md,docs/TOOLS.md, the Python client, and public MCP tool names when those surfaces change.
Before Writing Any Code
- Check if it already exists. Search
ffmpeg_helpers.py,validation.py,limits.py, anddefaults.pybefore writing any utility function. Import, don't duplicate. - Check the public API. Functions registered as MCP tools in
server.pyare the public surface. Internal functions are prefixed with_. Don't break tool signatures.
FFmpeg Security
- ALL user-controlled values in FFmpeg filter strings MUST be escaped with
_escape_ffmpeg_filter_value()fromffmpeg_helpers.py. This includes: colors, fonts, text, paths, and any string that goes into a-vfor-filter_complexargument. - Gold standard pattern (from
effects_engine.py:text_animated):safe_text = _escape_ffmpeg_filter_value(text) safe_font = _escape_ffmpeg_filter_value(font) if font is not None else font safe_color = _escape_ffmpeg_filter_value(color) if color is not None else color - Never use f-string interpolation of user values directly into filter strings without escaping.
Error Handling
- Always raise custom types from
errors.py, never rawValueError,RuntimeError, orFileNotFoundError.- Input file issues →
InputFileError - FFmpeg processing failures →
ProcessingError(auto-truncates stderr to 500 chars) - Bad parameters →
MCPVideoErrorwitherror_type="validation_error"
- Input file issues →
- Never embed
result.stderrdirectly in error messages. Route throughProcessingErrorwhich truncates to 500 chars. - Never use bare
except Exception:without logging. Alwaysexcept Exception as e: logger.warning(...).
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.
- 5d ago First seen · 80 lines · 1,121 tokens per session scan A d1020a0c311a
kinocut AGENTS.md is an instructions file published in the GitHub repository KyaniteLabs/kinocut (136 stars, last pushed 3d ago), licensed Apache-2.0. It adds 1,121 tokens to every session, about $0.0056 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
awesome-copilot-id AGENTS.md
AGENTS.md instructions for GulajavaMinistudio/awesome-copilot-id, covering communication, explanation and documentation, markdown formatting, user communication style and workflow & methodology.
llm-safe-haven CLAUDE.md
Claude Code instructions for pleasedodisturb/llm-safe-haven, covering llm safe haven, what this is, project structure, tdd — non-negotiable (adopted 2026-08-17) and the contract.
hiveshare CLAUDE.md
Instructions for KB-perByte/hiveshare, covering hiveshare — claude.md, repo layout, build & run, key env vars (server) and naming: hive vs memory.
kleosrules AGENTS.md
Instructions for kleosr/kleosrules, a project described as: Cursor harness pack: user rules, skills, Bash hooks, local HANDOFF memory. macOS, Linux, Windows (WSL).
finding-unknowns-skills CLAUDE.md
Claude Code instructions for Neeeophytee/finding-unknowns-skills, covering repo notes, what ships, and the gate that decides, version lives in three manifests — move them together, files that must be edited together and shipped guidance is not this file.
coding-agent-safety-gate AGENTS.md
Instructions for ASER-ho/coding-agent-safety-gate, covering agents / 代理规则, 仓库类型 / repository type and ai 代理规则 / rules for ai coding agents.