Polyglow AGENTS.md

Polyglow AGENTS.md is an instructions file for Codex, OpenCode from zbzailabs/Polyglow. It costs 2,080 tokens per session, scanned A, original, MIT.

Project instructions for Polyglow, a static multilingual editorial website built with Astro, Markdown or MDX content, Tailwind CSS, and search tools.

In plain words
What is it for?
Use it when editing the Astro theme, localized routes, editorial content, styling, search, SEO metadata, or view transitions.
Why use it?
It records the site's structure, technical requirements, and restrictions so agents can change pages and content without breaking its build or independent operation.

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/zbzailabs/polyglow/agents-md
Clone the repo
git clone --depth 1 https://github.com/zbzailabs/Polyglow

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 Polyglow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zbzailabs/polyglow/agents-md.svg)](https://agentmods.dev/instructions/zbzailabs/polyglow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zbzailabs/polyglow/agents-md"><img src="https://agentmods.dev/badge/instructions/zbzailabs/polyglow/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,080 This file is loaded in full into every session.
When invoked 2,080 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.02080 $0.02080
Opus 5 $0.01040 $0.01040
Sonnet 5 $0.00416 $0.00416
Haiku 4.5 $0.00208 $0.00208

Measured 3d ago against content hash 10f2ff08a509, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Polyglow 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 3d 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 · 192 lines

How it starts

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

Polyglow Agent Guide

Purpose

This file tells coding agents how to work in this repository. Keep engineering workflow, commands, repository structure, deployment, and contribution rules here. Keep visual tokens and UI appearance rules in DESIGN.md.

Polyglow is an Astro 7 static multilingual editorial theme. The current default locale is English, public routes keep locale prefixes, and / redirects to /en/. The repository must remain usable without private services, databases, Cloudflare credentials, analytics IDs, ad IDs, payment credentials, or wallet addresses.

Stack

  • Astro 7 with output: "static", trailingSlash: "always", and compressHTML: true to preserve the existing HTML whitespace behavior.
  • Tailwind CSS v4 through @tailwindcss/vite and CSS-first runtime tokens.
  • MDX content collections backed by astro:content glob loaders.
  • @astrojs/markdown-satteri as the Markdown and MDX processor.
  • Custom Pagefind integration in src/integrations/pagefind.ts.
  • astro-icon with a Lucide allowlist configured in astro.config.mjs.
  • astro-seo for standard SEO metadata.
  • Astro ClientRouter for view transitions.
  • @astrojs/partytown for optional Google Tag Manager.
  • Optional Google AdSense through src/components/widgets/Adsense.astro.
  • Optional x402 metadata through src/components/widgets/X402.astro.
  • Optional x402 Cloudflare gateway through src/x402/cloudflare-worker.ts.
  • Astro image optimization through OptimizedPicture.astro.
  • Optional Cloudflare Workers Static Assets deployment.

Required Commands

  • Install dependencies: pnpm install
  • Start development server: pnpm dev
  • Start managed background development server: pnpm dev:background
  • Start an independent parallel development server: pnpm dev:parallel -- --port <port>
  • Check managed development server: pnpm dev:status
  • Read managed development server logs: pnpm dev:logs
  • Stop managed development server: pnpm dev:stop
  • Start development server with JSON logs: pnpm dev:json
  • Typecheck and build: pnpm build
  • Verify Astro 7 upgrade contract: pnpm test:upgrade
  • Preview built site: pnpm preview
  • Deploy prebuilt static assets to Cloudflare Workers: pnpm deploy

Read the full file on GitHub · 192 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. 3d ago First seen · 192 lines · 2,080 tokens per session scan A 10f2ff08a509

Subscribe to this mod's changes

Polyglow AGENTS.md is an instructions file published in the GitHub repository zbzailabs/Polyglow (22 stars, last pushed 27d ago), licensed MIT. It adds 2,080 tokens to every session, about $0.0104 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.