sloop AGENTS.md

Project instructions for Sloop, a tool that supports multiple AI providers. They require provider-specific behavior to be described in adapter files instead of being hardcoded in the program.

In plain words
What is it for?
Use them when adding provider support, changing detection or context delivery, editing adapter manifests or configuration, and validating Sloop before a commit.
Why use it?
This keeps support for different AI command-line tools consistent and makes adding or overriding a provider possible through configuration. It also defines the required linting and test checks.

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

Made for: Codex, OpenCode.

Per session 300 This file is loaded in full into every session.
When invoked 300 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.00300 $0.00300
Opus 5 $0.00150 $0.00150
Sonnet 5 $0.00060 $0.00060
Haiku 4.5 $0.00030 $0.00030

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

Security

Grade A, and why

sloop 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 · 23 lines

What it actually says

AGENTS.md

Provider-aware architecture (read before adding provider behavior)

Sloop's reason to exist is multi-AI-provider support, so the codebase is provider-aware by design: all per-provider knowledge lives in the adapter manifest (internal/adapter/builtin/ <tool>.yaml, user-overridable in ~/.sloop/adapters/), and every provider-aware feature reads it.

The rule: never hardcode a tool name in a feature. Add capability to the manifest instead. Detect, launch, context delivery, skills, hooks, and completion are all manifest-driven. To support a new CLI, drop in one <tool>.yaml; no Go changes unless it needs a brand-new mechanism.

  • Provider contract + manifest schema: docs/reference/ADAPTERS.md
  • Config layering (unified user config vs per-provider manifests): docs/reference/CONFIG.md
  • Runtime capability matrix: sloop tools

User config is unified (one local .sloop/config.yaml + one global ~/.sloop/config.yaml + the global DB), never split per provider.

Development workflow

  • Always run make lint, make test, and go test -v -tags e2e ./e2e/... before committing. This project requires strict adherence to linting rules and 100% passing tests (including E2E tests which require tmux).
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 · 23 lines · 300 tokens per session scan A 1322a4ce1f4d

Subscribe to this mod's changes

sloop AGENTS.md is an instructions file published in the GitHub repository stroops/sloop (5 stars, last pushed 10d ago), licensed MIT. It adds 300 tokens to every session, about $0.0015 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.

Related

Other instructions, from other repositories

agent-skills AGENTS.md

Instructions for addyosmani/agent-skills, covering agents.md, repository overview, opencode integration, core rules and intent → skill mapping.

addyosmani/agent-skills · 1,191 tokens

gortex CLAUDE.md

Instructions for zzet/gortex, covering gortex, build & test, codebase overview, discovery (read once, then keep using) and llm provider (powers ask and searchsymbols assist: modes).

zzet/gortex · 5,172 tokens

awesome-copilot-id AGENTS.md

Instructions for GulajavaMinistudio/awesome-copilot-id, covering communication, explanation and documentation, markdown formatting, user communication style and workflow & methodology.

GulajavaMinistudio/awesome-copilot-id · 7,686 tokens

peon-ping GEMINI.md

Instructions for PeonPing/peon-ping, covering gemini.md - peon-ping, project overview, main technologies, architecture and building and running.

PeonPing/peon-ping · 1,030 tokens

free-ai-gateway AGENTS.md

Instructions for zaber-dev/free-ai-gateway, covering 🤖 free-ai gateway - agentic development guidelines, 🏛️ monorepo architecture & package boundaries, 🛑 strict architectural rules for agents, 💻 essential developer commands and build all packages across monorepo.

zaber-dev/free-ai-gateway · 955 tokens

codevira CLAUDE.md

Instructions for sachinshelke/codevira, covering codevira — persistent project memory, when to call which codevira tool, at the start of every session, before modifying any file and before adopting a pattern, library, or naming convention.

sachinshelke/codevira · 2,807 tokens