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.
npx agentmods add instructions/rornic/zweig/agents-mdgit clone --depth 1 https://github.com/rornic/zweigWrote 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.
[](https://agentmods.dev/instructions/rornic/zweig/agents-md)<a href="https://agentmods.dev/instructions/rornic/zweig/agents-md"><img src="https://agentmods.dev/badge/instructions/rornic/zweig/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00578 | $0.00578 |
| Opus 5 | $0.00289 | $0.00289 |
| Sonnet 5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade A, and why
zweig 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 26 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for AI agents working in this repository.
What this repo is
A self-hosted plugin marketplace for both Claude Code and Codex CLI, shipping two writing skills, zweig-write and zweig-refine. Both plugin formats share the same skills/ directory. See README.md for what each skill does.
Structure
.claude-plugin/plugin.json— Claude Code plugin manifest, the single source of truth for that plugin'sversion..claude-plugin/marketplace.json— Claude Code marketplace listing. Does not duplicateversion; plugin.json wins under strict mode..codex-plugin/plugin.json— Codex plugin manifest, mirrors.claude-plugin/plugin.jsonplus askillsfield pointing at./skills/..agents/plugins/marketplace.json— Codex marketplace listing, referencing this repo's plugin at./(path resolution to the repo root needs Codex CLI >= 0.142.0; older versions reject that path and need a subdirectory workaround instead).skills/<name>/SKILL.md— skill definition (YAML frontmatter + instructions), shared by both plugin formats.skills/zweig-refine/EXAMPLE.md— worked transcript of the refine loop..github/workflows/release.yml— manualworkflow_dispatch(Actions tab, choose patch/minor/major) that bumps bothplugin.jsonversions, commits, tagsvX.Y.Z, and creates the GitHub release. Pushes straight tomain; there's no branch protection to route around.
Making changes
- Run
claude plugin validate . --strictbefore committing changes to either Claude manifest. - Cut a release with the
.github/workflows/release.ymlworkflow (Actions tab, pick patch/minor/major) when a change should reach existing installs; it bumps bothplugin.jsonversions, tags, and creates the GitHub release together. - Any non-trivial prose here (README, SKILL.md instructions) should go through this repo's own
zweig-writeandzweig-refineskills before it ships. - Don't add a shared file that a
SKILL.mdinstructs the model toReadat runtime: thatReadcall needs permission approval on every install, every time the skill fires, for every user. Content a skill always needs (style rules, cut criteria) must be inlined directly in that skill's ownSKILL.md, even if that duplicates it across skills. Companion files (likeEXAMPLE.md) are fine only for material a skill references but doesn't strictly require every run. - Commit messages: lowercase conventional commits (e.g.
fix: ...,feat: ...).
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.
- 4d ago First seen · 26 lines · 578 tokens per session scan A 59ad473eb4e3
zweig AGENTS.md is an instructions file published in the GitHub repository rornic/zweig (11 stars, last pushed 13d ago), licensed MIT. It adds 578 tokens to every session, about $0.0029 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.
Other instructions, from other repositories
avoid-ai-writing CLAUDE.md
Instructions for conorbronsdon/avoid-ai-writing, covering claude.md, what this is, repository structure, how to make changes and architecture of the skill.
TLDR CLAUDE.md
Instructions for 0p9b/TLDR, covering claude.md — tldr maintainer guide, product, source layout, edit rules and install paths.
TLDR AGENTS.md
Instructions for 0p9b/TLDR: @./skills/tldr/SKILL.md @./skills/tldr-commit/SKILL.md @./skills/tldr-review/SKILL.md @./skills/tldr-compress/SKILL.md.
Library-First-Engineering copilot-instructions.md
Instructions for StChiotis/Library-First-Engineering: You are an AI agent operating in a Library-First Engineering (LFE) repository. This adapter is a pointer. Canonical rules live in human-readable docs.
prompt-improver AGENTS.md
Instructions for owenob1/prompt-improver: This repository packages prompt-improver as an Agent Skill.
promptasy AGENTS.md
AGENTS.md instructions for romanticamaj/promptasy, covering agents.md — promptasy 工程 harness, 專案一句話, 每個 phase 的節奏, 測試金字塔(由快到慢) and 測試策略(成本控制的核心).