capacitor-platforms

capacitor-platforms is a skill for Claude Code, Codex from capawesome-team/skills. It costs 125 tokens per session (1,996 once invoked), scanned A, original, MIT.

A guide for running a Capacitor app as a desktop app on macOS, Windows, or Linux using Electron or Tauri. Capacitor is a way to run web apps with native device access.

In plain words
What is it for?
Use it to add Electron or Tauri, configure a desktop project, run it locally, enable live reload, and handle desktop-specific platform or plugin issues.
Why use it?
It helps choose between the two desktop platforms and covers the setup differences, required tools, syncing, running, live reload, deep links, and plugin compatibility.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 56repo changed 1mo ago A scan Socket: passSnyk: passSkillSpector: warn 125 tokens original MIT

Good fit Use it to add Electron or Tauri, configure a desktop project, run it locally, enable live reload, and handle desktop-specific platform or plugin issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/capawesome-team/skills/capacitor-platforms
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 capawesome-team/skills --skill capacitor-platforms
Clone the repo
git clone --depth 1 https://github.com/capawesome-team/skills

Made for: Claude Code, Codex.

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 capacitor-platforms

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/capawesome-team/skills/capacitor-platforms"><img src="https://agentmods.dev/badge/skills/capawesome-team/skills/capacitor-platforms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,996 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
  • Socket pass 6 Oct 2026
  • Snyk pass 7 Oct 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 22
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 28
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 65
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 83
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 91
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 92
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 107
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 107
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00125 $0.01996
Opus 5.5 $0.00050 $0.00798
Sonnet 5.5 $0.00025 $0.00399
Haiku 4.5 $0.00013 $0.00200

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

Security

Grade A, and why

capacitor-platforms 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 1mo 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.

skills/capacitor-platforms/SKILL.md · 129 lines

How it starts

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

Capacitor Platforms (Desktop)

Bring a Capacitor app to macOS, Windows, and Linux with the Capawesome desktop platforms: @capawesome/capacitor-electron and @capawesome/capacitor-tauri. Both use the standard Capacitor workflow (cap add / cap sync / cap run), report Capacitor.isNativePlatform() as true, and deliver deep links through the standard @capacitor/app events.

Prerequisites

Requirement Electron Tauri
Node.js LTS (18+) LTS (18+)
Capacitor 6+ 8+
Electron >= 28 (installed by the scaffold) —
Rust toolchain + system dependencies — Required — see the Tauri prerequisites guide

On Capacitor 6 and 7, the Capacitor CLI ignores the exit code of platform hooks — a failing npx cap sync still reports success. Check the log output for [capacitor-electron] errors. Capacitor 8 fails the command properly.

Agent Behavior

  • Auto-detect before asking. Read package.json and the Capacitor config to determine installed platforms and plugins before prompting the user.
  • Help choose the platform first. If the user has not committed to Electron or Tauri, apply Step 1 — plugin requirements usually decide it.
  • Always use the full package name with Capacitor CLI commands (e.g. npx cap sync @capawesome/capacitor-electron). A bare npx cap sync electron or npx cap sync tauri silently does nothing.
  • Check plugin compatibility early. On Tauri, list the app's Capacitor plugins and verify each is covered by a web implementation or a curated shim (see references/tauri.md) before recommending it.

MCP Servers

Two hosted MCP servers serve the current documentation, so both are always ahead of the guidance bundled with this skill:

  • Capawesome MCP server — the Capawesome plugins, the Capawesome CLI, and Capawesome Cloud.
  • Capacitor MCP server (unofficial) — Capacitor itself: the CLI, the capacitor.config file, the native Android and iOS projects, and the official plugin APIs.

Read the full file on GitHub · 129 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. 1mo ago Changed · +1 lines f579fcf57056
  2. 2mo ago Changed · +6 lines 3ea99afba48c
  3. 2mo ago Changed · +2 lines f7c16955421d
  4. 3mo ago First seen · 120 lines · 125 tokens per session scan A f20d5dc2abc6

Subscribe to this mod's changes

capacitor-platforms is a skill published in the GitHub repository capawesome-team/skills (56 stars, last pushed 12d ago), licensed MIT. It adds 125 tokens to every session and 1,996 once invoked, about $0.0005 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-08-30.

Related

capacitor-platforms compared with skills from other repositories

capacitor-platforms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capacitor-platformscapawesome-team/skillsSkill5612d agoMITA125Claude Code, Codex
ios-simulator-previewkirodotdev/KiroCrewSkill5.2ktodayApache-2.0B78Claude Code, Codex
capacitor-pluginsCap-go/capgo-skillsSkill7919d agoMITA239Claude Code
capgo-live-updatesCap-go/capgo-skillsSkill7919d agoMITA155Claude Code
capgo-native-buildsCap-go/capgo-skillsSkill7919d agoMITA168Claude Code
capacitor-app-intentsCap-go/capgo-skillsSkill7919d agoMITA243Claude Code
capacitor-ios-security-hardeningCap-go/capgo-skillsSkill7919d agoMITA217Claude Code