Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add DuanZGit/D-Hub --skill travel-photo-abstractiongit clone --depth 1 https://github.com/DuanZGit/D-HubWrote 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/duanzgit/d-hub/travel-photo-abstraction)<a href="https://agentmods.dev/skills/duanzgit/d-hub/travel-photo-abstraction"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/travel-photo-abstraction/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/duanzgit/d-hub/travel-photo-abstraction"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/travel-photo-abstraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00121 | $0.03619 |
| Opus 5.5 | $0.00048 | $0.01448 |
| Sonnet 5.5 | $0.00024 | $0.00724 |
| Haiku 4.5 | $0.00012 | $0.00362 |
Grade A, and why
travel-photo-abstraction 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 23d 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 — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Travel Photo Abstraction
Treat the task as three deliberate operations: deconstruct, abstract/distill, and reconstruct. The lower panel is a new visual composition made from relationships extracted from the upper photograph. It is neither a miniature redraw nor a style-converted copy. Derive all lower-panel evidence from the source photograph and only the mark language from the bundled references. Never apply reference style to the original photograph.
Input role lock
- Define
USER_PHOTOas the photograph attached or uploaded by the user in the current request. Record its exact local path before analysis. - Define
STYLE_REFSas selected files fromassets/style-references/. They guide only the lower generated panel. - Define
GENERATED_PANELas the new abstract image produced for the lower half. - The final composite must contain exactly
USER_PHOTOabove andGENERATED_PANELbelow. Never place a style reference, prior output, screenshot, or generated derivative in the photographic position. - Use the same locked
USER_PHOTOpath for visual analysis, metadata/date inspection, palette evidence,finalize_artwork.py, and validation. If the path becomes unavailable, stop instead of substituting another image.
Non-negotiable delivery contract
- Treat the image-generation result as a temporary abstract-panel asset. Never display or return it to the user.
- Obtain real local filesystem paths for the untouched original and generated abstract panel. If either path is unavailable, stop and return no artwork.
- Produce the deliverable only with
scripts/finalize_artwork.py; do not run the compositor and validator separately for final delivery. - Return an image only after the finalizer prints
DELIVERY PASS. Return only its output path, never the generated panel path. - If generation, local saving, composition, or validation fails, return no image and name the failed stage. An abstract panel without the original is always an intermediate failure.
- Keep
USER_PHOTOabove the abstraction at its exact native width, height, orientation, and RGB pixel values. Never resize it, even proportionally.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 389 B
- assets/style-references/memory-reference-018.png 1406 KB
- references/analysis-method.md 8.9 KB
- references/run-log-template.md 1.2 KB
- references/structural-reference-index.md 2.8 KB
- references/style-guide.md 8.3 KB
- scripts/check_installation.py 1.3 KB runs code
- scripts/compose_artwork.py 4.1 KB runs code
- scripts/finalize_artwork.py 2.0 KB runs code
- scripts/validate_output.py 4.6 KB runs code
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.
- 23d ago First seen · 134 lines · 121 tokens per session scan A b713493e199e
travel-photo-abstraction is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 121 tokens to every session and 3,619 once invoked, about $0.0005 per session on Opus 5.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-11-06.
travel-photo-abstraction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| travel-photo-abstractionDuanZGit/D-Hub | Skill | 0 | yesterday | MIT | A | 121 | Claude Code, Codex |
| diagram-workflowrcarmo/piclaw-addons | Skill | 25 | today | MIT | A | 20 | Claude Code, Codex |
| diagram-colour-pickerrcarmo/piclaw-addons | Skill | 25 | today | MIT | A | 21 | Claude Code, Codex |
| spec-imagerenky1025/agent-skills | Skill | 13 | 1mo ago | MIT | A | 286 | Claude Code |
| image-designrenky1025/agent-skills | Skill | 13 | 1mo ago | MIT | A | 203 | Claude Code, Codex |
| design-md-extractorrenky1025/agent-skills | Skill | 13 | 1mo ago | MIT | A | 193 | Claude Code, Codex |
| mckinsey-coverrenky1025/agent-skills | Skill | 13 | 1mo ago | MIT | A | 0 | Claude Code |