Borrowing it
Nothing to install: this file belongs to DavidLam-oss/obsidian-wechat-converter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DavidLam-oss/obsidian-wechat-converter/main/.claude/commands/openprd/ui-context.mdgit clone --depth 1 https://github.com/DavidLam-oss/obsidian-wechat-converterWrote 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.
[](https://agentmods.dev/commands/davidlam-oss/obsidian-wechat-converter/ui-context)<a href="https://agentmods.dev/commands/davidlam-oss/obsidian-wechat-converter/ui-context"><img src="https://agentmods.dev/badge/commands/davidlam-oss/obsidian-wechat-converter/ui-context.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00298 |
| Opus 5 | $0.00000 | $0.00149 |
| Sonnet 5 | $0.00000 | $0.00060 |
| Haiku 4.5 | $0.00000 | $0.00030 |
Grade A, and why
ui-context 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 3d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- openprd-ui-context — 92% identical, 2 lines differ
What it actually says
OpenPrd UI Context
For new UI, structural interface changes, design systems, or Impeccable handoff, read $openprd-ui-context and run openprd ui-context . --mode auto before implementation.
Greenfield compiles a planned UI topology from confirmed PRD/review. Brownfield consumes optional CodeGraph facts plus deterministic local UI scans. Never present planned topology as CodeGraph or existing-code facts.
After the user confirms one of three professional directions, run openprd ui-context . --direction <1|2|3> --source user-confirmed. The UI Context skill compiles PRODUCT.md/DESIGN.md and active design artifacts; the Host API owns evidence, confirmation, lint, and handoff state. Run openprd ui-context . --check before Impeccable.
Existing contract conflicts require --contract-decision preserve|merge|refresh; preserve remains blocked, while merge/refresh authorize Agent compilation without silent Host API overwrite. Lightweight local fixes use --mode local-fix only when frozen context already validates.
For interactive OpenPrd work, rebuild state from .openprd/ before acting. In unattended automation, skip OpenPrd context/gates unless the task explicitly opts into OpenPrd.
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.
- 3d ago First seen · 16 lines · 0 tokens per session scan A bdbda4e16989
ui-context is a command published in the GitHub repository DavidLam-oss/obsidian-wechat-converter (306 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 298 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-09-04.
Other commands, from other repositories
ux-recommend
The v2 flagship. Runs the 5-parallel-search Python engine across 11 data manifests (75+ styles, 170+ palettes, 65+ type pairs, 120+ components, 170+ industries, 110+ UX laws, 50+ motion presets, 120+ anti-patterns, 92 brand specs) and returns a complete recommended design system for your project — with always-on…
color-specialist
Use when colour is failing. Contrast below AA, a palette with no system behind it, dark mode that is only inverted light mode, or semantic colours that carry no meaning.
responsive-design-specialist
Use when a layout breaks between sizes. Arbitrary breakpoints, type that does not scale, images that blow out the grid, or a desktop design retrofitted onto mobile.
revisar-ui
Auditoria visual retroativa de 6 pilares do código frontend implementado.
colorize
Introduce or rework color strategy.
extract
Pull repeated patterns into reusable components and design tokens.