agent-harness AGENTS.md

Repository instructions for agent-harness, a collection of engineering workflows and specialist roles for AI coding assistants.

In plain words
What is it for?
Use them when changing agent-harness or working with its specialist personas and step-by-step engineering skills.
Why use it?
They explain the repository layout and tell agents when to use roles such as code review, security auditing, testing, API design, and database architecture.

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/ghosteken/agent-harness/agents-md
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Codex, OpenCode.

Per session 3,297 This file is loaded in full into every session.
When invoked 3,297 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.03297 $0.03297
Opus 5 $0.01648 $0.01648
Sonnet 5 $0.00659 $0.00659
Haiku 4.5 $0.00330 $0.00330

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

Security

Grade A, and why

agent-harness 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 2d 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 · 297 lines

How it starts

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

AGENTS.md

This file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, Antigravity, etc.) when working with code in this repository.

Repository Overview

agent-harness is a production-grade collection of engineering skills and specialist agent personas for AI coding assistants (Claude Code, Cursor, Copilot, Gemini CLI, and others). Skills are step-by-step workflows that encode what senior engineers do consistently. Agent personas are specialist roles that apply those skills from a specific engineering perspective.

Agent Personas

twelve specialist personas are available in agents/. Each persona adopts a single engineering role and operates within its curated skill scope.

Persona Role Trigger
code-reviewer Senior Staff Engineer Review any code change before merge
security-auditor Security Engineer Security audit, vulnerability detection
test-engineer QA Engineer Test strategy and coverage analysis
web-performance-auditor Web Performance Engineer Core Web Vitals and loading performance
api-developer Senior API Engineer API design, contract review, integration
db-architect Senior Database Architect Schema design, queries, migrations
senior-devops Senior DevOps Engineer Pipelines, IaC, containers, incidents
senior-frontend-engineer Senior Frontend Engineer UI components, accessibility, bundle size
senior-cloud-architect Senior Cloud Architect Cloud design, IAM, DR, cost
senior-backend-engineer Senior Backend Engineer Services, async, queues, caching
ai-ml-engineer AI/ML Engineer Prompts, RAG, LLM evaluation, AI safety
senior-qa-engineer Senior QA Engineer Feature verification, fix validation, regression checks

Architecture: Command → invokes Agent persona → persona invokes Skill(s).

Each persona's Composition block (in its .md file) lists its curated skill scope — the 20 skills it may invoke. When an agent is active, invoke a skill from its scope by name: Use skill <skill-name> to.... Skills outside an agent's scope can be invoked manually or via a slash command at any time. The full scope registry is at scripts/agent-scopes.json.

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

Subscribe to this mod's changes

agent-harness AGENTS.md is an instructions file published in the GitHub repository Ghosteken/agent-harness (2 stars, last pushed 17d ago), licensed MIT. It adds 3,297 tokens to every session, about $0.0165 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.