Agent Skills Install
Install (or refresh) the Agent Skills bundled with the Serverless Framework
CLI: the user-level serverless-framework skill into your home directory and,
in a service directory, the project skills into the service. Skills are instruction files that teach AI
coding agents — Claude Code, Codex, Cursor, and any agent supporting the
open Agent Skills standard — how to work with your
service. The command is idempotent: re-running it updates already-installed
skills in place.
The set of bundled skills varies by CLI version. On a version that bundles
none yet, the command reports
No skills are bundled with this CLI version. and installs nothing.
serverless agent skills install
Run it in your service directory (where serverless.yml lives) to install
the project skills there; anywhere else it installs only the user-level skill.
By default the command detects which agent directories you or your team already use and
writes only those; with no signal it creates both .claude/skills/ and
.agents/skills/. See the Agent Skills guide
for the full behavior, automatic updates, and customization.
Options
--dirTarget directory to install into:claude(.claude/skills/) oragents(.agents/skills/). Repeatable, and accepts a comma-separated list. Omit it to let the command detect the right targets.
Examples
Install into detected agent directories
serverless agent skills install
Install only for Claude Code
serverless agent skills install --dir claude
Install into both directories explicitly
serverless agent skills install --dir claude --dir agents
or equivalently:
serverless agent skills install --dir claude,agents