package:skills
Command-line tool for managing AI agent skills in Dart projects.
The package:skills package provides
command-line tools to discover, install, and manage AI agent skills
for Dart and Flutter projects.
An agent skill is a structured set of instructions, code examples, and best practices following the Agent Skills specification. When installed in your workspace, AI coding agents, such as Cursor, Gemini, Claude Code, Cline, and Copilot, use these skills to write accurate, idiomatic code tailored to your dependencies.
Running package:skills
#You run package:skills using the dart run skills@ <command> syntax:
# From the root of your Dart or Flutter project:
dart run skills@ get
To view all available commands and flags, run dart run skills@ --help.
Built-in commands
#The package:skills package includes the following commands:
- get
-
Discovers and installs skills provided by dependencies in
pubspec.yaml. In workspaces and monorepos,dart run skills@ getdiscovers and installs skills across all workspace packages. Supports interactive selection (Ctrl+A to toggle all), installing all skills without prompting (--all), or targeting specific packages and skills (-p <package>,-s <skill>):dart run skills@ get - add
-
Adds an external Git repository as a skill source and installs its skills:
dart run skills@ add <git_repository_url> - create
-
Scaffolds a new skill directory and template for package authors:
dart run skills@ create -n <skill_name> -d "<skill_description>" - list
-
Displays all managed skills currently installed in your workspace:
dart run skills@ list - prune
-
Automatically removes skills for packages that are no longer listed as dependencies in
pubspec.yaml:dart run skills@ prune - remove
-
Removes managed skills interactively, or targets specific packages and skills (
-p <package>,-s <skill>):dart run skills@ remove
More information
#To learn more about package skills workflows, see:
- Package skills user guide (Installing and using skills in your development workflows)
- Ship skills with packages (Authoring and publishing skills with your packages)
package:skillson pub.dev- Agent Skills specification
Unless stated otherwise, the documentation on this site reflects Dart 3.13.0. Page last updated on 2026-08-31. View source or report an issue.