CustomerNewsletter AGENTS.md

CustomerNewsletter AGENTS.md is an instructions file for Codex, OpenCode from briancl2/CustomerNewsletter. It costs 1,051 tokens per session, scanned A, original, MIT.

Repository instructions for a monthly GitHub customer-newsletter workflow, covering its agents, skills, review process, and documentation requirements.

In plain words
What is it for?
Use them when changing the newsletter pipeline, including its scoring, content selection, video enrichment, editorial stages, tests, review commands, and handoff files.
Why use it?
They give the agent a required sequence for planning, building, testing, reviewing, validating, documenting, and handing off newsletter changes.

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/briancl2/customernewsletter/agents-md
Clone the repo
git clone --depth 1 https://github.com/briancl2/CustomerNewsletter

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/briancl2/customernewsletter/agents-md.svg)](https://agentmods.dev/instructions/briancl2/customernewsletter/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/briancl2/customernewsletter/agents-md"><img src="https://agentmods.dev/badge/instructions/briancl2/customernewsletter/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,051 This file is loaded in full into every session.
When invoked 1,051 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.01051 $0.01051
Opus 5 $0.00526 $0.00526
Sonnet 5 $0.00210 $0.00210
Haiku 4.5 $0.00105 $0.00105

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

Security

Grade A, and why

CustomerNewsletter 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 5d 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 · 86 lines

How it starts

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

AGENTS.md

Primary AI instruction surface for briancl2-customer-newsletter (platform-agnostic). Monthly GitHub customer newsletter pipeline: six core phases plus optional polish, video-enrichment, and editorial stages, driven by LLM skills, scoring, and intelligence mining.

Operating Protocol

Every change follows this numbered workflow. No exceptions.

  1. Hypothesize — State a testable prediction with explicit PASS criteria (HIGR)
  2. Score — Define a scoring rubric with acceptance threshold
  3. Plan — Design the approach before building
  4. Build — Implement the change
  5. Test — Validate against PASS criteria using layered scoring (cheapest first)
  6. Fix — Iterate until all criteria pass
  7. Review — Run make review on ALL changes before committing. --no-verify is NEVER permitted.
  8. Validate — Run quality checks (scoring battery)
  9. Document — Update HYPOTHESES.md, LEARNINGS.md, and HANDOFF.md. For published changes, also record scope and validation in the PR description.
  10. Clean up — Delete old implementations (Deletion Discipline), archive stale artifacts
  11. Report + Handoff — Write HANDOFF.md for session continuity

Core Principles

  • Deletion Discipline: Replace directly. No _v2 suffixes, no parallel code paths.
  • LLM-First: Agent-orchestrated workflows over deterministic scripts.
  • Skills-First: Check .github/skills/ before implementing ad-hoc procedures.
  • HIGR: Every change is a testable hypothesis with PASS criteria.
  • Trust Disk, Not Self-Reports: Verify by reading files, not trusting agent claims.
  • Layered Scoring (Cheapest First): Structural → Heuristic → Selection → Editorial.
  • Feed-Forward Learnings: Every finding becomes an L-number in LEARNINGS.md.
  • Benchmark-Grounded: Score against benchmark data, not intuition.

Agents (4)

# Agent Purpose
1 customer_newsletter Pipeline orchestrator (phases 1A-5)
2 editorial-analyst Editorial intelligence mining + corrections
3 skill-builder Create and validate new skills
4 upgrade-advisor Produce recommendation bundles from repo findings

Read the full file on GitHub · 86 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. 5d ago First seen · 86 lines · 1,051 tokens per session scan A d286cb207022

Subscribe to this mod's changes

CustomerNewsletter AGENTS.md is an instructions file published in the GitHub repository briancl2/CustomerNewsletter (11 stars, last pushed 2mo ago), licensed MIT. It adds 1,051 tokens to every session, about $0.0053 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.