AGENT SKILL

risk-xva

Run a trusted local ORE (Open Source Risk Engine) project for counterparty exposure and valuation adjustments (risk_xva), and read its XVA and exposure reports. Use for ORE CVA, DVA, funding and other XVA reports, or to produce the netting-set exposure profile that risk_exposure_profile summarises. Not for historical VaR (use risk-tail), not for SA-CCR (use risk-counterparty), and not for a project you have not inspected.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 1.6k
Forks
491

01 前言 Front Matter

name
risk-xva
description
Run a trusted local ORE (Open Source Risk Engine) project for counterparty exposure and valuation adjustments (risk_xva), and read its XVA and exposure reports. Use for ORE CVA, DVA, funding and other XVA reports, or to produce the netting-set exposure profile that risk_exposure_profile summarises. Not for historical VaR (use risk-tail), not for SA-CCR (use risk-counterparty), and not for a project you have not inspected.

02 资源文件 3

03 SKILL.md 正文

Risk Xva

Use risk_xva with an explicit local project directory, relative config path, new output directory outside the project, and data_mode of synthetic, user-licensed or upstream-example. Read input contracts for the supported ORE project boundary. The CLI equivalent is riskdesk xva --project PROJECT --config Input/ore.xml --output NEW_OUTPUT --data-mode synthetic. It needs the optional extra, riskdesk[xva] (risk-setup skill).

Run only a user-provided or inspected local project. The ORE configuration determines instruments, curves, counterparties, CSA/netting, simulation and requested adjustments. Do not invent these inputs. Both simulation and XVA must be active; an old cube is not reused.

