# core-dynamic-skills

A support skill that reads your Cargo.toml dependencies and generates local skills for Rust crates. It only runs through the sync commands.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1800 installs · ★ 1545
- Author: actionbook
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/actionbook/rust-skills/tree/HEAD/skills/core-dynamic-skills/SKILL.md
- Updated: 2026-08-23
- HTML: https://affpapa.org/en/nevibecode/skills/core-dynamic-skills

## What it does

The skill parses `Cargo.toml`, single crate or workspace, and pulls out the dependency list. Then it compares that list against what already sits in `~/.claude/skills/` and builds a skill for every missing crate: documentation comes from docs.rs, and the result lands as `SKILL.md` plus per-module files under `references/`. Everything stays on your machine and is never committed to the rust-skills repository.

Two execution modes. When the agent and command infrastructure is present, generation goes through `/create-llms-for-skills` and `/create-skills-via-llms`, with an actionbook MCP check for a ready llms.txt first. Without that infrastructure the skill does the steps by hand: parse the manifest, create directories, fetch page text with `agent-browser`, and fall back to WebFetch when that fails. Workspace projects get walked member by member, with dependencies aggregated and deduplicated.

Calling it directly is pointless. The skill carries `disable-model-invocation: true` and expects to be invoked by `/sync-crate-skills`, `/clean-crate-skills` or `/update-crate-skill`. It also runs in a forked context with a general-purpose subagent. Open a directory with no `Cargo.toml` and the dependency step has nothing to work on.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/core-dynamic-skills/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/core-dynamic-skills/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/core-dynamic-skills/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/core-dynamic-skills/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install actionbook/rust-skills core-dynamic-skills
```

2. **Manually: put the files in place**
- File: `.github/skills/core-dynamic-skills/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/actionbook/rust-skills --path skills/core-dynamic-skills
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/core-dynamic-skills/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/actionbook/rust-skills/tree/HEAD/skills/core-dynamic-skills/SKILL.md

## When to use it
- generate skills for every crate in Cargo.toml
- spot dependencies that have no skill yet
- pull crate docs from docs.rs into a local skill
- walk workspace members and deduplicate dependencies
- remove or regenerate the skill for one crate

## Example prompts
- /sync-crate-skills
- /sync-crate-skills --force
- /update-crate-skill tokio

## Similar
- [rust](https://affpapa.org/en/nevibecode/skills/rust.md) — skill · 922 installs
- [cargo-workflows](https://affpapa.org/en/nevibecode/skills/cargo-workflows.md) — skill · 558 installs
- [rust-refactor](https://affpapa.org/en/nevibecode/skills/rust-refactor.md) — skill · 314 installs
- [rust-best-practices](https://affpapa.org/en/nevibecode/skills/rust-best-practices.md) — skill · 21100 installs
- [rust-engineer](https://affpapa.org/en/nevibecode/skills/rust-engineer.md) — skill · 6300 installs
- [cargo-fuzz](https://affpapa.org/en/nevibecode/skills/cargo-fuzz.md) — skill · 5400 installs

From the same set: [actionbook/rust-skills](https://affpapa.org/en/nevibecode/by/actionbook/rust-skills.md) — 35 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
