setup

setup is a skill for Claude Code from wenlan-app/wenlan. It costs 76 tokens per session (1,993 once invoked), scanned A, original, Apache-2.0.

A setup command for Wenlan's local runtime, the background process that provides its memory service. It checks the service, repairs or installs it when needed, and verifies the connection between the plugin, service, and memory system.

In plain words
What is it for?
Use it when setting up Wenlan, checking whether it works, or fixing a broken Wenlan installation.
Why use it?
It removes manual troubleshooting when Wenlan is missing, unhealthy, or using mismatched versions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the wenlan plugin — 8 skills, 2 hooks shipped together

Good fit Use it when setting up Wenlan, checking whether it works, or fixing a broken Wenlan installation.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add wenlan-app/wenlan
Claude Code
/plugin install wenlan

Made for: Claude Code.

Or install wenlan, the plugin that ships this one along with the rest of its 8 skills, 2 hooks.

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 setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenlan-app/wenlan/setup"><img src="https://agentmods.dev/badge/skills/wenlan-app/wenlan/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00076 $0.01993
Opus 5.5 $0.00030 $0.00797
Sonnet 5.5 $0.00015 $0.00399
Haiku 4.5 $0.00008 $0.00199

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

Security

Grade A, and why

setup scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS -m 3 "${WENLAN_HOST:-http://127.0.0.1:7878}/api/health" && break
plugin/skills/setup/SKILL.md · 217 lines

How it starts

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

Setup

Reached through /wenlan: bare /wenlan starts this when Wenlan is not ready, and so does asking to set up or fix it.

Self-healing setup. Goal: two user actions max: install plugin, type /wenlan. Default backend is local memory: no local model, no API key, no prompts.

Steps

Run in order. Stop and report at the first failure that needs human attention. Otherwise, push through automatically.

1. Health probe

for i in 1 2 3; do
  curl -fsS -m 3 "${WENLAN_HOST:-http://127.0.0.1:7878}/api/health" && break
  sleep 1
done
  • 200 OK: continue to version drift probe.
  • Anything else: continue to bootstrap.

2. Version drift probe

Compare daemon version vs plugin manifest version:

PLUGIN_JSON="${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json"
"${CLAUDE_PLUGIN_ROOT}/scripts/version-drift.sh" --health-url "${WENLAN_HOST:-http://127.0.0.1:7878}/api/health" --manifest "$PLUGIN_JSON"

It prints one line, daemon=<v> expected=<v> release=<v> result=<result>, comparing numerically per component with build metadata (+g<sha>) stripped. older means the daemon is older than the plugin.

  • result=same: continue to doctor.
  • If the probe cannot run because the runtime is down: continue to bootstrap.
  • result=unknown with a healthy runtime (manifest unreadable or no version reported): continue to doctor; the next /wenlan will report the mismatch again if one exists.
  • If mismatch, check the direction before repairing. result=newer: the daemon release is newer than the plugin release, so the plugin cache is stale, not the runtime. Skip the repair below (it would only reinstall the same-or-latest runtime and restart a healthy daemon) and go straight to the stop message in step 4 — update the plugin, restart, rerun.
  • Only if the daemon release is older than the plugin release, repair the runtime (result=older):
npx -y [email protected] setup
export PATH="$HOME/.wenlan/bin:$PATH"

That is the same pinned package step 3 uses; the same platform limits and manual fallback apply. Then continue to the health and version re-probe below. The package deliberately installs the latest stable runtime. Do not downgrade a newer runtime to match a stale plugin cache.

Read the full file on GitHub · 217 lines

Files

What ships with it

1 file 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. today Changed d0a7df463b5b
  2. 2d ago Changed c0c34e752b4a
  3. 4d ago Changed 14319f47d624
  4. 6d ago Changed · +5 lines 5fbac94f9734
  5. 7d ago Changed 193048ae7e54
  6. 9d ago Changed ea5bab7781f7
  7. 10d ago Changed e3afbf881a5a
  8. 12d ago Changed f3f55f91d341
  9. 13d ago Changed · +1 lines b026a95ee161
  10. 15d ago First seen · 211 lines · 76 tokens per session scan A d989e792d315

Subscribe to this mod's changes

setup is a skill published in the GitHub repository wenlan-app/wenlan (502 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 1,993 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.

Related

setup compared with skills from other repositories

setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setupwenlan-app/wenlanSkill502todayApache-2.0A76Claude Code
run-wenlan-app7xuanlu/wenlanSkill791mo agoApache-2.0A71Claude Code
help7xuanlu/wenlanSkill791mo agoApache-2.0A39Claude Code, Codex
verify7xuanlu/wenlanSkill791mo agoApache-2.0A63Claude Code
statskalinbogatzevski/captain-memoSkill56d agoApache-2.0A36Claude Code
searchkalinbogatzevski/captain-memoSkill56d agoApache-2.0A49Claude Code
doctorkalinbogatzevski/captain-memoSkill56d agoApache-2.0A52Claude Code