openchat-client AGENTS.md

openchat-client AGENTS.md is an instructions file for Codex, OpenCode from porthorian/openchat-client. It costs 2,911 tokens per session, scanned B, original, GPL-2.0.

A set of coding-agent instructions for the openchat client, covering its planning document, execution rules, and project boundaries.

In plain words
What is it for?
Use it to plan and implement work in the openchat client according to its defined purpose, execution process, and in-scope areas.
Why use it?
It gives the agent the project's purpose and limits before work begins, reducing the chance of making changes outside the intended scope.

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/porthorian/openchat-client/agents-md
Clone the repo
git clone --depth 1 https://github.com/porthorian/openchat-client

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 openchat-client AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/porthorian/openchat-client/agents-md.svg)](https://agentmods.dev/instructions/porthorian/openchat-client/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/porthorian/openchat-client/agents-md"><img src="https://agentmods.dev/badge/instructions/porthorian/openchat-client/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,911 This file is loaded in full into every session.
When invoked 2,911 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
Origin unknown 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.02911 $0.02911
Opus 5 $0.01456 $0.01456
Sonnet 5 $0.00582 $0.00582
Haiku 4.5 $0.00291 $0.00291

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

Security

Grade B, and why

openchat-client AGENTS.md scanned grade B with 1 finding 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 3d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- Do not run any commands unless they are explicitly approved by the user or explicitly allowed in this `AGENTS.md`.
AGENTS.md · 359 lines

The source is not reproduced here

Licensed GPL-2.0

The repository is licensed GPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 3d ago First seen · 359 lines · 2,911 tokens per session scan B 3c70fb68fbb9

Subscribe to this mod's changes

openchat-client AGENTS.md is an instructions file published in the GitHub repository porthorian/openchat-client (48 stars, last pushed 8d ago), licensed GPL-2.0. It adds 2,911 tokens to every session, about $0.0146 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.