HuskarUI

HuskarUI is a skill for Claude Code, Codex from mengps/PyHuskarUI. It costs 39 tokens per session (1,340 once invoked), scanned A, original, Apache-2.0.

A guide and query tool for HuskarUI, a library of QML and C++ interface components. It helps find components, documentation, examples, and mappings from general interface needs to HuskarUI choices.

In plain words
What is it for?
Use it when choosing HuskarUI components, checking examples, or creating QML pages, dialogs, toolbars, forms, navigation areas, and cards.
Why use it?
It reduces guesswork when selecting controls or following the library's conventions. Its query results are treated as the main source of component information.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/mengps/pyhuskarui/huskarui
Any agent
npx skills add mengps/PyHuskarUI --skill huskarui
Clone the repo
git clone --depth 1 https://github.com/mengps/PyHuskarUI

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 HuskarUI

README.md
[![agentmods](https://agentmods.dev/badge/skills/mengps/pyhuskarui/huskarui.svg)](https://agentmods.dev/skills/mengps/pyhuskarui/huskarui)
Your own site
<a href="https://agentmods.dev/skills/mengps/pyhuskarui/huskarui"><img src="https://agentmods.dev/badge/skills/mengps/pyhuskarui/huskarui.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.01340
Opus 5 $0.00019 $0.00670
Sonnet 5 $0.00008 $0.00268
Haiku 4.5 $0.00004 $0.00134

Measured 5d ago against content hash 1512f6289222, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

HuskarUI 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (query_metainfo.py), 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.

agent/skills/huskarui/SKILL.md · 143 lines

How it starts

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

HuskarUI

Use this skill whenever the agent needs HuskarUI component knowledge or must generate UI that should follow HuskarUI conventions. Treat Python query results as the primary source of truth. Read source files only for verification. guide.metainfo.json and query_metainfo.py are always located in <SKILL_DIR>.

When To Use

Invoke this skill proactively when any of the following is true:

  1. The agent needs to know which HuskarUI component matches a requested control, pattern, or interaction.
  2. The agent needs examples or usage guidance for a HuskarUI component.
  3. The user asks for HuskarUI-first QML code such as a page, dialog, toolbar, form, navigation area, or card.
  4. The agent is unsure whether to use HuskarUI or native QtQuick for a visible control.
  5. The agent needs to search the HuskarUI component set before proposing an implementation.

Capabilities

  1. List: Return all available component titles.
  2. Lookup: Return component documentation and embedded examples for an exact component name.
  3. Search: Find candidate components by keyword across titles and docs.
  4. Component Mapping: Map generic UI requests to HuskarUI components before code generation.
  5. HuskarUI-first Guidance: Prefer HuskarUI controls over native QtQuick when a suitable component exists.

Critical Rules

These rules are always enforced. Follow them in this order.

Metadata

  • Always use Python first. Query metadata before answering from memory.
  • Never read the full guide.metainfo.json directly. Use query_metainfo.py.
  • Use exact lookup for known component names. Do not guess APIs or examples.
  • Use keyword search for generic UI needs. Search by role such as button, dialog, avatar, table, navigation.

Component Selection

  • Prefer HuskarUI for visible controls. Buttons, inputs, avatars, dialogs, tables, navigation, and common widgets should map to HuskarUI first.
  • Use native QtQuick only when HuskarUI has no suitable component or when the need is clearly low-level layout, animation, or primitives.
  • Do not mix HuskarUI and native controls for the same role without a clear reason.
  • If no HuskarUI component fits, say so explicitly before falling back to native QtQuick.

Read the full file on GitHub · 143 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. 5d ago First seen · 143 lines · 39 tokens per session scan A 1512f6289222

Subscribe to this mod's changes

HuskarUI is a skill published in the GitHub repository mengps/PyHuskarUI (116 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,340 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.

Related

Other skills, from other repositories

HuskarUI

Queries HuskarUI metadata with Python and guides HuskarUI-first QML/C++ code. Invoke when choosing components, checking examples, or generating HuskarUI UI.

mengps/HuskarUI · 39 tokens

QmlPreviewer

Auto-detects the active QML file from editor context, runs qmlscene, and copies the rendered image to the clipboard by default. Invoke proactively when the agent needs to preview or visually verify a QML UI.

mengps/HuskarUI · 50 tokens

python-binance

Help developers use the python-binance library for trading on Binance. Use when code imports binance, references Client/AsyncClient, or asks about Binance API trading, market data, websockets, or account management.

sammchardy/python-binance · 47 tokens

antd

Use when the user's task involves Ant Design (antd) — writing antd components, debugging antd issues, querying antd APIs/props/tokens/demos, migrating between antd versions, or analyzing antd usage in a project. Triggers on antd-related code, imports from 'antd', or explicit antd questions.

ant-design/ant-design-cli · 69 tokens

humble-header-analyst

Expert-level parsing and remediation of 'humble' HTTP security header reports. Use this skill whenever the user provides a report generated by 'humble' (https://github.com/rfc-st/humble), mentions analyzing HTTP response headers, security header grades (A-E), or asks for remediation of findings such as missing…

rfc-st/humble · 84 tokens

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens