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 skills add monarchjuno/tradingcodex --skill tcx-memorygit clone --depth 1 https://github.com/monarchjuno/tradingcodexWrote 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.
[](https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-memory)<a href="https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-memory"><img src="https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-memory/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.
<a href="https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-memory"><img src="https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01462 |
| Opus 5.5 | $0.00025 | $0.00585 |
| Sonnet 5.5 | $0.00013 | $0.00292 |
| Haiku 4.5 | $0.00006 | $0.00146 |
Grade A, and why
tcx-memory 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 3mo 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Decision Memory
Use the existing file-native decision packages, research artifacts, source snapshots, replay manifests, forecast ledger, postmortems, and improve records. Treat generated summaries, links, and Wiki-style pages as read views, never as the canonical record.
Choose The Mode
- Retrieve: find relevant prior decisions, forecasts, evidence, outcomes, and lessons. Preserve contrary and retired records; do not return only successful cases.
- Replay: freeze an as-of time and use only source snapshots knowable by that cutoff. Record the ResearchSpec and replay manifest before revealing the outcome.
- Review: compare the frozen decision process with the resolved outcome. Assess process quality before revealing P&L or outcome quality, then keep the two judgments separate.
- Validate: compare a lesson candidate across independent episodes, historical holdout periods, regimes, and live forward evidence.
Procedure
- Identify the subject, decision or forecast id when known, time cutoff,
evidence origin, and selected strategy snapshot. Use
no_strategywhen no strategy applied. Retrieve through the structured read-only MCP tools available to the current role:list_workflow_artifacts,list_research_artifacts,search_research_artifacts,get_research_artifact,list_research_specs,get_research_spec,list_forecasts,get_forecast, andget_forecast_calibration_report. - For a current decision, record the independent initial view before retrieving
similar cases. After retrieval, show what changed and why. When Memory changes
a synthesis, store only the compact
memoryblock: cutoff, initial view, canonical Judgment/Postmortem/Lesson refs, and a delta direction ofunchanged,strengthened,weakened, orreversedwith its reason. Omit the block entirely when Memory was not used; the receipt seals exact hashes. - For historical replay, reject sources whose
known_atexceeds the cutoff. Preserve data vintage, universe membership, delistings, corporate actions, costs, model/prompt/tool hashes, and every attempted hypothesis or parameter trial when applicable. Freeze the plan and manifest throughcreate_research_specandcreate_replay_manifestwhen the current role is authorized; otherwise dispatch the smallest registered role that owns the required MCP tool. Never substitute a shell command or caller-supplied principal. - Freeze forecasts and invalidation conditions before outcomes are visible.
Use the role-bound
issue_forecast,revise_forecast,resolve_forecast, andscore_forecastMCP tools for the append-only lifecycle. Dispatch the registered independent reviewer for resolution when required by the tool contract. - Once an accepted synthesis has future evaluation value, Head Manager records
its immutable JudgmentSnapshot with
record_judgment_snapshot. It freezes the canonical synthesis receipt, run context, cutoff, and forecast refs or forecast block reason. It remainsevidence_only. - Before any outcome is recorded or revealed, reconstruct intent, evidence, alternatives, assumptions, guardrails, and the decision-time process from durable artifacts. Prepare a process-review payload without outcome knowledge, then use the explicit user-terminal handoff below to lock it. Do not invent missing events.
- Only after the process review is locked, record and independently resolve the
outcome. Prepare the second-pass postmortem payload, binding
process_review_id, the sealed DecisionSnapshot, and undisputed forecast outcome events, then hand it to the user for the terminal action below. Store any generalization as a lesson candidate, not as a durable rule. Separate knowledge-base integrity errors, decision process errors, and forecast resolution or calibration errors. - Label lesson state as
candidate,corroborated,validated, orretired. Record evidence origin separately ashistorical_replay,historical_holdout, orlive_forward. - Promote a lesson only after independent contrary-case review and out-of-sample
evidence appropriate to its scope and regime. Dispatch the registered
independent review role; its authenticated review principal must call the
promote_lessonMCP tool. There is no direct CLI promotion path, and a caller-supplied role is not reviewer authentication. Historical replay evidence alone cannot become holdout or live-forward validation.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 124 lines · 63 tokens per session scan A cfaf08319b92
tcx-memory is a skill published in the GitHub repository monarchjuno/tradingcodex (384 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,462 once invoked, 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-30.
tcx-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tcx-memorymonarchjuno/tradingcodex | Skill | 384 | 4mo ago | Apache-2.0 | A | 63 | Codex |
| agent-trading-predictorruvnet/ruflo | Skill | 83k | today | MIT | A | 24 | Claude Code |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agent-agentic-paymentsruvnet/ruflo | Skill | 83k | today | MIT | A | 22 | Claude Code |
| agent-collective-intelligence-coordinatorruvnet/ruflo | Skill | 83k | today | MIT | A | 29 | Claude Code |
| agent-memory-coordinatorruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| agent-paymentsruvnet/ruflo | Skill | 83k | today | MIT | A | 15 | Claude Code |