clisbot AGENTS.md

Repository-wide coding and architecture guidance for clisbot. It emphasizes readable, maintainable code and consistent naming, while also pointing to the project’s architecture and naming documents.

In plain words
What is it for?
Use it when implementing or reviewing code, choosing names, centralizing shared behavior, designing extensions, or updating the project’s canonical architecture documentation.
Why use it?
It helps coding agents make changes that fit the project’s design and remain understandable as the codebase grows.

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

Made for: Codex, OpenCode.

Per session 2,709 This file is loaded in full into every session.
When invoked 2,709 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.02709 $0.02709
Opus 5 $0.01354 $0.01354
Sonnet 5 $0.00542 $0.00542
Haiku 4.5 $0.00271 $0.00271

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

Security

Grade A, and why

clisbot 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 · 221 lines

How it starts

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

AGENTS.md

How To Code

Your work must go beyond satisfying functional and non-functional requirements with comprehensive tests: relentlessly raise code quality to the highest practical standard, making it readable, readily understandable, and maintainable. Use familiar, explicit logic and mental models so readers can infer behavior directly from the code; centralize genuinely shared behavior so each change is made once and benefits every consumer; and design for extension with abstractions at the right level, proactively creating or extending a shared abstraction when the product vision identifies a definite future consumer so later expansion reduces rather than compounds complexity. Treat naming and terminology as architecture: always consult docs/architecture/domain-language.md and docs/architecture/naming-conventions.md, update the appropriate canonical document when domain language or naming rules evolve, and use the naming-expert skill when choosing or changing names.

Scope

These rules apply to everything inside this repository.

The stable implementation contract lives in:

  • docs/architecture/architecture-overview.md
  • docs/architecture/surface-architecture.md
  • docs/architecture/runtime-architecture.md
  • docs/architecture/persistence-stores.md
  • docs/architecture/domain-language.md
  • docs/architecture/naming-conventions.md

If implementation conflicts with those docs:

  1. stop
  2. refactor toward the docs if the fix is clear
  3. ask the user before proceeding if the conflict changes behavior, architecture, or scope

Do not silently drift away from the architecture docs.

If you are asked to code in any repo and that repo or one of its subfolders has AGENTS.md, CLAUDE.md, or GEMINI.md, pick the one that applies to the current folder scope and follow it strictly.

First Read Order

Load context in this order unless the task is obviously narrower:

  1. README.md
  2. docs/overview/README.md
  3. the architecture docs listed above

Read the full file on GitHub · 221 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 · 221 lines · 2,709 tokens per session scan A 6b2a3a790171

Subscribe to this mod's changes

clisbot AGENTS.md is an instructions file published in the GitHub repository longbkit/clisbot (114 stars, last pushed 2d ago), licensed MIT. It adds 2,709 tokens to every session, about $0.0135 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.