[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADMVC23BZVDG16715N8XMG":3,"skill-same:01M7ADMVC23BZVDG16715N8XMG":46},{"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":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7ADMVC23BZVDG16715N8XMG","image-forensics",null,"Use when checking whether an image is a real camera capture or synthetic\u002Fgenerated, when tagging media provenance before ingestion, when verifying visual evidence for fact-check, or when validating that ai3d-gen source photos are real captures before splatting. Covers PRNU noise-residual forensics, EXIF\u002FXMP\u002FC2PA first pass, and PCE scoring via extensions\u002Fimage-forensics.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fimage-forensics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: image-forensics\ndescription: Use when checking whether an image is a real camera capture or synthetic\u002Fgenerated, when tagging media provenance before ingestion, when verifying visual evidence for fact-check, or when validating that ai3d-gen source photos are real captures before splatting. Covers PRNU noise-residual forensics, EXIF\u002FXMP\u002FC2PA first pass, and PCE scoring via extensions\u002Fimage-forensics.\n---\n\n# Image Forensics\n\nCheap image provenance: real-vs-synthetic plus \"which camera took this\".\nRoute: `extensions\u002Fimage-forensics\u002Fverdict.py` — JSON contract\n`{ok, verdict, pce, metadata_flags, notes}`.\n\n## Evidence ordering (always in this order)\n\n1. **Metadata first pass** — `metadata.py`: EXIF\u002FXMP\u002FC2PA report.\n   Generator tags (`stable diffusion`, `dall-e`, ...) or a C2PA manifest\n   are fast signals. Absence of EXIF is NOT evidence of synthesis:\n   metadata dies on screenshot\u002Fre-upload; pixel noise does not.\n2. **Noise residual** — `prnu.residual`: denoise (wavelet via PyWavelets\n   when installed, Gaussian fallback) and subtract; the remainder is the\n   fingerprint candidate.\n3. **Reference pattern** — `verdict.py --build-ref dir\u002F --out ref.npy`\n   averages residuals of N flat-ish real photos from one device.\n4. **PCE score** — `prnu.pce`: peak-to-correlation-energy of residual vs\n   reference. Goljan's empirical band ~50-60 discriminates; calibrate on\n   the local dataset, never treat thresholds as universal.\n5. **Verdict**: `real_capture` \u002F `synthetic` \u002F `inconclusive` \u002F\n   `no_reference` + flags + notes.\n\n## Abstain rules\n\n- Residual energy below the denoiser floor (flat or heavily recompressed\n  input) -> `inconclusive`, note `low_residual_energy`.\n- Heavy crop\u002Fresize\u002Frecompression weakens the signal; say so in notes.\n- Never claim provenance from a single signal: combine metadata flags +\n  residual + PCE. For publication, pair with `fact-check`.\n- No camera reference available -> `no_reference`; build one or abstain.\n- JPEG-domain caveat (measured 2026-11-09, see\n  `.devin\u002Fresearch\u002F2026-11-09-if-heldout-eval.md`): a ref built from\n  camera JPEGs cannot reliably distinguish OTHER JPEGs - the shared\n  quantization signature dominates the residual and synthetic JPEGs\n  score real_capture at default thresholds. Prefer lossless camera\n  originals (PNG\u002FTIFF) for refs; when only JPEGs exist, raise\n  `--pce-real` per-domain and validate with `eval_set.py` first.\n\n## Commands\n\n```bash\npython extensions\u002Fimage-forensics\u002Fverdict.py shot.jpg --ref ref.npy\npython extensions\u002Fimage-forensics\u002Fverdict.py --build-ref known_phone\u002F --out ref.npy\npython extensions\u002Fimage-forensics\u002Fmetadata.py shot.jpg\n```\n\n## Integrations\n\n- `ai3d-gen` preflight: source images should verify as real captures\n  before the splat pipeline (synthetic inputs break PRNU assumptions).\n- `fact-check`: visual-evidence tagging.\n- PPISP (`extensions\u002Fppisp-prep`) models complementary per-camera\n  photometrics (exposure\u002Fvignette\u002FCRF) — provenance vs correction answer\n  different questions; do not conflate.\n","# Image Forensics\n\nCheap image provenance: real-vs-synthetic plus \"which camera took this\".\nRoute: `extensions\u002Fimage-forensics\u002Fverdict.py` — JSON contract\n`{ok, verdict, pce, metadata_flags, notes}`.\n\n## Evidence ordering (always in this order)\n\n1. **Metadata first pass** — `metadata.py`: EXIF\u002FXMP\u002FC2PA report.\n   Generator tags (`stable diffusion`, `dall-e`, ...) or a C2PA manifest\n   are fast signals. Absence of EXIF is NOT evidence of synthesis:\n   metadata dies on screenshot\u002Fre-upload; pixel noise does not.\n2. **Noise residual** — `prnu.residual`: denoise (wavelet via PyWavelets\n   when installed, Gaussian fallback) and subtract; the remainder is the\n   fingerprint candidate.\n3. **Reference pattern** — `verdict.py --build-ref dir\u002F --out ref.npy`\n   averages residuals of N flat-ish real photos from one device.\n4. **PCE score** — `prnu.pce`: peak-to-correlation-energy of residual vs\n   reference. Goljan's empirical band ~50-60 discriminates; calibrate on\n   the local dataset, never treat thresholds as universal.\n5. **Verdict**: `real_capture` \u002F `synthetic` \u002F `inconclusive` \u002F\n   `no_reference` + flags + notes.\n\n## Abstain rules\n\n- Residual energy below the denoiser floor (flat or heavily recompressed\n  input) -> `inconclusive`, note `low_residual_energy`.\n- Heavy crop\u002Fresize\u002Frecompression weakens the signal; say so in notes.\n- Never claim provenance from a single signal: combine metadata flags +\n  residual + PCE. For publication, pair with `fact-check`.\n- No camera reference available -> `no_reference`; build one or abstain.\n- JPEG-domain caveat (measured 2026-11-09, see\n  `.devin\u002Fresearch\u002F2026-11-09-if-heldout-eval.md`): a ref built from\n  camera JPEGs cannot reliably distinguish OTHER JPEGs - the shared\n  quantization signature dominates the residual and synthetic JPEGs\n  score real_capture at default thresholds. Prefer lossless camera\n  originals (PNG\u002FTIFF) for refs; when only JPEGs exist, raise\n  `--pce-real` per-domain and validate with `eval_set.py` first.\n\n## Commands\n\n```bash\npython extensions\u002Fimage-forensics\u002Fverdict.py shot.jpg --ref ref.npy\npython extensions\u002Fimage-forensics\u002Fverdict.py --build-ref known_phone\u002F --out ref.npy\npython extensions\u002Fimage-forensics\u002Fmetadata.py shot.jpg\n```\n\n## Integrations\n\n- `ai3d-gen` preflight: source images should verify as real captures\n  before the splat pipeline (synthetic inputs break PRNU assumptions).\n- `fact-check`: visual-evidence tagging.\n- PPISP (`extensions\u002Fppisp-prep`) models complementary per-camera\n  photometrics (exposure\u002Fvignette\u002FCRF) — provenance vs correction answer\n  different questions; do not conflate.\n",{"name":5,"description":7},"main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fimage-forensics",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill image-forensics",{"tool":38,"command":39},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill image-forensics",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill image-forensics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fimage-forensics\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":83,"name":77,"nameZh":6,"description":78,"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},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]