yao-kelly-skill
Skill1.3k starsChanged 7 months agoMITView on GitHub
Turn uncertain resource-allocation requests into practical action plans using Kelly sizing as a conservative allocation engine. Use when a user needs to decide whether an opportunity is suitable for Kelly, what minimum action package to run, how much resource to cap, when to add or stop, and how to review results. Do not use for pure formula tutoring, guaranteed-return claims, martingale escalation, or final licensed investment, legal, or tax advice.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about yaojingang/yao-open-skills
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
In this repository18 other files it gives its agents.
- yao-codereview-hskillSkill
- yao-knowledge-hskillSkill
- yao-techselect-hskillSkill
- yao-bayesian-skillSkill
- yao-business-skillSkill
- yao-cold-ledger-skillSkill
- yao-copyright-skillSkill
- yao-crux-skillSkill
- yao-demand-skillSkill
- yao-doctor-skillSkill
- yao-expert-skillSkill
- yao-gametheory-skillSkill
- yao-interpreter-skillSkill
- yao-open-skills-syncSkill
- yao-positioning-skillSkill
- yao-tutorial-skillSkill
- yao-websecurity-skillSkill
- yao-weread-skillSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 9 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
start with incomplete input, give a provisional view early, then ask only the minimum high-impact follow-up questions
- Distinctive: line 15
keep a round-by-round log for the current case and an append-only change log for future edits to this skill
- Very specific: line 26
Use references/intake-contract.md to identify the user's real resource pool, decision question, minimum action unit, review window, and …
- Very specific: line 27
If the input is incomplete, read references/multi-turn-kelly-loop.md:
- Very specific: line 28
ask only 1-3 questions that can materially change the result
- Distinctive: line 30
stop asking when the threshold is met or the action class is already stable
- Distinctive: line 32
use it when downside is bounded, the opportunity can be tested or repeated, and probabilities can be approximated
- Very specific: line 34
Use references/kelly-sizing-playbook.md to choose the formula path:
- Very specific: line 38
Run scripts/kelly_allocation_report.py for canonical JSON sizing output.
- Very specific: line 39
Run scripts/generate_html_report.py when the user wants a polished standalone HTML report or PDF-ready artifact.
- Very specific: line 40
Use references/output-contract.md to produce a practical allocation report:
- Distinctive: line 45
add, stop, and review conditions
- Very specific: line 46
Use references/logging-contract.md to maintain:
- Very specific: line 53
default to fractional Kelly, not full Kelly
- Distinctive: line 54
never make the formula the main product.
- Distinctive: line 56
if correlation across opportunities is unknown, shrink exposure instead of assuming independence
- Very specific: line 57
if the edge is negative, fragile, or mostly assumption-driven, recommend no allocation, observe, or run a cheap test first
- Distinctive: line 58
always translate the final fraction into the smallest next action the user can actually do
- Distinctive: line 60
stop asking once more questions are unlikely to change the action class
- Very specific: line 61
every future edit to this skill must append a dated note to history/CHANGELOG.md
- Very specific: line 66
prefer HTML + JSON when the user wants a report artifact.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Yao Kelly Skill
Use This Skill For
- turn "should I invest, bet, or allocate, and how much?" into a practical resource allocation plan
- decide whether the user's problem is actually suitable for Kelly-style sizing
- translate a percentage into a minimum action package with owner, metric, review window, add condition, and stop condition
- start with incomplete input, give a provisional view early, then ask only the minimum high-impact follow-up questions
- size a single bet or opportunity, or conservatively split a pool across several opportunities
- keep a round-by-round log for the current case and an append-only change log for future edits to this skill
Do Not Route Here
- pure formula tutoring, homework solving, or generic finance education
- requests for guaranteed returns, sure-win systems, or martingale-style escalation
- final licensed investment, legal, or tax advice
- leverage sizing with no bounded downside model
Default Workflow
- Use
references/intake-contract.mdto identify the user's real resource pool, decision question, minimum action unit, review window, and opportunity candidates. - If the input is incomplete, read
references/multi-turn-kelly-loop.md:- ask only
1-3questions that can materially change the result - recalculate
decision_readinessafter every round - stop asking when the threshold is met or the action class is already stable
- ask only
- Decide whether Kelly is suitable:
- use it when downside is bounded, the opportunity can be tested or repeated, and probabilities can be approximated
- switch to a test-first or risk-review answer when the decision is irreversible, one-off, or has unbounded downside
- Use
references/kelly-sizing-playbook.mdto choose the formula path:- binary opportunity: standard Kelly closed form
- scenario-based opportunity: maximize
E[log(1 + f * r)] - multiple opportunities: compute standalone Kelly first, then apply fractional Kelly, dependence haircuts, and total exposure scaling
- Run
scripts/kelly_allocation_report.pyfor canonical JSON sizing output. - Run
scripts/generate_html_report.pywhen the user wants a polished standalone HTML report or PDF-ready artifact. - Use
references/output-contract.mdto produce a practical allocation report:- resource snapshot
- fit assessment
- minimum action packages
- Kelly sizing cap
- add, stop, and review conditions
- Use
references/logging-contract.mdto maintain:- the case round log for the current user request
- the append-only iteration log in
history/CHANGELOG.mdwhenever this skill package changes
- Apply
references/safety-and-scope.mdbefore finalizing.
Core Rules
- default to
fractional Kelly, notfull Kelly - never make the formula the main product; the main product is a resource allocation action plan
- mark each key number as
observed,estimated, orassumed - if correlation across opportunities is unknown, shrink exposure instead of assuming independence
- if the edge is negative, fragile, or mostly assumption-driven, recommend
no allocation,observe, orrun a cheap test first - always translate the final fraction into the smallest next action the user can actually do
- include add, stop, and review conditions so the allocation can improve after real feedback
- stop asking once more questions are unlikely to change the action class
- every future edit to this skill must append a dated note to
history/CHANGELOG.md
Output Contract
- deliver a Kelly application report, not just a formula
- prefer
HTML + JSONwhen the user wants a report artifact; use JSON as the audit source and HTML as the readable hand-back - the report must include:
- recommendation summary and action class
- Kelly fit assessment
- current capital or resource base, protected reserve, risk budget, and translated amount
- minimum action package per opportunity
- full Kelly fraction and conservative Kelly execution cap
- add, stop, and review conditions
- formula path and key assumptions
- why the questioning stopped
- round log
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.

