ctx7 CLI is a command-line tool for managing AI coding skills and documentation context. It allows you to search, install, and generate skills for AI coding agents like Claude Code, Cursor, OpenCode, and Antigravity.
Installation
Quick Start
Main Commands
skills
Search, install, list, and manage AI coding skills
setup
Configure Context7 MCP for your AI coding agent
auth
Manage authentication with Context7
Global Options
--base-url <url>
Specify a custom base URL for the Context7 API.
--version
Display the current version of ctx7.
--help
Show help information for any command.
Command Aliases
For faster workflow, ctx7 provides short aliases:Examples
Search and Install
Target Specific Agents
List and Manage
Skill Directories
Skills are installed to different directories based on the target agent:The Universal directory (
.agents/skills/) is designed to work across multiple AI coding agents.Output Examples
Successful Installation
Search Results
Error Handling
Permission Errors
If you encounter permission errors:Network Errors
Check your internet connection and try again. You can also specify a custom base URL:Resources
- Browse skills at context7.com
- View documentation at docs.context7.com
- Report issues on GitHub