docs AGENTS.md

Repository instructions for GitBook documentation, a system for publishing organized documentation pages. They require specific writing skills and synchronized navigation links.

In plain words
What is it for?
Writing or restructuring documentation, applying GitBook page conventions, choosing the right documentation format, and updating navigation files.
Why use it?
They prevent documentation changes from ignoring the project's format, audience guidance, or table of contents.

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/argos-ci/docs/agents-md
Clone the repo
git clone --depth 1 https://github.com/argos-ci/docs

Made for: Codex, OpenCode.

Per session 285 This file is loaded in full into every session.
When invoked 285 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.00285 $0.00285
Opus 5 $0.00143 $0.00143
Sonnet 5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade A, and why

docs 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 yesterday.

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 · 21 lines

What it actually says

AGENTS.md

This repository contains GitBook documentation, edited as markdown files synced with GitBook.

Always use the documentation skills

Before creating or editing any documentation in this repo, read both skills in .claude/skills/ (symlinks to .agents/skills/):

  • write-gitbook — the GitBook authoring conventions you must follow:
    • GitBook content structure (pages, spaces, collections, SUMMARY.md, .gitbook.yaml)
    • Frontmatter fields and page configuration
    • GitBook-flavored markdown and custom block syntax (hints, tabs, steppers, cards, includes, etc.)
    • Reusable content, variables, and best practices
  • documentation-writer — how to decide what to write: the Diátaxis quadrants (tutorial, how-to, reference, explanation), audience, and tone.

Use them whenever you write, update, or restructure markdown in this repository — under docs/ (which contains learn/, quickstart/, sdks-reference/, and agents/), under api-reference/, or anywhere else.

Keep the table of contents in sync

Adding a page is not enough: register it in docs/SUMMARY.md, and link it from the relevant section README.md so it is reachable by navigation.

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. yesterday First seen · 21 lines · 285 tokens per session scan A bd48f7d2ddd1

Subscribe to this mod's changes

docs AGENTS.md is an instructions file published in the GitHub repository argos-ci/docs (5 stars, last pushed 14d ago), licensed MIT. It adds 285 tokens to every session, about $0.0014 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-31.