clawdline AGENTS.md

clawdline AGENTS.md is an instructions file for Codex, OpenCode from sainteye/clawdline. It costs 10,682 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for working safely in the sainteye/clawdline repository, including shared files, task handoffs, reviews, and completion reporting. AGENTS.md is a project instruction file that tells coding agents how to make changes.

In plain words
What is it for?
Use it when changing repository code, managing shared work, preparing commits, completing tasks, or coordinating root and child agent sessions.
Why use it?
It reduces the risk of overwriting another agent’s work, editing the wrong files, or declaring a task complete before the required checks and notifications are done.

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

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 clawdline AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sainteye/clawdline/agents-md.svg)](https://agentmods.dev/instructions/sainteye/clawdline/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sainteye/clawdline/agents-md"><img src="https://agentmods.dev/badge/instructions/sainteye/clawdline/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 10,682 This file is loaded in full into every session.
When invoked 10,682 The same file — it is already loaded in full.
Security scan A 1 finding. 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.10682 $0.10682
Opus 5 $0.05341 $0.05341
Sonnet 5 $0.02136 $0.02136
Haiku 4.5 $0.01068 $0.01068

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

Security

Grade A, and why

clawdline AGENTS.md scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "http://127.0.0.1:$PORT/v1/orchestrator/tasks" \
AGENTS.md · 668 lines

How it starts

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

Working in this repository

This checkout is shared by several live agent sessions, including Claude Code and Codex. Treat every change already present in the opening git status as another session's unfinished work. Do not stage, revert, rewrite, or commit those changes. Do not infer ownership from a filename, a recent timestamp, or a new commit; inspect the content and scope.

Project vocabulary is defined without implementation detail in CONTEXT.md. Read it before changing task, graph, review, landing, handoff, or verification semantics; follow its links to the narrower operational document for the work in front of you.

Shared-tree discipline

  • Record git status --short before editing so you know the pre-existing state.
  • Edit only paths assigned to your task.
  • Use git add -- <file>... with every path named explicitly.
  • Never use git add -A, git add ., or another broad staging command.
  • Before any root-owned commit, run git diff --cached --stat and remove anything outside that commit's scope. What you are looking for is a path you did not stage yourself. The index is shared: another session's git add is already sitting in it, and a plain git commit with no pathspec commits the whole index, theirs included. That happened twice on 2026-08-28. Read the stat as "is every one of these lines mine?" rather than "does this look about right", and take a stranger back out with git reset -- <path>, which unstages without touching their bytes.
  • Read the staged diff itself; a clean stat does not prove that a file contains only your work.
  • After hunk-staging, commit the reviewed index with plain git commit -m <message> and no pathspec. git commit -- <path>... takes the named files from the worktree instead of the staged hunk selection and can absorb another session's unstaged hunks. A commit pathspec is safe only when the entire worktree diff of every named path belongs to that commit.
  • The two commit traps point in opposite directions, which is why neither bullet above replaces the other: no pathspec sweeps in what somebody else staged, a pathspec sweeps in what somebody else left unstaged. git diff --cached --stat catches the first, reading the staged diff catches the second, and a commit that has had neither run on it is guarded against neither.
  • A child or worker session does not commit. It hands its changes back to the root session for review and commit.
  • Once a root session has completed the task it was originally assigned, reviewed its own diff, and verified the exact commit in isolation, it should commit its completed work without waiting for a separate user request to commit. This permission applies only when the root can isolate its own changes from every pre-existing or unrelated worktree change; otherwise it must keep the work uncommitted and coordinate with the owner of the overlapping paths.

Read the full file on GitHub · 668 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. 3d ago First seen · 668 lines · 10,682 tokens per session scan A f45619afd5c4

Subscribe to this mod's changes

clawdline AGENTS.md is an instructions file published in the GitHub repository sainteye/clawdline (1 stars, last pushed 3d ago), licensed MIT. It adds 10,682 tokens to every session, about $0.0534 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.