Agent skill

Trader Risk

by ruvnet in ruvnet/ruflo

Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status

MITAuto-check: notes

Install Trader Risk

skills CLI
$ npx skills add ruvnet/ruflo --skill trader-risk -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo trader-risk --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-neural-trader/skills/trader-risk .claude/skills/trader-risk && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
trader-risk
GitHub stars
74k
Used in
1 other repo
Token cost
~358 tokens
SKILL.md length
76 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status

  • Works in 6 steps: Ensure neural-trader is available → Run risk assessment → Calculate position sizing → …
  • Calls npx and npm

What it does

Trader Risk is an agent skill from ruvnet/ruflo. Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

Example prompts

  • “/trader-risk”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Bash, Read, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Ensure neural-trader is available
  2. Run risk assessment
  3. Calculate position sizing
  4. Check circuit breaker status
  5. Present: risk metrics, position sizing recommendation, active breakers, alerts
  6. Store assessment

What it can do on your machine

Read from SKILL.md and the folder at commit 6051f67. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • mcp__plugin_ruflo-core_ruflo__memory_store
    • mcp__plugin_ruflo-core_ruflo__memory_search

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Trader Risk loads about 358 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 76 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~358

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6051f67, republished under its MIT licence (© ruvnet). 76 words, ~358 tokens.

Download SKILL.mdSave it as .claude/skills/trader-risk/SKILL.md (or your agent's skills folder).
name
trader-risk
description
Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status
allowed-tools
Bash, Read, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search
argument-hint
[--symbol TICKER] [--portfolio NAME]

Assess portfolio and position risk using neural-trader's risk engine.

Steps:

  1. Ensure neural-trader is available: npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader
  2. Run risk assessment:
    bash
    # Single position
    npx neural-trader --risk assess --symbol TICKER
    npx neural-trader --var --symbol TICKER --investment 10000
    
    # Portfolio-wide
    npx neural-trader --risk assess --portfolio NAME
    npx neural-trader --correlation --portfolio NAME --flag-threshold 0.8
  3. Calculate position sizing:
    bash
    npx neural-trader --risk-tolerance 0.02 --symbol TICKER
    npx neural-trader --position-sizing kelly --symbol TICKER
  4. Check circuit breaker status:
    • Daily loss limit (3%), weekly loss limit (5%)
    • Correlation spike (>0.85), volatility regime (VIX > 2x)
    • Max positions, single-name concentration (>10%)
  5. Present: risk metrics, position sizing recommendation, active breakers, alerts
  6. Store assessment: mcp__plugin_ruflo-core_ruflo__memory_store({ key: "risk-TICKER-DATE", value: "RISK_METRICS", namespace: "trading-risk" })

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-neural-trader/skills/trader-risk of ruvnet/ruflo.

Open the folder on GitHubat commit 6051f67

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Trader Risk next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Trader Risk compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Trader Risk this skillruvnet/ruflo74k1 repos~358Automated safety check: NotesMIT
Conducting Cyber Risk Assessment With Nist 800 30mukul975/Anthropic-Cybersecurity-Skills34k—~2.5kAutomated safety check: PassApache-2.0
Portfolio Risk Metricswshobson/agents40k13 repos~502Automated safety check: PassMIT
Climate Risk Assessmentmohitagw15856/pm-claude-skills1.4k—~1.6kAutomated safety check: PassMIT
Feature Risk Assessmentanthropics/claude-for-legal9.6k2 repos~2.2kAutomated safety check: PassApache-2.0
Risk Measurement and Stress TestingHKUDS/Vibe-Trading35k—~3.8kAutomated safety check: PassMIT

Similar skills

  • Conducting Cyber Risk Assessment With Nist 800 30

    mukul975/Anthropic-Cybersecurity-Skills

    Conduct a defensible cybersecurity risk assessment using the NIST SP 800-30 Rev 1 methodology: prepare scope and a risk model, identify threat sources and threat events, identify vulnerabilities and…

    34k GitHub stars~2.5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Portfolio Risk Metrics

    wshobson/agents

    Covers portfolio risk measurement with VaR, CVaR, Sharpe, Sortino and drawdown, plus guidance on limits, stress tests and tail risk.

    40k GitHub starsUsed in 13 repos~502 tokens
    Business, Finance & HRAuto-check passed
  • Climate Risk Assessment

    mohitagw15856/pm-claude-skills

    Assess physical and transition climate risk for a site, product, or portfolio with scenario-based structure.

    1.4k GitHub stars~1.6k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Feature Risk Assessment

    anthropics/claude-for-legal

    Official

    Deeper risk assessment for a single feature or product area when the launch review found something that needs more than a line item.

    9.6k GitHub starsUsed in 2 repos~2.2k tokens
    Legal & ComplianceAuto-check passed
  • Measures portfolio and backtest risk with VaR, CVaR, maximum drawdown, Monte Carlo simulation, tail modeling and stress tests, using one tested risk module.

    35k GitHub stars~3.8k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Legal Risk Assessment

    THUYRan/Legal-Skills-Chinese

    Assess an enterprise’s regulatory penalty risk across four dimensions: licensing/qualifications, compliance with regulatory rules, and historical penalty/credit records.

    868 GitHub stars~3.1k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 3 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Questions about Trader Risk

What does Trader Risk do?

Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status. Trader Risk is an agent skill from ruvnet/ruflo.

How do I install Trader Risk in Claude Code?

Run `npx skills add ruvnet/ruflo --skill trader-risk -a claude-code`. Or copy the skill folder (plugins/ruflo-neural-trader/skills/trader-risk in ruvnet/ruflo) into .claude/skills/trader-risk in your project. Claude Code loads it when a task matches its description.

How do I install Trader Risk in Codex?

Run `npx skills add ruvnet/ruflo --skill trader-risk -a codex`. Or copy the skill folder (plugins/ruflo-neural-trader/skills/trader-risk in ruvnet/ruflo) into .agents/skills/trader-risk in your project. Codex loads it when a task matches its description.

Can I use Trader Risk in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill trader-risk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trader-risk, .gemini/skills/trader-risk, .github/skills/trader-risk and .opencode/skills/trader-risk in your project.

What does Trader Risk need to run?

Going by SKILL.md and its folder, Trader Risk needs the command-line tools its instructions call (npx and npm). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash, Read, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search.

Does Trader Risk access the network?

SKILL.md contains no URLs. Its commands use npx and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Trader Risk safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Trader Risk use?

Trader Risk is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Trader Risk use?

About 358 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Trader Risk?

Skills that share tags, products or a category with Trader Risk: Conducting Cyber Risk Assessment With Nist 800 30 (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Portfolio Risk Metrics (wshobson/agents, 40k stars), Climate Risk Assessment (mohitagw15856/pm-claude-skills, 1.4k stars) and Feature Risk Assessment (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trader Risk?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,089 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 8, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.