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.
npx skills add dinhanhthi/coding-friend --skill cf-designgit clone --depth 1 https://github.com/dinhanhthi/coding-friendWrote 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.
[](https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-design)<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-design"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-design/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.
<a href="https://agentmods.dev/skills/dinhanhthi/coding-friend/cf-design"><img src="https://agentmods.dev/badge/skills/dinhanhthi/coding-friend/cf-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.02254 |
| Opus 5.5 | $0.00030 | $0.00902 |
| Sonnet 5.5 | $0.00015 | $0.00451 |
| Haiku 4.5 | $0.00008 | $0.00225 |
Grade A, and why
cf-design 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cf-design
Design UI with intent and consistency: $ARGUMENTS
Modes
Three modes, triggered by the first word of $ARGUMENTS:
| Invocation | Mode | Purpose |
|---|---|---|
/cf-design scan [path] |
Scan | Read existing UI files → extract design patterns → save to docs/DESIGN.md |
/cf-design [description] |
Design | Implement new UI from the user's description, using existing patterns as a base |
/cf-design modify [what] -- [how] |
Modify | Change a specific UI element, enforcing consistency with existing patterns |
If $ARGUMENTS is empty, ask the user which mode they want and what their goal is.
Step 0: Custom Guide
bash "<plugin-root>/lib/load-custom-guide.sh" cf-design
If the block above printed anything, apply only the ## Before, ## Rules, and ## After sections; if it shows the raw command instead of output, re-run that exact load-custom-guide.sh fence now.
Step 0.5: Load Existing Design Context
Run: bash "<plugin-root>/skills/cf-design/scripts/load-design-context.sh"
- If
DESIGN.mdexists: read it now and keep it in working memory for all subsequent steps. This is the project's source of truth for visual style. - If not found: note that patterns are unknown and will either be extracted (scan mode) or defined fresh.
Step 1: Determine Mode
Parse $ARGUMENTS:
- Empty → ask the user: "What would you like to do? (a) scan existing UI patterns, (b) design something new, or (c) modify a specific element?"
- First word is
scan(case-insensitive) → Scan mode (Step 2) - First word is
modify(case-insensitive) → Modify mode (Step 4) - Anything else → Design mode (Step 3)
Step 2: Scan Mode
Goal: understand the project's visual DNA and write it down so every future design decision can be consistent.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -4 lines 41177a70e15d
- 1mo ago First seen · 208 lines · 76 tokens per session scan A 89479665285d
cf-design is a skill published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 2,254 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
web-design-engineer
Build or redesign polished browser-rendered visual artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations. Use for visual front-end creation, design-system exploration, design critique, or explicit browser acceptance / QA of a web artifact.…
yida-data-manage-ui
A method for improving the appearance and usability of Yida data-management pages, while keeping their data, permissions, queries, and business actions unchanged. Yida is a platform for building business applications.
webflow-mcp:interactions
Create, update, list, and delete Webflow IX3 interactions (GSAP animations) through Webflow MCP. Use when the user wants click/hover/load/scroll/mouse-move animations, interaction timelines, or datainteractionstool / createinteraction payloads.
webflow-mcp:flowkit-naming
Apply Flowkit CSS naming system in Webflow. Use when creating classes, auditing existing naming, or building new components following Flowkit conventions. Flowkit is Webflow's official CSS framework with utility-first approach. Runs headlessly against a page ID — no Designer connection required, except for the…
hz-metavrx-ui-set
Builds app UI for Meta VR and Horizon OS with the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers UiSetTheme, buttons, cards, controls, dialogs, dropdowns, inputs, side navigation, sliders, tooltips, the Icons.Regular library, Gradle setup, and migration from the Spatial SDK UI Set. Build…
frontend-blueprint
AI frontend specialist and design consultant that guides users through a structured discovery process before generating any code. Collects visual references, design tokens, typography, icons, layout preferences, and brand guidelines to ensure the final output matches the user's vision with high fidelity. Use when the…