Arterm-CLI AGENTS.md

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

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/arclude/arterm-cli/agents-md
Clone the repo
git clone --depth 1 https://github.com/Arclude/Arterm-CLI

Made for: Codex, OpenCode.

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. 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.00641 $0.00641
Opus 5 $0.00320 $0.00320
Sonnet 5 $0.00128 $0.00128
Haiku 4.5 $0.00064 $0.00064

Measured yesterday against content hash adb6811fe2e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 yesterday), licensed MIT. It adds 641 tokens to every session, about $0.0032 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.