webui

webui is a skill for Claude Code from alaliqing/claude-paper. It costs 14 tokens per session (990 once invoked), scanned C, original, MIT.

A procedure for starting the Claude Paper web viewer, a browser interface for reading and studying research papers. It installs missing web dependencies and builds the production Nuxt.js server when needed.

In plain words
What is it for?
It is for installing or repairing the viewer's dependencies, rebuilding it after changes, and starting the web interface.
Why use it?
It removes the manual setup work needed before opening the paper viewer, including checking whether its files are complete.

Skill for Claude Code

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

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 claude-paper plugin — 3 skills, 1 command, 1 hook shipped together

Good fit It is for installing or repairing the viewer's dependencies, rebuilding it after changes, and starting the web interface.

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 alaliqing/claude-paper
Claude Code
/plugin install claude-paper

Made for: Claude Code.

Or install claude-paper, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 hook.

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 webui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alaliqing/claude-paper/webui"><img src="https://agentmods.dev/badge/skills/alaliqing/claude-paper/webui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00014 $0.00990
Opus 5.5 $0.00006 $0.00396
Sonnet 5.5 $0.00003 $0.00198
Haiku 4.5 $0.00001 $0.00099

Measured 3mo ago against content hash 9bc692188e03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

webui scanned grade C with 2 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 3mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules

Makes network callslowCapability

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

if curl -s http://localhost:5815/api/papers > /dev/null 2>&1; then
plugin/skills/webui/SKILL.md · 134 lines

How it starts

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

Start Web UI

This skill starts the Claude Paper web viewer using the production Nuxt.js server.

Step 1: Check and Install Dependencies (First Run Only)

Check if web dependencies are installed (with corruption check):

cd "${CLAUDE_PLUGIN_ROOT}/src/web"

if [ ! -d "node_modules" ]; then
  echo "First run - installing web dependencies..."
  npm ci
  echo "Web dependencies installed!"
elif [ ! -f "node_modules/.package-lock.json" ] || [ ! -d "node_modules/nuxt" ]; then
  echo "ERROR: node_modules is corrupted, performing clean install..."
  rm -rf node_modules
  npm ci
  echo "Web dependencies installed!"
else
  echo "Dependencies already installed"
fi

Step 2: Build Production Server (auto-rebuilds on plugin update)

Build if needed or if plugin version changed:

cd ${CLAUDE_PLUGIN_ROOT}/src/web

PLUGIN_VERSION=$(node -e "console.log(require('${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json').version)")
BUILD_VERSION=""
if [ -f ".output/.build-version" ]; then
  BUILD_VERSION=$(cat ".output/.build-version")
fi

if [ ! -f ".output/server/index.mjs" ] || [ "$PLUGIN_VERSION" != "$BUILD_VERSION" ]; then
  echo "Building production server (v${PLUGIN_VERSION})..."
  npm run build
  echo "$PLUGIN_VERSION" > .output/.build-version
  echo "Build complete!"
else
  echo "Production build is up to date (v${BUILD_VERSION})"
fi

Step 3: Check Port Availability

Ensure port 5815 is available (with version check restart):

# Get version info for comparison
PLUGIN_VERSION=$(node -e "console.log(require('${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json').version)")
BUILD_VERSION=""
if [ -f ".output/.build-version" ]; then
  BUILD_VERSION=$(cat ".output/.build-version")
fi

if lsof -i :5815 > /dev/null 2>&1; then
  echo "INFO: Port 5815 is already in use"
  PID_FILE="/tmp/claude-paper-webui.pid"
  if [ -f "$PID_FILE" ] && kill -0 $(cat "$PID_FILE") 2>/dev/null; then
    # Check version match - restart if plugin was updated
    if [ "$PLUGIN_VERSION" = "$BUILD_VERSION" ]; then
      echo "Claude Paper web UI is already running (version ${PLUGIN_VERSION})"
      echo "Access it at: http://localhost:5815"
      exit 0
    else
      echo "Version mismatch: running ${BUILD_VERSION}, need ${PLUGIN_VERSION}"
      echo "Stopping old server..."
      kill $(cat "$PID_FILE") 2>/dev/null
      sleep 2
      rm -f "$PID_FILE"
      echo "Old server stopped, will restart with new version"
    fi
  else
    echo "ERROR: Port 5815 is occupied by another process"
    exit 1
  fi
fi

Read the full file on GitHub · 134 lines

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. 3mo ago First seen · 134 lines · 14 tokens per session scan C 9bc692188e03

Subscribe to this mod's changes

webui is a skill published in the GitHub repository alaliqing/claude-paper (360 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 990 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

webui compared with skills from other repositories

webui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webuialaliqing/claude-paperSkill3603mo agoMITC14Claude Code
knowledge-basewonderwhy-er/DesktopCommanderMCPSkill10kyesterdayMITA112Claude Code
peer-reviewxintaofei/codegSkill4.8k2d agoApache-2.0A71Claude Code
dd-code-generationDataDog/pupSkill1.0ktodayApache-2.0A16Claude Code
build-teaql-appteaql/teaql-agent-kitSkill2.8k21d agoMITA112Codex
taiyi-integrationDong90/oh-my-taiyiforgeSkill85515d agoMITA27Claude Code, Codex
output-standardsWrongStack/WrongStackSkill446todayMITA77Claude Code, Codex