* generate skills * feat: add generate questions methods * feat(cli): improve skill generation UX with streaming feedback - Add real-time query results display during generation - Collapse answered questions to show summary - Separate query phase spinner from generation spinner - Add skill preview with expand option - Remove legacy generateSkill function - Clean up redundant comments * feat(cli): improve skill generation UX with streaming feedback - Add real-time query results display during generation - Collapse answered questions to show summary - Separate query phase spinner from generation spinner - Add skill preview with expand option - Remove legacy generateSkill function - Clean up redundant comments * feat(cli): optimize feedback regeneration and clean up UI - Add previousContent to StructuredGenerateInput for efficient feedback - Remove redundant "Selected X libraries" log message - Consolidate menu options (remove "Regenerate completely") - Update feedback prompt with skip hint * feat(cli): add skill generation with quota and improved display - Add skill quota checking before generation - Fix tool result display timing issue - Show library project IDs in selection to avoid confusion - Improve generation spinner with query log display * docs(cli): add 0.2.0 changelog entry * fix(cli): switch userinfo endpoint from dev to production * docs(cli): add skill generation and auth sections to README * fix(sdk): increase timeout for sequential search test * chore(cli): replace manual changelog with changeset for skill generation
ctx7
CLI for the Context7 Skills Registry - install and manage AI coding skills across different AI coding assistants.
Skills are reusable prompt instructions that enhance your AI coding assistant with specialized capabilities like working with specific frameworks, libraries, or coding patterns.
Installation
# Run directly with npx (no install needed)
npx ctx7
# Or install globally
npm install -g ctx7
Quick Start
# Search for skills
ctx7 skills search pdf
# Install a skill
ctx7 skills install /anthropics/skills pdf
# Generate a custom skill with AI
ctx7 skills generate
# List installed skills
ctx7 skills list --claude
Usage
Generate skills
Generate custom skills tailored to your use case using AI. Requires authentication.
# Log in first
ctx7 login
# Generate a skill (interactive)
ctx7 skills generate
# Short aliases
ctx7 skills gen
ctx7 skills g
# Generate and install to a specific client
ctx7 skills generate --cursor
ctx7 skills generate --claude
# Generate globally
ctx7 skills generate --global
The generate flow:
- Describe the expertise you want (e.g., "OAuth authentication with NextAuth.js")
- Select relevant libraries from search results
- Answer 3 clarifying questions to focus the skill
- Review the generated skill, request changes if needed, then install
Weekly generation limits apply: free accounts get 6 generations/week, Pro accounts get 10.
Authentication
Log in to access skill generation and other authenticated features.
# Log in (opens browser for OAuth)
ctx7 login
# Check login status
ctx7 whoami
# Log out
ctx7 logout
Install skills
Install skills from a project repository to your AI coding assistant's skills directory.
# Install all skills from a project (interactive selection)
ctx7 skills install /anthropics/skills
# Install a specific skill
ctx7 skills install /anthropics/skills pdf
# Install multiple skills at once
ctx7 skills install /anthropics/skills pdf commit
# Install to a specific client
ctx7 skills install /anthropics/skills pdf --cursor
ctx7 skills install /anthropics/skills pdf --claude
# Install globally (home directory instead of current project)
ctx7 skills install /anthropics/skills pdf --global
Search for skills
Find skills across all indexed projects in the registry.
ctx7 skills search pdf
ctx7 skills search typescript
ctx7 skills search react testing
List installed skills
View skills installed in your project or globally.
ctx7 skills list
ctx7 skills list --claude
ctx7 skills list --cursor
ctx7 skills list --global
Show skill information
Get details about available skills in a project.
ctx7 skills info /anthropics/skills
Remove a skill
Uninstall a skill from your project.
ctx7 skills remove pdf
ctx7 skills remove pdf --claude
ctx7 skills remove pdf --global
Supported Clients
The CLI automatically detects which AI coding assistants you have installed and offers to install skills for them:
| Client | Skills Directory |
|---|---|
| Claude Code | .claude/skills/ |
| Cursor | .cursor/skills/ |
| Codex | .codex/skills/ |
| OpenCode | .opencode/skills/ |
| Amp | .agents/skills/ |
| Antigravity | .agent/skills/ |
Shortcuts
For faster usage, the CLI provides short aliases:
ctx7 si /anthropics/skills pdf # skills install
ctx7 ss pdf # skills search
ctx7 skills gen # skills generate
ctx7 skills g # skills generate
Learn More
Visit context7.com to browse the skills registry and discover available skills.