peepshow: Instructions file for Claude Code

AGENTS.md

peepshow AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from t0mtaylor/peepshow. It costs 889 tokens per session, scanned A, original, MIT.

Project instructions for peepshow, a command-line tool that turns videos and animated images into still frames, audio, and optional speech transcripts. The extracted material lets an agent inspect what happens in the media over time.

In plain words
What is it for?
Use them when a task references a video, GIF, or other animated image, to extract frames, audio, metadata, and—when configured—a transcript.
Why use it?
They clarify when media should be processed and which command and output fields to use, avoiding attempts to handle video like a static image.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: UserPromptSubmit hook event, but also the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is t0mtaylor/peepshow's own configuration. It tells Claude Code, Codex and OpenCode how to work on peepshow 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 peepshow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to t0mtaylor/peepshow. 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/t0mtaylor/peepshow/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/t0mtaylor/peepshow

Made for: Claude Code, Codex, OpenCode.

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 peepshow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/t0mtaylor/peepshow/agents-md/github.svg)](https://agentmods.dev/instructions/t0mtaylor/peepshow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/t0mtaylor/peepshow/agents-md"><img src="https://agentmods.dev/badge/instructions/t0mtaylor/peepshow/agents-md/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 peepshow AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/t0mtaylor/peepshow/agents-md"><img src="https://agentmods.dev/badge/instructions/t0mtaylor/peepshow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 889 This file is loaded in full into every session.
When invoked 889 The same file — it is already loaded in full.
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.00889 $0.00889
Opus 5.5 $0.00356 $0.00356
Sonnet 5.5 $0.00178 $0.00178
Haiku 4.5 $0.00089 $0.00089

Measured 2mo ago against content hash 383ea00ed610, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

peepshow AGENTS.md 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 2mo 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.

AGENTS.md · 64 lines

How it starts

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

AGENTS.md — peepshow

Generic agent context file. Consumed by Codex CLI, OpenAI Agents, Zed AI, and any tool that follows the AGENTS.md convention.

What peepshow is

CLI tool that turns videos and animated images (GIF/APNG/animated WebP) into a timeline of still frames + an extracted audio track + optional whisper.cpp / openai / groq / deepgram / assemblyai transcript, so an LLM can "watch" and "listen" to what's inside. Installed via npm i -g peepshow. Published at https://www.npmjs.com/package/peepshow.

When to invoke it

Trigger — user references a local file path, HTTP(s) URL, or data URI whose target is a video or animated image. Common extensions: mp4 mov mkv webm avi flv wmv ts mts m2ts 3gp ogv gif apng.

Don't fire for static images (png jpg jpeg static-webp) — LLMs already read those natively.

How to invoke

Preferred, most robust (structured JSON output; includes video metadata + tags):

peepshow "<path-or-url>" --emit json

Parse the stdout JSON:

  • frames[] — ordered frame paths (chronological).
  • video — container, codec, resolution, fps, duration, size, plus tags (title, director, producer, etc).
  • extraction — strategy used (scene vs fps), ffmpeg source, elapsed ms. Plus framesDeduped + dedupDistance (perceptual-hash post-pass, 8×8 dHash, default-on), and motionSignalAvg + motionSignalLevel (low/medium/high) — average pairwise hamming across kept frames. Use the motion signal to colour narration; high motion + framesDeduped == 0 means every frame is genuinely distinct.

Read each frames[i].path as an image. Ground your answer in video.tags before describing frames.

Annotate the report after reading

Each run also writes report.html + manifest.json into outputDir. After you've understood the frames + transcript, pipe a JSON summary back so the report captures your synthesis for whoever opens it later:

echo '{"summary":"<2-4 sentences>","provider":"<your-tool-name>"}' \
  | peepshow report annotate "<outputDir>"

Read the full file on GitHub · 64 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. 2mo ago First seen · 64 lines · 889 tokens per session scan A 383ea00ed610

Subscribe to this mod's changes

peepshow AGENTS.md is an instructions file published in the GitHub repository t0mtaylor/peepshow (69 stars, last pushed 27d ago), licensed MIT. It adds 889 tokens to every session, about $0.0036 per session on Opus 5.5. 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-30.

Related

peepshow AGENTS.md compared with instructions from other repositories

peepshow AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
peepshow AGENTS.mdt0mtaylor/peepshowInstructions file6927d agoMITA889Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode