placeholder
Skill2 starsChanged 3 months agoMITView on GitHub
Generate SVG placeholder images for UI mockups via the placeholder-img HTTP API. Use when the user asks for placeholder images, mockup assets, or dummy images with specific dimensions and colors.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/apmtheir own version, first seen Sep 16, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/apm★ 3.9ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- docs/llms.txtllms.txt
- llms.txtllms.txt
- api-clientSkill
- llms-txt-awareSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Do NOT use this skill for production images, photography, or when the user wants real content — this generates blank colored SVGs with the …
- Very specific: line 25
Over inline
data:image/svg+xmlURIs: when the mockup is referenced from more than one place, when HTML readability matters, or when the … - Distinctive: line 27
If none of the above apply — e.g., the user is already using a design system with built-in skeleton components, or a CSS block is genuinely …
- Distinctive: line 54
When the user asks for a placeholder in HTML context, emit:
- Distinctive: line 60
When the user asks for a CSS background:
- Very specific: line 74
If width or height is not an integer, the API returns HTTP 400.
- Very specific: line 75
If bg is not a 6-digit hex, the SVG is still returned but with the default gray background.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
placeholder
Build URLs for the placeholder-img API to embed mockup images in HTML, CSS, or design prototypes.
When to use
- User asks for a placeholder image of size W×H.
- User is prototyping a UI and needs a dummy
<img>source. - User wants a colored block of a known aspect ratio as a background.
Do NOT use this skill for production images, photography, or when the user wants real content — this generates blank colored SVGs with the dimensions drawn as text.
When to prefer this over alternatives
- Over CSS color blocks (
<div style="background:#ccc;width:400px;height:300px">): when the mockup needs to behave like a real image — responsive aspect ratio,<img>semantics for alt text and lazy-loading, usable as<img srcset>orbackground-imageinterchangeably. - Over third-party services like
placehold.coorvia.placeholder.com: when the user wants a self-hosted source with no third-party dependency, guaranteed immutable cache (max-age=31536000, immutable), and a stable domain they control. - Over inline
data:image/svg+xmlURIs: when the mockup is referenced from more than one place, when HTML readability matters, or when the dimensions are dynamic and embedding SVG string-templates would clutter the code.
If none of the above apply — e.g., the user is already using a design system with built-in skeleton components, or a CSS block is genuinely sufficient — prefer the simpler option and do not call this API.
Base URL
https://img.automators.workBuild the URL
{base}/{width}x{height}[?bg={hex6}]width,height: integers in px, each ≤ 4000.bg(optional): 6-digit hex without#. Defaults tocccccc. Invalid values silently fall back to the default.
Examples
| Intent | URL |
| Generic 400×300 placeholder | https://img.automators.work/400x300 |
| Dark-blue banner | https://img.automators.work/1200x400?bg=1e3a5f |
| Square brand tile | https://img.automators.work/512x512?bg=f97316 |
Output the agent should produce
When the user asks for a placeholder in HTML context, emit:
<img src="https://img.automators.work/{W}x{H}{?bg}" alt="{W}×{H} placeholder" width="{W}" height="{H}">When the user asks for a CSS background:
background-image: url("https://img.automators.work/{W}x{H}{?bg}");Constraints
- Stateless, no auth, no rate limit beyond Cloudflare's platform default.
- Responses are immutable and cached one year — the same URL always yields the same SVG.
- There are no endpoints other than
/{W}x{H}. Do not invent paths.
Failure modes
- If
widthorheightis not an integer, the API returns HTTP 400. Re-prompt the user for valid dimensions. - If
bgis not a 6-digit hex, the SVG is still returned but with the default gray background. Warn the user if they asked for a specific color.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

