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.
npx agentmods add instructions/orbs-network/spot/agents-mdgit clone --depth 1 https://github.com/orbs-network/spotWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01127 | $0.01127 |
| Opus 5 | $0.00563 | $0.00563 |
| Sonnet 5 | $0.00225 | $0.00225 |
| Haiku 4.5 | $0.00113 | $0.00113 |
Grade A, and why
spot 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project AGENTS.md
Scope
These instructions apply to the whole repository.
- Never open an issue on the Spot repository unless the user specifically asks for one.
Canonical Surfaces
The self-contained skill/ package is the canonical AI-agent bundle.
Within that bundle:
skill/SKILL.mdis the human and agent entrypoint and carries the inline machine-readable skill metadata.skill/SKILL.mdand the bundled markdown references are the canonical execution surface for the published skill.
Keep the canonical skill slug stable as spot-advanced-swap-orders.
Use Spot Advanced Swap Orders as the human-facing display title for the skill and hosted distribution surfaces.
The repository README.md is the exception and may use broader protocol-level branding.
Keep skill/SKILL.md and config.json as the sync inputs for the inline metadata consumed by the self-contained skill package.
Optimize retrieval with frontmatter description and opening text before changing the skill slug again.
Sync Rules
When changing behavior, docs, packaging, or metadata that affects agent consumption, update all affected surfaces in the same change.
This commonly includes skill/SKILL.md, config.json, skill/, README.md, index.html, package.json, and derived metadata.
The canonical skill npm package name is @orbs-network/spot-skill.
Spot Notion Dashboard
https://app.notion.com/p/orbs1/262312ca68a98089837bfaf4ac9ef209?v=262312ca68a981bb892f000c7195bebc
Build Requirement
Run npm run build after every change made in the repo.
Treat that build as the normal sync boundary for derived skill metadata.
QA Workflow
When the user asks for skill qa:
- Run
npm run test:qaand format the result with emojis. - Include the result as a single emoji-prefixed line in the final report with verdict, confidence, and summary.
When the user asks for qa:
- Treat
qaas a local E2E dev task. - The default
qaflow is two sequential TWAP orders, not one mixed order or a single-shot market order. - Unless the user overrides scope or shape, place a first order that is a 2-chunk stop-loss from wrapped native to USDC, wait for that order to reach a final state, then place a second order that is a 2-chunk take-profit from USDC back to native.
- For each default order, size
input.maxAmountto about$10of that leg's input token, use exactly 2 equal chunks soinput.amount = input.maxAmount / 2is about$5per chunk, and setepoch = 60. - For the default stop-loss leg, set
output.triggerLowerto effectively infinite output-token units so the order is immediately eligible for QA, and setoutput.triggerUpper = 0. - For the default take-profit leg, set
output.triggerUpper = 1wei so the order is immediately eligible for QA, and setoutput.triggerLower = 0. - Unless the user overrides tokens, use wrapped native input and USDC output on the first order, then USDC input and native output on the second order, on each supported chain. If USDC is unavailable, use the chain's configured canonical USD stablecoin for both legs; on MegaETH, use USDM.
- Use the
$chainskill and its environment for local EVM context, signer-managed Foundry execution, address resolution, balances, token metadata, wrapping, approvals, and transaction sending. - Do not use helper surfaces unless the user explicitly asks to test those surfaces.
- If the skill bundle is insufficient, report the gap instead of falling back silently.
- Do not query, reference, or use any orders from before this run as examples for any purpose.
- Honor user scope modifiers such as
just ethereum; otherwise run on all supported chains in parallel. - Do not probe a chain first; run the supported-chain set in parallel once.
- For prerequisite onchain transactions such as wrap or approve, fan out across chains with
parallel. - In
qa, when approval is needed, always use a standing max approval such asapprove(..., maxUint256)rather than an exactinput.maxAmountapproval. - In
qa, do not send approval-reset or zero-allowance cleanup transactions before, between, or after the default order legs unless the user explicitly asks for them. - Do not use
cast send --asyncinqa; each branch should surface the tx hash and final receipt directly so retries remain unambiguous. - Do not use zsh arithmetic for wei or token-amount sizing in
qa. - Use a safer exact tool such as
bcorcastfor amount math. - Execute the intended two-order flow, poll every 5 seconds until each order reaches a final state.
- Report a table with the run summary, choices, skill files, sufficiency, ambiguity, any retries or inline fixes or double takes taken, and final order states.
- A
qarun passes only if both requested E2E orders complete and you can explain decisions from the active QA surface without unreported fallback.
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.
- 2d ago First seen · 77 lines · 1,127 tokens per session scan A bc7164899432
spot AGENTS.md is an instructions file published in the GitHub repository orbs-network/spot (2 stars, last pushed 6d ago), licensed MIT. It adds 1,127 tokens to every session, about $0.0056 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.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.