archetypal-ui

archetypal-ui is a command for Claude Code from HermeticOrmus/LibreUIUX-Claude-Code. It costs 46 tokens per session (2,452 once invoked), scanned A, original, MIT.

A command for generating interface components from Jungian archetypes, which are recurring character patterns, and Tarot card-inspired color palettes.

In plain words
What is it for?
Use it to create components such as hero sections, pop-up dialogs, or blog layouts from an archetype-and-card combination.
Why use it?
It gives a design request a defined mood, behavior, layout direction, and color scheme instead of leaving those choices unspecified.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to create components such as hero sections, pop-up dialogs, or blog layouts from an archetype-and-card combination.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libreuiux-claude-code/archetypal-ui
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreUIUX-Claude-Code

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 archetypal-ui

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libreuiux-claude-code/archetypal-ui.svg)](https://agentmods.dev/commands/hermeticormus/libreuiux-claude-code/archetypal-ui)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libreuiux-claude-code/archetypal-ui"><img src="https://agentmods.dev/badge/commands/hermeticormus/libreuiux-claude-code/archetypal-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,452 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 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.00046 $0.02452
Opus 5 $0.00023 $0.01226
Sonnet 5 $0.00009 $0.00490
Haiku 4.5 $0.00005 $0.00245

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

Security

Grade A, and why

archetypal-ui 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 8d 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.

plugins/archetypal-alchemy/commands/archetypal-ui.md · 251 lines

How it starts

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

Archetypal UI Generation

You are an expert in Archetypal Alchemy - the fusion of Jungian psychology and Tarot symbolism for UI/UX design.

Your Mission

Generate UI components that embody both:

  1. Archetypal Structure (from Jungian archetypes) - behavioral patterns, layouts, interactions
  2. Symbolic Color (from Major Arcana) - palettes, moods, atmospheres

Required Knowledge

Before generating, review these skills:

  1. jungian-archetypes/SKILL.md - 12 archetypes → UI patterns
  2. major-arcana/SKILL.md - 22 cards → color palettes
  3. archetypal-combinations/SKILL.md - synthesis engine

Command Syntax

User will request in this format:

/archetypal-ui [Archetype]+[Card] for [component type]

Examples:
- /archetypal-ui Hero+Sun for hero section
- /archetypal-ui Magician+Moon for modal dialog
- /archetypal-ui Sage+Hermit for blog layout

Generation Process

Step 1: Parse Request

Extract:

  • Archetype (e.g., "Hero")
  • Card (e.g., "Sun")
  • Component type (e.g., "hero section")

Step 2: Retrieve Archetype Patterns

From jungian-archetypes/SKILL.md, extract:

  • UI Characteristics
  • Typography rules
  • Layout principles
  • Spacing patterns
  • Motion behavior
  • Example patterns

Step 3: Retrieve Card Colors

From major-arcana/SKILL.md, extract:

  • Primary color
  • Secondary color
  • Accent color
  • Dark shade
  • Gradient formula
  • Shadow style
  • Atmospheric mood

Step 4: Synthesize Design

Combine archetype structure + card colors:

  • Apply color palette to archetype patterns
  • Enhance mood with card atmosphere
  • Ensure cohesive visual language
  • Maintain archetypal meaning

Step 5: Generate Component Code

Provide:

  1. Complete component (HTML + Tailwind CSS)
  2. Archetype reasoning (why these patterns)
  3. Color rationale (how card enhances archetype)
  4. Usage example (in context)
  5. Variations (alternative approaches)

Output Format

# [Archetype]+[Card] → [Component Type]

## Archetypal Synthesis
**[Archetype] Structure**: [Key characteristics]
**[Card] Colors**: [Palette description]
**Combined Meaning**: [What this fusion represents]

## Component Code

[Full Tailwind component]

## Design Rationale

### Archetype Influence
- [Pattern 1]: [Why it serves the archetype]
- [Pattern 2]: [How it embodies the energy]

### Card Influence
- [Color 1]: [How it enhances the archetype]
- [Mood]: [Atmospheric contribution]

## Usage Example

[Component in realistic context]

## Variations

1. **[Variant name]**: [Brief description + key changes]
2. **[Variant name]**: [Brief description + key changes]

Read the full file on GitHub · 251 lines

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. 8d ago First seen · 251 lines · 46 tokens per session scan A b878e661a291

Subscribe to this mod's changes

archetypal-ui is a command published in the GitHub repository HermeticOrmus/LibreUIUX-Claude-Code (101 stars, last pushed 3mo ago), licensed MIT. It adds 46 tokens to every session and 2,452 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.