lynxprompt
v1.4.11
Published
CLI for LynxPrompt - Generate AI IDE configuration files
Downloads
7,055
Maintainers
Readme
LynxPrompt CLI
Generate AI IDE configuration files from your terminal.
Installation
# npm (cross-platform)
npm install -g lynxprompt
# Homebrew (macOS)
brew install GeiserX/lynxprompt/lynxprompt
# Chocolatey (Windows)
choco install lynxprompt
# Snap (Linux)
snap install lynxprompt
# Or use with npx
npx lynxpromptThe CLI is available as both lynxprompt and the short alias lynxp.
Quick Start
# Generate an AI config file (recommended for most users)
lynxp wizard
# Quick generation with defaults (creates AGENTS.md)
lynxp wizard -y
# Generate for Cursor specifically
lynxp wizard -f cursor
# Login to sync with LynxPrompt cloud
lynxp login
# Download a blueprint from marketplace
lynxp pull bp_abc123
# Check config status
lynxp statusCommands
Wizard (lynxp wizard) ⭐ Recommended
Interactive wizard for generating AI IDE configurations:
# Interactive mode
lynxp wizard
# Quick mode with defaults (generates AGENTS.md)
lynxp wizard -y
# Generate for specific format
lynxp wizard -f cursor # .cursor/rules/
lynxp wizard -f agents # AGENTS.md (universal)
lynxp wizard -f copilot # .github/copilot-instructions.md
# Generate multiple formats
lynxp wizard -f agents,cursor,copilot
# Non-interactive with all options
lynxp wizard \
--name "my-api" \
--description "REST API for user management" \
--stack typescript,express \
--format cursor \
--persona backend \
--boundaries conservative \
--yesCheck (lynxp check)
Validate AI configuration files for CI/CD pipelines:
# Interactive validation
lynxp check
# CI mode (exit code 0=pass, 1=fail)
lynxp check --ciStatus (lynxp status)
Show current AI configuration and tracked blueprints:
lynxp statusPull (lynxp pull)
Download and track a blueprint from the marketplace:
# Download and track
lynxp pull bp_abc123
# Push local file to cloud
lynxp push
# Preview content first
lynxp pull bp_abc123 --preview
# Don't track for future syncs
lynxp pull bp_abc123 --no-trackLink / Unlink
Connect local files to cloud blueprints:
# Link existing file to blueprint
lynxp link AGENTS.md bp_abc123
# List all tracked blueprints
lynxp link --list
# Disconnect from cloud
lynxp unlink AGENTS.mdDiff
Show changes between local and cloud:
# Compare with cloud blueprint
lynxp diff bp_abc123
# Compare local rules with exports
lynxp diff --localPush (lynxp push)
Upload a local configuration file to LynxPrompt cloud:
# Push current AGENTS.md (auto-detected)
lynxp push
# Push a specific file
lynxp push .cursor/rules/project.mdc
# Push with options
lynxp push AGENTS.md \
--name "My Project Rules" \
--description "AI config for my project" \
--visibility PUBLIC \
--tags "nextjs,typescript,react"
# Non-interactive mode
lynxp push -y --name "My Config"Search (lynxp search)
Search public blueprints in the marketplace:
lynxp search "nextjs typescript"
lynxp search react --limit 10List (lynxp list)
List your own blueprints:
lynxp list
lynxp list --visibility PUBLICAuthentication
# Login (opens browser for OAuth)
lynxp login
# Show current user
lynxp whoami
# Logout
lynxp logoutAdvanced: Multi-Format Generation
For power users who want to generate configs for multiple AI editors at once:
# Generate for multiple formats at once
lynxp wizard -f agents,cursor,copilot,windsurf
# Manage AI agents
lynxp agentsBlueprint Tracking
When you pull a blueprint, LynxPrompt tracks it in .lynxprompt/blueprints.yml:
- Marketplace blueprints - Read-only, can pull updates but changes won't sync back
- Team blueprints - Full sync, push and pull changes with your team
- Private blueprints - Your own, full control
# See all tracked blueprints
lynxp status
# Or
lynxp link --listEnvironment Variables
| Variable | Description |
|----------|-------------|
| LYNXPROMPT_TOKEN | API token for CI/CD (skips browser auth) |
| LYNXPROMPT_API_URL | Custom API URL (for development) |
CI/CD Integration
# GitHub Actions example
- name: Validate AI config
run: npx lynxprompt check --ciDocumentation
Full documentation: https://lynxprompt.com/docs/cli
License
See the main LynxPrompt repository for license information.
