api-client
Skill2 starsChanged 3 months agoMITView on GitHub
Patterns for consuming the img.automators.work placeholder image API via HTTP. Use when building HTML mockups, CSS backgrounds, or design prototypes that need SVG placeholder images of specific dimensions and colors.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- SecuringTheRealm/str-agentic-adventurestheir own version, first seen May 2, 2026
- microsoft/TypeScripttheir own version, first seen Jul 26, 2024
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- microsoft/TypeScript★ 111ksame name
- fmind/dot★ 10same name
- SecuringTheRealm/str-agentic-adventures★ 4same 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
- llms-txt-awareSkill
- placeholderSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Do NOT use this skill for:
- Distinctive: line 23
When the user is already using a design system with built-in skeleton components.
- Very specific: line 71
Only endpoint is /{W}x{H}.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
api-client
Patterns for calling the img.automators.work HTTP API to generate SVG placeholder images.
When to use
- The user needs a placeholder image for a UI mockup.
- The user wants an SVG with specific dimensions (
{width}x{height}). - The user wants a colored background (
?bg={hex6}). - The user is building HTML or CSS that references a placeholder image.
Do NOT use this skill for:
- Production images, photography, or real content.
- Images larger than 4000px in any dimension.
- When the user is already using a design system with built-in skeleton components.
Base URL
https://img.automators.workEndpoint
GET /{width}x{height}[?bg={hex6}]width,height: integers in px, each <= 4000.bg(optional): 6-digit hex without#. Defaults tocccccc.
Python request pattern
import urllib.request
url = "https://img.automators.work/400x300?bg=1e3a5f"
req = urllib.request.Request(url, headers={"Accept": "image/svg+xml"})
with urllib.request.urlopen(req, timeout=15) as resp:
svg = resp.read().decode("utf-8")Error handling
import urllib.error
try:
with urllib.request.urlopen(req, timeout=15) as resp:
svg = resp.read().decode("utf-8")
except urllib.error.HTTPError as e:
if e.code == 400:
raise RuntimeError("Invalid dimensions: must be integers in format {width}x{height}")
raise RuntimeError(f"HTTP {e.code}: {e.reason}")
except urllib.error.URLError as e:
raise RuntimeError(f"Connection failed: {e.reason}")Constraints
- Stateless, no auth, no rate limit beyond Cloudflare platform default.
- Responses are immutable and cached one year.
- Only endpoint is
/{W}x{H}. Do not invent paths.
Failure modes
- HTTP 400:
widthorheightis not an integer, or path does not match{int}x{int}. - Invalid
bg: SVG still returns but with default gray background (cccccc).
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.

