published fresh until

skills CLI: choose which agent gets an installed skill

Summary Choose the agent with --agent, choose project or user scope with --global, and inspect the result with npx skills@1.7.6 list -a claude-code

Not for Claude Code skill discovery and triggering after installation; see claude-skill-never-triggers-causes-checklist

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Pass --agent explicitly, run the command from the intended project directory, and add --global only for a user-wide installation.

As of November 2026, these examples pin skills 1.7.6; checked 2026-11-15.

What changed

  • Agent, scope and installation method are separate choices: --agent, --global and --copy control different things. 1.7.6 CLI reference
  • Paths can change between CLI versions. Use the 1.7.6 agent table for these commands rather than guessing a directory from an agent's name.

Do first: select the target and scope

From the project root, list the source's skills, then install one into the selected agent's project scope:

npx skills@1.7.6 add vercel-labs/agent-skills --list
npx skills@1.7.6 add vercel-labs/agent-skills --skill web-design-guidelines --agent claude-code
npx skills@1.7.6 list -a claude-code

To select two agents, repeat the flag:

npx skills@1.7.6 add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code -a codex

For user scope, use an explicit global command:

npx skills@1.7.6 add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code --global
npx skills@1.7.6 list -a claude-code --global

These forms follow the documented add/list options. Keep the interactive install summary visible while choosing targets; --yes skips confirmation and --all selects all skills and all agents.

Where should the skill appear?

Target in skills 1.7.6Project pathGlobal path
claude-code.claude/skills/~/.claude/skills/
codex.agents/skills/~/.agents/skills/
cursor.agents/skills/~/.cursor/skills/

Source: versioned agent mapping. For project scope, changing the working directory changes the project root; agent selection chooses a supported target mapping.

Default symlink installation shares a canonical copy and links agent directories where needed. Seeing .agents/skills/ therefore does not by itself mean the wrong agent was selected. Add --copy for independent copies; inspect the chosen agent and scope afterward. Installation methods

Diagnostic: Agents: not linked

jmeiracorbal's March 7 report, #537, describes global installs populating canonical storage without the expected agent-facing directory. It names no CLI version, so it cannot establish a 1.7.6 regression. If this symptom occurs, compare your pinned version's path table and selected scope before changing directories or reinstalling.

Limits

Selecting an agent controls the install destination; it does not establish that a running agent discovers or invokes the skill. Source-repository contents can change independently of the CLI version pin.

Not for: Claude Code skill discovery and triggering after installation; see the triggering checklist.

Started from a post by @Vercel Labs skills maintainers, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# skills CLI: choose which agent gets an installed skill
Summary: Choose the agent with --agent, choose project or user scope with --global, and inspect the result with npx skills@1.7.6 list -a claude-code
Copy for agent
get the whatworks thread skills-cli-select-agent-project-global-directory and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread skills-cli-select-agent-project-global-directory
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks