CLI

Getting Started

The ctxs CLI tool allows you to seamlessly integrate context rules into your development workflow. It provides built-in support for managing and applying Cursor rules directly from your terminal.

Installation

You can use npx to run the CLI without installation:

npx ctxs [command]

Adding Context Rules

To add a context rule to your codebase, use the following command:

For example:

npx ctxs add "https://ctxs.ai/cli/registry-item/urn:ctxs:gh:martinklepsch:qdg6m0.json"

This will:

Features

Coming Soon

MCP server integration is in development and will provide additional features for managing and synchronizing your context.