tcx-brain

tcx-brain is a skill for Codex from monarchjuno/tradingcodex. It costs 96 tokens per session (1,781 once invoked), scanned A, original, Apache-2.0.

A skill for creating and managing TradingCodex Investment Brains. A Brain is a set of principles that shapes how the system investigates and interprets investment questions.

In plain words
What is it for?
It is for authoring, inspecting, revising, validating, installing, activating, deactivating, rolling back, or removing Investment Brains.
Why use it?
It gives the investment analysis process a clearly managed source of principles without confusing it with a strategy, workflow, memory, or execution permission.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; installed under .agents/ (shared by several agents); $skill-name invocation.

Good fit It is for authoring, inspecting, revising, validating, installing, activating, deactivating, rolling back, or removing Investment Brains.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monarchjuno/tradingcodex/tcx-brain
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 monarchjuno/tradingcodex --skill tcx-brain
Clone the repo
git clone --depth 1 https://github.com/monarchjuno/tradingcodex

Made for: 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 tcx-brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-brain/github.svg)](https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-brain)
Your own site
<a href="https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-brain"><img src="https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-brain/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 tcx-brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-brain"><img src="https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-brain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,781 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.00096 $0.01781
Opus 5.5 $0.00038 $0.00712
Sonnet 5.5 $0.00019 $0.00356
Haiku 4.5 $0.00010 $0.00178

Measured 1mo ago against content hash 883242ca9e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tcx-brain 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 1mo 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.

workspace_templates/modules/repo-skills/files/.agents/skills/tcx-brain/SKILL.md · 149 lines

How it starts

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

TCX Brain

Manage the complete Investment Brain lifecycle through one user entrypoint. A Brain shapes Head Manager's inquiry and interpretation; it is not a Strategy, role roster, workflow, memory store, policy package, or execution extension.

$tcx-brain manages Brains. It never selects one for analysis. A native analysis still requires one exact active $investment-brain-* id, either as a plain invocation or a Markdown link whose label and target match the projected workspace skill. Repeated references to the same id are deduplicated; distinct multiple ids fail closed.

Read bundle-contract.md before creating, revising, or deleting a user-owned source bundle.

Action Model

Keep the two managed layers distinct:

  • Source actions create, inspect, revise, validate, or explicitly delete a user-owned workspace-local bundle below investment-brains/.
  • Plugin actions list, inspect, install, update, activate, deactivate, roll back, or remove registry-managed immutable versions through the canonical manage_investment_brain MCP service.

remove is the managed delete operation: it removes the Head Manager projection and marks the plugin removed while retaining immutable versions for run provenance. It does not delete a user-owned source directory. A source deletion is a separate, explicitly named action.

Admission

Natural-language requests may create or revise a user-owned source below investment-brains/, then run read-only validation. list, inspect, and validate require no lifecycle proof. Use the normal trading-research profile for both source and lifecycle work.

Require $tcx-brain on the first meaningful line of a fresh root turn only for managed install, update, activate, deactivate, rollback, or remove. Do not combine it with $tcx-build, $tcx-wiki, $tcx-strategy, or an order marker. The marker grants only the matching current-turn lifecycle service call. Plan mode and subagents cannot perform managed lifecycle mutations.

Read the full file on GitHub · 149 lines

Files

What ships with it

2 files 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.

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. 1mo ago First seen · 149 lines · 96 tokens per session scan A 883242ca9e96

Subscribe to this mod's changes

tcx-brain is a skill published in the GitHub repository monarchjuno/tradingcodex (374 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 96 tokens to every session and 1,781 once invoked, about $0.0004 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.