tidyfactor-design: Command for Claude Code

.agents/skills/tidyfactor-design/references/commands/assets.md

assets is a command for Claude Code from alwkala/tidyfactor-design. It costs 0 tokens per session (410 once invoked), scanned A, original, MIT.

An asset-processing toolkit for generating visual media, removing image backgrounds, and compressing images into smaller web files.

In plain words
What is it for?
Use it to create AI image prompts, make transparent-background cutouts, and produce optimized WebP image versions.
Why use it?
It reduces the manual work involved in preparing images and helps keep image downloads smaller.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents).

This is alwkala/tidyfactor-design's own configuration. It tells Claude Code how to work on tidyfactor-design itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tidyfactor-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alwkala/tidyfactor-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alwkala/tidyfactor-design/main/.agents/skills/tidyfactor-design/references/commands/assets.md
Clone the repo
git clone --depth 1 https://github.com/alwkala/tidyfactor-design

Made for: Claude Code.

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 assets

README.md
[![agentmods](https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/assets/github.svg)](https://agentmods.dev/commands/alwkala/tidyfactor-design/assets)
Your own site
<a href="https://agentmods.dev/commands/alwkala/tidyfactor-design/assets"><img src="https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/assets/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 assets

Your own site · 80×15
<a href="https://agentmods.dev/commands/alwkala/tidyfactor-design/assets"><img src="https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/assets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 410 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.00000 $0.00410
Opus 5.5 $0.00000 $0.00164
Sonnet 5.5 $0.00000 $0.00082
Haiku 4.5 $0.00000 $0.00041

Measured 2mo ago against content hash 4e9f69273502, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

assets 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 2mo 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.

.agents/skills/tidyfactor-design/references/commands/assets.md · 36 lines

What it actually says

Command: assets — Asset Processing & Media Optimization Engine

Runtime entry point for generating AI media, removing image backgrounds, and optimizing image payloads.

5-Layer AI Photography Prompt Construction Matrix

When generating visual assets with generate_image or external AI image engines, construct prompts across 5 technical photography layers:

  1. Subject Layer: Primary subject, micro-textures, pose, surface materials (e.g. brushed aluminum, matte leather).
  2. Environment Layer: Setting, time of day, atmospheric conditions (fog, volumetric haze, studio backdrop).
  3. Lighting Layer: Source (softbox, natural light), direction (Rembrandt, split, backlit), color temperature.
  4. Technical Photography Layer: Perspective, focal length (85mm f/1.4), depth of field / bokeh (f/1.8 shallow focus).
  5. Post-Processing & Film Stock Layer: Color grading, subtle film grain, Kodak Portra 400 aesthetic.

Python Asset Tooling

  1. Background Removal: python scripts/remove_backgrounds.py <input_path> (rembg + Pillow transparent PNG cutouts).
  2. Batch Optimization: python scripts/optimize_images.py <assets_dir> (compress WebP variants).
  3. Asset Inspection: python scripts/inspect_images.py <assets_dir> (dimension & size budget check).

Output Convention

my-prototype/
└── assets/
    ├── hero-cutout.png      ← BG-removed cutout
    ├── banner.webp          ← WebP compressed asset
    └── photo-01.webp        ← 5-Layer AI prompt generated asset

Checklist

  • AI image prompts structured across all 5 technical photography layers
  • Product cutouts have clean transparent backgrounds (rembg)
  • Prototype assets optimized to WebP format (< 500KB payload per image)
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. 2mo ago First seen · 36 lines · 0 tokens per session scan A 4e9f69273502

Subscribe to this mod's changes

assets is a command published in the GitHub repository alwkala/tidyfactor-design (6 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 410 tokens. 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-31.

Related

assets compared with commands from other repositories

assets next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
assetsalwkala/tidyfactor-designCommand63mo agoMITA0Claude Code
agentloop-audit-queryalibaba/loongsuite-pilotCommand239yesterdayApache-2.0A5Claude Code
critique-screenOwl-Listener/designer-skillsCommand3.3k2mo agoMITA16Claude Code
critique-uxOwl-Listener/designer-skillsCommand3.3k2mo agoMITA26Claude Code
pull-repostravisjneuman/.claudeCommand107yesterdayMITA13Claude Code
design-onboardingOwl-Listener/designer-skillsCommand3.3k2mo agoMITA21Claude Code
frame-problemOwl-Listener/designer-skillsCommand3.3k2mo agoMITA15Claude Code