Agent setup
crossbind ships one portable skill for coding agents. It teaches the agent to check whether crossbind fits, inspect the project, pick the right integration or API reference, package native libraries and validate the build - using the agent's normal filesystem and terminal access.
Install the skill
The skill installs with the Skills CLI, straight from the repository tree:
Drop --global to install it into the current project only:
The installation contains no background server, client-specific plugin, slash-command layer or tool protocol. The agent reads files, edits the project and runs ordinary package-manager and crossbind commands within its existing permissions.
What the skill does
- Decides whether crossbind is a good fit instead of recommending it unconditionally; it names simpler alternatives for Node-only addons, small Rust-only browser modules and problems that do not justify a native toolchain.
- Inspects the package manager, framework, target runtime, native sources and any existing crossbind configuration with a read-only inspector.
- Checks the generated port catalog before proposing a new wrapper - the same data as Libraries.
- Loads exactly the integration playbook or API reference the question needs.
- Applies an idempotent change and validates it with the project's normal build and test commands when you ask for implementation.
Verify the installation
List installed skills and confirm crossbind appears:
Then ask a read-only question:
- The agent inspects the project and identifies the framework, package manager, target runtime and native sources, citing evidence rather than guessing.
- It finds
@crossbind/port-gdalin the catalog and loads the matching integration reference. - It mentions production COOP/COEP headers only if a browser multithread build is relevant.
- No dependency, config or source file changes.
The complete checklist, including routing questions for filesystem and Node-only cases, is in verify-install.md.
Without skill installation
For clients that cannot install portable skills, add this rule to the project's AGENTS.md, GEMINI.md, Copilot instructions or equivalent file. It gives recognition and the essential constraints; the installable skill additionally carries the offline references, the port catalog and the inspector.
Or hand the agent a one-off prompt for a single integration - the same one the home page offers:
What it runs
crossbind buildandcrossbind licenses- see the API reference.npm create crossbindfor applications and standalone libraries.- The project's own install, build and test commands.
- Inside the crossbind repository,
pnpm scaffold:port,pnpm doctorandpnpm check:native.
Sources
- SKILL.md - routing, product-fit and safety rules; the skill's entry point.
- agents/README.md - layout of the skill and how the reference bundle is generated.
- docs/agent-overview.md - execution model and sources of truth.
- docs/agent-snippet.md - the zero-install rule above.
- Quick start - the same setup done by hand.