ic-memo

ic-memo is a command for Claude Code from equity-rigor/us-equity-research. It costs 93 tokens per session (1,372 once invoked), scanned A, original, MIT.

A command for creating an investment research memo on a US-listed company. It gathers research, compares possible business outcomes, estimates value in several ways, and checks the work against defined review rules.

In plain words
What is it for?
Use it to research a stock ticker, build a long, short, or pair-trade thesis, and produce a reviewed buy-side investment memo.
Why use it?
It organizes a detailed stock analysis and checks its evidence, assumptions, scenarios, and valuation before producing the memo.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the us-equity-ic-rigor plugin — 1 skill, 2 commands shipped together

Good fit Use it to research a stock ticker, build a long, short, or pair-trade thesis, and produce a reviewed buy-side investment memo.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add equity-rigor/us-equity-research
Claude Code
/plugin install us-equity-ic-rigor

Made for: Claude Code.

Or install us-equity-ic-rigor, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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 ic-memo

README.md
[![agentmods](https://agentmods.dev/badge/commands/equity-rigor/us-equity-research/ic-memo.svg)](https://agentmods.dev/commands/equity-rigor/us-equity-research/ic-memo)
Your own site
<a href="https://agentmods.dev/commands/equity-rigor/us-equity-research/ic-memo"><img src="https://agentmods.dev/badge/commands/equity-rigor/us-equity-research/ic-memo.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00093 $0.01372
Opus 5 $0.00046 $0.00686
Sonnet 5 $0.00019 $0.00274
Haiku 4.5 $0.00009 $0.00137

Measured 8d ago against content hash 88121defa865, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ic-memo scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl *)
us-equity-ic-rigor/commands/ic-memo.md · 54 lines

How it starts

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

Load the us-equity-ic-rigor skill and begin the IC memo build pipeline on the ticker provided.

If a ticker is provided as the first argument, use it. Otherwise ask the user which name and what thesis direction (long, short, or pair-trade structure).

Workflow per SKILL.md Phases 0-3:

Phase 0 — delegate to us-equity-research (run /us-equity-research:research {TICKER} first if those outputs don't already exist in outputs/). Phase 0 produces raw research; do not skip.

Phase 1 — source stratification gate. Every specific number must be classified S1 (audited 10-K/20-F), S2 (unaudited filing: 10-Q/8-K/DEF 14A/S-1/13D/13F/Form 4/6-K), S3 (earnings call transcript / mgmt guidance / Investor Day), S4 (sell-side consensus median + dispersion — not mean), S5 (alt-data/expert network with provider + methodology + sample + freshness), or Pending (do NOT promote to headline anchor). G7 hard rule: if any of the top-3 anchors is S3 or weaker, headline must be source-conditional.

Phase 2 — five-scenario probabilistic framework (strong_bear / bear / base / bull / strong_bull). Probabilities must sum to 1.00 (G4 enforces). Bear bridge must reconcile to base via line-item delta walk (G5).

Phase 3 — three-method valuation reconcile: DCF + Comps + multi-multiple bear floor + SOTP (per D8 sector branching — P/E mature, EV/EBITDA leveraged, EV/ARR + Rule of 40 SaaS, P/B + ROE banks, P/AFFO + NAV REITs, NPV pipeline biotech, P/AUM asset managers). EPS × multiple rows must multiply exactly (G1). Segment GM must reconcile to consolidated within tolerance per gm-taxonomy-us.md (G2 — ±50bp industrials, ±5bp banks NIM per D24). SOTP NI ≤ Pre-Tax ≤ PPNR ≤ Total Revenue (G3 monotonicity). Mandatory quant overlay per D13 — Barra factor exposure (Value/Quality/Momentum/Growth/Size/Low-Vol/Liquidity) per G13, capacity/days-to-exit at 10/20/30% ADV per G14. v0.2.0+ also requires consensus variance disclosure (G15), bank discipline if sector=Banks (G16), and revision velocity (G17). v0.3.0+ requires quant cross-doc consistency (G18), provenance manifest (G19), and view defensibility (G20) for any score claim above 8.5.

Output (v0.5.0+ consolidated convention): at the end of Phase 3, write these files to outputs/:

  • {TICKER}_IC_memo.md — institutional Markdown memo, English-only per D4
  • {TICKER}_structured.json — consolidated structured representation containing memo_metadata, recommendation, source_tags, scenarios, consensus_variance, quant_overlay, gm_taxonomy, bear_eps_bridge, what_would_reverse, position_sizing, and any other domain-specific blocks (banks, biotech, REITs). All sub-objects live inline in this single JSON file rather than in separate sidecar files.
  • {TICKER}_manifest.json — provenance manifest written by ${CLAUDE_PLUGIN_ROOT}/scripts/write_manifest.py containing run_id, phase_timing, agent_provenance (≥15 agents per D9), web_search_log (≥12 entries per D9), verification_calls_count, output file SHA-256 hashes, attacker_model + isolation flag for R-v2.

(The prior v0.4.x convention of separate _source_tags.json and _scenarios.json sidecar files is grandfathered for backward compatibility; v0.5.0+ memos use the consolidated structure.)

After the Markdown + structured JSON + manifest are written, run all 20 verification gate scripts (${CLAUDE_PLUGIN_ROOT}/scripts/verify_*.py) against the structured JSON. Write the gate-run audit trail to outputs/{TICKER}_verification_gates.json conforming to ${CLAUDE_PLUGIN_ROOT}/schemas/verification_gates.json. Report pass/fail per gate. If any gate fails, fix and re-run before declaring the memo done.

If a verifier script cannot be reached (file not found, permission denied, import error), DO NOT degrade to LLM-analytical gate evaluation. STOP, report the error to the user with the exact command and exact error message, and follow the SKILL.md anti-degradation preamble protocol.

Then prompt the user: "Run /us-equity-ic-rigor:red-team {TICKER} to score this memo against the PM rubric?"

Read the full file on GitHub · 54 lines

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. 8d ago First seen · 54 lines · 93 tokens per session scan A 88121defa865

Subscribe to this mod's changes

ic-memo is a command published in the GitHub repository equity-rigor/us-equity-research (4 stars, last pushed 1mo ago), licensed MIT. It adds 93 tokens to every session and 1,372 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.