agentyard AGENTS.md

agentyard AGENTS.md is an instructions file for Codex, OpenCode from ozzy-labs/agentyard. It costs 1,481 tokens per session, scanned A, original, MIT.

Repository instructions for agentyard, a Bash-based tool that installs and updates development tools on Linux, Windows through WSL2, and macOS. They define the project’s language, tools, tests, and working rules.

In plain words
What is it for?
Use them when changing agentyard to follow its Bash compatibility, formatting, linting, testing, security, and installation requirements.
Why use it?
They tell coding agents how to work safely and consistently in this repository, including which checks must pass and which files or Git operations to avoid.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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/ozzy-labs/agentyard/agents-md
Clone the repo
git clone --depth 1 https://github.com/ozzy-labs/agentyard

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ozzy-labs/agentyard/agents-md.svg)](https://agentmods.dev/instructions/ozzy-labs/agentyard/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ozzy-labs/agentyard/agents-md"><img src="https://agentmods.dev/badge/instructions/ozzy-labs/agentyard/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,481 This file is loaded in full into every session.
When invoked 1,481 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.1 $0.01481 $0.01481
Opus 5 $0.00740 $0.00740
Sonnet 5 $0.00296 $0.00296
Haiku 4.5 $0.00148 $0.00148

Measured 5d ago against content hash 1c2fed29cf14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

agentyard 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 · 83 lines

How it starts

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

AGENTS.md

このファイルは AI エージェント向けの共通 instructions です。

基本方針

  • 日本語で応答する
  • 推奨案とその理由を提示する
  • .env ファイルは読み取り・ステージングしない
  • 破壊的な Git 操作を避ける

プロジェクト概要

agentyard: Bash 製の開発ホストプロビジョナ (Linux/WSL2/macOS)。AI エージェント駆動開発に必要なツール群を一発で導入する。

Tech Stack

  • Language: Bash (POSIX-friendly, bash 3.2+ compat on macOS, 4+ on Linux)
  • Hooks: lefthook
  • Tests: bats (unit), shell (smoke), Docker (integration)
  • Lint: shellcheck, shfmt, markdownlint, yamllint, actionlint, gitleaks, trivy, commitlint
  • Version management: mise (.mise.toml で repo / .config/mise/config.toml で global)

主要コマンド

./install.sh local         # ローカルホストへのセットアップ
./install.sh update        # 既存ツール一括更新
./install.sh doctor        # 環境健全性チェック
lefthook run pre-commit    # 全 lint + format チェック
bats tests/unit            # unit テスト
bash tests/smoke/run.sh    # smoke テスト

検証(必須)

コード変更後、報告前に以下を通すこと:

  1. lefthook run pre-commit — 全 lint pass
  2. bash tests/smoke/run.sh — smoke green
  3. bats tests/unit — unit green
  4. (shell/yaml/Dockerfile を変更した場合)integration test も推奨: bash tests/integration/run.sh

コーディング規約

  • インデント: 2 スペース
  • 改行コード: LF
  • ファイル末尾: 改行あり

規約

言語・コミット・ブランチ・PR のルールは README.md を参照すること。

Available Skills

  • commit — 変更をステージし、Conventional Commits でコミットする。プッシュや PR 作成は行わない。
  • commit-conventions — Conventional Commits のメッセージ生成ルール(Type/Scope 判定表、フォーマット)。他スキルから参照される。
  • drive — Issue または指示から実装・PR 作成・セルフレビュー・修正を自動で回し、merge-ready な PR を出す。単一/複数の Issue/PR と明示依存記法に対応。オプションでマージまで実行可能。
  • health — リポジトリ改修中に意図せず残る状態(working tree, stash, branch, worktree, PR, issue, actions など)と skill catalog 整合性を一発で確認し、16 領域のステータス表で俯瞰しつつ各項目に固定語彙の推奨アクションを inline で付与して報告する。--deep 指定時は 要確認 項目を read-only コマンドで追加調査し、機械判定可能な範囲でラベルを格上げする。検査と提示のみで、削除・close 等の実行は行わない。
  • implement — Issue または指示をもとに、ブランチ作成・実装計画・コード変更を行う。Issue 番号またはテキスト指示を受け取る。
  • lint — 全リンターを自動修正付きで実行し、結果を報告する。コード品質チェック、フォーマット、型チェック、セキュリティスキャンを含む。
  • lint-rules — 拡張子別リンター・フォーマッターのコマンド対応表と型チェックルール。他スキルから参照される。
  • phase-issue — Phase-N tracking issue を生成する。cross-session handoff context、決定事項表、PR ごとのタスク、DoD、Phase N+1 outlook を含む構造化された issue body を組み立てて gh issue create で起票する。引数で全項目を渡す非対話モードと、不足分を補う対話モード(Claude Code companion)に対応する。
  • pr — コミット済みの変更をリモートにプッシュし、PR を作成・更新する。
  • review — コード変更や PR を 11 観点(perspectives)でレビューし、JSON 構造化出力 + 人間可読レポートで報告する。quick / deep モードを切替可能。PR 番号またはワーキングツリー差分を入力に取る。
  • ship — lint・コミット・PR 作成を一括実行する。変更に対して lint → コミット → PR 作成を順に実行する統合パイプライン。
  • sync-consumers — skills / commons の更新を sync-targets.yaml に記載された 14 consumer リポへ並列に push し、PR auto-merge まで完結させる。drive の Phase Final 仕様(worktree drift 検出 + cleanup)を踏襲する push 型同期スキル。
  • test — ビルド・テスト・型チェックを実行し、結果を報告する。
  • topics — GitHub topics 候補を制約検証・人気度測定・broad+narrow / 単数複数比較・ozzy-labs 慣行ハードコードで選定し、gh repo edit --add-topic で適用する。スコープは ozzy-labs 内利用のみ。

Read the full file on GitHub · 83 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 · 83 lines · 1,481 tokens per session scan A 1c2fed29cf14

Subscribe to this mod's changes

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