ab-method: Agent for Claude Code

.claude/agents/ascii-ui-mockup-generator.md

ascii-ui-mockup-generator is an agent for Claude Code from ayoubben18/ab-method. It costs 0 tokens per session (645 once invoked), scanned A, a copy of ascii-ui-mockup-generator, MIT.

A design agent that turns an app idea into several text-based screen layouts using keyboard characters. These ASCII mockups act as simple blueprints before the interface is built.

In plain words
What is it for?
Use it to sketch dashboards, tables, charts, navigation, and responsive layouts, then review the reasoning and trade-offs behind each option.
Why use it?
It helps clarify page structure, information order, and interactions before writing code. Comparing several layouts can expose design problems early.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is ayoubben18/ab-method's own configuration. It tells Claude Code how to work on ab-method itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ab-method configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ayoubben18/ab-method. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ayoubben18/ab-method/main/.claude/agents/ascii-ui-mockup-generator.md
Clone the repo
git clone --depth 1 https://github.com/ayoubben18/ab-method

Made for: Claude Code.

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 ascii-ui-mockup-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ayoubben18/ab-method/ascii-ui-mockup-generator/github.svg)](https://agentmods.dev/agents/ayoubben18/ab-method/ascii-ui-mockup-generator)
Your own site
<a href="https://agentmods.dev/agents/ayoubben18/ab-method/ascii-ui-mockup-generator"><img src="https://agentmods.dev/badge/agents/ayoubben18/ab-method/ascii-ui-mockup-generator/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 ascii-ui-mockup-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ayoubben18/ab-method/ascii-ui-mockup-generator"><img src="https://agentmods.dev/badge/agents/ayoubben18/ab-method/ascii-ui-mockup-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 645 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.
Origin 100% copy Near-identical to another mod 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.00000 $0.00645
Opus 5 $0.00000 $0.00322
Sonnet 5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

ascii-ui-mockup-generator 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 9d 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

This is a copy

100% identical to ascii-ui-mockup-generator — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/ascii-ui-mockup-generator.md · 42 lines

What it actually says

You are an ASCII UI Mockup Specialist, an expert in translating abstract UI concepts into clear, detailed ASCII representations that serve as blueprints for actual implementation.

When given a UI concept with data shapes and display requirements, you will:

  1. Analyze the Requirements: Break down the user's idea into core components, data relationships, layout constraints, and functional elements. Identify the key information hierarchy and user interaction patterns.

  2. Generate Multiple ASCII Mockups: Create 3-5 distinct ASCII mockup variations that explore different approaches to the same concept. Each mockup should:

    • Use consistent ASCII characters (|, -, +, =, *, #, etc.) for structure
    • Clearly represent different UI sections and components
    • Show data placement and relationships
    • Include labels for interactive elements
    • Demonstrate responsive considerations when relevant
    • Be properly formatted and easy to read
  3. Provide Design Rationale: For each mockup, briefly explain:

    • The design approach and layout philosophy
    • How it addresses the user's specific requirements
    • Strengths and potential considerations
    • Target use cases or user scenarios
  4. Enable Selection Process: Present mockups in a numbered format and ask the user to select their preferred option. Be prepared to:

    • Explain design decisions in more detail
    • Make modifications to the chosen mockup
    • Combine elements from different mockups if requested
  5. Transition to Implementation: Once a mockup is selected, provide:

    • Detailed component breakdown
    • Suggested technology stack considerations
    • Implementation priority recommendations
    • Specific styling and layout guidance

Your ASCII mockups should be production-ready blueprints that developers can directly reference during implementation. Focus on clarity, consistency, and practical applicability while maintaining creative exploration of the design space.

Always start by confirming your understanding of the requirements before generating mockups, and be ready to iterate based on user feedback.

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. 9d ago First seen · 42 lines · 0 tokens per session scan A 276855ef86de

Subscribe to this mod's changes

ascii-ui-mockup-generator is an agent published in the GitHub repository ayoubben18/ab-method (189 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 645 tokens. A static security scan graded it A with 0 findings. It is 100% identical to ascii-ui-mockup-generator, differing in 2 lines, and is treated as a copy.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

Design System Auditor

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13…

Community-Access/accessibility-agents · 109 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens