RiskModels_API: Skill for Cursor

.cursor/skills/risk-judgment-shape/SKILL.md

risk-judgment-shape is a skill for Cursor from BlueWaterCorp/RiskModels_API. It costs 73 tokens per session (2,084 once invoked), scanned A, original, Apache-2.0.

A boundary rule for keeping plain-language risk judgments in a private interpretation layer while the public API exposes data, calculations, and neutral shapes.

In plain words
What is it for?
It guides changes involving risk descriptions, rankings, exposure labels, chart snapshots, API responses, and interpreted outputs.
Why use it?
It prevents stock or portfolio opinions from being mixed into code that is meant to provide reusable data and chart information.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is BlueWaterCorp/RiskModels_API's own configuration. It tells Cursor how to work on RiskModels_API itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything RiskModels_API configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BlueWaterCorp/RiskModels_API. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BlueWaterCorp/RiskModels_API/main/.cursor/skills/risk-judgment-shape/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BlueWaterCorp/RiskModels_API

Made for: Cursor.

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 risk-judgment-shape

README.md
[![agentmods](https://agentmods.dev/badge/skills/bluewatercorp/riskmodels_api/risk-judgment-shape/github.svg)](https://agentmods.dev/skills/bluewatercorp/riskmodels_api/risk-judgment-shape)
Your own site
<a href="https://agentmods.dev/skills/bluewatercorp/riskmodels_api/risk-judgment-shape"><img src="https://agentmods.dev/badge/skills/bluewatercorp/riskmodels_api/risk-judgment-shape/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 risk-judgment-shape

Your own site · 80×15
<a href="https://agentmods.dev/skills/bluewatercorp/riskmodels_api/risk-judgment-shape"><img src="https://agentmods.dev/badge/skills/bluewatercorp/riskmodels_api/risk-judgment-shape.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,084 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 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.00073 $0.02084
Opus 5.5 $0.00029 $0.00834
Sonnet 5.5 $0.00015 $0.00417
Haiku 4.5 $0.00007 $0.00208

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

Security

Grade A, and why

risk-judgment-shape 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 2mo 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.

.cursor/skills/risk-judgment-shape/SKILL.md · 171 lines

How it starts

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

Risk Judgment — public boundary

What this skill protects

The bwmacro/RiskModels stack centralizes risk interpretation (turning raw ERM3 outputs into qualified, PM-readable language) into a single engine that lives privately in BWMACRO. RiskModels_API is the public layer — data, math, chart primitives — and must not contain the editorial vocabulary that the engine produces.

If you are about to write a string like:

  • "Strong Residual Alpha", "Solid Residual Quality", "Muted", …
  • "performance is beta-driven", "returns are driven by idiosyncratic exposure", …
  • "ranks near the top of the cohort", "sits near the cohort median", …
  • "High Systematic Exposure", "Underperforming SMH", …

… STOP. That is editorial vocabulary. It belongs in BWMACRO, not here.

When this skill applies

  • Any change to a snapshot renderer (sdk/riskmodels/snapshots/*.py).
  • Any change to API route handlers under app/api/ that surface natural-language descriptions of risk.
  • Any change to MCP tools that return "interpreted" output.
  • Any new feature that classifies a stock or portfolio into a state (driver = systematic / balanced / idiosyncratic, quality = strong / solid / muted, etc.).

The contract — public side (this repo)

The single public surface for interpretation in this repo is sdk/riskmodels/interpretation.py. It exports:

Symbol Purpose
Judgment Frozen dataclass — the contract every consumer reads. Fields: version, as_of, ticker, features, text, states, flags.
INTERPRETER_VERSION Schema version. Bumped when the public feature dictionary changes shape.
compute_features(data) -> dict Pure numeric extraction from a DDData. No qualifiers, no thresholds. Both the bland stub and the BWMACRO engine consume this.
derive_default_judgment(data) -> Judgment Bland public stub. text fields are raw numerics only ("AAPL — systematic 39%, residual +1.9%, peer rank 78") — no qualifiers, no editorial.

Read the full file on GitHub · 171 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. 2mo ago First seen · 171 lines · 73 tokens per session scan A 68311b805936

Subscribe to this mod's changes

risk-judgment-shape is a skill published in the GitHub repository BlueWaterCorp/RiskModels_API (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 73 tokens to every session and 2,084 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

recipe-daily-pnl-report

Generate a daily profit and loss summary from trades and balances.

krakenfx/kraken-cli · 19 tokens