tcx-portfolio

tcx-portfolio is a skill for Codex from monarchjuno/tradingcodex. It costs 33 tokens per session (589 once invoked), scanned A, original, Apache-2.0.

A portfolio check that examines whether a proposed investment fits with existing holdings and the investor’s wider position. It considers exposure, concentration, liquidity, time horizon, and competing uses of capital.

In plain words
What is it for?
It helps review stocks, exchange-traded funds, and indexes against current holdings, benchmarks, sectors, factors, performance contributions, and opportunity cost.
Why use it?
It helps catch portfolios that are too concentrated, poorly diversified, difficult to trade, or unsuitable for the intended holding period before an order is prepared.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It helps review stocks, exchange-traded funds, and indexes against current holdings, benchmarks, sectors, factors, performance contributions, and opportunity cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monarchjuno/tradingcodex/tcx-portfolio
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-portfolio
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-portfolio

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/monarchjuno/tradingcodex/tcx-portfolio"><img src="https://agentmods.dev/badge/skills/monarchjuno/tradingcodex/tcx-portfolio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 589 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.00033 $0.00589
Opus 5.5 $0.00013 $0.00236
Sonnet 5.5 $0.00007 $0.00118
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

tcx-portfolio 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.

workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/tcx-portfolio/SKILL.md · 58 lines

What it actually says

Portfolio Review

Use this skill to evaluate portfolio fit before an order ticket is drafted or before an investment view is escalated into risk/sizing work.

Codex-native state access:

  • Prefer TradingCodex MCP read/status tools such as list_broker_connections, get_portfolio_snapshot, and list_reconciliation_runs over manually reconstructing portfolio state from chat context.
  • Use sync_broker_account only when the user or workflow asks for a fresh read-only sync and the broker connection is already reviewed for read scope.
  • Treat reconciliation warnings or stale sync state as readiness constraints, not as data to smooth over.

Universe method:

  • Identify asset universe, instrument, account/context, benchmark, existing exposure, and whether the installed harness supports the instrument.
  • Public equity and ETF/index reviews should consider active weight, sector/factor exposure, liquidity, concentration, benchmark comparison, rolling contribution, timing attribution, and opportunity cost when data exists.
  • Use Brinson-style allocation/selection language, factor attribution, or timing attribution only when holdings, benchmark, and return data are explicit; otherwise name the missing inputs.
  • Crypto, macro, FX, rates, commodities, options, and credit-linked exposures require instrument-specific implementation inputs; mark missing support as not-decision-ready rather than sizing from thin context.
  • Separate portfolio fit from personal investment advice.

Expected output:

  • Universe, instrument, and portfolio context
  • Existing exposure
  • Position size context
  • Concentration risk
  • Liquidity and holding period fit
  • Opportunity cost
  • Performance attribution or benchmark-relative contribution when supportable
  • Portfolio recommendation
  • Draft readiness: ready, revise, or no-order
  • Source/as-of posture and missing implementation inputs

Decision quality fields when applicable:

  • evidence_grade, source_freshness, source_quality
  • decision_quality_required, decision_readiness, confidence
  • investor_context_gate_required, investor_context_gaps
  • forecast_required, forecast_allowed, forecast_block_reason
  • contrary_evidence, update_triggers, invalidation_conditions

Role-specific quality:

  • Tie sizing and fit to the user's stated portfolio context.
  • Name concentration, correlation, liquidity, and opportunity-cost assumptions.
  • State the binding constraint and whether the output is screen-grade, ready-for-portfolio-risk, ready-for-draft, or not-decision-ready.
  • Do not fabricate positions, cash, costs, capacity, or user constraints.
  • State whether the next step is review-only, ready for risk review, or ready for draft.

Write outputs under trading/reports/portfolio/.

Files

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.

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. 3mo ago First seen · 58 lines · 33 tokens per session scan A 51d1b9968575

Subscribe to this mod's changes

tcx-portfolio is a skill published in the GitHub repository monarchjuno/tradingcodex (384 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 589 once invoked, about $0.0001 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.

Related

tcx-portfolio compared with skills from other repositories

tcx-portfolio next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tcx-portfoliomonarchjuno/tradingcodexSkill3844mo agoApache-2.0A33Codex
agent-trading-predictorruvnet/rufloSkill83ktodayMITA24Claude Code
agent-agentic-paymentsruvnet/rufloSkill83ktodayMITA22Claude Code
agent-paymentsruvnet/rufloSkill83ktodayMITA15Claude Code
investment-mastersAlphaGBM/investment-mastersSkill6382d agoMITA140Claude Code, Codex
serenity-skillmuxuuu/serenity-skillSkill4.2k1mo agoMITA68Codex
portfolio-swarm-reviewKCNyu/clawockSkill27todayMITA90Claude Code, Codex