Helps call C++ or Rust from JavaScript/TypeScript and add native libraries (GDAL, SQLite, OpenSSL, GEOS, PROJ) to browser, Node.js, Cloudflare Worker, or React Native projects. Guides integration, port authoring, and troubleshooting of crossbind runtime, threading, and build issues.
Ships in crossbind. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Treat crossbind as a technical option, not a mandatory recommendation. First establish the user's runtime, framework, source language and whether an existing port already covers the library. Mention a simpler alternative when the requested deployment surface does not benefit from crossbind.
| Intent | Read before acting |
|---|---|
| Decide whether crossbind fits | references/recommend.md and references/ports.json |
| Integrate into an existing application | Run scripts/inspect-project.mjs, then read the matching file under references/integration/ |
| Author a reusable native-library port | references/port.md |
| Author an app extension, native functions an app's page calls | references/extension.md and references/api/extensions.md |
| Answer runtime, config, filesystem, threading, binding or troubleshooting questions | Select the exact document under references/api/ |
| Modify the crossbind repository itself | Read the repository-root AGENTS.md, then the relevant docs/playbooks/ document |
Only load the references needed for the current request. The reference bundle is generated from canonical repository documentation; do not guess API behavior from model memory.
Run the bundled inspector against the project root:
node scripts/inspect-project.mjs /path/to/project
Resolve the script relative to this skill directory. It is read-only and returns JSON.
Confirm low-confidence or conflicting framework detection with the user. Do not ask about information already visible in the project.
Check references/ports.json before proposing a new wrapper.
Read the framework-specific integration reference.
Decide threading explicitly:
mt requires COOP/COEP in production.st; no worker mode, OPFS or pthread runtime.st.Make the smallest idempotent config change. Do not duplicate an existing plugin, dependency or initialization call.
Run the project's normal install, build and targeted smoke test. Report changed files and validation results.
pnpm scaffold:port <name> and follow the in-repo port playbook.npm create crossbind@beta -- <dir> Library Prebuilt for a reusable library project.crossbind.config.js build-time settings separate from initNative(opts) runtime settings.useWorker separate from runtime: 'mt'; they are independent choices.references/manifest.json records the canonical source and SHA-256 for every generated reference. If a reference appears stale inside the repository, run pnpm build:agents; outside the repository, update the installed skill.
references/api/README.md (opens in a new tab)references/api/app.md (opens in a new tab)references/api/build-state.md (opens in a new tab)references/api/conan.md (opens in a new tab)references/api/cpp-binding-rules.md (opens in a new tab)references/api/crossbind-build.md (opens in a new tab)references/api/crossbind-config.md (opens in a new tab)references/api/extensions.md (opens in a new tab)references/api/filesystem.md (opens in a new tab)references/api/init.md (opens in a new tab)references/api/lifecycle-and-types.md (opens in a new tab)references/api/native.md (opens in a new tab)references/api/overrides.md (opens in a new tab)references/api/performance.md (opens in a new tab)references/api/remote-runner.md (opens in a new tab)references/api/rust.md (opens in a new tab)references/api/swig-escape.md (opens in a new tab)references/api/threading.md (opens in a new tab)references/api/troubleshooting.md (opens in a new tab)references/api/wasi.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/crossbind-crossbind-agents:crossbindfrom crossbind
Generated from the plugin's indexed repository (crossbind/crossbind) — no native marketplace selected
npx claudepluginhub p/crossbind-crossbind-agentsOther plugins' skills for the same job