agentleFS
peixlpeixl/ifq-design-skills/AGENTS.md

ifq-design-skills

AGENTS.md24 starsChanged 7 months agoApache-2.0View on GitHub

Any AI coding agent reading this file: this repo IS a skill, not an app. Your job when invoked in this workspace is to treat SKILL.md as the operating manual and follow it. This AGENTS.md exists so Codex CLI, OpenCode, sst, and any other AGENTS.md-aware runtime finds the skill without extra configuration. When you land in this repo with a design-ish user request: If the user's request is not a visual design deliverable, exit this skill cleanly and hand back…

  • Installs packages
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you land in this repo with a design-ish user request:

    line 7
  2. Very specific:

    Only escalate to Tier 1 (python scripts/verify.py) or Tier 2 (npm run install:export + ffmpeg) when the user explicitly asks for headless …

    line 12
  3. Distinctive:

    If the user's request is not a visual design deliverable, exit this skill cleanly and hand back to your default agent — do not force-fit.

    line 14
  4. Distinctive:

    Do not engage for: production web apps, SEO-critical marketing sites, backend systems, or pure copy/text rewriting.

    line 26
  5. Very specific:

    Never push these on the user if they only asked for HTML.

    line 46
  6. Distinctive:

    No outbound network calls from any script at runtime.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — IFQ Design Skills

Any AI coding agent reading this file: this repo IS a skill, not an app. Your job when invoked in this workspace is to treat SKILL.md as the operating manual and follow it. This AGENTS.md exists so Codex CLI, OpenCode, sst, and any other AGENTS.md-aware runtime finds the skill without extra configuration.

First-contact protocol (60 seconds · any runtime)

When you land in this repo with a design-ish user request:

  1. Read SKILL.md as the short root router (≈ first 120 lines). That alone tells you trigger boundaries, capabilities, permissions, tier policy, and the three-move loop.
  2. Route via references/modes.md → pick one of the 12 modes → read assets/templates/INDEX.json → fork the template into the user's working directory. Never start from a blank HTML.
  3. Verify lite with npm run verify:lite -- <file> then npm run preview -- <file> (both zero-install · Tier 0).
  4. Only escalate to Tier 1 (python scripts/verify.py) or Tier 2 (npm run install:export + ffmpeg) when the user explicitly asks for headless screenshots, MP4/GIF, PDF, or PPTX.

If the user's request is not a visual design deliverable, exit this skill cleanly and hand back to your default agent — do not force-fit.

What this repo is

A design engine packaged as a skill. One prompt in → a shippable HTML / MP4 / GIF / PPTX / PDF / SVG out, with the IFQ ambient brand layer woven into the layout.

Full protocol: SKILL.md. Start there. Everything below is just the TL;DR for agents landing here cold.

When to engage the skill

Whenever the user asks for a visual deliverable built from HTML — prototype, slide deck, motion demo, infographic, dashboard, landing page, whitepaper, changelog, business card, social cover, brand system — or wants exports (MP4 / GIF / PPTX / PDF / SVG) from the same source, or wants design variants, or wants a design critique.

Do not engage for: production web apps, SEO-critical marketing sites, backend systems, or pure copy/text rewriting.

Zero-install core loop

# write HTML into the project, then:
npm run preview -- path/to/design.html       # prints a file:// URL (no child process)
npm run verify:lite -- path/to/design.html   # pure Node placeholder scan

Works on macOS / Linux / Windows without a single npm install.

On-demand tiers (install only when needed)

User asked for…Run once
MP4 / GIF / PDF / PPTX exportnpm run install:export (pulls playwright + pdf-lib + pptxgenjs + sharp + Chromium)
MP4 / GIF specificallyplus brew install ffmpeg or apt install ffmpeg
Automated headless multi-viewport screenshots + console capturepip install playwright && python -m playwright install chromium

Never push these on the user if they only asked for HTML. playwright lives under optionalDependencies on purpose.

Safety posture (scanner-clean)

  • Zero Node/Python child_process / spawn / exec APIs in scripts/**; shell export helpers may call ffmpeg / ffprobe only when explicitly invoked for export.
  • Zero eval / new Function anywhere.
  • No outbound network calls from any script at runtime.
  • Built-in templates use local-first fonts and do not load Google Fonts unless the user explicitly opts in.
  • The skill never writes outside the user's workspace; it never installs anything silently.
  • Full capability / permission declaration lives in SKILL.md frontmatter as single-line JSON metadata (metadata.openclaw.requires, capability signals, and security signals) — permission-aware runtimes (OpenClaw, Hermes) can grant scopes from there.

Agent runtime pointers

RuntimeHow this skill is wired
Claude Codesymlink / clone into ~/.claude/skills/ifq-design-skills; frontmatter auto-discovery.
Codex CLI (OpenAI)reads this AGENTS.md; follow the pointer to SKILL.md.
OpenCode (sst/opencode)reads this AGENTS.md automatically on session start.
OpenClawregister under plugins.allow in openclaw.json, restart gateway.
Hermeshermes skills install github:peixl/ifq-design-skills.
Cursorpin @ifq-design-skills/SKILL.md at start of chat.
CodeBuddy (Tencent)reads this AGENTS.md from the workspace; pin @SKILL.md in chat to load the root router, then follow its reference map.

Full install matrix with per-agent tool mapping: references/agent-compatibility.md.

Neutral verbs (do not hard-code tool names)

This skill uses runtime-agnostic verbs. Translate them to your runtime's actual tools:

Neutral verbWhat it means
read fileopen a file and read its contents
write filecreate or overwrite a file
run commandexecute a shell command
web searchsearch the open web (for #0 fact-verification — see SKILL.md)
previewnpm run preview -- <file> — prints a file:// URL for you to hand to a browser tool or the user
verify (lite)npm run verify:lite -- <file> — zero-dep placeholder scan
verify (deep, optional)python scripts/verify.py <file> — only if Tier-1 installed

Smoke

npm run smoke

60-second sanity check (template index · identity toolkit · icon sprite · references · script syntax · placeholder leaks). Run this once after clone to confirm the skill is wired correctly.

The one rule agents break most often

From SKILL.md core principle #0: Before making any factual claim about a specific product, technology, or event (version numbers, release dates, specs), run a web search first. Training-data intuition about recent launches is wrong often enough that the 10-second search always beats the 2-hour rework. Do not skip this.


compiled by ifq.ai · 2026

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.