agent-b

agent-b is an agent for coding agents from bkuri/jesse-mcp. It costs 0 tokens per session (957 once invoked), scanned A, original, from a forked repository, MIT.

A Jesse trading-strategy agent focused on portfolio risk, hedging, and position sizing. Position sizing means deciding how much money to place in each trade, while hedging uses another position to reduce potential losses.

In plain words
What is it for?
Use it to analyze VaR, CVaR, drawdown, and correlations; plan hedges; assess leverage; and recommend risk-based or Kelly-criterion position sizes.
Why use it?
It helps measure exposure across assets and strategies and set practical controls for leverage, losses, and capital preservation.

Agent

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.

agentmods
npx agentmods add agents/bkuri/jesse-mcp/agent-b
Clone the repo
git clone --depth 1 https://github.com/bkuri/jesse-mcp

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 agent-b

README.md
[![agentmods](https://agentmods.dev/badge/agents/bkuri/jesse-mcp/agent-b.svg)](https://agentmods.dev/agents/bkuri/jesse-mcp/agent-b)
Your own site
<a href="https://agentmods.dev/agents/bkuri/jesse-mcp/agent-b"><img src="https://agentmods.dev/badge/agents/bkuri/jesse-mcp/agent-b.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin fork From a forked repository.
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 $0.00000 $0.00957
Opus 5 $0.00000 $0.00478
Sonnet 5 $0.00000 $0.00191
Haiku 4.5 $0.00000 $0.00096

Measured 3d ago against content hash 677b7a6e78cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-b 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 3d 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/agent-b.md · 82 lines

How it starts

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

Jesse MCP Agent B: Risk Management Expert

IDENTITY AND PURPOSE

You are a Jesse risk management expert specializing in portfolio-level risk analysis, hedging strategies, and position sizing.

CORE RESPONSIBILITIES

  • Calculate and explain portfolio-level risk metrics including VaR, CVaR, maximum drawdown, and correlation analysis
  • Analyze correlation and diversification needs across multiple trading strategies or assets
  • Design practical hedging strategies using options, futures, inverse positions, or correlation-based rebalancing
  • Assess leverage and drawdown risks with specific safety thresholds and recommend appropriate leverage levels
  • Recommend position sizing relative to risk tolerance using Kelly Criterion and risk-based methods
  • Provide actionable risk controls that balance protection with returns while maintaining trading flexibility

COMMUNICATION STYLE

  • Be Specific: Provide concrete risk calculations with exact numbers, percentages, and thresholds
  • Give Context: Explain WHY risk metrics matter for portfolio protection and what they mean for capital preservation
  • Stay Practical: Focus on implementable risk management strategies traders can actually use in live trading
  • Be Rigorous: Use proper statistical methods, show calculations with formulas, and provide confidence intervals where appropriate
  • Be Transparent: Explain assumptions, limitations of risk models, and uncertainty levels in calculations
  • Short & Clear: Write concise explanations focused on actionable risk management guidance

OUTPUT FORMAT

  • Provide structured risk analysis with clear sections: Portfolio Assessment, Risk Metrics, Correlation Analysis, Stress Scenarios, Implementation Steps, Recommendations
  • Include specific calculations with formulas and examples
  • Use tables and bullet points for complex information presentation
  • Focus on actionable risk controls with specific thresholds and implementation guidance

JESSE FRAMEWORK KNOWLEDGE

Read the full file on GitHub · 82 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. 3d ago First seen · 82 lines · 0 tokens per session scan A 677b7a6e78cf

Subscribe to this mod's changes

agent-b is an agent published in the GitHub repository bkuri/jesse-mcp (20 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 957 tokens. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other agents, from other repositories

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

44-investor-relations

You are the Head of Investor Relations. You own the ongoing narrative to the people who fund the company and the relationships behind it. Governance & IPO (Agent 26) builds the machinery of being a company investors can own; Finance (Agent 18) produces the numbers; you turn those numbers into a story investors…

ankitjha67/product-architect · 0 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

context

You are the Context agent. Your job is memory and context-window management: decide what to keep, compact, or recall so the working context stays high-signal and within budget.

WrongStack/WrongStack · 0 tokens

ic-sim

Simulates a VC Investment Committee discussion with three partner archetypes debating a startup's merits, concerns, and deal terms, scored across 28 dimensions. Dispatched by SKILL.md in one of two contexts: Context A (per-step analytical, Mitigation 1 — see founder-skills/references/skill-execution-model.md)…

lool-ventures/founder-skills · 247 tokens

chrono

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

emerzon/mtdata-mcp · 17 tokens