[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BYR8TNNDMPG2RZ2P21AAZR":3,"skill-same:01M7BYR8TNNDMPG2RZ2P21AAZR":45},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BYR8TNNDMPG2RZ2P21AAZR","output-validation",null,"Local self-check of instructions and mask outputs (format\u002Frange\u002Fconsistency) without using GT.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillAxe\u002Ftasks\u002Fdynamic-object-aware-egomotion\u002Frepaired_skill\u002Foutput-validation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: output-validation\ndescription: \"Local self-check of instructions and mask outputs (format\u002Frange\u002Fconsistency) without using GT.\"\n---\n\n# When to use\n- After generating your outputs (interval instructions, masks, etc.), before submission\u002Fhand-off.\n\n# Checks\n- **Key format**: every key is `\"{start}->{end}\"`, integers only, `start\u003Cend` for half-open intervals.\n- **Coverage**:\n  - JSON intervals should cover all **sample indices** `[0, K)` exactly (no gaps\u002Foverlaps) if you are emitting per-sample labels.\n  - Max sample index in JSON should be `K-1` (i.e., max `end` should be `K`).\n- **Frame count**: NPZ `f_{i}_*` count equals sampled frame count `K`; no gaps (must have `f_0_* ... f_{K-1}_*`).\n- **CSR integrity**: each frame has `data\u002Findices\u002Findptr`; `len(indptr)==H+1`; `indptr[-1]==indices.size`; indices within `[0,W)`.\n- **Value validity**: JSON values are non-empty string lists; labels in the allowed set.\n\n## Mask quality sanity checks (unsupervised, catches common failures)\nThese do not require GT but often predict verifier failures:\n- **Foreground fraction** per frame: `p = mask.mean()` should not be degenerate across the whole video.\n  - Flag if almost all frames have `p \u003C 1e-5` (empty) or `p > 0.5` (nearly full-frame) unless expected.\n- **Temporal flicker proxy**: `xor_mean = mean(mask[i] XOR mask[i-1])`.\n  - Flag if consistently very high (indicates unstable differencing\u002Fthresholding).\n- **Connected components sanity**: if you keep many tiny components, your area filter is too weak.\n\n# Reference snippet\n```python\nimport json, numpy as np, cv2\nVIDEO_PATH = \"\u003Cpath\u002Fto\u002Fvideo>\"\nINSTRUCTIONS_PATH = \"\u003Cpath\u002Fto\u002Finterval_instructions.json>\"\nMASKS_PATH = \"\u003Cpath\u002Fto\u002Fmasks.npz>\"\n\ncap=cv2.VideoCapture(VIDEO_PATH)\nn=int(cap.get(cv2.CAP_PROP_FRAME_COUNT)); H=int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)); W=int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))\ncap.release()\n\nj=json.load(open(INSTRUCTIONS_PATH))\nnpz=np.load(MASKS_PATH)\n\n# JSON format\nfor k,v in j.items():\n    s,e=k.split(\"->\"); assert s.isdigit() and e.isdigit()\n    s=int(s); e=int(e); assert 0\u003C=s\u003Ce\n    assert isinstance(v,list) and len(v)>0\n    for lbl in v: assert isinstance(lbl,str)\n\n# NPZ \u002F CSR format\nframes=0\nwhile f\"f_{frames}_data\" in npz: frames+=1\nassert frames>0\nassert npz[\"shape\"].dtype==np.int32\nassert int(npz[\"shape\"][0])==H and int(npz[\"shape\"][1])==W\n\ndef csr_to_dense(i):\n    indptr=npz[f\"f_{i}_indptr\"]; indices=npz[f\"f_{i}_indices\"]\n    m=np.zeros((H,W), dtype=bool)\n    for r in range(H):\n        a=indptr[r]; b=indptr[r+1]\n        if b>a:\n            m[r, indices[a:b]] = True\n    return m\n\n# Quality sanity\nm_prev=None\nfg_fracs=[]\nflick=[]\nfor i in range(frames):\n    m=csr_to_dense(i)\n    fg_fracs.append(m.mean())\n    if m_prev is not None:\n        flick.append(np.logical_xor(m, m_prev).mean())\n    m_prev=m\n\nprint(\"fg_frac mean\", float(np.mean(fg_fracs)), \"min\", float(np.min(fg_fracs)), \"max\", float(np.max(fg_fracs)))\nif flick:\n    print(\"flicker mean\", float(np.mean(flick)), \"p90\", float(np.percentile(flick, 90)))\n```\n\n# Self-check list\n- [ ] JSON keys\u002Fvalues pass format checks.\n- [ ] JSON intervals cover the sample index range consistently with half-open semantics.\n- [ ] NPZ frame count matches sampling; keys consecutive.\n- [ ] CSR structure and `shape` validated.\n- [ ] Mask sanity: foreground fraction not degenerate; flicker proxy not extreme.\n","# When to use\n- After generating your outputs (interval instructions, masks, etc.), before submission\u002Fhand-off.\n\n# Checks\n- **Key format**: every key is `\"{start}->{end}\"`, integers only, `start\u003Cend` for half-open intervals.\n- **Coverage**:\n  - JSON intervals should cover all **sample indices** `[0, K)` exactly (no gaps\u002Foverlaps) if you are emitting per-sample labels.\n  - Max sample index in JSON should be `K-1` (i.e., max `end` should be `K`).\n- **Frame count**: NPZ `f_{i}_*` count equals sampled frame count `K`; no gaps (must have `f_0_* ... f_{K-1}_*`).\n- **CSR integrity**: each frame has `data\u002Findices\u002Findptr`; `len(indptr)==H+1`; `indptr[-1]==indices.size`; indices within `[0,W)`.\n- **Value validity**: JSON values are non-empty string lists; labels in the allowed set.\n\n## Mask quality sanity checks (unsupervised, catches common failures)\nThese do not require GT but often predict verifier failures:\n- **Foreground fraction** per frame: `p = mask.mean()` should not be degenerate across the whole video.\n  - Flag if almost all frames have `p \u003C 1e-5` (empty) or `p > 0.5` (nearly full-frame) unless expected.\n- **Temporal flicker proxy**: `xor_mean = mean(mask[i] XOR mask[i-1])`.\n  - Flag if consistently very high (indicates unstable differencing\u002Fthresholding).\n- **Connected components sanity**: if you keep many tiny components, your area filter is too weak.\n\n# Reference snippet\n```python\nimport json, numpy as np, cv2\nVIDEO_PATH = \"\u003Cpath\u002Fto\u002Fvideo>\"\nINSTRUCTIONS_PATH = \"\u003Cpath\u002Fto\u002Finterval_instructions.json>\"\nMASKS_PATH = \"\u003Cpath\u002Fto\u002Fmasks.npz>\"\n\ncap=cv2.VideoCapture(VIDEO_PATH)\nn=int(cap.get(cv2.CAP_PROP_FRAME_COUNT)); H=int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)); W=int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))\ncap.release()\n\nj=json.load(open(INSTRUCTIONS_PATH))\nnpz=np.load(MASKS_PATH)\n\n# JSON format\nfor k,v in j.items():\n    s,e=k.split(\"->\"); assert s.isdigit() and e.isdigit()\n    s=int(s); e=int(e); assert 0\u003C=s\u003Ce\n    assert isinstance(v,list) and len(v)>0\n    for lbl in v: assert isinstance(lbl,str)\n\n# NPZ \u002F CSR format\nframes=0\nwhile f\"f_{frames}_data\" in npz: frames+=1\nassert frames>0\nassert npz[\"shape\"].dtype==np.int32\nassert int(npz[\"shape\"][0])==H and int(npz[\"shape\"][1])==W\n\ndef csr_to_dense(i):\n    indptr=npz[f\"f_{i}_indptr\"]; indices=npz[f\"f_{i}_indices\"]\n    m=np.zeros((H,W), dtype=bool)\n    for r in range(H):\n        a=indptr[r]; b=indptr[r+1]\n        if b>a:\n            m[r, indices[a:b]] = True\n    return m\n\n# Quality sanity\nm_prev=None\nfg_fracs=[]\nflick=[]\nfor i in range(frames):\n    m=csr_to_dense(i)\n    fg_fracs.append(m.mean())\n    if m_prev is not None:\n        flick.append(np.logical_xor(m, m_prev).mean())\n    m_prev=m\n\nprint(\"fg_frac mean\", float(np.mean(fg_fracs)), \"min\", float(np.min(fg_fracs)), \"max\", float(np.max(fg_fracs)))\nif flick:\n    print(\"flicker mean\", float(np.mean(flick)), \"p90\", float(np.percentile(flick, 90)))\n```\n\n# Self-check list\n- [ ] JSON keys\u002Fvalues pass format checks.\n- [ ] JSON intervals cover the sample index range consistently with half-open semantics.\n- [ ] NPZ frame count matches sampling; keys consecutive.\n- [ ] CSR structure and `shape` validated.\n- [ ] Mask sanity: foreground fraction not degenerate; flicker proxy not extreme.\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillAxe\u002Ftasks\u002Fdynamic-object-aware-egomotion\u002Frepaired_skill\u002Foutput-validation",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill output-validation",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill output-validation",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill output-validation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillAxe\u002Ftasks\u002Fdynamic-object-aware-egomotion\u002Frepaired_skill\u002Foutput-validation\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]