[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEDYPDTJ5CV3HHRSKTPRVA":3,"skill-same:01M7DEDYPDTJ5CV3HHRSKTPRVA":72},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":28,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DEDYPDTJ5CV3HHRSKTPRVA","szl-compute-energy-receipt",null,"Turns a compute run's energy evidence into a typed receipt (MEASURED from counter samples, REPORTED from vendor totals or TDP estimates, UNAVAILABLE when nothing usable exists) with kWh, optional CO2e from a declared grid factor, and a ready-to-paste methods sentence. Use when a paper, grant report or model card needs an energy or carbon statement for training, simulation or inference runs, or when a reviewer asks how much compute was used. Not a hardware monitor and not a carbon-accounting standard.","szl-holdings\u002Fszl-skills","szl-holdings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273360816?v=4","01M7DEC83S24HX3V8G1JSWKHD0","SZL Holdings","01M7DEC85084EGHEJH2KMAA53K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: szl-compute-energy-receipt\ndescription: \"Turns a compute run's energy evidence into a typed receipt (MEASURED from counter samples, REPORTED from vendor totals or TDP estimates, UNAVAILABLE when nothing usable exists) with kWh, optional CO2e from a declared grid factor, and a ready-to-paste methods sentence. Use when a paper, grant report or model card needs an energy or carbon statement for training, simulation or inference runs, or when a reviewer asks how much compute was used. Not a hardware monitor and not a carbon-accounting standard.\"\nlicense: Apache-2.0\n---\n\n# Compute energy receipt\n\nReviewers and funders increasingly ask what a run cost in energy. Most answers are estimates\ndressed as measurements. This skill keeps the two apart: it integrates power samples if you have\nthem, labels anything else REPORTED or UNAVAILABLE, and writes the methods sentence that says so.\nStdlib only, offline; it never reads hardware counters itself.\n\n## Use when\n\n- \"Add an energy statement to the methods section\" for a fine-tune, MD simulation or inference sweep.\n- A model card needs a compute figure and you have an NVML or RAPL log, or only a cloud bill.\n- A reviewer asks for CO2e and you must disclose that the grid factor is a published average.\n\n## Quick start\n\n```bash\npython scripts\u002Frun.py assets\u002Fexample.json\n```\n\nSeven NVML samples over 60 s give `\"status\": \"MEASURED\"` and this sentence:\n\n> The run on 1x RTX 4060 Ti 16 GB consumed 0.002 kWh (8072 J), measured via nvml power sampling\n> (7 samples over 60 s). Applying the declared grid factor of 386 gCO2e\u002FkWh (declared regional annual\n> average (operator supplied)) gives 1 gCO2e (REPORTED, not measured).\n\n`assets\u002Funavailable-example.json` has no energy evidence and yields the honest alternative:\n\"Energy consumption of this run on laptop CPU was not measured and is reported as UNAVAILABLE.\"\n\n## Input\n\n```json\n{\"run\": {\"id\": \"...\", \"purpose\": \"...\", \"hardware\": \"...\", \"duration_s\": 60},\n \"measurement\": {\"source\": \"nvml|rapl|metered_plug|pdu|ipmi|vendor|estimate|none\",\n                 \"samples\": [{\"t\": 0, \"w\": 62.0}, ...]  OR  \"joules\": 8072  OR  \"tdp_w\": 165,\n                 \"max_gap_s\": 10},\n \"grid\": {\"g_co2e_per_kwh\": 386, \"source\": \"where the factor comes from\"}}\n```\n\nSamples are integrated trapezoidally. MEASURED requires a counter source and no gap larger than\n`max_gap_s`; otherwise the class drops to REPORTED and the reason is recorded (`SAMPLE_GAP_EXCEEDS_LIMIT`,\n`TDP_TIMES_DURATION_ESTIMATE`, `VENDOR_OR_ESTIMATE`). A grid factor without a source is ignored.\n\n## What it does not do\n\nIt does not sample hardware, does not estimate embodied emissions or data-centre overhead (PUE),\ndoes not compare efficiency between runs, and never promotes an estimate to MEASURED. The receipt\ndigest covers the record as written, not the truth of the declared samples.\n","# Compute energy receipt\n\nReviewers and funders increasingly ask what a run cost in energy. Most answers are estimates\ndressed as measurements. This skill keeps the two apart: it integrates power samples if you have\nthem, labels anything else REPORTED or UNAVAILABLE, and writes the methods sentence that says so.\nStdlib only, offline; it never reads hardware counters itself.\n\n## Use when\n\n- \"Add an energy statement to the methods section\" for a fine-tune, MD simulation or inference sweep.\n- A model card needs a compute figure and you have an NVML or RAPL log, or only a cloud bill.\n- A reviewer asks for CO2e and you must disclose that the grid factor is a published average.\n\n## Quick start\n\n```bash\npython scripts\u002Frun.py assets\u002Fexample.json\n```\n\nSeven NVML samples over 60 s give `\"status\": \"MEASURED\"` and this sentence:\n\n> The run on 1x RTX 4060 Ti 16 GB consumed 0.002 kWh (8072 J), measured via nvml power sampling\n> (7 samples over 60 s). Applying the declared grid factor of 386 gCO2e\u002FkWh (declared regional annual\n> average (operator supplied)) gives 1 gCO2e (REPORTED, not measured).\n\n`assets\u002Funavailable-example.json` has no energy evidence and yields the honest alternative:\n\"Energy consumption of this run on laptop CPU was not measured and is reported as UNAVAILABLE.\"\n\n## Input\n\n```json\n{\"run\": {\"id\": \"...\", \"purpose\": \"...\", \"hardware\": \"...\", \"duration_s\": 60},\n \"measurement\": {\"source\": \"nvml|rapl|metered_plug|pdu|ipmi|vendor|estimate|none\",\n                 \"samples\": [{\"t\": 0, \"w\": 62.0}, ...]  OR  \"joules\": 8072  OR  \"tdp_w\": 165,\n                 \"max_gap_s\": 10},\n \"grid\": {\"g_co2e_per_kwh\": 386, \"source\": \"where the factor comes from\"}}\n```\n\nSamples are integrated trapezoidally. MEASURED requires a counter source and no gap larger than\n`max_gap_s`; otherwise the class drops to REPORTED and the reason is recorded (`SAMPLE_GAP_EXCEEDS_LIMIT`,\n`TDP_TIMES_DURATION_ESTIMATE`, `VENDOR_OR_ESTIMATE`). A grid factor without a source is ignored.\n\n## What it does not do\n\nIt does not sample hardware, does not estimate embodied emissions or data-centre overhead (PUE),\ndoes not compare efficiency between runs, and never promotes an estimate to MEASURED. The receipt\ndigest covers the record as written, not the truth of the declared samples.\n",{"name":5,"license":15,"description":7},"main","8dd614e1f5097564340e36915f849d7d893cd68a","skills\u002Fszl-compute-energy-receipt","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills","https:\u002F\u002Fa-11-oy.com","https:\u002F\u002Fgithub.com\u002Fszl-holdings","Governed AI infrastructure for inspectable decisions: source, runtime state, receipts, and proof boundaries.","2026-11-15 03:52:34",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add szl-holdings\u002Fszl-skills --skill szl-compute-energy-receipt",{"tool":38,"command":39},"bunx","bunx skills add szl-holdings\u002Fszl-skills --skill szl-compute-energy-receipt",{"tool":41,"command":42},"pnpm","pnpm dlx skills add szl-holdings\u002Fszl-skills --skill szl-compute-energy-receipt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002FSKILL.md",true,[46,52,56,62,68],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Fexample.json","ASSET","资产文件",504,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002Fassets\u002Fexample.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"assets\u002Funavailable-example.json",125,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002Fassets\u002Funavailable-example.json",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"kernel.py","SCRIPT","脚本",5920,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002Fkernel.py",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcontract.md","REFERENCE","参考文档",691,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002Freferences\u002Fcontract.md",{"path":69,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Frun.py",973,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-compute-energy-receipt\u002Fscripts\u002Frun.py",[73,80,87,94,100,105],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DENG22R761RTDSG11WWJB3","szl-unit-invariants","Checks declared SI dimensions, allowlisted unit conversions, expected ranges and fixed pointwise invariants (equal, sum, difference, product, ratio) over selected measurement or simulation columns, flagging incompatible quantities, scale errors of 1000x and broken conservation checks. Use when merging instrument exports with different units, validating simulation output against conservation laws, or when a reviewer asks how unit errors were ruled out. Not an uncertainty-propagation or symbolic tool.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-unit-invariants\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DENAVBJ6GSCRT3E1PWK56D","szl-uncertainty-lineage","Propagate declared measurement uncertainty through a small arithmetic dependency graph using a first-order delta approximation. Use when a researcher needs to see how corrected inputs or shared-source correlation change a reported standard uncertainty; require unit checks separately.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-uncertainty-lineage\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DEN2M7P59RTM6RJE99PGN8","szl-typesafe-ai","TypeSafe\u002FJev: Choice\u002FNoul\u002FScore in code, not TypeScript types. System One models turn natural language and application state into probabilities that software can compose. Use when building routing, ranking, extraction, verification, or replacing an LLM prompt-and-parse step with structured decisions; also when brainstorming what TypeSafe could make possible. Do not use for TypeScript\u002FJava\u002FRust static types, Zod\u002FPydantic\u002Fmypy\u002FJSON Schema\u002Fprotobuf codegen, or asking whether a pipeline is type-safe. At SZL, Jev is an optional second reader only.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-typesafe-ai\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7DEN1C9G4H12N9HRHYK2HZ7","demo","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002Fassets\u002Fexample\u002Fold-package\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":101,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7DEMZYRXT5CG2XPXERAM218","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002Fassets\u002Fexample\u002Fnew-package\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7DEMVH2NMG4PS0DZTMGATAF","szl-skill-update-review","Compare pinned local skill packages using inventories and a retained lock; report changed skills, files, declarations and reruns without approving safety or validity.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002FSKILL.md",[],[]]