Borrowing it
Nothing to install: this file belongs to MohamedAbdallah-14/prompt-to-asset. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MohamedAbdallah-14/prompt-to-asset/main/.claude/skills/asset-validation-debug/SKILL.mdgit clone --depth 1 https://github.com/MohamedAbdallah-14/prompt-to-assetWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mohamedabdallah-14/prompt-to-asset/asset-validation-debug)<a href="https://agentmods.dev/skills/mohamedabdallah-14/prompt-to-asset/asset-validation-debug"><img src="https://agentmods.dev/badge/skills/mohamedabdallah-14/prompt-to-asset/asset-validation-debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mohamedabdallah-14/prompt-to-asset/asset-validation-debug"><img src="https://agentmods.dev/badge/skills/mohamedabdallah-14/prompt-to-asset/asset-validation-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium analysis-evasion · line 1 Suspicious Unicode normalization or mixed-script contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.02162 |
| Opus 5 | $0.00039 | $0.01081 |
| Sonnet 5 | $0.00015 | $0.00432 |
| Haiku 4.5 | $0.00008 | $0.00216 |
Grade A, and why
asset-validation-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Asset validation + repair
Triggered when asset_validate(), asset_generate_*, or asset_save_inline_svg returns warnings or errors. Do NOT loop on the same failure; follow the tree and respect the retry budget.
Failure code → repair table
| Code | Origin | Repair primitive | Retry budget |
|---|---|---|---|
T0_CHECKERBOARD |
Imagen/Gemini rendering fake transparency | Route change → gpt-image-1 (background:"transparent"), Ideogram v3 (style:"transparent"), Recraft V3 |
2 |
T0_ALPHA_MISSING |
RGB-only output on transparency-required asset | Matte via asset_remove_background (BiRefNet preferred, RMBG fallback) |
1 |
T0_DIMENSIONS |
wrong width/height API params |
Fix params, regenerate | 1 |
T0_SAFE_ZONE |
subject bleeds outside platform center | Regenerate with explicit "centered with 20% padding on all sides" |
1 |
T0_FILE_SIZE (SVG) |
path count blows budget | asset_save_inline_svg → SVGO → K-means color reduction → vtracer |
1 |
T0_DCT_ENTROPY |
solid-color / NSFW-filter hit | Regenerate same params once; if repeats, change prompt | 1 |
T1_PALETTE_DRIFT |
model ignored hex constraint | Recraft with controls.colors or recolor post-process (K-means remap in LAB) |
1 |
T1_TEXT_MISSPELL |
diffusion garbled wordmark | Drop text, composite SVG type (retry Ideogram 3 if text-only asset) | 0 in-diffusion / 1 on Ideogram |
T1_LOW_CONTRAST |
pale palette at 16×16 or over background | Regenerate with explicit contrast instruction; else post-boost luminance | 2 |
T1_VQASCORE |
prompt-image alignment weak | Defect area <15% → inpaint; else full regenerate | 2 |
T2_BRAND_DRIFT |
style diverges from brand refs | Seed sweep (N=4, rank by CLIPScore + HPSv2); augment brand bundle | 1 |
T2_COMPOSITION |
off-center, cluttered, poor whitespace | img2img at low denoise (0.35) — preserves layout, fixes style | 1 |
When a budget exhausts: stop retrying, report to user with diagnostic payload. Do not loop.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 149 lines · 77 tokens per session scan A 87e661e0978d
asset-validation-debug is a skill published in the GitHub repository MohamedAbdallah-14/prompt-to-asset (19 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 2,162 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
watch
Watch a rendered video (whole file or specific ranges) at a chosen fidelity and emit a timestamp-keyed observation report. Observation only — no edits, no verdicts.
hyperframes-best-practices
Production-grade HyperFrames workflow for turning a raw screencast or talking-head recording into a polished product video. Covers the smart-cut pipeline (transcript + silence + scene detection with word-boundary buffers), surgical audio scrubbing (concat-filter rendering, adeclick, targeted transient mute), the…
parallel-investigation
Coordinates parallel investigation threads to simultaneously explore multiple hypotheses or root causes across different system areas. Use when debugging production incidents, slow API performance, multi-system integration failures, or complex bugs where the root cause is unclear and multiple plausible theories exist…
hypothesis-testing
Applies the scientific method to debugging by helping users form specific, testable hypotheses, design targeted experiments, and systematically confirm or reject theories to find root causes. Use when a user says their code isn't working, they're getting an error, something broke, they want to troubleshoot a bug, or…
trace-and-isolate
Applies systematic tracing and isolation techniques to pinpoint exactly where a bug originates in code. Use when a bug is hard to locate, code is not working as expected, an error or crash appears with unclear cause, a regression was introduced between recent commits, or you need to narrow down which component…
root-cause-analysis
Performs systematic root cause analysis to identify the true source of bugs, errors, and unexpected behavior through structured investigation phases — not just treating symptoms. Use when a user reports a bug, crash, error, or broken behavior and needs to debug, troubleshoot, or investigate why something is not…