with one click
create-local-skill
// Create project-local skills for Cursor and Claude Code when users ask to create, add, or update reusable repo instructions.
// Create project-local skills for Cursor and Claude Code when users ask to create, add, or update reusable repo instructions.
Automate browserless/Puppeteer headless Chrome for screenshots, PDFs, HTML/text extraction, status checks, Lighthouse audits, and browser pipelines.
Retrieve normalized HTML from URLs with fetch or headless prerender for JS pages, absolute URL rewriting, and metadata extraction pipelines.
Tune Kubernetes HPA, topology spread, requests, and scale-down behavior for cluster cost audits, incidents, replica/node issues, and over-reservation.
Build @keyvhq/core key-value caches with TTL, namespaces, memoization, cache-aside patterns, and Redis/Mongo/MySQL/PostgreSQL/SQLite adapters.
Extract metadata from HTML with metascraper rules for link previews, Open Graph, Twitter Cards, JSON-LD, titles, images, authors, and custom parsers.
Use Microlink API/MQL to extract URL metadata, build link previews, capture screenshots/PDFs, scrape CSS-selected data, and avoid browser infrastructure.
| name | create-local-skill |
| description | Create project-local skills for Cursor and Claude Code when users ask to create, add, or update reusable repo instructions. |
Create a project-local skill that works in both Claude Code and Cursor. The canonical location is .agents/skills/, with a symlink from .claude/commands so Claude Code picks it up.
Ask the user what the skill should do if not already clear. Derive a kebab-case name from the task (e.g., sync-providers, deploy-staging).
mkdir -p .agents/skills/<skill-name>
Create .agents/skills/<skill-name>/SKILL.md following the create-skill skill guidelines. Read its references as needed for structure, best practices, and examples.
If .claude/commands does not exist or is not already a symlink to .agents/skills:
mkdir -p .claude
ln -s ../.agents/skills .claude/commands
If .claude/commands already exists as a regular directory with other content, warn the user and ask how to proceed rather than overwriting.
ls -la .claude/commands/ # should show symlink → ../.agents/skills
ls .claude/commands/<skill-name>/ # should list SKILL.md
Check .gitignore — ensure neither .agents/ nor .claude/ is ignored. Both should be committed so the skill is shared with collaborators.
../.agents/skills) so it works regardless of where the repo is cloned.