youtube-tutorials AGENTS.md

Repository instructions for a collection of YouTube tutorials. They describe how to create lessons, where files belong, and which writing and tutorial standards to follow.

In plain words
What is it for?
Use them when creating or rewriting tutorials, including the lesson, README, runnable code, resources, prompts, and slides.
Why use it?
They give an agent the project rules it needs before editing teaching material, helping keep each tutorial complete and consistent.

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/owainlewis/youtube-tutorials/agents-md
Clone the repo
git clone --depth 1 https://github.com/owainlewis/youtube-tutorials

Made for: Codex, OpenCode.

Per session 729 This file is loaded in full into every session.
When invoked 729 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.00729 $0.00729
Opus 5 $0.00365 $0.00365
Sonnet 5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade A, and why

youtube-tutorials 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 · 123 lines

How it starts

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

Repository Instructions

This repo contains public teaching material for Owain's YouTube tutorials.

The quality bar is simple.

Each tutorial should feel like one clear lesson, not a folder of notes.

Before Editing

Read /Users/owainlewis/.codex/CONTEXT.md before writing or rewriting Owain's content.

Use tutorials/TUTORIAL-STANDARD.md as the source of truth for tutorial structure and writing style.

Use the YouTube skill when creating or rewriting a lesson.

Create A Tutorial

Use the scaffold command.

just new-tutorial my-topic "My Tutorial Title"

This creates:

tutorials/my-topic/
  README.md
  LESSON.md
  code/
  resources/
  resources/prompts.md
  resources/slides/

Do not hand-create a new tutorial folder unless the Justfile is unavailable.

After scaffolding, edit LESSON.md first.

The lesson is the source of truth.

Tutorial Standards

Every tutorial should have:

  • README.md as the short entry point.
  • LESSON.md as the one main teaching document.
  • code/ for runnable code and setup files.
  • resources/ for prompts, references, checklists, images, slides, and supporting files.
  • resources/prompts.md for reusable prompts.
  • resources/slides/ for polished slide decks or visual explainers.

Keep the tutorial root clean.

Move extra Markdown files into resources/ unless they are README.md or LESSON.md.

Tutorial-specific AGENTS.md and CLAUDE.md examples belong in resources/, not at the tutorial root.

If a reference file becomes required reading, fold the teaching back into LESSON.md.

Writing Standards

Write like Owain talks to a capable developer.

Use plain language.

Explain basics first, nuance second.

Use concrete commands, files, examples, and tradeoffs.

Use diagrams when they make the idea easier to understand.

Prefer Mermaid diagrams in LESSON.md.

Use slides when the idea needs visual polish for recording.

Avoid hype, guru phrasing, clever analogies, and em dashes.

Read the full file on GitHub · 123 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 First seen · 123 lines · 729 tokens per session scan A e0e372f28862

Subscribe to this mod's changes

youtube-tutorials AGENTS.md is an instructions file published in the GitHub repository owainlewis/youtube-tutorials (365 stars, last pushed 10d ago), licensed MIT. It adds 729 tokens to every session, about $0.0036 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-30.