soothe AGENTS.md

Development instructions for Soothe, a framework for running long-lived autonomous software agents. They cover project structure, configuration, persistence, documentation, and checks before commits.

In plain words
What is it for?
Use them when modifying Soothe, deciding whether to write an Implementation Guide, syncing packaged configuration, and running final verification.
Why use it?
They help agents follow Soothe's rules for substantial changes, package boundaries, configuration updates, and verification.

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

Made for: Codex, OpenCode.

Per session 5,108 This file is loaded in full into every session.
When invoked 5,108 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.05108 $0.05108
Opus 5 $0.02554 $0.02554
Sonnet 5 $0.01022 $0.01022
Haiku 4.5 $0.00511 $0.00511

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

Security

Grade A, and why

soothe 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 · 297 lines

How it starts

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

Soothe Development Guide

Binding conduct for all agents and human contributors working in this repository. Compliance is mandatory; deviations require explicit operator approval and a recorded IG.

What Soothe is — a goal-driven orchestration framework for 24/7 autonomous agents. It extends deepagents with durable planning, reentrant loop state, and remote agent interop across a one-way monorepo dependency DAG.

What this guide governs — code placement and package boundaries (§7b), persistence backend selection (§10), verification and release gates (§5, §14), documentation and docstring standards (§12, §17), and commit/release attribution hygiene (§11, §13).

How to use it — read §1–§17 before any non-trivial change. Substantial work requires an IG in docs/impl/; minor changes follow commit/PR context. Run ./scripts/verify_finally.sh before every commit. When in doubt, stop and ask.


⚠️ CRITICAL RULES

1. Implementation Guides (IGs)

  • Substantial work: Create IG in docs/impl/ (IG-XXX-brief-title.md) to track scope
  • Minor changes: No verbose IG — use commit/PR context, or minimal stub only

2. Config Sync

The packaged templates under packages/soothe-daemon/src/soothe_daemon/setup/templates/ are the source of truth; config/templates/ holds symlinks to them. When editing a packaged template, MUST also update config/develop/nano.yml (or soothe.yml) with matching structure.

3. Ecosystem First

Check langchain-core, langchain-community, deepagents before implementing anything:

  • Tools: BaseTool, @tool
  • Subagents: SubAgent, CompiledSubAgent
  • MCP: langchain-mcp-adapters
  • Memory: deepagents.MemoryMiddleware

4. Test Location

Tests go in package directories: packages/<pkg>/tests/unit/ or tests/integration/ — NOT root tests/.

5. Verification Required

Run ./scripts/verify_finally.sh before ANY commit. Zero lint errors, all tests pass.

6. After Code Impl: Cleanse → Verify → Fix (MUST)

Before marking work done (commit, PR, or handoff), apply this sequence every time:

Read the full file on GitHub · 297 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 · 297 lines · 5,108 tokens per session scan A 3bbd985d5912

Subscribe to this mod's changes

soothe AGENTS.md is an instructions file published in the GitHub repository mirasoth/soothe (10 stars, last pushed yesterday), licensed MIT. It adds 5,108 tokens to every session, about $0.0255 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.