deploy-gate

deploy-gate is a skill for Claude Code, Codex from austin-starks/Public-Portfolio-Challenge. It costs 98 tokens per session (935 once invoked), scanned A, original, MIT.

A gated deployment procedure for making a live NexusTrade trading book match a selected finalist strategy. A live book is the set of strategies and orders currently used for trading.

In plain words
What is it for?
It clones the named finalist, checks the clone, previews the position differences, stages unapproved orders, and verifies fills—but only after the human says “deploy + clean up” and names the finalist.
Why use it?
It adds human approval and checks before deployment, helping prevent stale data, unwanted pending orders, or incorrect position changes from reaching the live book.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It clones the named finalist, checks the clone, previews the position differences, stages unapproved orders, and verifies fills—but only after the human says “deploy + clean up” and names the finalist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/austin-starks/public-portfolio-challenge/deploy-gate
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 austin-starks/Public-Portfolio-Challenge --skill deploy-gate
Clone the repo
git clone --depth 1 https://github.com/austin-starks/Public-Portfolio-Challenge

Made for: Claude Code, Codex.

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 deploy-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/deploy-gate/github.svg)](https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/deploy-gate)
Your own site
<a href="https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/deploy-gate"><img src="https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/deploy-gate/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 deploy-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/deploy-gate"><img src="https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/deploy-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 49
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00098 $0.00935
Opus 5 $0.00049 $0.00467
Sonnet 5 $0.00020 $0.00187
Haiku 4.5 $0.00010 $0.00093

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

Security

Grade A, and why

deploy-gate 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (install.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/deploy-gate/SKILL.md · 63 lines

How it starts

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

Deploy Gate (Stage E — GATED)

Nothing deploys and no orders are placed until the human explicitly says "deploy + clean up" and names the specific finalist. This skill only runs then. Goal: make the live positions equal a fresh deploy of the chosen finalist today via delta trades (don't round-trip overlaps).

Pre-deploy gates (hard)

  1. Signal-freshness gate. A finalist whose alt-data series does not extend to the present with a working refresh path may NOT deploy, whatever its cert says — a stale rank series is a dead book.
  2. Stale pending orders FIRST. Check the live book for pending/Pending User Approval → Canceled orders — they block new staging. Surface them; the human cancels in the UI. Note automaticOrderApproval state (default: leave as-is unless told to flip it at deploy).

The five steps

  1. Clone the finalist onto the live book FIRSTclone_strategies_to_portfolio (source = finalist, target = live book), then field-verify the clone. This IS the "deploy": it sets the live book's strategies that the next step reconciles against. reconcile_portfolio_to_strategy has no strategy_source arg — it reconciles the live book against its own strategies, so the clone must happen first. If the finalist is the already-deployed live book unchanged, no clone is needed — say so.
  2. Reconcile previewreconcile_portfolio_to_strategy({ portfolio_id: "<live>", mode: "delta" }). Preview-only — it never places orders. Returns target, current, orders (already in create_orders shape), estimated cost, realized P&L, and wash-sale flags. Expect a single-tick target — the live strategy accretes the rest over daily rebalances. Say so; don't re-diagnose it as a bug.
  3. Show the human the preview and get explicit approval. Sanity-check: orders touch only the delta (overlaps untouched), costs sane, target == a fresh deploy, and — for a participation fix — the target spans multiple names, not just one.
  4. Stage the orderscreate_orders({ portfolio_id: "<live>", orders: <the orders array from step 2> }). Staged UNAPPROVED; the tool never submits to the broker. The human approves them manually in the NexusTrade UI — there is no approval tool and you cannot approve them. Options auto-stage as LIMIT.
  5. Verify after fills — re-run the reconcile preview; the delta orders array should be ~empty. Report fills, any remainder, realized P&L, wash-sale flags, and the resulting live participation (distinct names held).

Read the full file on GitHub · 63 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 63 lines · 98 tokens per session scan A a518f3d8ddc6

Subscribe to this mod's changes

deploy-gate is a skill published in the GitHub repository austin-starks/Public-Portfolio-Challenge (44 stars, last pushed 2d ago), licensed MIT. It adds 98 tokens to every session and 935 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

correlation-analysis

Correlation and cointegration analysis — co-movement discovery, deep return-correlation analysis, sector clustering, realized correlation, Engle-Granger / Johansen cointegration, half-life, Kalman dynamic hedge ratio, cross-market linkage analysis, and pair-trading signal generation.

HKUDS/Vibe-Trading · 57 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

ashare-pre-st-filter

An A-share China stock risk checker that forecasts whether a company may receive an ST or *ST warning in the next financial year. ST labels are Chinese exchange warnings for companies facing specified financial or regulatory problems.

HKUDS/Vibe-Trading · 89 tokens

credit-analysis

A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.

HKUDS/Vibe-Trading · 36 tokens

etf-analysis

A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.

HKUDS/Vibe-Trading · 39 tokens