darvas-box

darvas-box is a skill for Claude Code, Codex from questflowai/investorskills. It costs 31 tokens per session (523 once invoked), scanned A, original, MIT.

A rule-based method for evaluating Nicolas Darvas-style stock breakouts. It looks for a price range, called a box, and studies whether the stock breaks above it with supporting trading volume.

In plain words
What is it for?
Evaluating new-high momentum stocks, defining consolidation boxes, checking breakout volume, identifying buy points above a box, and placing stops below it.
Why use it?
It turns a breakout idea into defined checks for price strength, volume, entry conditions, and stop placement. This gives traders a mechanical way to assess a setup instead of relying only on visual judgment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Evaluating new-high momentum stocks, defining consolidation boxes, checking breakout volume, identifying buy points above a box, and placing stops below it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/questflowai/investorskills/darvas-box
About the project

Investor Skills is an open-source library that organizes investing judgment—such as evaluating opportunities, managing risk, and acting under uncertainty—into structured, reusable instructions for people and AI finance agents. It is designed for studying and applying investment approaches, including inside Questflow and other agent tools. The catalogue includes portable skill packages from the library.

questflowai/investorskills · 1,849 stars · on GitHub · questflow.ai

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.

Any agent
npx skills add questflowai/investorskills --skill darvas-box
Clone the repo
git clone --depth 1 https://github.com/questflowai/investorskills

Made for: Claude Code, Codex.

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 darvas-box

README.md
[![agentmods](https://agentmods.dev/badge/skills/questflowai/investorskills/darvas-box/github.svg)](https://agentmods.dev/skills/questflowai/investorskills/darvas-box)
Your own site
<a href="https://agentmods.dev/skills/questflowai/investorskills/darvas-box"><img src="https://agentmods.dev/badge/skills/questflowai/investorskills/darvas-box/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 darvas-box

Your own site · 80×15
<a href="https://agentmods.dev/skills/questflowai/investorskills/darvas-box"><img src="https://agentmods.dev/badge/skills/questflowai/investorskills/darvas-box.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.00523
Opus 5 $0.00015 $0.00262
Sonnet 5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00052

Measured 12d ago against content hash 68b26826cfbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

darvas-box 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 12d 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.

skills/darvas-box/SKILL.md · 80 lines

How it starts

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

Darvas Box

Use this skill to apply Nicolas Darvas-style box trading: find strong stocks making new highs, define the box, buy breakouts above the box, and place stops below the box.

When To Use

Use this skill when the user asks for:

  • Darvas Box analysis
  • New-high momentum stocks
  • Box breakout buy points
  • Mechanical stop placement below a consolidation box
  • Whether a growth stock is forming a tradable range

Trigger phrases include Darvas, Darvas Box, box breakout, new highs, volume confirmation, stop below the box, and momentum growth stock.

Do Not Use When

  • The stock is not liquid.
  • The stock is not near highs or has no defined box.
  • The user wants low-P/E value analysis.
  • The general market is hostile to growth breakouts.

Inputs Needed

  • Ticker and market
  • Recent daily/weekly OHLCV
  • Box high, box low, number of tests, and breakout volume
  • Market trend and sector strength
  • Risk budget and current position if sizing is requested

Process

  1. Confirm the stock is liquid, strong, and near new highs.
  2. Define the current box high and low.
  3. Check that price has respected the box enough to make the range meaningful.
  4. Treat a decisive move above box high on volume as the buy trigger.
  5. Put the stop below the box or a clearly defined support level.
  6. Move to a new box only after the stock advances and consolidates again.

Output Format

# Darvas Box View: [Stock]

## Verdict
Buy Breakout / Watch Box / Extended / Failed Box / Pass

## Box Definition
- Box high:
- Box low:
- Stop:

## Volume And Relative Strength

## Trade Plan

## Invalidation

## Missing Data

Guardrails

  • Do not buy inside a sloppy box unless the plan allows anticipation.
  • Do not move the stop lower after entry.
  • Do not average down.
  • Do not treat old highs as valid if volume and trend are weak.
  • Do not ignore market direction.

Questflow Use

In Questflow, this skill is best used as a mechanical momentum module for detecting box setups, defining stops, and monitoring breakout failure.

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 80 lines · 31 tokens per session scan A 68b26826cfbb

Subscribe to this mod's changes

darvas-box is a skill published in the GitHub repository questflowai/investorskills (1,849 stars, last pushed 20d ago), licensed MIT. It adds 31 tokens to every session and 523 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

lienfi

Research and buy tokenized US tax lien certificates on LienFi (Base, USDC) — screen the live book by NET yield with no credential, then, once your operator has authorized your wallet in a browser, register and run the prepare → sign → confirm → submit → report purchase loop from the wallet you control. LienFi signs…

BankrBot/skills · 83 tokens

t-invest

A command-line connection to a user’s T-Invest brokerage account, providing portfolio data, market information, calculations, and explicitly requested trades.

nyxandro/t-invest-skill · 147 tokens

serenity-chokepoint-investing

Analyze public equities and sectors using the Serenity-style AI supply-chain chokepoint investing framework. Best for AI infrastructure, semiconductors, optical communications, data center power, storage, cooling, robotics, and industrial supply-chain bottleneck research.

leospark/serenity-chokepoint-investing-skills · 57 tokens

thai-personal-finance-planner

Personal financial planner for Thailand-based users. Use this skill when the user asks for help with budgeting, tax planning involving Thai-specific products (SSF, RMF, Thai ESG, Thai ESGX, Easy E-Receipt), debt strategy at Thai bank rates, retirement planning involving ประกันสังคม (มาตรา 33/39/40), กบข., PVD…

satasuk03/thai-personal-finance-planner · 214 tokens

stock-liquidity

Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…

himself65/finance-skills · 188 tokens

company-valuation

Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth", "valuation of NVDA", "fair value of TSLA"…

himself65/finance-skills · 234 tokens