academy-theme: Instructions file for Codex

AGENTS.md

academy-theme AGENTS.md is an instructions file for Codex, OpenCode from layer5io/academy-theme. It costs 1,586 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for developing the Academy Hugo theme, a reusable set of templates and styles for building websites with Hugo. They describe its tools, setup commands, project layout, and build process.

In plain words
What is it for?
Use them when installing dependencies, running the development site, building or cleaning it, and working on layouts, styles, content templates, or localization files.
Why use it?
They give a coding agent the repository's expected environment and commands, reducing incorrect setup steps or changes in the wrong directories.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is replace github.com/layer5io/academy-theme => ../academy-theme.

Reuse

Borrowing it

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

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 academy-theme AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/layer5io/academy-theme/agents-md"><img src="https://agentmods.dev/badge/instructions/layer5io/academy-theme/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,586 This file is loaded in full into every session.
When invoked 1,586 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.01586 $0.01586
Opus 5.5 $0.00634 $0.00634
Sonnet 5.5 $0.00317 $0.00317
Haiku 4.5 $0.00159 $0.00159

Measured 26d ago against content hash b655dc784a7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

academy-theme 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 26d 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 · 212 lines

How it starts

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

GitHub Copilot Agents for Academy Theme

This document provides guidance for GitHub Copilot agents working on the Layer5 Academy Theme repository.

Repository Overview

This repository contains a reusable Hugo theme module that powers Layer5 Academy. It provides layouts, shortcodes, and partials to build educational content sites using the Hugo static site generator.

Technology Stack:

  • Hugo (extended version 0.146.0+)
  • Node.js & npm
  • Go modules
  • PostCSS & Autoprefixer
  • Docsy theme as a base
  • Layer5 Sistent Design System

Development Environment

Prerequisites

  • Go (latest version)
  • Node.js and npm
  • Hugo Extended (version 0.146.0 or later, as specified in hugo.yaml)

Setup Commands

# Install dependencies
npm install

# Run the development server
make site

# Build the site
make build

# Clean cache and restart
make clean

Project Structure

  • /layouts/ - Hugo layout templates
  • /assets/ - CSS, JavaScript, and other static assets
  • /archetypes/ - Content templates for different types of educational content (courses, modules, labs, tests, certifications)
  • /static/ - Static files
  • /i18n/ - Internationalization files
  • hugo.yaml - Main Hugo configuration
  • package.json - Node.js dependencies and build scripts

Key Features

This theme supports several educational content types through archetypes:

  • Courses - Top-level course containers
  • Learning Paths - Structured learning sequences
  • Modules - Course sections
  • Labs - Hands-on practice exercises
  • Tests & Challenges - Assessment components
  • Certifications - Credential tracking

Development Guidelines

Making Changes

  1. Local Development: When developing this theme locally, link it to a Hugo site (like academy-example) using a replace directive in the site's go.mod file:

    replace github.com/layer5io/academy-theme => ../academy-theme
    
  2. Testing: Always test changes with an actual Academy site to ensure layouts and components work correctly.

Read the full file on GitHub · 212 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. 26d ago Changed · -5 tokens per session b655dc784a7f
  2. 28d ago First seen · 212 lines · 1,591 tokens per session scan A 3c204baed4b5

Subscribe to this mod's changes

academy-theme AGENTS.md is an instructions file published in the GitHub repository layer5io/academy-theme (30 stars, last pushed 16d ago), licensed Apache-2.0. It adds 1,586 tokens to every session, about $0.0063 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-10-09.

Related

academy-theme AGENTS.md compared with instructions from other repositories

academy-theme AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
academy-theme AGENTS.mdlayer5io/academy-themeInstructions file3016d agoApache-2.0A1,586Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode