Operates a virtual A-share strategy experiment desk with Busabase backend, enabling strategy definition, comparison, evidence recording, manual L1/L2/L3 maturity approvals, virtual CNY ledgers per strategy, and dated backtest reports. Read-only, no brokerage connection.
Ships in mr-kelly-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Operate a compact strategy experiment desk. Keep the first screen centered on a large strategy table: concise thesis, maturity label, account NAV, return, benchmark, drawdown, cash, and virtual positions. Open a row for the complete strategy and ledger detail.
Before changing the app:
$kelly-app-skill-creator for product behavior, responsive UI,
and the canonical local content/kelly-invest-stock-app/ artifact.$busabase for connection, target Space, ChangeRequests,
review, and merge behavior.$busabase-app-creator for resource modeling, AirApp runtime,
security, validation, and deployment.references/stock-sdk.md before changing market-data ingestion.If a dependency is unavailable, continue safe local artifact work but stop before the unavailable deployment or Busabase operation. Never create a second persistent backend.
L1.L1, L2, and L3 as manual labels on the whole strategy, never on an
individual stock:
L1: default basic observation;L2: manually marked advanced observation;L3: manually marked high-confidence observation.invest-ui. In this skill,
changing a label never changes execution mode, account type, or capital.[email protected] only in reviewed trusted execution. Browser
code performs no public market fetch.busabase-sdk. Stage changes use a
records.changeRequest update to the strategy record's status field and a
dated approval record containing the human reason and account snapshot. Never
persist stage changes in browser storage or local files.nextCursor until exhaustion and never put transport
pagination in a Base declaration or treat one page as the complete dataset.Keep five application-owned Bases under one application Folder:
strategies: name, key, family, status, thesis, selection rule,
invalidation rule, review cadence, next review time, benchmark, and confidence.ledger-accounts: one virtual account per strategy with nominal capital, NAV,
cash, benchmark return, maximum drawdown, update time, and return baseline date.ledger-positions: virtual quantity, entry price, reference price, market
value, weight, price source/time, strategy key, six-digit A-share code, and
Chinese security name.strategy-backtests: dated strategy-level reports with window start/end,
methodology, coverage, benchmark, total return, CAGR, volatility, Sharpe,
maximum drawdown, benchmark-relative return, and bias/source notes.strategy-reviews: dated research sources, source freshness, supporting and
counter evidence, account snapshots, manual stage decisions, reviewer, reason,
and the associated ChangeRequest ID.Provision a new empty workspace lazily through one Busabase structure ChangeRequest, re-read the Folder, and use only validated materialized IDs. For an owned older schema, submit only declared suffix fields through reviewable field ChangeRequests, wait for approval, then update resource metadata. Reject reordered, changed, or otherwise incompatible fields. Ignore legacy app-owned resources outside this declaration; never delete or adopt them implicitly.
Define a strategy's thesis, selection rule, invalidation rule, benchmark, review cadence, next review time, and virtual account before evaluating it. Preserve research source, source date, supporting evidence, counter evidence, and data freshness in a dated review record.
State the evidence needed for the next review. New strategies remain L1. Treat an L2/L3 change as a human maturity judgment, not an automated promotion or trading authorization.
Allow reviewed research updates, virtual-ledger records, and mouse-driven manual stage marking. Before promotion, require complete strategy rules, one account with a baseline date, dated research evidence, quote provenance, and reconciled NAV. Require a human reason and confirmation for every stage change. Send persistent stage changes through Busabase ChangeRequest, write the approval timeline record, and reload canonical records after materialization.
Compare virtual return, benchmark, maximum drawdown, and contribution to the whole book. Record whether thesis or process failed before changing a strategy's rules.
组合持仓, 研究与审批, 策略逻辑, 回测表现.组合持仓 by default. Make it the dominant detail surface with account
NAV/capital/cash/P&L, invested-versus-cash allocation, and a full-width table
showing Chinese security name, six-digit code, quantity, virtual entry price,
reference price, virtual market value, portfolio weight, and virtual P/L. Keep
cash visible as part of the portfolio rather than hiding it in a summary.研究与审批, show dated positive and counter evidence, source provenance,
freshness, stage decisions, human reasons, reviewer, snapshot metrics, and
ChangeRequest IDs. Clearly state that Demo approvals reset on full refresh.invest-ui:
report date, start/end dates, window label, methodology, coverage, total
return, CAGR, volatility, Sharpe, maximum drawdown, and benchmark-relative
return. Keep hindsight warnings visible. Show current virtual-book contribution
(strategy P/L / total nominal capital) and the removal case in a clearly
separate secondary section. Do not invent a backtest or any historical metric
without a stored dated report backed by historical observations.quantity * (latest reference price - virtual entry price) and account return as NAV / nominal capital - 1.strategy account P/L / total nominal capital; calculate the removal case from the remaining accounts.Finish only when:
pnpm --dir content/kelly-invest-stock-app dev remains supported and deterministic checks pass;Stop before consequential Busabase mutation when the target Space is ambiguous, the viewer lacks permission, ownership cannot be proven, a stale record would be overwritten, or the request crosses into brokerage execution or money movement.
agents/openai.yaml (opens in a new tab)assets/screenshots/detail-zh-CN.webp (opens in a new tab)assets/screenshots/detail.webp (opens in a new tab)assets/screenshots/mobile-overview-zh-CN.webp (opens in a new tab)assets/screenshots/mobile-overview.webp (opens in a new tab)assets/screenshots/overview-zh-CN.webp (opens in a new tab)assets/screenshots/overview.webp (opens in a new tab)assets/screenshots/thumbs/detail-zh-CN.webp (opens in a new tab)assets/screenshots/thumbs/detail.webp (opens in a new tab)assets/screenshots/thumbs/mobile-overview-zh-CN.webp (opens in a new tab)assets/screenshots/thumbs/mobile-overview.webp (opens in a new tab)assets/screenshots/thumbs/overview-zh-CN.webp (opens in a new tab)assets/screenshots/thumbs/overview.webp (opens in a new tab)busabase.json (opens in a new tab)content/_folder.json (opens in a new tab)content/kelly-invest-stock-app/_node.json (opens in a new tab)content/kelly-invest-stock-app/app/base-ui.css (opens in a new tab)content/kelly-invest-stock-app/app/index.html (opens in a new tab)content/kelly-invest-stock-app/app/js/app.js (opens in a new tab)content/kelly-invest-stock-app/app/js/busabase-client.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/agent-rulesAlign all AI coding agents to a single source of truth. AGENTS.md for rules, .agents/skills/ for skills, symlinks for everything else. Use when setting up a repo for multiple agents, or when links are missing, broken, or out of date./kelly-adsAd-campaign command desk (投放指挥台, Busabase App-in-Skill) for a cross-border e-commerce seller running Amazon Ads, Meta (FB/IG), TikTok Ads, and Google Ads. Use when the user invokes $kelly-ads or /kelly-ads, or asks about 投放, ad campaigns, ad spend, ACOS, ROAS, Amazon Ads, TikTok ads, Meta ads, Google Ads, search terms, negative keywords, bid adjustment, budget pacing, CPC spikes, rejected ads, ad anomaly detection, 广告优化, or reviewing agent-proposed adjustment cards (negative keyword, bid down/up, pause target, budget shift, creative refresh)./Other plugins' skills for the same job
/mr-kelly-skills:kelly-invest-stockfrom mr-kelly-skills
npx claudepluginhub mr-kelly/skills --plugin mr-kelly-skills