position-sizing
Skill14 starsChanged 9 months agoMITView on GitHub
Use when the user needs a conservative position size from account equity, risk budget, entry, stop, and trading friction before entering a trade.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- IngAs8/ClaudeSkilltheir own version, first seen Sep 28, 2026
- SKE-Labs/agent-trading-skillstheir own version, first seen Jul 18, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- brainbytes-dev/everything-claude-tradingtheir own version, first seen Mar 14, 2026
- agiprolabs/claude-trading-skillstheir own version, first seen Mar 11, 2026
- Bhala-Srinivash/nse-trading-skillstheir own version, first seen Mar 5, 2026
Used with
Projects with it also use mean-reversion.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
agiprolabsSkillmean-reversion
Mean-reversion strategy tools including Hurst exponent, half-life estimation, z-score signals, ADF testing, and Ornstein-Uhlenbeck modeling
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- agiprolabs/claude-trading-skills★ 408same name
- Bhala-Srinivash/nse-trading-skills★ 39same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- brainbytes-dev/everything-claude-trading★ 19same name
- SKE-Labs/agent-trading-skills★ 17same name
- IngAs8/ClaudeSkill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- catalyst-mapSkill
- watchlist-reviewSkill
- etoroSkill
- earnings-previewSkill
- macro-event-analysisSkill
- market-regime-analysisSkill
- position-managementSkill
- journal-pattern-analyzerSkill
- post-trade-reviewSkill
- evidence-gap-checkSkill
- thesis-validationSkill
- execution-plan-checkSkill
- portfolio-concentrationSkill
- risk-reward-sanity-checkSkill
- earnings-trade-prepSkill
- portfolio-risk-reviewSkill
- post-trade-debriefSkill
- pre-trade-checkSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill before entering a trade when you need a defensible size instead of a gut-feel size.
- Distinctive: line 22
Use it when the user has a trade idea and needs to know:
- Distinctive: line 40
If any key input is missing, state what is missing and stop rather than invent it.
- Distinctive: line 45
Add user-provided friction assumptions if they materially increase realized risk.
- Distinctive: line 50
Use references/methodology.md for sizing conventions and caveats.
- Distinctive: line 56
Prefer this output order:
- Distinctive: line 72
Do not imply the size is "safe" just because it fits the arithmetic.
- Distinctive: line 76
do not promise that a mathematically valid size is strategically appropriate
- Distinctive: line 77
do not ignore contract multipliers or event risk when they materially change exposure
- Distinctive: line 78
do not replace the need for liquidation planning in fast or illiquid markets
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Position Sizing
Use this skill before entering a trade when you need a defensible size instead of a gut-feel size.
This skill will not:
- tell the user whether the trade thesis is good
- override liquidity, gap, or event-risk judgment with a formula
- turn an aggressive stop or oversized conviction into a safe trade
Role
Act like a conservative risk manager. Survival comes before conviction.
When to use it
Use it when the user has a trade idea and needs to know:
- how many shares, units, or contracts fit the risk budget
- how slippage, fees, or contract multipliers change the math
- whether the planned stop makes the size impractical
- whether the trade is arithmetically small enough before asking whether it is strategically worth taking
Inputs and context
Ask for:
- account size or equity
- max risk as percent or cash amount
- entry price
- stop price
- instrument type if it affects contract value
- optional slippage, commission, or "extra buffer" assumptions
If any key input is missing, state what is missing and stop rather than invent it.
Analysis process
- Compute the per-unit risk from entry to stop.
- Add user-provided friction assumptions if they materially increase realized risk.
- Compute the maximum position size that stays inside the risk budget.
- Report the rounded-down size, estimated total risk, and any caveats.
- Flag cases where the stop is too tight, too wide, or structurally unclear.
Use references/methodology.md for sizing conventions and caveats. Use assets/trade-plan-template.md when the user wants a reusable planning format.
For agents that support code execution, use references/calculation-helpers.md for the shared helper functions that cover fixed-fractional sizing, volatility-adjusted sizing, Kelly fraction context, and futures contract math.
Output structure
Prefer this output order:
Inputs UsedSizing MethodSizing MathPosition RecommendationRisk Caveats
Always include:
- position size
- total dollar risk
- percent of account at risk
- assumptions used
- caveats about slippage, gaps, leverage, or contract multipliers
Do not imply the size is "safe" just because it fits the arithmetic.
Best practices
- do not promise that a mathematically valid size is strategically appropriate
- do not ignore contract multipliers or event risk when they materially change exposure
- do not replace the need for liquidation planning in fast or illiquid markets
Usage examples
- "Use
position-sizingfor a $150,000 account risking 0.4% on a long entry at 84.20 with a stop at 81.90 and 0.10 slippage." - "Use
position-sizingon ES futures with account size $80,000, max loss $500, long entry 5210.25, and stop 5199.75."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

