agentsclimarketplace

Context memory

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

102 Claude Code skills across 7 categories -- trading strategies, Azure, VSCode extensions, AI prompts, and custom automation skills

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

  • 7 stars7 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.

What its author says it does

Copied from the file, not written here

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

SKILL.md

2.2 KB, 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.

Keep looking

Skills are one crate of 328,083. 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.