zget AGENTS.md

Project instructions for zget, a command-line and MCP tool for capturing media with yt-dlp, a program that downloads media and extracts its information.

In plain words
What is it for?
Guiding zget development, including download handling, metadata sidecars, media-library paths, supported platforms, and when to read the OpenSpec instructions.
Why use it?
They tell coding agents which project instructions, integration contract, and key files to use when changing zget.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/bubroz/zget/agents-md
Clone the repo
git clone --depth 1 https://github.com/bubroz/zget

Made for: Codex, OpenCode.

Per session 521 This file is loaded in full into every session.
When invoked 521 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00521 $0.00521
Opus 5 $0.00260 $0.00260
Sonnet 5 $0.00104 $0.00104
Haiku 4.5 $0.00052 $0.00052

Measured yesterday against content hash 50773437bae8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

zget 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 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.

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 · 62 lines

What it actually says

OpenSpec Instructions

These instructions are for AI assistants working in this project.

Always open @/openspec/AGENTS.md when the request:

  • Mentions planning or proposals (words like proposal, spec, change, plan)
  • Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
  • Sounds ambiguous and you need the authoritative spec before coding

Use @/openspec/AGENTS.md to learn:

  • How to create and apply change proposals
  • Spec format and conventions
  • Project structure and guidelines

Keep this managed block so 'openspec update' can refresh the instructions.

AI Assistant Instructions: zget

zget is agentic media capture: CLI + MCP over yt-dlp. No web UI. Downstream tools must not call yt-dlp directly.

Contract: docs/INTEGRATION.md

Key files

Path Role
src/zget/core.py download / extract_info (writes .librarian.json)
src/zget/platforms/cspan.py C-SPAN /program/ + /event/ HLS
src/zget/metadata/librarian_json.py provenance sidecar
src/zget/metadata/nfo.py Plex/Jellyfin .nfo
src/zget/library/paths.py path health / rewrite
src/zget/library/ingest.py ingest
src/zget/cli.py CLI
src/zget/mcp/ MCP stdio server
src/zget/db/store.py sync SQLite
src/zget/config.py ZGET_HOME

Run

uv sync
uv run zget <url>
uv run zget info <url>
uv run zget --doctor
uv run zget paths check
uv run zget-mcp
uv run pytest

Rules

  • Home: ZGET_HOME → config zget_home~/Downloads/zget
  • No public commits with operator volume names or private corpus paths
  • Path rewrite before orphan purge
  • C-SPAN /program/ and /event/ supported in-tree (events expand to child programs)
  • Every successful download writes {stem}.librarian.json (+ CLI/MCP also .nfo)
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 First seen · 62 lines · 521 tokens per session scan A 50773437bae8

Subscribe to this mod's changes

zget AGENTS.md is an instructions file published in the GitHub repository bubroz/zget (1 stars, last pushed 1mo ago), licensed MIT. It adds 521 tokens to every session, about $0.0026 per session on Opus 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-31.

Related

Other instructions, from other repositories

erm AGENTS.md

Instructions for dougcalobrisi/erm, covering agents.md — erm, install, fallback (no uv on path), use — the iterate loop and tune — five knob clusters.

dougcalobrisi/erm · 1,174 tokens

subscope CLAUDE.md

Instructions for dancolta/subscope, covering subscope — contributor guide, what this codebase is, file layout, conventions and adding a new pattern skill.

dancolta/subscope · 3,399 tokens

Reddit-Options-Trader-ROT- CLAUDE.md

Instructions for Mattbusel/Reddit-Options-Trader-ROT-, covering claude.md — rot (reddit options trader), critical: worktree is stale, mandatory: 2:1 test-to-production ratio, quick reference and detailed docs (read on-demand, not auto-loaded).

Mattbusel/Reddit-Options-Trader-ROT- · 3,978 tokens

instagram-mcp-server AGENTS.md

AGENTS.md instructions for ishan-parihar/instagram-mcp-server, covering claude.md, development commands, scraping rules, tool return format and verifying bug reports.

ishan-parihar/instagram-mcp-server · 1,390 tokens

Reddit-Options-Trader-ROT- AGENTS.md

Instructions for Mattbusel/Reddit-Options-Trader-ROT-, covering agents.md -- agent speed reference for rot codebase, lookup files (grep these, don't scan claude.md), 1. speed index, 2. file ownership -- who owns what and pipeline (sync thread).

Mattbusel/Reddit-Options-Trader-ROT- · 3,597 tokens

instagram-mcp-server CLAUDE.md

Claude Code instructions for ishan-parihar/instagram-mcp-server, a project described as: Instagram MCP server — social media automation via Model Context Protocol.

ishan-parihar/instagram-mcp-server · 3 tokens