mangrove-agent: Instructions file for Claude Code

CLAUDE.md

mangrove-agent CLAUDE.md is an instructions file for Claude Code from MangroveTechnologies/mangrove-agent. It costs 87 tokens per session, scanned A, original, MIT.

Project instructions for a local trading bot that lets developers write strategies, test them against past data, practise trades, and eventually trade live.

In plain words
What is it for?
Use it when developing or modifying the Mangrove trading bot, its REST or MCP interfaces, strategy evaluation, trade records, or saved execution state.
Why use it?
It explains the bot’s architecture, rules, configuration, and ownership of trading records so code changes follow the project’s intended design.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is MangroveTechnologies/mangrove-agent's own configuration. It tells Claude Code how to work on mangrove-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mangrove-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MangroveTechnologies/mangrove-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MangroveTechnologies/mangrove-agent/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/MangroveTechnologies/mangrove-agent

Made for: Claude Code.

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 mangrove-agent CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mangrovetechnologies/mangrove-agent/claude-md/github.svg)](https://agentmods.dev/instructions/mangrovetechnologies/mangrove-agent/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mangrovetechnologies/mangrove-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/mangrovetechnologies/mangrove-agent/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mangrove-agent CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mangrovetechnologies/mangrove-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/mangrovetechnologies/mangrove-agent/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 This file is loaded in full into every session.
When invoked 87 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00087 $0.00087
Opus 5.5 $0.00035 $0.00035
Sonnet 5.5 $0.00017 $0.00017
Haiku 4.5 $0.00009 $0.00009

Measured 4d ago against content hash 4221262da355, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mangrove-agent CLAUDE.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 4d 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.

CLAUDE.md · 10 lines

What it actually says

Mangrove Agent - Claude Code

@SAGE.md

Follow the startup contract in SAGE.md. It is the single shared source of persona, project context, and operating instructions. The mandatory local rules under .claude/rules/ also apply. If another native entry point already loaded these sources, do not load them twice. Client connection and bundle instructions are in docs/clients.md.

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. 4d ago Changed · -77 lines · -1,134 tokens per session 4221262da355
  2. 5d ago Changed · +2 lines · +28 tokens per session c18a232c7636
  3. 8d ago Changed · +16 lines · +199 tokens per session 9fda04626fd2
  4. 26d ago Changed · +1 lines · +15 tokens per session 076769d70273
  5. 27d ago Changed · +9 lines · +105 tokens per session 582c50af5c7f
  6. 1mo ago First seen · 59 lines · 874 tokens per session scan A bc0351a828c3

Subscribe to this mod's changes

mangrove-agent CLAUDE.md is an instructions file published in the GitHub repository MangroveTechnologies/mangrove-agent (5 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session, about $0.0003 per session on Opus 5.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