moltis: Skill for Claude Code

.claude/skills/gpui-mockup/SKILL.md

gpui-mockup is a skill for Claude Code from moltis-org/moltis. It costs 0 tokens per session (2,536 once invoked), scanned A, original, MIT.

A workflow for designing a Moltis Desktop interface element as real Rust code using GPUI, a framework for native graphical applications. It creates several variants in a temporary mockup window and checks captured images before moving the chosen design into the app.

In plain words
What is it for?
Use it to explore different layouts, spacing, hierarchy, and interaction ideas for a desktop UI element before implementing the final version.
Why use it?
It lets you compare concrete layouts in the app's light and dark themes instead of choosing from descriptions alone.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

This is moltis-org/moltis's own configuration. It tells Claude Code how to work on moltis 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 moltis configures →

About the project

Moltis is a persistent personal agent server written in Rust that runs on hardware controlled by its user. It provides an AI agent with sandboxed command execution, model-provider connections, memory, voice, scheduling, messaging integrations, browser automation, and MCP tools. Its catalogue add-ons extend the agent’s workflows and available tools.

moltis-org/moltis · 2,941 stars · on GitHub · moltis.org

Reuse

Borrowing it

Nothing to install: this file belongs to moltis-org/moltis. 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/moltis-org/moltis/main/.claude/skills/gpui-mockup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/moltis-org/moltis

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 gpui-mockup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/moltis-org/moltis/gpui-mockup"><img src="https://agentmods.dev/badge/skills/moltis-org/moltis/gpui-mockup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,536 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.00000 $0.02536
Opus 5.5 $0.00000 $0.01014
Sonnet 5.5 $0.00000 $0.00507
Haiku 4.5 $0.00000 $0.00254

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

Security

Grade A, and why

gpui-mockup 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/test_wait.py, scripts/wait.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/gpui-mockup/SKILL.md · 190 lines

How it starts

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

GPUI mockup (Moltis Desktop)

Build several variants of an apps/desktop UI element as gpui code, compile them into the app's dev-only --mockup window, check a capture yourself, and iterate with the user until they settle on one. Then move it into the real module.

The argument names what to design. If none is given, infer it from the conversation. Ask one question only when what to make is unclear, not for style details.

Steps

  1. Read what exists. Find the code that draws the element today in apps/desktop/src/ (for example sidebar.rs, chat_view.rs, chat_view/messages.rs, servers_view.rs, status_view.rs, markdown/render.rs) and the helpers it uses (ui.rs, theme.rs). Variants should read as evolutions of this app: its theme colours, Tailwind style spacing and radii (rounded_md, p_3, text_sm...), and fonts. Vary structure, hierarchy and density rather than inventing a new identity.
  2. Brainstorm 3–4 directions that differ in layout, hierarchy, density, or interaction, each a coherent choice someone could make.
  3. Write the file. Create a dedicated temporary directory, never inside the repository:
    dir=$(mktemp -d /tmp/gpui-mockup.XXXXXX)
    
    Write $dir/mockup.rs, starting from apps/desktop/src/mockup/demo.rs, the built-in example. The rules are under Writing variants.
  4. Build and open it in the background from the repository root, keeping the log:
    just desktop-mockup $dir/mockup.rs $dir/feedback.md $dir/shot.png > $dir/run.log 2>&1 &
    
    Poll $dir/run.log with a bounded wait (for example a loop of grep -q 'captured\|capture failed\|^error' $dir/run.log with sleep 1, up to about 3 minutes):
    • mockup: ready pid=N: the window is open. Record N; it is the only process you may stop later.
    • mockup: captured <path>: the PNG is written.
    • mockup: capture failed ...: this platform cannot capture. Skip the self-check and say so.
    • A compiler error means the process has exited. The error names lines in $dir/mockup.rs; fix them and run the command again.

Read the full file on GitHub · 190 lines

Files

What ships with it

2 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.

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. 19d ago First seen · 190 lines · 0 tokens per session scan A db13a2222f2c

Subscribe to this mod's changes

gpui-mockup is a skill published in the GitHub repository moltis-org/moltis (2,941 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,536 tokens. 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-10-19.

Related

gpui-mockup compared with skills from other repositories

gpui-mockup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gpui-mockupmoltis-org/moltisSkill2.9k14d agoMITA0Claude Code
infographicPM-Shawn/Abu-CoworkSkill4192d agoApache-2.0A71Claude Code
svg-diagramPM-Shawn/Abu-CoworkSkill4192d agoApache-2.0A70Claude Code
mermaid-diagramPM-Shawn/Abu-CoworkSkill4192d agoApache-2.0A104Claude Code
ai-native-uxRefoundAI/lenny-skillsSkill1.5k3mo agoMITA30Claude Code, Codex
product-tasteRefoundAI/lenny-skillsSkill1.5k3mo agoMITA37Claude Code, Codex
user-onboarding-activationRefoundAI/lenny-skillsSkill1.5k3mo agoMITA33Claude Code, Codex