core-dynamic-skills — Claude Code skill: per-crate skills
A support skill that reads your Cargo.toml dependencies and generates local skills for Rust crates. It only runs through the sync commands.
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a claude-codeWhat core-dynamic-skills 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.
What it helps with
- 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 for the agent
- /sync-crate-skills
- /sync-crate-skills --force
- /update-crate-skill tokio
How to install core-dynamic-skills
1Skills CLI (Vercel)
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a claude-code2Manually: put the files in place
~/.claude/skills/core-dynamic-skills/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/core-dynamic-skills/
1Skills CLI (Vercel)
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a codex2Manually: put the files in place
.agents/skills/core-dynamic-skills/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a cursor2Manually: put the files in place
.cursor/skills/core-dynamic-skills/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install actionbook/rust-skills core-dynamic-skills2Manually: put the files in place
.github/skills/core-dynamic-skills/SKILL.md1Skills CLI (Vercel)
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a gemini-cli2Platform CLI
gemini skills install https://github.com/actionbook/rust-skills --path skills/core-dynamic-skillsManually: put the files in place
.devin/skills/core-dynamic-skills/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add actionbook/rust-skills --skill core-dynamic-skills -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about core-dynamic-skills
How to install core-dynamic-skills in Claude?
Use the skills CLI: npx skills add actionbook/rust-skills --skill core-dynamic-skills -a claude-code. The skill file then lives at ~/.claude/skills/core-dynamic-skills/SKILL.md.
What does core-dynamic-skills do?
It parses Cargo.toml dependencies and generates local skills for crates missing from ~/.claude/skills/. Docs are fetched from docs.rs and the output stays local.
Can I invoke it on its own?
No. It has disable-model-invocation: true and serves as support for /sync-crate-skills, /clean-crate-skills and /update-crate-skill.