zenith-execution

zenith-execution is a skill for Claude Code from winstonkoh87/Athena-Public. It costs 55 tokens per session (935 once invoked), scanned A, original, MIT.

A trading calculation workflow for position size, stop-loss levels, simulated outcomes, and portfolio allocation. Monte Carlo simulation means testing many possible sequences of trades to explore a range of results.

In plain words
What is it for?
It helps calculate Half-Kelly position sizes, set structural stop-loss points, simulate trades from given inputs, and rebalance portfolio allocations.
Why use it?
It turns a trade idea into defined risk limits and shows how different outcomes might affect capital before decisions are made.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit It helps calculate Half-Kelly position sizes, set structural stop-loss points, simulate trades from given inputs, and rebalance portfolio allocations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/winstonkoh87/athena-public/zenith-execution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add winstonkoh87/Athena-Public --skill zenith-execution
Clone the repo
git clone --depth 1 https://github.com/winstonkoh87/Athena-Public

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for zenith-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/winstonkoh87/athena-public/zenith-execution/github.svg)](https://agentmods.dev/skills/winstonkoh87/athena-public/zenith-execution)
Your own site
<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/zenith-execution"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/zenith-execution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for zenith-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/zenith-execution"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/zenith-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00935
Opus 5 $0.00028 $0.00467
Sonnet 5 $0.00011 $0.00187
Haiku 4.5 $0.00006 $0.00093

Measured 11d ago against content hash 0c4cd78081d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

zenith-execution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skills/decision/zenith-execution/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ZenithFX Execution Suite (Expanded)

Absorbs: kelly-mandate, stop-loss-calc, monte-carlo-sim, portfolio-rebalancer

Unified quantitative execution skill for High Win-Rate trading systems (Protocol 367).

Triggers

"zenith", "trade setup", "position size", "stop loss", "kelly criterion", "how much to risk", "invalidation point", "simulate", "monte carlo", "rebalance", "portfolio allocation"

Sub-Commands

1. Position Sizing (Half-Kelly)

  1. Demands Win Rate, Reward:Risk, and Total Capital.
  2. Computes Full Kelly (theoretical optimum).
  3. Halves it (Half-Kelly) for psychological variance and execution error.
  4. Hard caps at 10% regardless of edge.

2. Stop-Loss (Structural Invalidation)

  1. Identifies the price where the trade premise is demonstrably false.
  2. Calculates distance between Entry and Invalidation.
  3. Fits pre-determined Capital Risk % into that distance → Position Size.

Rule: A Stop Loss is a structural invalidation point, not an arbitrary budget allowance.

3. Monte Carlo Simulation

Simulates N independent trades through a given structure.

Inputs: Win Rate (%), Risk:Reward, Risk per trade (%), Number of trades (N), Starting capital.

import random

def monte_carlo(wr, rr, risk_pct, n_trades, starting_capital, n_paths=1000):
    results = []
    ruin_count = 0
    max_drawdowns = []
    for _ in range(n_paths):
        equity = starting_capital
        peak = equity
        max_dd = 0
        for _ in range(n_trades):
            if random.random() < wr:
                equity += equity * risk_pct * rr
            else:
                equity -= equity * risk_pct
            peak = max(peak, equity)
            dd = (peak - equity) / peak
            max_dd = max(max_dd, dd)
            if equity <= starting_capital * 0.2:
                ruin_count += 1
                break
        results.append(equity)
        max_drawdowns.append(max_dd)
    results.sort()
    return {
        "median": results[len(results)//2],
        "p5": results[int(len(results)*0.05)],
        "p95": results[int(len(results)*0.95)],
        "max_dd_median": sorted(max_drawdowns)[len(max_drawdowns)//2],
        "ruin_probability": ruin_count / n_paths,
        "double_probability": sum(1 for r in results if r >= starting_capital * 2) / n_paths,
    }

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 111 lines · 55 tokens per session scan A 0c4cd78081d7

Subscribe to this mod's changes

zenith-execution is a skill published in the GitHub repository winstonkoh87/Athena-Public (587 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 935 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.