youtube-tutorials: Instructions file for Codex

AGENTS.md

youtube-tutorials AGENTS.md is an instructions file for Codex, OpenCode from owainlewis/youtube-tutorials. It costs 729 tokens per session, scanned A, original, MIT.

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

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is owainlewis/youtube-tutorials's own configuration. It tells Codex and OpenCode how to work on youtube-tutorials 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 youtube-tutorials configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/owainlewis/.codex/CONTEXT.md.

Reuse

Borrowing it

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

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 youtube-tutorials AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/owainlewis/youtube-tutorials/agents-md"><img src="https://agentmods.dev/badge/instructions/owainlewis/youtube-tutorials/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00729 $0.00729
Opus 5.5 $0.00292 $0.00292
Sonnet 5.5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

Measured 1mo ago against content hash e0e372f28862, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 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. 1mo ago 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 (409 stars, last pushed 1mo ago), licensed MIT. It adds 729 tokens to every session, about $0.0029 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

Other instructions, from other repositories