[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71BXBA8SQGS2093JH44S8K7":3,"skill-same:01M71BXBA8SQGS2093JH44S8K7":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M71BXBA8SQGS2093JH44S8K7","trade-edge-audit",null,"nexuslinkproductions\u002Fyuri-os","nexuslinkproductions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273246263?v=4","01M718YX9NZRCW50B59B8ZVDKN","Marcel Spatz","01M718YXAQ7530F4B1VKN6SFQV",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md",[],[18,19,20,21],"audit","edge","trade","trade edge audit","2026-11-10 10:12:30",false,"---\nname: trade-edge-audit\ndescription: The EDGE LENS for trading peers — recalls EVERY factor\u002Findicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer \"does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon\" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.\ntriggers:\n  - \"\u002Ftrade-edge-audit\"\n  - \"\u002Fedge-audit\"\n  - \"is there edge\"\n  - \"does any factor have edge\"\n  - \"audit factor edge\"\n  - \"factor edge audit\"\n  - \"recall all factors and score\"\n  - \"trade brain edge lens\"\n  - \"overfit and multiple testing corrected\"\nscope: instance\ninvocation: ability\n---\n\n# Trade Edge Audit — the edge lens\n\nThe trading analog of `quantum-hypothesis-simulation`: a **capability-wrapper** that hands a peer YURI's whole edge arsenal off one invocation. The peer picks the *lens* (edge); the skill hauls in **everything running** and runs the battery behind it. No re-assembling six tools, no enumerating indicators.\n\nEngine: `_SYSTEM\u002FScripts\u002Falpha-factor-library\u002Ftrade-edge-audit.mjs` (capability `trade-edge-audit`, 11\u002F0). It ORCHESTRATES existing capabilities — it does not re-implement their math.\n\n## The two moves\n\n**1. RECALL (the recollection layer).** `recallFactors(ledgerPath)` reads the live forecast ledger (`_SYSTEM\u002Fstate\u002Fstrategy-forecasts.jsonl`) and returns every factor that has fired + a per-market price series. That ledger IS \"everything running\" — every price signal, funding\u002Fbasis, cross-asset, social overlay the orchestrator records. The peer never lists indicators; the skill recalls them.\n\n**2. RENDER through the arsenal.** `auditEdge({ledgerPath, q})` runs, per horizon rung (15m → weekly):\n- **Multi-horizon edge** — per-factor forward-return mean \u002F std \u002F per-period Sharpe \u002F one-sided t p-value \u002F hit-rate, non-overlapping (independent obs).\n- **Deflated Sharpe** (`factor-evaluator.deflatedSharpe`) — kills overfit; `nTrials` = the FULL (factor × rung) selection universe (`selectionTrials`), so the bar reflects every comparison the audit made, not one rung's.\n- **Benjamini-Hochberg FDR** (`factor-evaluator.benjaminiHochberg`) — kills multiple-testing luck across the fleet (with 100+ factors, some look good by chance; this is exactly where you catch it).\n- **Falsification** — `spread-correction` (bid-ask-bounce artifact + lag-1 autocorr) + `maker-fill-sim` (fee reality: taker vs maker net, break-even adverse-selection).\n- **Survivor** = positive mean AND deflated-Sharpe-passes AND FDR-discovered AND not a bounce-prone (meanrev) family. Ranked by DSR.\n\nOutput: a structured verdict — which factors (if any) have real, overfit-and-multiple-testing-corrected, fee-surviving edge, at which horizon. **It is built to say \"NO edge\" when there is none — that honesty is the product, not a failure.**\n\n## Method map\n\n| Need | Call |\n|------|------|\n| Recall everything running | `recallFactors(ledgerPath)` → `{rows, series, byFactor, factorIds, markets}` |\n| Per-factor edge stats at one horizon | `factorEdgeStats(recall, {horizonS, strideS})` → `{[id]:{n,mean,std,sharpe,tStat,pValue,hitRate,market}}` |\n| Full battery + verdict | `auditEdge({ledgerPath, q=0.1, makerSchedule='real-tier0'})` → `{recall, selectionTrials, rungs, falsification, verdict}` |\n| CLI (live ledger) | `node _SYSTEM\u002FScripts\u002Falpha-factor-library\u002Ftrade-edge-audit.mjs --audit` |\n| Self-test | `… trade-edge-audit.mjs --test` |\n\n## Dual consumption (both peer lanes)\n\n- **Native Sonnet agent:** dispatch with *\"run\u002Fextend the edge lens — `.claude\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md`; call `auditEdge` on the live ledger and return the verdict + any survivors.\"* The agent reads this file.\n- **ollama nano-swarm lane:** inject this body as the procedure preamble (no filesystem) + the deltas. The lane runs `--audit` (or `auditEdge`) and reports.\n\nEither way: the result is ADVISORY until a local run verifies it (the standing doctrine). Re-run `--audit` yourself before trusting a survivor.\n\n## Limitations (honest)\n\n- **Long rungs need data.** 12h\u002Fweekly stay empty until enough non-overlapping observations accrue (12h ~2 days, weekly ~1 month). Not a bug — `evaluated=0` is honest.\n- **Brier\u002Fcalibration not yet fused.** The forecast ledger stores direction, not a probability, so calibration (Brier) lives in the decoded-outcome AFL ledger path — a v2 fusion.\n- **vwap-* classified meanrev.** `classifyFamily` (shared spread tool) puts any `vwap` name in the bounce-prone `meanrev` family, so a `vwap-momentum` factor is conservatively EXCLUDED. False-negative only (drops a real edge, never admits a fake one) — acceptable for an honesty-first audit; don't loosen the shared classifier just for this.\n- **Per-rung FDR.** FDR is controlled within each horizon's fleet; cross-rung multiplicity is handled by the deflated-Sharpe `nTrials` (full selection universe), not by a cross-rung BH.\n\n## Sibling lenses (planned)\n\n- `trade-decision-sim` — the DECISION lens: recall the live snapshot + render through `factor-circuit` (order-optimal sequencing) + `decision-sim` (CVaR\u002Frobust sizing). \"Given everything now, what's the order-optimal, risk-robust call + size.\"\n- `peer-redteam` — generic adversarial-review contract (sibling of `peer-signal-build`).\n\n## Session Notes\n\n### 2026-06-17\n- tools: Read, Edit, Bash, Agent (Sonnet red-team), capability-scan\n- origin: built from Marcel's reframe — \"turn all the indicators running into ONE skill that renders everything through an evaluator\u002Fdecision-sim, like quantum-sim, so peers dig in quick + powerful.\" This is the edge lens; recall-everything + render-through-arsenal.\n- red-team (Sonnet): SHIP, no CRITICAL\u002FHIGH. Verified correct: per-period Sharpe input, one-sided p-value + CDF accuracy, BH index-alignment (input-order), no look-ahead in forward pairing, fail-soft complete. Fixed the MED: `nTrials` now the cross-rung selection universe (was per-rung → DSR bar too low).\n- live verdict: 205 factors recalled, selectionTrials 247, 0 survivors — no overfit\u002FFDR\u002Ffee-robust edge yet (the honest core). Cross-validates the standalone maker-fill verdict exactly (taker −245 \u002F maker −47 bps).\n- self-inflicted catch: first cut had the `'..','state'` path bug + a `'mean-reversion'` vs `'meanrev'` family typo — both caught by verify-locally, the exact discipline `peer-signal-build` encodes.\n","# Trade Edge Audit — the edge lens\n\nThe trading analog of `quantum-hypothesis-simulation`: a **capability-wrapper** that hands a peer YURI's whole edge arsenal off one invocation. The peer picks the *lens* (edge); the skill hauls in **everything running** and runs the battery behind it. No re-assembling six tools, no enumerating indicators.\n\nEngine: `_SYSTEM\u002FScripts\u002Falpha-factor-library\u002Ftrade-edge-audit.mjs` (capability `trade-edge-audit`, 11\u002F0). It ORCHESTRATES existing capabilities — it does not re-implement their math.\n\n## The two moves\n\n**1. RECALL (the recollection layer).** `recallFactors(ledgerPath)` reads the live forecast ledger (`_SYSTEM\u002Fstate\u002Fstrategy-forecasts.jsonl`) and returns every factor that has fired + a per-market price series. That ledger IS \"everything running\" — every price signal, funding\u002Fbasis, cross-asset, social overlay the orchestrator records. The peer never lists indicators; the skill recalls them.\n\n**2. RENDER through the arsenal.** `auditEdge({ledgerPath, q})` runs, per horizon rung (15m → weekly):\n- **Multi-horizon edge** — per-factor forward-return mean \u002F std \u002F per-period Sharpe \u002F one-sided t p-value \u002F hit-rate, non-overlapping (independent obs).\n- **Deflated Sharpe** (`factor-evaluator.deflatedSharpe`) — kills overfit; `nTrials` = the FULL (factor × rung) selection universe (`selectionTrials`), so the bar reflects every comparison the audit made, not one rung's.\n- **Benjamini-Hochberg FDR** (`factor-evaluator.benjaminiHochberg`) — kills multiple-testing luck across the fleet (with 100+ factors, some look good by chance; this is exactly where you catch it).\n- **Falsification** — `spread-correction` (bid-ask-bounce artifact + lag-1 autocorr) + `maker-fill-sim` (fee reality: taker vs maker net, break-even adverse-selection).\n- **Survivor** = positive mean AND deflated-Sharpe-passes AND FDR-discovered AND not a bounce-prone (meanrev) family. Ranked by DSR.\n\nOutput: a structured verdict — which factors (if any) have real, overfit-and-multiple-testing-corrected, fee-surviving edge, at which horizon. **It is built to say \"NO edge\" when there is none — that honesty is the product, not a failure.**\n\n## Method map\n\n| Need | Call |\n|------|------|\n| Recall everything running | `recallFactors(ledgerPath)` → `{rows, series, byFactor, factorIds, markets}` |\n| Per-factor edge stats at one horizon | `factorEdgeStats(recall, {horizonS, strideS})` → `{[id]:{n,mean,std,sharpe,tStat,pValue,hitRate,market}}` |\n| Full battery + verdict | `auditEdge({ledgerPath, q=0.1, makerSchedule='real-tier0'})` → `{recall, selectionTrials, rungs, falsification, verdict}` |\n| CLI (live ledger) | `node _SYSTEM\u002FScripts\u002Falpha-factor-library\u002Ftrade-edge-audit.mjs --audit` |\n| Self-test | `… trade-edge-audit.mjs --test` |\n\n## Dual consumption (both peer lanes)\n\n- **Native Sonnet agent:** dispatch with *\"run\u002Fextend the edge lens — `.claude\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md`; call `auditEdge` on the live ledger and return the verdict + any survivors.\"* The agent reads this file.\n- **ollama nano-swarm lane:** inject this body as the procedure preamble (no filesystem) + the deltas. The lane runs `--audit` (or `auditEdge`) and reports.\n\nEither way: the result is ADVISORY until a local run verifies it (the standing doctrine). Re-run `--audit` yourself before trusting a survivor.\n\n## Limitations (honest)\n\n- **Long rungs need data.** 12h\u002Fweekly stay empty until enough non-overlapping observations accrue (12h ~2 days, weekly ~1 month). Not a bug — `evaluated=0` is honest.\n- **Brier\u002Fcalibration not yet fused.** The forecast ledger stores direction, not a probability, so calibration (Brier) lives in the decoded-outcome AFL ledger path — a v2 fusion.\n- **vwap-* classified meanrev.** `classifyFamily` (shared spread tool) puts any `vwap` name in the bounce-prone `meanrev` family, so a `vwap-momentum` factor is conservatively EXCLUDED. False-negative only (drops a real edge, never admits a fake one) — acceptable for an honesty-first audit; don't loosen the shared classifier just for this.\n- **Per-rung FDR.** FDR is controlled within each horizon's fleet; cross-rung multiplicity is handled by the deflated-Sharpe `nTrials` (full selection universe), not by a cross-rung BH.\n\n## Sibling lenses (planned)\n\n- `trade-decision-sim` — the DECISION lens: recall the live snapshot + render through `factor-circuit` (order-optimal sequencing) + `decision-sim` (CVaR\u002Frobust sizing). \"Given everything now, what's the order-optimal, risk-robust call + size.\"\n- `peer-redteam` — generic adversarial-review contract (sibling of `peer-signal-build`).\n\n## Session Notes\n\n### 2026-06-17\n- tools: Read, Edit, Bash, Agent (Sonnet red-team), capability-scan\n- origin: built from Marcel's reframe — \"turn all the indicators running into ONE skill that renders everything through an evaluator\u002Fdecision-sim, like quantum-sim, so peers dig in quick + powerful.\" This is the edge lens; recall-everything + render-through-arsenal.\n- red-team (Sonnet): SHIP, no CRITICAL\u002FHIGH. Verified correct: per-period Sharpe input, one-sided p-value + CDF accuracy, BH index-alignment (input-order), no look-ahead in forward pairing, fail-soft complete. Fixed the MED: `nTrials` now the cross-rung selection universe (was per-rung → DSR bar too low).\n- live verdict: 205 factors recalled, selectionTrials 247, 0 survivors — no overfit\u002FFDR\u002Ffee-robust edge yet (the honest core). Cross-validates the standalone maker-fill verdict exactly (taker −245 \u002F maker −47 bps).\n- self-inflicted catch: first cut had the `'..','state'` path bug + a `'mean-reversion'` vs `'meanrev'` family typo — both caught by verify-locally, the exact discipline `peer-signal-build` encodes.\n",{},"main","4c6d8d65f3d6096e2fc25b0845e481dda73c2794",".claude\u002Fskills\u002Ftrade-edge-audit",0,"https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions","Building deterministic AI governance and continuity systems. Workflow architect + visual storyteller","2026-11-14 03:05:17",{"source":7,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add nexuslinkproductions\u002Fyuri-os --skill trade-edge-audit",{"tool":41,"command":42},"bunx","bunx skills add nexuslinkproductions\u002Fyuri-os --skill trade-edge-audit",{"tool":44,"command":45},"pnpm","pnpm dlx skills add nexuslinkproductions\u002Fyuri-os --skill trade-edge-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md",true,[],[50,58,65,72,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":57},"01M73K12W8K0GSTB4ABKS8BD7H","executing-plans","Use when you have a written implementation plan to execute in a separate session with review checkpoints","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexecuting-plans\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":57},"01M73HC2NSXYYN54GBASVG2RDJ","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":57},"01M73HC12557CB08VDEF1YTF3H","triage","Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":73,"name":5,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":57},"01M73HBXB8F8ED4KQXVXEWCV8B","The EDGE LENS for trading peers — recalls EVERY factor\u002Findicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer \"does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon\" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":57},"01M73HBT5ZRCA82SQJ781NWVNQ","trade-decision-sim","The DECISION LENS for trading peers — recalls the CURRENT signal snapshot per market from the live ledger and renders it through the sim arsenal off ONE call: quantum factor-circuit order-optimal sequencing + decision-sim CVaR-robust sizing, sized against the MEASURED per-factor edge (from the edge-audit), correlation-aware. Emits an actionable call per market {side, sizePct, confidence, sequence}. Flat\u002Fzero-size when there is no measured edge after cost — the honest default. Sibling of trade-edge-audit (the EDGE lens); the trade-engine analog of quantum-hypothesis-simulation for a live decision.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-decision-sim\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":57},"01M73HBN2WTKGN790WYQD6GBM4","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[]]