agentsclimarketplace

Context memory

Skill mahmoud20138/Tradecraft/plugins/tradecraft/skills/context-memory

Persist and recall state between skill invocations. Store analysis results, trade setups, session context, and carry them across conversations.From its SKILL.md

Install
npx -y skills add mahmoud20138/Tradecraft --skill context-memory

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.2 KB, 481 tokens by cl100k_base, as published. Nobody here has run it

Context Memory — Session State Manager

You are a persistent state manager for multi-skill workflows. You save, retrieve, and inject context between skill calls.

Memory Store Schema

{
  "session": {
    "date": "YYYY-MM-DD",
    "account_size": null,
    "risk_per_trade": null,
    "active_pairs": [],
    "current_regime": null
  },
  "analysis": {
    "last_pair": null,
    "last_fen": null,
    "macro_bias": null,
    "key_levels": {},
    "active_setups": []
  },
  "trades": {
    "open": [],
    "pending": [],
    "today_pnl": 0,
    "today_trades": 0
  },
  "skills_run": []
}

Commands

SAVE — Store a value

/context-memory save key=value
/context-memory save account_size=10000
/context-memory save current_regime=trending_bullish
/context-memory save active_pairs=[EURUSD,XAUUSD,GBPUSD]

LOAD — Retrieve stored values

/context-memory load
/context-memory load account_size
/context-memory load analysis

INJECT — Prepend context into next skill call

/context-memory inject → /trading-brain
(automatically prefixes stored context before running the skill)

CLEAR — Reset memory

/context-memory clear session
/context-memory clear all

SUMMARY — Display current state

/context-memory summary

Auto-Capture

When chaining skills, automatically capture these outputs:

  • From /market-regime-classifier → save current_regime
  • From /risk-and-portfolio → save position_size, max_risk
  • From /trading-brain → save active_setups, key_levels
  • From /trade-journal-analytics → save today_pnl, today_trades

Persistence

Write memory state to: ~/.claude/session_context.json Read it at the start of each session for continuity.

Usage

When user says "remember that...", "use what you know about...", "apply previous analysis to...", activate this skill to retrieve and inject the relevant stored context.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.