update

An update procedure for CapusQA, a tool for testing macOS and web apps. It updates the installed package, its Claude plugin, and its optional vision models, then restarts the running service.

In plain words
What is it for?
Use it to check versions, upgrade CapusQA from PyPI or local source, refresh the plugin and vision models, and restart the service.
Why use it?
It fixes cases where the installed package, plugin, and running service remain on different or outdated versions. Setup alone installs CapusQA but does not fully upgrade it.

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/danielbirk04/capusqa/update
Any agent
npx skills add DanielBirk04/capusqa --skill update
Clone the repo
git clone --depth 1 https://github.com/DanielBirk04/capusqa

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00075 $0.00699
Opus 5 $0.00037 $0.00349
Sonnet 5 $0.00015 $0.00140
Haiku 4.5 $0.00007 $0.00070

Measured yesterday against content hash 36bad06489d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update 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 yesterday.

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.

- **Running daemon**: `curl -s $BASE/api/status` → `version`.
client/claude/capusqa/skills/update/SKILL.md · 52 lines

How it starts

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

/capusqa:update — update CapusQA

CapusQA's setup is install-idempotent, not upgrade-aware: after a new version the plugin and the running daemon can stay on the old one. This command does the upgrade end to end. Most of it is shell + the claude CLI; only the model refresh goes through the daemon.

1 — See what you're on

BASE = the capusqa URL in .mcp.json (default http://127.0.0.1:7777).

  • Running daemon: curl -s $BASE/api/statusversion.
  • Installed package: uv tool list | grep capusqa.
  • Plugin: claude plugin list | grep capusqa. If these disagree, that's the upgrade gap — fix below.

2 — Update the package

  • From PyPI: uv tool upgrade capusqa.
  • From local source (dev): uv tool install --force '<repo-path>[browser]' ([browser] keeps web testing). Confirm with uv tool list | grep capusqa.

3 — Update the Claude plugin

claude plugin marketplace update capusqa-marketplace, then claude plugin update capusqa@capusqa-marketplace. (Applies on the next Claude Code launch — note that.) Confirm with claude plugin list | grep capusqa.

4 — Restart the daemon onto the new version

The running daemon keeps the old code in memory until restarted. Only if no run is live (curl -s $BASE/api/live shows none):

  • Find and stop it: kill $(lsof -tiTCP:7777 -sTCP:LISTEN).
  • Start fresh, detached: capusqa serve in a new terminal, or nohup capusqa serve >/tmp/capusqa.log 2>&1 &. Verify: curl -s $BASE/api/status now shows the new version.

5 — Vision models (optional)

Refresh OmniParser: curl -s -X POST $BASE/api/models/download (authed), then poll curl -s $BASE/api/models/status until ready.

6 — Relaunch Claude Code

Plugins load at launch, so ⌘Q and reopen to pick up the new plugin. Then claude plugin list and /capusqa reflect the new version.

When something's off

Plugin still old after relaunch → claude plugin uninstall capusqa@capusqa-marketplace then /capusqa:setup (or the CLI capusqa setup) to reinstall. Daemon won't restart (port busy) → make sure the old process is killed and nothing else holds :7777. More → /capusqa:help.

Read the full file on GitHub · 52 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. yesterday First seen · 52 lines · 75 tokens per session scan A 36bad06489d8

Subscribe to this mod's changes

update is a skill published in the GitHub repository DanielBirk04/capusqa (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 699 once invoked, about $0.0004 per session on Opus 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens