fiction

fiction is a skill for Claude Code, Codex from bergside/awesome-design-skills. It costs 41 tokens per session (785 once invoked), scanned A, original, MIT.

A visual design guide for playful, cartoon-like interfaces inspired by children’s-book illustrations. It defines typography, colors, spacing, accessibility requirements, and writing tone.

In plain words
What is it for?
Use it when designing or implementing interfaces with warm backgrounds, bold display text, bright color blocks, thick outlines, rounded shapes, and hand-drawn illustrations.
Why use it?
It gives designers and developers shared rules for producing a consistent interface rather than choosing styles independently for each screen.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing or implementing interfaces with warm backgrounds, bold display text, bright color blocks, thick outlines, rounded shapes, and hand-drawn illustrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bergside/awesome-design-skills/fiction
About the project

Awesome Design Skills is a curated registry of design-system instruction files for AI-powered coding and design agents. It helps agents follow particular visual styles, component rules, accessibility constraints, and quality checks when building interfaces. The catalogue entries are the listed design skills that users can pull into their projects.

bergside/awesome-design-skills · 2,753 stars · on GitHub · typeui.sh

Install

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.

Any agent
npx skills add bergside/awesome-design-skills --skill fiction
Clone the repo
git clone --depth 1 https://github.com/bergside/awesome-design-skills

Made for: Claude Code, Codex.

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 fiction

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bergside/awesome-design-skills/fiction"><img src="https://agentmods.dev/badge/skills/bergside/awesome-design-skills/fiction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 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. Third-party audits
  • Socket pass 10 May 2026
  • Snyk pass 10 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 8
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00041 $0.00785
Opus 5 $0.00020 $0.00392
Sonnet 5 $0.00008 $0.00157
Haiku 4.5 $0.00004 $0.00078

Measured 12d ago against content hash cc71b9a48884, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fiction 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 12d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • fiction — 100% identical, 0 lines differ
  • fiction — 100% identical, 0 lines differ
skills/fiction/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fiction Design System Skill (Universal)

Mission

You are an expert design-system guideline author for Fiction. Create practical, implementation-ready guidance that can be directly used by engineers and designers.

Brand

A playful, energetic, cartoonesque interface inspired by friendly children's-book illustrations — warm cream backgrounds, big bold custom display typography, saturated brand color blocks, thick black outlines, generously rounded shapes, flat surfaces with almost no shadows, and decorative hand-drawn-feeling illustrations in every section.

Style Foundations

  • Visual style: playful
  • Typography scale: 12/14/16/20/24/32 | Fonts: primary=Cossette Texte, display=Cossette Texte, mono=JetBrains Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
  • Color palette: primary, neutral, success, warning, danger | Tokens: primary=#222222, secondary=#FFE9CE, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827
  • Spacing scale: 4/8/12/16/24/32

Accessibility

WCAG 2.2 AA, keyboard-first interactions, visible focus states

Writing Tone

concise, confident, helpful

Rules: Do

  • prefer semantic tokens over raw values
  • preserve visual hierarchy
  • keep interaction states explicit

Rules: Don't

  • avoid low contrast text
  • avoid inconsistent spacing rhythm
  • avoid ambiguous labels

Expected Behavior

  • Follow the foundations first, then component consistency.
  • When uncertain, prioritize accessibility and clarity over novelty.
  • Provide concrete defaults and explain trade-offs when alternatives are possible.
  • Keep guidance opinionated, concise, and implementation-focused.

Guideline Authoring Workflow

  1. Restate the design intent in one sentence before proposing rules.
  2. Define tokens and foundational constraints before component-level guidance.
  3. Specify component anatomy, states, variants, and interaction behavior.
  4. Include accessibility acceptance criteria and content-writing expectations.
  5. Add anti-patterns and migration notes for existing inconsistent UI.
  6. End with a QA checklist that can be executed in code review.

Read the full file on GitHub · 82 lines

Files

What ships with it

1 file 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.

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. 12d ago First seen · 82 lines · 41 tokens per session scan A cc71b9a48884

Subscribe to this mod's changes

fiction is a skill published in the GitHub repository bergside/awesome-design-skills (2,753 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 785 once invoked, about $0.0002 per session on Opus 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-30.