From forge-core
Tighten a prompt-shaped document's tool scope to the narrowest set it actually uses. USE WHEN an adopted or authored skill declares allowed-tools: '*', omits the frontmatter field entirely, or grants tools the workflow never invokes.
npx claudepluginhub n4m3z/forge-coreThis skill is limited to using the following tools:
Narrow a skill's `allowed-tools` frontmatter to the tools the workflow actually invokes. Implicit `"*"` and undeclared scope are treated as bugs. Referenced by [ForgeAdopt](../ForgeAdopt/SKILL.md) as the `rescope` transform.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Narrow a skill's allowed-tools frontmatter to the tools the workflow actually invokes. Implicit "*" and undeclared scope are treated as bugs. Referenced by ForgeAdopt as the rescope transform.
allowed-tools: "*" — treat as declaration of intent, not trust; enumerate explicitlyallowed-tools — add the field with the narrowest set the skill needsBash when the skill only reads files) — stripRead, Grep, Glob) over write or exec when the workflow allows.Bash but note the expected command family in a comment or the description.| Tool | Grant only if the skill… |
|---|---|
| Read | reads a file |
| Grep | searches file contents |
| Glob | enumerates file paths |
| Edit | modifies an existing file |
| Write | creates or overwrites a file |
| Bash | invokes shell commands |
| Skill | composes other skills as build steps |
| WebFetch | retrieves remote content over HTTP |
Bash on speculation — find the command the skill runs* is never an acceptable final value; if the skill genuinely needs everything, the skill is doing too much