transcriptor-mcp: Instructions file for Codex

AGENTS.md

transcriptor-mcp AGENTS.md is an instructions file for Codex, OpenCode from samson-art/transcriptor-mcp. It costs 3,752 tokens per session, scanned A, original, MIT.

A project instruction file for transcriptor-mcp, a TypeScript server and API that fetches video transcripts, metadata, and frames. It lists the project tools, commands, tests, builds, and local run methods.

In plain words
What is it for?
Use it when developing, testing, building, or running transcriptor-mcp.
Why use it?
It gives coding agents the facts and checks needed to work on this project without guessing its setup or completion requirements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is samson-art/transcriptor-mcp's own configuration. It tells Codex and OpenCode how to work on transcriptor-mcp 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 transcriptor-mcp configures →

Reuse

Borrowing it

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

Made for: 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 transcriptor-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/samson-art/transcriptor-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/samson-art/transcriptor-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,752 This file is loaded in full into every session.
When invoked 3,752 The same file — it is already loaded in full.
Security scan A 1 finding. 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.03752 $0.03752
Opus 5.5 $0.01501 $0.01501
Sonnet 5.5 $0.00750 $0.00750
Haiku 4.5 $0.00375 $0.00375

Measured yesterday against content hash 4de393ff757d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

transcriptor-mcp 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 yesterday.

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.

- Tests are next to their module. `youtube.test.ts` mocks `node:child_process` and never spawns yt-dlp. Each module with state exports reset helpers for tests.
AGENTS.md · 110 lines

How it starts

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

AGENTS.md

Shared context for every coding agent and contributor. This file holds only the facts that you cannot infer from the code. The process is in CONTRIBUTING.md and in .claude/skills/. The decisions are in docs/adr/.

transcriptor-mcp is an MCP server (9 tools, 5 widgets) and a REST API. Both wrap yt-dlp to fetch transcripts, metadata and frames from YouTube and 10 other platforms. It is TypeScript, ESM, Node 22 and Jest.

Commands

  • npm ci installs dependencies and the husky pre-commit hook. Run it in every clone and every git worktree. Without it, git runs no pre-commit hook in that checkout.
  • make check-no-smoke is the gate: format-check, lint, typecheck, Jest with coverage, build. Coverage below the floor in jest.config.cjs fails it. CI, pre-commit and the publish workflow all run it. It must be green before you say you are done.
  • npx jest src/youtube.test.ts -t '<name>' runs one suite or one test.
  • npm run build runs tsc to dist/, then four vite builds to dist/ui/<app>.html. Then ui/check-bundles.mjs fails the build if one of those files is missing, or if its module script is empty, not inlined, does not parse, or imports a chunk that is not inlined. The check does not run the code. The server reads those HTML files at runtime.
  • To run locally: npm run build, then npm run --silent start:mcp (stdio), start:mcp:http (port 4200) or start (REST, port 3000). You need yt-dlp on PATH, ffmpeg for frames, and ffprobe for WHISPER_MAX_DURATION_SECONDS. To run the server code from src/, use npm run dev (REST), dev:mcp:http or --silent dev:mcp. They use node --watch with the tsx loader and restart when a file in src/ changes. The widgets still come from dist/ui/: run npm run build:ui first, and again after a ui/ edit, then restart the server. On a restart, node --watch writes a line to stdout, so dev:mcp is for manual runs only. Do not connect a client to it.
  • node .claude/hooks/guards.check.mjs self-checks the agent hooks. It needs gh and network access. CI runs it on every push to main and every PR.

Read the full file on GitHub · 110 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. yesterday Changed · +120 tokens per session 4de393ff757d
  2. 2d ago Changed · +1 lines · +155 tokens per session 560ca9d44af2
  3. 3d ago Changed · +2 lines · +400 tokens per session f635830f475d
  4. 10d ago Changed · +1 lines · +86 tokens per session 2efed2841ac3
  5. 19d ago Changed · +1 lines · +43 tokens per session 4fd0fd036060
  6. 2mo ago Changed · +1 lines · +67 tokens per session f5c256df19ed
  7. 2mo ago First seen · 104 lines · 2,881 tokens per session scan A 13de9ab31f56

Subscribe to this mod's changes

transcriptor-mcp AGENTS.md is an instructions file published in the GitHub repository samson-art/transcriptor-mcp (26 stars, last pushed yesterday), licensed MIT. It adds 3,752 tokens to every session, about $0.0150 per session on Opus 5.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-09-26.

Related

transcriptor-mcp AGENTS.md compared with instructions from other repositories

transcriptor-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
transcriptor-mcp AGENTS.mdsamson-art/transcriptor-mcpInstructions file26yesterdayMITA3,752Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot