Skip to content
Agentmart
Submit a tool

yao-kelly-skill

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

Skill by yaojingang

IndexedMIT★ 1,324
Write a review

Chalk Labs

Need help deploying yao-kelly-skill?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yaojingang-yao-kelly-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: finance, legal

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/yao-kelly-skill

What's inside

Skill name
yao-kelly-skill
Description
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.
License
MIT
Instructions
73 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (28)

  • README.md
  • SKILL.md
  • interface.yaml · agents/
  • CHANGELOG.md · history/
  • README.md · logs/
  • manifest.json
  • intake-contract.md · references/
  • kelly-sizing-playbook.md · references/
  • logging-contract.md · references/
  • multi-turn-kelly-loop.md · references/
  • output-contract.md · references/
  • safety-and-scope.md · references/
  • design-summary.md · reports/
  • engineering-hours-brief.json · reports/
  • engineering-hours-output.json · reports/
  • engineering-hours-report.html · reports/
  • example-brief.json · reports/
  • example-html-report.html · reports/
  • example-output.json · reports/
  • internet-product-sprint-brief.json · reports/
  • internet-product-sprint-output.json · reports/
  • internet-product-sprint-report.html · reports/
  • marketing-budget-brief.json · reports/
  • marketing-budget-output.json · reports/
  • marketing-budget-report.html · reports/
  • append_iteration_log.py · scripts/
  • generate_html_report.py · scripts/
  • kelly_allocation_report.py · scripts/

SKILL.md (first lines)

# 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

From yaojingang/yao-open-skills, MIT.

More from yaojingang/yao-open-skills

Signals

Stars
1,324
Forks
144
Open issues
0
Last commit (this folder)
May 4, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yaojingang

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get yao-kelly-skill running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying yao-kelly-skill?

CallGet help
Cite this page

yao-kelly-skill. Agent Mart. https://agentmart.dev/skills/yaojingang-yao-kelly-skill (last updated 2026-10-24)