Report first

  1. Whether the run succeeded. Any ORE error, a failed worker or a missing XVA report is a refusal, not a result. Quote nothing from a failed run, and do not read partial files from its output directory.
  2. currency (ORE's baseCurrency), as_of and requested_xva_flags.
  3. Then figures, each with the report level (netting set or trade) it comes from.

Sign conventions

Preserve ORE column names and signs. Disabled metrics, null values and zero results are distinct: null is ORE's unavailable value, and a zero in a column whose adjustment was not requested is a disabled calculation. Netting-set and trade rows overlap and must not be summed together.

What not to claim

Positive exposure is not signed mark-to-market, and risk-neutral XVA is not a real-world VaR forecast. The included upstream example validates execution and report translation only. It does not validate all models, regulatory capital, wrong-way risk, SIMM rights or a user's calibration. The process boundary is not a sandbox for hostile XML.

Going deeper

  • reference.md: what the adapter checks, runs, keeps and writes, with code lines, and how the result feeds risk_exposure_profile.
  • workflows/run-ore-project.md: inspect, run, check and report one project.
  • scripts/check_artifact.py OUTPUT/riskdesk-xva.json: one line verdict on a saved result: no ORE errors, XVA rows present, every row matches its report's columns, input hashes recorded, and which XVA columns hold nulls. Standard library only.

04 同仓库更多 Skills

hashgraph-online
hashgraph-online/awesome-codex-plugins

model-split-screen

Make the "same prompt, two models" comparison video that every model launch produces (Claude Fable 5.2 vs Opus 5.5, Seedance vs Kling, Eevee vs Cycles): run one prompt twice under the same rules, log the real time and cost of each run, then lay the two results side by side (1920×1080) or stacked (1080×1920), started on the same frame, each with its name and its time and cost under it, optionally blind ("A" and "B" until the last seconds, then the reveal) and with a winner frame. scripts/split.py does the layout with ffmpeg and Pillow, so it works with an ffmpeg built without drawtext. Use when someone asks for a model comparison video, "Fable vs Opus", "same prompt two models", a side-by-side or split-screen comparison with cost and time, a blind "guess which one" test, or A/B of two renders or two edits. Not for a split screen inside a story edit (varg-video-edit-library), comparing many models in a grid of stills (gpt-image-2-6), or making the clips themselves (blender-code-film, code-game-trailer, varg-ai).

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

code-path-traced-film

Make a short animated film in which everything is code the agent writes, including the renderer: a path tracer in one WebGL2 shader (no Blender, no three.js, no meshes, no textures), characters and props as signed distance fields, a meadow of analytic curved grass blades, moon, firefly and window lights with soft shadows, depth of field and motion blur, a variance-guided denoiser, a score synthesized in numpy from the same timeline, captions and an encode. Includes the complete tested film "The Smallest Star" (70 s, 11 shots, two characters) as a starter, a live page that runs the same renderer in the browser, and the speed-ups and traps found while making it. Use when someone asks for a film, short or music piece "made entirely in code", "write your own renderer / ray tracer / path tracer and make a film with it", a storybook or clay-diorama 3D short without Blender, a "no assets, no video model" showcase of what a coding model can do, or a remake of The Smallest Star with another story. Not for a Blender film (blender-code-film), a three.js explainer (code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (kinetic-type-art, hyperframes) or AI-generated footage (varg-ai).

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

code-game-trailer

Turn a browser game or three.js / WebGL scene an agent built into a cinematic trailer MP4: a virtual clock injected before the page's scripts makes every frame exact at 30 or 60 fps, a director JSON scripts each shot (key and mouse inputs, game setup, trailer camera paths, slow motion, HTML titles and end cards), headless Chrome captures 1920x1080 frames, ffmpeg cuts them on the beat, a music bed (code-written or from varg) is normalised to -14 LUFS, and a checker measures frozen frames, loudness, debug text, third-party names and claims. Includes a tested example game. Use when someone asks for a game trailer, to record my three.js game, a gameplay video, a trailer for my browser game, a Fable 5.2 game video or a fake AAA gameplay trailer. Not for HTML motion graphics (hyperframes), 3D previz for AI video (threejs-animatic), AI-generated footage (varg-ai) or editing existing footage (short-form-ffmpeg-cookbook).

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

code-3d-explainer

Make a 3D explainer video of something you cannot film (a cell, an atom, a virus, a protein, an engine, a reactor, a black hole, a maths idea) entirely in code: a sourced fact sheet checked by a fresh critic subagent before any 3D work, the subject built in three.js from procedural geometry (and real data such as PDB coordinates) one part per beat with a label and a one-line fact, a camera that tours the build and zooms through scales to an x-ray cutaway of the whole, a live scale bar, deterministic 1080p rendering with headless Chrome (scripts/capture.ts) or HyperFrames, and QA scripts that check label overlap, phone legibility, reading time and that every word on screen is in the approved fact sheet. Includes a working 21 s animal-cell film to copy. Use when someone asks for a 3D explainer, a science explainer video, "explain how X works in 3D", a cell / atom / virus / molecule / engine / reactor / black hole animation, "build it one part at a time", a cutaway or exploded view explained, a Kurzgesagt-style 3D explainer, a "zoom into the invisible" film, or a Fable 5.2 code explainer. Not for 2D maths and equation animations (manim-skill), short 2D motion formats (motion-formats), general HTML-to-video work (hyperframes), writing the script itself (video-script) or sound design and music (video-sound).

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

blender-code-film

Make a short 3D film in Blender written entirely in Python by an agent (Claude Fable 5.2, Claude Code, Codex): the shots and the look as data, a world built from code (procedural terrain, hundreds of instanced props, node materials, lights, haze), one camera per shot bound to timeline markers, a stills-first approval pass, a quarter-size draft, a contact-sheet audit, a fresh critic subagent, then the final render to PNG frames and an ffmpeg encode with an optional varg music bed. Includes a tested starter (scripts/film.py, a 9 s three-shot film) and the Blender 5.x traps that turn frames black. Use when someone asks for a Blender animation or film made with code or Python, "make a video in Blender with Claude", a 3D short, music video, toy commercial or product film rendered in Blender, a low-poly or storybook 3D film, or a remake of a viral Fable 5.2 Blender video. Not for previz that feeds Seedance (code-to-video-previz, varg-previz), three.js films in the browser (karpathy-3d-story, code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (hyperframes, kinetic-type-art) or AI-generated footage (varg-ai).

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

web-research

Multi-source external research with cited sources, using search/docs MCP servers when installed and built-in web tools otherwise. Use when a question needs several external sources compared or synthesized, or a web task needs the user's logged-in browser. Not for a single quick lookup.

★ 1.6k