TanStack Intent CLI
A CLI for shipping Agent Skills inside npm packages: library maintainers write them and consumers wire them into their agents.
- 360 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Skills from dependencies become agent instructions and change as packages update, so allow them selectively
Install
- Works in
Manual install
npx @tanstack/intent@latest installThe consumer command from the docs. Run it in an interactive terminal in a project whose dependencies ship skills.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Skills from dependencies become agent instructions and change as packages update, so allow them selectively
This is third-party code. Review the repository files before installing.
What it does
TanStack Intent ships skills as part of a package and versions them with releases. A consumer runs `@tanstack/intent@latest install`: the tool finds packages in dependencies that carry skills, lets you choose which to allow, and writes a loading-rules block into `AGENTS.md`. The `list` and `load` commands show and fetch the right skill when the agent asks. For library maintainers, `maintainer setup`, `meta generate-skill`, `maintainer review`, `validate` and `maintainer sync` help write and check `SKILL.md`, account for source changes and release skills together with code. For supported agents, hooks can be enabled that require reading a skill before an edit.
Who it is for. Maintainers of npm libraries and developers who want their agent to use dependencies by the authors' current guidance.
Good fit when
- A library needs skills tied to release versions.
- The agent knows a dependency's new API poorly and the author's guidance must be loaded.
- You must limit the packages whose skills may be loaded.
- `SKILL.md` format validation belongs in the release pipeline.
Not a fit when
- You need skills from outside npm, for which general skill managers exist.
- Installation runs in a non-interactive environment: first setup needs a terminal.
- None of the dependencies ship skills.
Example request
Show which installed packages ship skills and allow only `@tanstack/*`, leaving the rest disabled.Limitations
First setup is interactive and in an environment without a terminal fails without writing files. Skill instructions change when dependencies update and update notifications do not exist yet, as the documentation notes. Package skills instruct the agent, so allow packages selectively. The skill list depends on installed package versions, and some commands change `AGENTS.md` and `package.json`, so review the changes in a diff.
How to disable. Delete the `intent-skills` block from `AGENTS.md`, the `intent` settings in `package.json` and any hooks you enabled. Then remove the `@tanstack/intent` dependency.
FAQ
How does a consumer pick skills?
Modes: all, packages or scopes, individual skills. The choice is stored as rules in `package.json`, for example `"@tanstack/ai#skill"`.
Where is configuration written?
The instruction block goes to `AGENTS.md` by default, and an existing `intent-skills` block is updated in place.
What does the hooks mode give?
For supported agents a hook requires loading a skill before an edit, otherwise the agent could skip it.
Can I preview without writing?
Yes, `--dry-run` shows the install flow and writes nothing.
Must the package be a dependency?
The docs advise adding `@tanstack/intent` as a dev dependency and committing the lockfile before generating guidance.
Discussion
No questions or reviews yet.
Related
CLI toolsskills-npm links agent skills shipped in your dependencies in node_modules and listed in the skills field of package.json
skill-kit builds agent skills as typed TypeScript state machines with schema-checked answers and a build into a SKILL.md directory
Armin's personal toolkit for the Pi Coding Agent: 18 skills, extensions, commands and themes, with some skills portable to other agents
The author's personal set: shared agent rules and dozens of skills for GitHub, the browser, macOS, messaging and releases, plus a sync script
17 ready skills for tests, Git, READMEs and multi-agent work plus a kernel that checks skill execution in Claude Code and Codex.
Agent Skills (AsyrafHussin)
Agent Skills
24 skills for Laravel, PHP, React and TypeScript: code rules, testing, security, technical debt and documentation.
README in short
Skills travel inside npm packages and the agent finds them through `list` and `load`. Permissions are kept in `package.json`.