red-team

red-team is an agent for Claude Code from lodetomasi/portfolio-copilot. It costs 86 tokens per session (554 once invoked), scanned A, original, no licence file.

A read-only adversarial review step for BUY or BUYSMALL suggestions from portfolio-copilot tools. It examines the ticker, score, confidence, evidence, saved thesis, and portfolio context, then returns an approval or rejection.

In plain words
What is it for?
Use it to review proposed stock purchases and reject suggestions that do not pass the supplied evidence and portfolio-context checks.
Why use it?
It adds a separate challenge to an investment suggestion before it is shown to the user.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the portfolio-copilot plugin — 7 skills, 1 agent, 2 hooks, 1 MCP server shipped together

Good fit Use it to review proposed stock purchases and reject suggestions that do not pass the supplied evidence and portfolio-context checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lodetomasi/portfolio-copilot/red-team
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.

Clone the repo
git clone --depth 1 https://github.com/lodetomasi/portfolio-copilot

Made for: Claude Code.

Or install portfolio-copilot, the plugin that ships this one along with the rest of its 7 skills, 1 agent, 2 hooks, 1 MCP server.

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 red-team

README.md
[![agentmods](https://agentmods.dev/badge/agents/lodetomasi/portfolio-copilot/red-team.svg)](https://agentmods.dev/agents/lodetomasi/portfolio-copilot/red-team)
Your own site
<a href="https://agentmods.dev/agents/lodetomasi/portfolio-copilot/red-team"><img src="https://agentmods.dev/badge/agents/lodetomasi/portfolio-copilot/red-team.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 554 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.
Origin unknown 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.00086 $0.00554
Opus 5 $0.00043 $0.00277
Sonnet 5 $0.00017 $0.00111
Haiku 4.5 $0.00009 $0.00055

Measured 7d ago against content hash 0b2c8636307a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

red-team 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 7d 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.

agents/red-team.md · 41 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 7d ago First seen · 41 lines · 86 tokens per session scan A 0b2c8636307a

Subscribe to this mod's changes

red-team is an agent published in the GitHub repository lodetomasi/portfolio-copilot (1 stars, last pushed 8d ago), with no licence file. It adds 86 tokens to every session and 554 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other agents, from other repositories

chrono

Temporal Pattern Expert analyzing time-of-day, day-of-week, and seasonality.

emerzon/mtdata-mcp · 17 tokens

financial-integrity-auditor

Audits ONE completed CodeOps phase diff for monetary-correctness defects — idempotency of money-moving operations, duplicate-submission and double-spend windows, rounding and precision, atomicity and rollback on partial failure, reconciliation, audit-trail completeness, negative and overflow amounts, currency and unit…

blendsdk/claude-codeops · 142 tokens

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use cfo for cross-cutting financial strategy.

jikig-ai/soleur · 69 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens