Support project-scoped Cloudflare skills installation in Wrangler #14238
samzong
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Wrangler's automatic Cloudflare skills installer currently targets detected agents' global skills directories. This is useful for quick setup, but it is a poor fit for repositories that already manage project-scoped skills.
Many teams keep repository-specific agent guidance under paths such as
.claude/skillsor.agents/skills, often vendored as a submodule or generated from an internal skills package. In that setup, accepting Wrangler's prompt or runningwrangler --install-skillsinstalls Cloudflare skills globally, making them visible in unrelated projects as well.That creates a few problems:
Expected behavior
Wrangler should support a project-scoped install mode for Cloudflare skills, or at least a custom target directory, so teams can keep Cloudflare guidance local to the repository that uses Wrangler.
Possible UX options:
wrangler --install-skills --skills-scope=projectwrangler --install-skills --skills-dir ./.agents/skillswrangler --install-skills --skills-dir ./.claude/skillsInstall globally/Install in this project/SkipFor project-scoped installs, Wrangler could install into a repo-local skills directory and avoid touching global agent state.
Current implementation note
The current Wrangler implementation appears to call
rosieInstall("cloudflare/skills", { global: true, agent: agentNames, lockfile: false })frompackages/wrangler/src/agents-skills-install.ts.The underlying
rosie-skillsAPI appears to already expose options such asglobal?: booleanandcwd?: string, so project-scoped installation may be possible without changing the skills content repository itself.Related work
If automatic installation stays, having an explicit project-scoped path would make the feature much safer for teams that already manage repository-specific skills.
Beta Was this translation helpful? Give feedback.
All reactions