rust-node-bootstrap

rust-node-bootstrap is a skill for Claude Code, Codex from onsager-ai/dev-skills. It costs 104 tokens per session (1,144 once invoked), scanned A, original, MIT.

A setup guide for projects that combine Rust and Node.js in one monorepo, a repository containing multiple related packages. It creates the workspace, build checks, publishing setup, and supporting project structure.

In plain words
What is it for?
Use it to start or complete a Rust-and-Node.js project with pnpm workspaces, a Cargo workspace, CI workflows, publishing scripts, and project specifications.
Why use it?
It avoids having to design the repository layout and release infrastructure from scratch. It also helps add missing pieces to an existing hybrid project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to start or complete a Rust-and-Node.js project with pnpm workspaces, a Cargo workspace, CI workflows, publishing scripts, and project specifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onsager-ai/dev-skills/rust-node-bootstrap
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 onsager-ai/dev-skills --skill rust-node-bootstrap
Clone the repo
git clone --depth 1 https://github.com/onsager-ai/dev-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 rust-node-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/onsager-ai/dev-skills/rust-node-bootstrap/github.svg)](https://agentmods.dev/skills/onsager-ai/dev-skills/rust-node-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/onsager-ai/dev-skills/rust-node-bootstrap"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/rust-node-bootstrap/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 rust-node-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/onsager-ai/dev-skills/rust-node-bootstrap"><img src="https://agentmods.dev/badge/skills/onsager-ai/dev-skills/rust-node-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,144 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.
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.00104 $0.01144
Opus 5.5 $0.00042 $0.00458
Sonnet 5.5 $0.00021 $0.00229
Haiku 4.5 $0.00010 $0.00114

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

Security

Grade A, and why

rust-node-bootstrap 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.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/bootstrap/publish.config.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/rust-node-bootstrap/SKILL.md · 119 lines

How it starts

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

Rust+Node.js Bootstrap

Scaffold a Rust+Node.js hybrid project with all infrastructure in one pass.

When to Use This Skill

Activate when any of the following are true:

  • User says "bootstrap", "scaffold", "new project", "set up from scratch"
  • Repo has Cargo.toml or package.json but is missing the other
  • Missing .github/workflows/, scripts/, or publish.config.ts
  • Incrementally adding forge infrastructure to an existing project

Decision Tree

Starting from scratch?
  YES → Full scaffold (all steps in order below)
  NO  → Incremental setup ↓

Has package.json?       → NO: Create root package.json + pnpm-workspace.yaml
Has Cargo.toml?         → NO: Create Cargo workspace
Has .github/workflows/? → NO: Generate from rust-node-ci skill templates
Has scripts/?           → NO: Generate from rust-npm-publish skill templates
Has publish.config.ts?  → NO: Create from rust-npm-publish skill examples
Has specs/?             → NO: Initialize LeanSpec

Gather Project Info

Field Example Required
Project name my-tool Yes
npm scope @myorg Yes
Rust binary name(s) my-cli Yes
Cargo package name(s) my-cli-rs Yes
Main npm packages packages/cli Yes
Repository URL github.com/myorg/my-tool Yes
Platforms darwin-x64, darwin-arm64, linux-x64, windows-x64 No (default: all 4)

Scaffold Structure

See references/project-structure.md for the full annotated tree.

my-tool/
├── .github/workflows/       ← CI + publish workflows
├── .lean-spec/config.json   ← LeanSpec configuration
├── specs/                   ← Spec-driven development
├── packages/cli/            ← Main npm package (thin JS wrapper)
│   ├── package.json         ← bin + optionalDependencies
│   └── bin.js               ← Resolves platform binary, spawns it
├── rust/                    ← Rust workspace
├── scripts/                 ← Publish & version scripts
├── publish.config.ts        ← Publish pipeline configuration
├── package.json             ← Root (version source of truth)
├── pnpm-workspace.yaml      ← pnpm workspace definition
└── Cargo.toml               ← Rust workspace manifest

Read the full file on GitHub · 119 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. 1mo ago First seen · 119 lines · 104 tokens per session scan A e936927f23e8

Subscribe to this mod's changes

rust-node-bootstrap is a skill published in the GitHub repository onsager-ai/dev-skills (7 stars, last pushed 3d ago), licensed MIT. It adds 104 tokens to every session and 1,144 once invoked, about $0.0004 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-31.