yaojingang/yao-open-skills

yao-kelly-skill

Turn uncertain resource-allocation requests into practical action plans using Kelly sizing as a conservative allocation engine.

First seen Apr 30, 2026

Installation

$ npx skills add yaojingang/yao-open-skills --skill yao-kelly-skill

Summary

  • 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.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from yaojingang/yao-open-skills · top by installs.

npx skills add yaojingang/yao-open-skills

Browse all from yaojingang/yao-open-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1.3K
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,610 B
  • docs SUMMARY.md 477 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 25 installs

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

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

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

  1. Run scripts/kellyallocationreport.py for canonical JSON sizing output.
  2. Run scripts/generatehtmlreport.py when the user wants a polished standalone HTML report or PDF-ready artifact.
  3. 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

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

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