run-wenlan-app

run-wenlan-app is a skill for Claude Code from wenlan-app/wenlan. It costs 71 tokens per session (5,089 once invoked), scanned A, original, Apache-2.0.

A local development recipe for launching and driving Wenlan's Tauri desktop app, which combines a Rust desktop shell with a React interface. It covers real user-interface checks, screenshots, and platform-specific launch details.

In plain words
What is it for?
Use it to build and launch the desktop app, test its interface, take screenshots, and drive it on macOS or Windows.
Why use it?
It helps verify that a UI change works in the actual desktop application rather than only in code or automated tests. It also keeps the app connected to an isolated service instance.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to build and launch the desktop app, test its interface, take screenshots, and drive it on macOS or Windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wenlan-app/wenlan/run-wenlan-app
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.

Any agent
npx skills add wenlan-app/wenlan --skill run-wenlan-app
Clone the repo
git clone --depth 1 https://github.com/wenlan-app/wenlan

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 run-wenlan-app

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenlan-app/wenlan/run-wenlan-app"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/run-wenlan-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,089 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.00071 $0.05089
Opus 5.5 $0.00028 $0.02036
Sonnet 5.5 $0.00014 $0.01018
Haiku 4.5 $0.00007 $0.00509

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

Security

Grade A, and why

run-wenlan-app 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (driver.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/run-wenlan-app/SKILL.md · 353 lines

How it starts

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

Run wenlan-app (dev)

Tauri 2 desktop app (Rust app/ + React/Vite frontend on :1420). Drive it with .claude/skills/run-wenlan-app/driver.sh — all paths below are relative to the unit root (repo or worktree root).

Prerequisites, both Run sections, Gotchas, and Troubleshooting below are macOS only (driver.sh, vite, ScreenCaptureKit). On Windows the webview is WebView2 and the recipe is different — jump to Windows (WebView2).

A debug build refuses to start without a complete isolated runtime identity (validate_debug_runtime_isolation in app/src/lib.rs), so launch takes the worktree-scoped config from scripts/dev-runtime.sh and starts its own daemon on the worktree port. The user's live wenlan-server on :7878 is never the daemon under test and must never be killed; stop only ends the daemon this worktree recorded.

Prerequisites

  • pnpm install done in the unit root (worktrees start without node_modules).
  • No sibling checkout needed: the monorepo checkout is the backend, and scripts/resolve-backend-dir.sh probes the repo root first (an explicit WENLAN_BACKEND_DIR overrides it; a sibling checkout is only a legacy fallback). The driver defaults CARGO_TARGET_DIR to the main checkout (a warm cargo cache) via git rev-parse --git-common-dir, so worktrees work out of the box.
  • Terminal needs macOS Screen Recording permission (for shot).

Run (agent path)

.claude/skills/run-wenlan-app/driver.sh build    # sidecars + cargo build (decoupled from tauri dev)
.claude/skills/run-wenlan-app/driver.sh launch   # isolated daemon + vite up + launch target/debug/wenlan-app directly → "APP UP"
.claude/skills/run-wenlan-app/driver.sh shot /tmp/shot.png   # window PNG, works while occluded
.claude/skills/run-wenlan-app/driver.sh stop     # kills only the dev app, vite, and this worktree's daemon; never :7878

Logs land in $TMPDIR/wenlan-app.log and $TMPDIR/wenlan-vite.log. Look at the screenshot after shot — a blank frame means the frontend did not load.

Read the full file on GitHub · 353 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. 4d ago First seen · 353 lines · 71 tokens per session scan A 76eabd53f519

Subscribe to this mod's changes

run-wenlan-app is a skill published in the GitHub repository wenlan-app/wenlan (82 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 5,089 once invoked, about $0.0003 per session on Opus 5.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-10-11.

Related

Other skills, from other repositories

verify

Drive/evidence recipe for verifying wenlan changes at their real surfaces (daemon HTTP, CLI, MCP stdio). The handle file the built-in verify protocol expects; launch primitives live in the run-wenlan skill, deeper machinery (mutation audit, behavior trace, weekly sweep) in the prove skill.

7xuanlu/wenlan · 63 tokens

prove

Per-surface verification loops for wenlan — daemon, cli, mcp, plugin, suite strength (mutation), behavior trace, weekly sweep. Routes to scripts; every check records evidence via attest. Deeper than the built-in verify skill — use prove for mutation audits, behavior tracing, and the weekly sweep; built-in /verify…

7xuanlu/wenlan · 74 tokens

run-wenlan-app

Build, launch, screenshot, and drive the wenlan-app Tauri desktop app in dev mode on macOS (WKWebView) or Windows (WebView2). Use when asked to run or start the app, verify a UI change in the real running app (not just tests), or take a screenshot of it.

7xuanlu/wenlan · 71 tokens

help

Show a one-screen Codex reference for the Wenlan plugin. Use when the user asks for Wenlan help, command list, invokes /help, or explicitly asks about import progress.

7xuanlu/wenlan · 39 tokens

run-wenlan

Build, launch, and stop the wenlan daemon (wenlan-server) for local dev and verification. Use when asked to run or restart the daemon, or before driving any surface (HTTP, CLI, MCP) against a live instance.

7xuanlu/wenlan · 53 tokens

setup

Frictionless Wenlan setup for Codex. Detects a missing local runtime, installs or repairs it, and verifies the plugin to MCP to local runtime round-trip. Run when the user says "set up wenlan", "is wenlan working", or "fix wenlan".

7xuanlu/wenlan · 59 tokens