[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M746FVTT854AZ59JSJV38RE5":3,"skill-same:01M746FVTT854AZ59JSJV38RE5":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M746FVTT854AZ59JSJV38RE5","risk-backtest",null,"Backtest a supplied VaR forecast series, and optionally an Expected Shortfall series, against realised P&L. Reports exceptions, the Kupiec proportion-of-failures test, the Christoffersen independence and conditional coverage tests, the Basel MAR99 traffic-light zone for one-day 99% VaR, and the Acerbi-Szekely Z2 ES test with a seeded simulated p-value. Use to judge a forecast record, not to compute VaR (use risk-tail).","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: risk-backtest\ndescription: Backtest a supplied VaR forecast series, and optionally an Expected Shortfall series, against realised P&L. Reports exceptions, the Kupiec proportion-of-failures test, the Christoffersen independence and conditional coverage tests, the Basel MAR99 traffic-light zone for one-day 99% VaR, and the Acerbi-Szekely Z2 ES test with a seeded simulated p-value. Use to judge a forecast record, not to compute VaR (use risk-tail).\n---\n\n# Risk Backtest\n\nTool `risk_backtest`, CLI `riskdesk backtest --input PATH`.\n\n## Contract (BacktestRequest)\n\nProvenance fields as in [input contracts](..\u002F..\u002Freferences\u002Fcontracts.md): `as_of`, `currency`,\n`source`, `data_mode`. Then:\n\n- `pnl`: realised P&L per period, positive is profit, time order, 2 to 10,000 rows.\n- `var`: the VaR forecast for each row, positive is loss, made before that row's P&L was known.\n- `confidence` (0 to 1, exclusive), `horizon_days` (positive integer).\n- Optional ES test: `expected_shortfall` (same length, each positive and above its VaR), and\n  `es_null`: `normal` or `student-t` with `es_null_dof` (above 1). `seed` (default 0).\n\nUnknown fields, non-finite numbers and mismatched lengths are refused.\n\n## Report first\n\n1. `degraded` and `degraded_reason`.\n2. Exceptions against expected exceptions (`exceptions`, `expected_exceptions`).\n3. The Basel zone if present, or `basel_traffic_light_unavailable` if not.\n4. Kupiec, Christoffersen independence, conditional coverage: statistic and p-value each.\n5. The ES test, with its null family, simulations, seed and Monte Carlo standard error.\n\n## Sign conventions\n\nAn exception is a realised loss strictly greater than VaR: -pnl > var. Z2 is zero in\nexpectation when the forecasts are right; negative values mean risk was understated, and the\np-value is the left tail.\n\n## What not to claim\n\n- A test that does not reject has not validated the model. Backtests with few expected\n  exceptions have little power: say how many were expected.\n- The Basel zone is the MAR99 supervisory classification for one-day 99% VaR. It is not a\n  capital calculation, and this tool does not report a multiplier.\n- The ES p-value is under the stated location-scale null implied by each day's VaR and ES, not\n  under the forecaster's own model distribution. Say which null was used.\n- Kupiec and Christoffersen p-values are asymptotic chi-square.\n- Research output, not a regulatory submission and not investment advice.\n\n## Going deeper\n\n- `reference.md`: formulas, sources with paragraph, and what each check proves.\n- `workflows\u002Fbacktest-a-var-series.md`: step by step.\n- `scripts\u002Fcheck_artifact.py`: one line verdict on a saved result.\n","# Risk Backtest\n\nTool `risk_backtest`, CLI `riskdesk backtest --input PATH`.\n\n## Contract (BacktestRequest)\n\nProvenance fields as in [input contracts](..\u002F..\u002Freferences\u002Fcontracts.md): `as_of`, `currency`,\n`source`, `data_mode`. Then:\n\n- `pnl`: realised P&L per period, positive is profit, time order, 2 to 10,000 rows.\n- `var`: the VaR forecast for each row, positive is loss, made before that row's P&L was known.\n- `confidence` (0 to 1, exclusive), `horizon_days` (positive integer).\n- Optional ES test: `expected_shortfall` (same length, each positive and above its VaR), and\n  `es_null`: `normal` or `student-t` with `es_null_dof` (above 1). `seed` (default 0).\n\nUnknown fields, non-finite numbers and mismatched lengths are refused.\n\n## Report first\n\n1. `degraded` and `degraded_reason`.\n2. Exceptions against expected exceptions (`exceptions`, `expected_exceptions`).\n3. The Basel zone if present, or `basel_traffic_light_unavailable` if not.\n4. Kupiec, Christoffersen independence, conditional coverage: statistic and p-value each.\n5. The ES test, with its null family, simulations, seed and Monte Carlo standard error.\n\n## Sign conventions\n\nAn exception is a realised loss strictly greater than VaR: -pnl > var. Z2 is zero in\nexpectation when the forecasts are right; negative values mean risk was understated, and the\np-value is the left tail.\n\n## What not to claim\n\n- A test that does not reject has not validated the model. Backtests with few expected\n  exceptions have little power: say how many were expected.\n- The Basel zone is the MAR99 supervisory classification for one-day 99% VaR. It is not a\n  capital calculation, and this tool does not report a multiplier.\n- The ES p-value is under the stated location-scale null implied by each day's VaR and ES, not\n  under the forecaster's own model distribution. Say which null was used.\n- Kupiec and Christoffersen p-values are asymptotic chi-square.\n- Research output, not a regulatory submission and not investment advice.\n\n## Going deeper\n\n- `reference.md`: formulas, sources with paragraph, and what each check proves.\n- `workflows\u002Fbacktest-a-var-series.md`: step by step.\n- `scripts\u002Fcheck_artifact.py`: one line verdict on a saved result.\n",{"name":5,"description":7},"main","347aedf8480cd92b21f761e97b7343a45898f5fa","plugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-backtest",{"tool":40,"command":41},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-backtest",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill risk-backtest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest\u002FSKILL.md",true,[48,54,60],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"reference.md","REFERENCE","参考文档",4832,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest\u002Freference.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fcheck_artifact.py","SCRIPT","脚本",2170,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest\u002Fscripts\u002Fcheck_artifact.py",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},"workflows\u002Fbacktest-a-var-series.md",1010,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FIman\u002Fagent-driven-risk-desk-and-skills\u002Fskills\u002Frisk-backtest\u002Fworkflows\u002Fbacktest-a-var-series.md",[65,75,83,91,99,107],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":74},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":74},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":74},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":74},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":74},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]