Arterm-CLI: Instructions file for Codex

AGENTS.md

Arterm-CLI AGENTS.md is an instructions file for Codex, OpenCode from Arclude/Arterm-CLI. It costs 641 tokens per session, scanned A, original, MIT.

Repository instructions for Arterm-CLI, a command-line software project. They describe how coding agents should work, install builds, and check changes while running the program.

In plain words
What is it for?
Following branch and development rules, installing stable or development builds, and verifying that a change works at runtime.
Why use it?
They give agents clear project rules and reduce mistakes such as using another agent’s branch or testing the wrong installed build.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Arclude/Arterm-CLI's own configuration. It tells Codex and OpenCode how to work on Arterm-CLI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Arterm-CLI configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Arclude/Arterm-CLI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Arclude/Arterm-CLI/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Arclude/Arterm-CLI

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 Arterm-CLI AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/arclude/arterm-cli/agents-md/github.svg)](https://agentmods.dev/instructions/arclude/arterm-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/arclude/arterm-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/arclude/arterm-cli/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Arterm-CLI AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/arclude/arterm-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/arclude/arterm-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 641 This file is loaded in full into every session.
When invoked 641 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00641 $0.00641
Opus 5.5 $0.00256 $0.00256
Sonnet 5.5 $0.00128 $0.00128
Haiku 4.5 $0.00064 $0.00064

Measured 1mo ago against content hash adb6811fe2e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Arterm-CLI 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 1mo 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 · 45 lines

How it starts

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

Repository Guidelines

Development Workflow

  • Stay on your own branch - Do not take, cherry-pick, merge, or copy code from other people's or other agents' branches unless the source branch belongs to a repository maintainer and the user explicitly asks you to integrate it. Only work from your branch and its base (e.g. main) otherwise. Never integrate branches owned by non-maintainers or other agents yourself; tell the user and let them decide how to proceed.

Install Notes

  • ~/.local/bin/arterm is the launcher symlink used from PATH.
  • ~/.arterm/builds/current/arterm is the active local/source-build channel; self-dev builds and scripts/install_release.sh point the launcher here.
  • ~/.arterm/builds/stable/arterm is the stable release channel; scripts/install.sh installs this and points the launcher here.
  • ~/.arterm/builds/versions/<version>/arterm stores immutable binaries.
  • ~/.arterm/builds/canary/arterm still exists for canary/testing flows, but it is not the primary self-dev install path.
  • On Windows, the equivalents are %LOCALAPPDATA%\\arterm\\bin\\arterm.exe for the launcher, %LOCALAPPDATA%\\arterm\\builds\\stable\\arterm.exe for stable, and %LOCALAPPDATA%\\arterm\\builds\\versions\\<version>\\arterm.exe for immutable installs; scripts/install.ps1 currently installs the stable channel.
  • Ensure ~/.local/bin is before ~/.cargo/bin in PATH.

Verifying a change at runtime

cargo build alone proves nothing about behavior. arterm run and interactive sessions are served by the long-lived daemon at ~/.arterm/builds/shared-server/arterm, which is a symlink into ~/.arterm/builds/versions/<version>/. Until that symlink is repointed and the daemon restarted (arterm self-dev --build), a freshly built binary is inert and every runtime check silently measures the old code.

To test a change without disturbing the shared daemon or the caller's session, run your build against its own socket:

cargo build --profile selfdev
./target/selfdev/arterm run --no-update --socket /run/user/1000/arterm-mytest.sock '<prompt>'

Read the full file on GitHub · 45 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. 1mo ago First seen · 45 lines · 641 tokens per session scan A adb6811fe2e6

Subscribe to this mod's changes

Arterm-CLI AGENTS.md is an instructions file published in the GitHub repository Arclude/Arterm-CLI (2 stars, last pushed 1mo ago), licensed MIT. It adds 641 tokens to every session, about $0.0026 per session on Opus 5.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.

Related

Other instructions, from other repositories