travel-photo-abstraction

travel-photo-abstraction is a skill for Claude Code, Codex from DuanZGit/D-Hub. It costs 121 tokens per session (3,619 once invoked), scanned A, original, MIT.

An image-making skill that studies an uploaded travel photo and creates a new abstract composition beneath it. The original photo stays unchanged, while the lower panel uses visual relationships from the photo and marks from supplied examples.

In plain words
What is it for?
Use it to create a two-part travel-photo artwork with the source photo on top and a numbered, dated, short-phrase abstraction below.
Why use it?
It gives a precise way to turn a photograph into an abstract editorial artwork without merely redrawing it or applying a style filter. It also prevents the original image from being replaced or altered.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it to create a two-part travel-photo artwork with the source photo on top and a numbered, dated, short-phrase abstraction below.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duanzgit/d-hub/travel-photo-abstraction
Install

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.

Any agent
npx skills add DuanZGit/D-Hub --skill travel-photo-abstraction
Clone the repo
git clone --depth 1 https://github.com/DuanZGit/D-Hub

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for travel-photo-abstraction

README.md
[![agentmods](https://agentmods.dev/badge/skills/duanzgit/d-hub/travel-photo-abstraction/github.svg)](https://agentmods.dev/skills/duanzgit/d-hub/travel-photo-abstraction)
Your own site
<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.

agentmods 80×15 button for travel-photo-abstraction

Your own site · 80×15
<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>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 23d ago against content hash b713493e199e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check_installation.py, scripts/compose_artwork.py, scripts/finalize_artwork.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/travel-photo-abstraction/SKILL.md · 134 lines

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_PHOTO as the photograph attached or uploaded by the user in the current request. Record its exact local path before analysis.
  • Define STYLE_REFS as selected files from assets/style-references/. They guide only the lower generated panel.
  • Define GENERATED_PANEL as the new abstract image produced for the lower half.
  • The final composite must contain exactly USER_PHOTO above and GENERATED_PANEL below. Never place a style reference, prior output, screenshot, or generated derivative in the photographic position.
  • Use the same locked USER_PHOTO path 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_PHOTO above the abstraction at its exact native width, height, orientation, and RGB pixel values. Never resize it, even proportionally.

Read the full file on GitHub · 134 lines

Changes

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.

  1. 23d ago First seen · 134 lines · 121 tokens per session scan A b713493e199e

Subscribe to this mod's changes

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.

Related

travel-photo-abstraction compared with skills from other repositories

travel-photo-abstraction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
travel-photo-abstractionDuanZGit/D-HubSkill0yesterdayMITA121Claude Code, Codex
diagram-workflowrcarmo/piclaw-addonsSkill25todayMITA20Claude Code, Codex
diagram-colour-pickerrcarmo/piclaw-addonsSkill25todayMITA21Claude Code, Codex
spec-imagerenky1025/agent-skillsSkill131mo agoMITA286Claude Code
image-designrenky1025/agent-skillsSkill131mo agoMITA203Claude Code, Codex
design-md-extractorrenky1025/agent-skillsSkill131mo agoMITA193Claude Code, Codex
mckinsey-coverrenky1025/agent-skillsSkill131mo agoMITA0Claude Code