Skip to main content

Intelligent Prompt Engineering for AI Agents

Clavix transforms vague ideas into production-ready prompts and PRDs using slash commands within Claude Code, Cursor, Windsurf, and 20+ AI agents.

Agentic-first architecture: templates instruct AI agents directly, no runtime code.

v5.10.2 20 patterns • 11 intents • agentic-first
100% Opensource & Free to Use

The Clavix Advantage

While GitHub SpecKit and OpenSpec focus on spec generation, Clavix offers an all-in-one solution: prompt improvement, guided PRD creation, task planning, and seamless AI-assisted implementation.

No rigid structures. No manual processes. Just conversational guidance from idea to production—agentic-first architecture.

How It Works

  1. 1. Install: npm install -g clavix
  2. 2. Initialize: Run clavix init in your project, select your AI agents
  3. 3. Use slash commands: Type /clavix:improve, /clavix:prd, /clavix:start, /clavix:verify, or /clavix:summarize directly in your agent
  4. 4. Get intelligent prompts: 11 intent types • 20 optimization patterns • agentic-first

Runs as Slash Commands in Your AI Agent

Clavix integrates seamlessly with 20+ AI coding assistants through slash commands. No context switching, no external tools—just type /clavix:improve, /clavix:prd, or /clavix:verify directly in your agent.

IDEs and Editor Extensions

Cursor
Windsurf
Kilocode
Roocode
Cline

CLI Agents and Toolchains

Claude Code
Droid CLI
CodeBuddy CLI
OpenCode
Gemini CLI
Qwen Code
Amp
Crush CLI
Codex CLI
Augment CLI
Mistral Vibe CLI

Universal Adapters

AGENTS.md
GitHub Copilot
OCTO.md
WARP.md

Command Format by Agent

Different agents use different command separators. Clavix automatically generates the correct format during clavix init.

Colon format /clavix:improve
Claude Code, Gemini CLI, Qwen Code, Crush CLI, Augment CLI, Mistral Vibe CLI
Hyphen format /clavix-improve
Cursor, Windsurf, Droid CLI, Cline, KiloCode, RooCode, Amp, CodeBuddy, Codex, OpenCode
Instructions-based (no slash commands)
AGENTS.md, OCTO.md, WARP.md, GitHub Copilot

Five Powerful Modes

From smart prompt improvement to strategic PRD generation, Clavix adapts to your workflow with unified intelligence.

Prompt Intelligence: Smart Optimization

Unified improvement with automatic depth selection

Smart Depth

Improve Mode

Unified prompt optimization with intelligent depth auto-selection. Quality >= 75% triggers comprehensive analysis (20 patterns), < 60% uses standard cleanup. Agentic-first with 95%+ accurate intent detection across 11 types.

$ /clavix:improve "build authentication system"
Learn more

Workflow Modes: Planning & Verification

Convert ideas into structured requirements, PRDs, and verified implementations

15 Patterns

PRD Mode

Generate comprehensive PRDs through guided Socratic questioning with 15 specialized patterns including RequirementPrioritizer, UserPersonaEnricher, SuccessMetricsEnforcer, and DependencyIdentifier.

$ /clavix:prd
Learn more
11 Patterns

Conversational Mode

Natural conversation to requirements with 11 patterns and Supportive Companion UX. Features ConversationSummarizer, TopicCoherenceAnalyzer, and ImplicitRequirementExtractor with gentle nudges for critical gaps.

$ /clavix:start → /clavix:summarize
Learn more
Change Tracking

Refine Mode

Improve existing PRDs and prompts with change tracking markers. Perfect for iterative refinement of requirements while preserving history of all modifications.

$ /clavix:refine
Learn more
Post-Implementation

Verify Mode

Automated verification against implementation checklists. AI agents run checks using native tools and generate pass/fail reports with confidence levels for each requirement.

$ /clavix:verify --latest
Learn more

Advanced Capabilities

Enterprise-grade features for sophisticated development workflows

v5.9.0

Architecture & Design Support

Integrated architectural decision-making into core workflows. Probes for patterns (Monolith vs Microservices, Clean Architecture), applies "Architecture First" principle in task generation, and captures design requirements through /clavix:start, /clavix:summarize, and /clavix:prd.

$ Integrated into: start, summarize, prd, plan
Learn more
v5.8.2

Clarifying Questions Protocol

Systematic protocol with 95% confidence threshold for gathering critical information. Structured format for multiple choice and custom input questions. Applied to improve, prd, plan, start, and summarize commands for precise requirement gathering.

$ Auto-triggers at 95% confidence threshold
Learn more

Complete End-to-End Workflow

1. Generate PRD

Answer guided questions to create clear requirements

2. Plan Tasks

Break down PRD into atomic, well-structured tasks

3. Implement

Execute tasks with AI assistance and automatic tracking

4. Verify

Run automated checks and verify against requirements

5. Archive

Archive completed projects and maintain clean workspace

Complete lifecycle management: From initial idea through PRD generation, task planning, implementation, verification, to final archival—all within your AI agent workflow.

See Full Workflow Guide

Why Choose Clavix?

Compare Clavix with other spec-driven tools and see what makes it unique.

Similar purpose (requirements generation), different approach.

Prompt Improvement

Analyzes and improves prompt quality

Clavix:Unified Improve mode
SpecKit:
OpenSpec:

Adaptive Intelligence

20 patterns • 11 intents • agentic-first

Clavix:
SpecKit:
OpenSpec:

PRD Generation

Creates Product Requirements Documents

Clavix:Socratic questioning
SpecKit:Spec-driven
OpenSpec:Lightweight proposals

Guided Workflow

Step-by-step assistance with guardrails

Clavix:Socratic & guided
SpecKit:Structured (6 steps)
OpenSpec:Minimal (3 steps)

Coding Agent Integration

Seamless integration with AI coding assistants

Clavix:Native slash commands
SpecKit:Separate toolkit
OpenSpec:Universal commands

Task Breakdown

Converts PRDs into actionable tasks

Clavix:
SpecKit:
OpenSpec:

Implementation Assistance

AI-assisted task execution

Clavix:Integrated workflow
SpecKit:Manual
OpenSpec:Manual

Learning Curve

Ease of getting started

Clavix:Low (conversational)
SpecKit:Medium (SDD knowledge)
OpenSpec:Low (lightweight)

Dependencies

External requirements

Clavix:None
SpecKit:GitHub integration
OpenSpec:None