agentleFS
yaojingangyaojingang/yao-open-skills/skills/yao-kelly-skill/SKILL.md

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

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the yaojingang/yao-open-skills repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

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.

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
  1. Distinctive:

    start with incomplete input, give a provisional view early, then ask only the minimum high-impact follow-up questions

    line 13
  2. Distinctive:

    keep a round-by-round log for the current case and an append-only change log for future edits to this skill

    line 15
  3. Very specific:

    Use references/intake-contract.md to identify the user's real resource pool, decision question, minimum action unit, review window, and …

    line 26
  4. Very specific:

    If the input is incomplete, read references/multi-turn-kelly-loop.md:

    line 27
  5. Very specific:

    ask only 1-3 questions that can materially change the result

    line 28
  6. Distinctive:

    stop asking when the threshold is met or the action class is already stable

    line 30
  7. Distinctive:

    use it when downside is bounded, the opportunity can be tested or repeated, and probabilities can be approximated

    line 32
  8. Very specific:

    Use references/kelly-sizing-playbook.md to choose the formula path:

    line 34
  9. Very specific:

    Run scripts/kelly_allocation_report.py for canonical JSON sizing output.

    line 38
  10. Very specific:

    Run scripts/generate_html_report.py when the user wants a polished standalone HTML report or PDF-ready artifact.

    line 39
  11. Very specific:

    Use references/output-contract.md to produce a practical allocation report:

    line 40
  12. Distinctive:

    add, stop, and review conditions

    line 45
  13. Very specific:

    Use references/logging-contract.md to maintain:

    line 46
  14. Very specific:

    default to fractional Kelly, not full Kelly

    line 53
  15. Distinctive:

    never make the formula the main product.

    line 54
  16. Distinctive:

    if correlation across opportunities is unknown, shrink exposure instead of assuming independence

    line 56
  17. Very specific:

    if the edge is negative, fragile, or mostly assumption-driven, recommend no allocation, observe, or run a cheap test first

    line 57
  18. Distinctive:

    always translate the final fraction into the smallest next action the user can actually do

    line 58
  19. Distinctive:

    stop asking once more questions are unlikely to change the action class

    line 60
  20. Very specific:

    every future edit to this skill must append a dated note to history/CHANGELOG.md

    line 61
  21. Very specific:

    prefer HTML + JSON when the user wants a report artifact.

    line 66

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Use references/intake-contract.md to identify the user's real resource pool, decision question, minimum action unit, review window, and opportunity candidates.
  2. If the input is incomplete, read references/multi-turn-kelly-loop.md:
    • ask only 1-3 questions that can materially change the result
    • recalculate decision_readiness after every round
    • stop asking when the threshold is met or the action class is already stable
  3. 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
  4. Use references/kelly-sizing-playbook.md to 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
  5. Run scripts/kelly_allocation_report.py for canonical JSON sizing output.
  6. Run scripts/generate_html_report.py when the user wants a polished standalone HTML report or PDF-ready artifact.
  7. Use references/output-contract.md to produce a practical allocation report:
    • resource snapshot
    • fit assessment
    • minimum action packages
    • Kelly sizing cap
    • add, stop, and review conditions
  8. Use references/logging-contract.md to maintain:
    • the case round log for the current user request
    • the append-only iteration log in history/CHANGELOG.md whenever this skill package changes
  9. Apply references/safety-and-scope.md before finalizing.

Core Rules

  • default to fractional Kelly, not full Kelly
  • never make the formula the main product; the main product is a resource allocation action plan
  • mark each key number as observed, estimated, or assumed
  • 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, or run 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 + JSON when 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.