tradememory-bridge

tradememory-bridge is a skill for Claude Code, Codex from mnemox-ai/tradememory-protocol. It costs 53 tokens per session (1,648 once invoked), scanned A, original, MIT.

A bridge that records Binance spot trades in TradeMemory, a persistent memory system for trading history, and recalls similar past trades. It can also examine trading behavior and strategy results across sessions.

In plain words
What is it for?
Use it after Binance spot trades to save them, recall comparable setups before a new position, inspect agent state and drawdown, detect behavioral biases, and review strategy performance. It requires the TradeMemory Protocol server.
Why use it?
It keeps trade history available for later decisions instead of losing context between sessions. Reviewing similar trades and behavioral patterns can reveal repeated mistakes such as overtrading or revenge trading.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it after Binance spot trades to save them, recall comparable setups before a new position, inspect agent state and drawdown, detect behavioral biases, and review strategy performance. It requires the TradeMemory Protocol server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnemox-ai/tradememory-protocol/tradememory-bridge
About the project

TradeMemory is a memory and audit layer for AI trading agents that records trading decisions, outcomes, and context in a tamper-evident history. It is for traders and automated trading systems that need agents to recall past decisions and document their reasoning. Catalogue add-ons provide skills, commands, MCP tools, and related workflow components for using it.

mnemox-ai/tradememory-protocol · 1,416 stars · on GitHub · mnemox.ai

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.

Any agent
npx skills add mnemox-ai/tradememory-protocol --skill tradememory-bridge
Clone the repo
git clone --depth 1 https://github.com/mnemox-ai/tradememory-protocol

Made for: Claude Code, Codex.

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 tradememory-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnemox-ai/tradememory-protocol/tradememory-bridge/github.svg)](https://agentmods.dev/skills/mnemox-ai/tradememory-protocol/tradememory-bridge)
Your own site
<a href="https://agentmods.dev/skills/mnemox-ai/tradememory-protocol/tradememory-bridge"><img src="https://agentmods.dev/badge/skills/mnemox-ai/tradememory-protocol/tradememory-bridge/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 tradememory-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnemox-ai/tradememory-protocol/tradememory-bridge"><img src="https://agentmods.dev/badge/skills/mnemox-ai/tradememory-protocol/tradememory-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.01648
Opus 5 $0.00026 $0.00824
Sonnet 5 $0.00011 $0.00330
Haiku 4.5 $0.00005 $0.00165

Measured 12d ago against content hash 576e3c7ab1f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tradememory-bridge 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 12d 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.

skills/tradememory-bridge/SKILL.md · 201 lines

How it starts

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

TradeMemory Bridge for Binance

Store Binance spot trades into persistent memory. Recall similar past trades before entering new positions. Detect behavioral biases (overtrading, revenge trading). Track strategy performance across sessions.

Requires: TradeMemory Protocol MCP server running.

Setup

Install and start the TradeMemory MCP server:

pip install tradememory-protocol
python -m tradememory

Or add to Claude Desktop / Claude Code MCP config:

{
  "mcpServers": {
    "tradememory": {
      "command": "uvx",
      "args": ["tradememory-protocol"]
    }
  }
}

Workflow

After executing a Binance spot trade using the Binance Spot skill:

  1. Store the trade using remember_trade MCP tool
  2. Before next trade, recall similar past trades using recall_memories MCP tool
  3. Check agent state using get_agent_state to see if drawdown or confidence suggests pausing
  4. Review behaviors using get_behavioral_analysis to detect biases

MCP Tools Reference

remember_trade

Store a completed trade into memory. Automatically updates all memory layers.

Parameters:

Parameter Type Required Description
symbol string Yes Trading pair (e.g. "BTCUSDT", "ETHUSDT")
direction string Yes "long" or "short"
entry_price number Yes Entry price
exit_price number Yes Exit price
pnl number Yes Profit/loss in account currency
strategy_name string Yes Strategy name (e.g. "GridBreakout", "MeanReversion")
market_context string Yes Natural language description of market conditions
pnl_r number No P&L as R-multiple (risk units)
context_regime string No Market regime: trending_up, trending_down, ranging, volatile
confidence number No Confidence level 0-1 (default 0.5)
reflection string No Lessons learned from this trade

Read the full file on GitHub · 201 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. 12d ago First seen · 201 lines · 53 tokens per session scan A 576e3c7ab1f7

Subscribe to this mod's changes

tradememory-bridge is a skill published in the GitHub repository mnemox-ai/tradememory-protocol (1,416 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 1,648 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

smart-order-router

Intelligent order routing to get best execution across multiple exchanges.

Signal-Execution-Labs/forex-trading-ai-agent · 15 tokens

breakout-strategy-engine

Pre-built breakout strategy templates — volatility squeeze detection, range breakout, momentum breakout with confirmation filters. Use this skill whenever the user asks about "breakout strategy", "Bollinger squeeze", "range breakout", "momentum breakout", "volatility expansion", "ATR breakout", "Donchian breakout"…

mahmoud20138/Tradecraft · 113 tokens

gold-orb-ea

GOLDORB — MQL5 Expert Advisor for XAUUSD 1H Opening Range Breakout. Identifies opening range (first 1H candle after 1:02 AM server time), confirms consolidation (min 3 candles), then trades breakouts. Buy signal on resistance break, sell on support.

mahmoud20138/Tradecraft · 69 tokens

ibkr

Interactive Brokers — global stocks/forex/futures via a LOCAL TWS/IB Gateway, not cloud. Covers stocks, ETFs, forex, futures; account, positions, orders, quotes, history, order placement. Use when the user wants to check or trade an Interactive Brokers account (e.g. "IBKR positions", "buy 10 AAPL on IBKR paper", "my…

Starchild-ai-agent/official-skills · 102 tokens

forex-trading

Forex market specifics: major/minor/exotic pairs, currency pair mechanics, pip values, lot sizes, swap/rollover, session overlaps, carry trades, central bank impact. USE FOR: forex pairs, currency pairs, pip value, lot size, major pairs, minor pairs, exotic pairs, forex session, carry trade, swap rates, rollover…

mahmoud20138/Tradecraft · 94 tokens

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens