Run promptosaurus init once. Promptosaurus generates production-grade configurations for Kilo, Cline, Claude, Copilot, and Cursor — automatically. Switch tools, swap personas, change variants. Your agents travel with you.
One tool-agnostic data model. Five deployment targets. No redundancy.
Team-role aware. Frontend, backend, ML — each gets exactly what they need.
Init, list, switch, validate. Full pipeline control from the terminal.
Existing configurations continue to work. Zero-migration deployment.
Every component engineered for serious engineering organizations. No toy features, no dead weight.
Tool-agnostic configuration for Agent, Skill, Workflow, Tool, Rules, and Project. The single source of truth for your entire AI configuration estate — stored in .promptosaurus.yaml.
Five purpose-built builders transform your configuration into tool-specific outputs. BuilderFactory handles instantiation with a clean, extensible API surface.
Zero-config agent registration. The central Registry manages modes, files, and output ordering. Drop in an agent — it's automatically indexed.
Select your team's roles — Frontend Software Engineer, Backend Software Engineer, DevOps, QA/Tester, Data Scientist, and more — and get only the relevant agents. Universal agents are always included.
Choose output verbosity at build time. Minimal variants cut token overhead for cost-sensitive deployments. Verbose variants retain full context for complex workflows.
Custom filters, resolvers, and template handlers built on Jinja2. Full programmatic control over rendering logic with composable template components.
Six production commands: init, list, switch, swap, update, validate. Complete lifecycle management from the terminal.
Loader and Parser subsystems handle Markdown and YAML ingestion. Robust parsing handles both legacy and current configuration formats without breakage.
Existing configurations continue to operate without modification. Adopt Promptosaurus incrementally — no forced rewrites, no big bang migrations.
From a single definition to five tool-specific outputs. Every step deterministic, auditable, and reproducible.
Run promptosaurus init or edit .promptosaurus.yaml to define your agents, skills, and workflows. YAML or Markdown — both supported. One definition, no duplication.
Run promptosaurus init. The CLI queries the Registry to determine active mode, target tools, and persona configuration. No magic, no black boxes.
PersonaFilter applies team-role rules against your config. Irrelevant agents are excluded. Each persona receives a precisely scoped agent set — no noise, no bloat.
BuilderFactory instantiates the correct builder for each target tool. Kilo, Cline, Claude, Copilot, Cursor — each builder encapsulates its tool's specific output contract.
Jinja2 templates with custom filters and resolvers transform your config into final text. Minimal or verbose variant is applied at this stage. Output is deterministic.
Builders write tool-specific files to their canonical locations: .kilo/agents/, .clinerules, .claude/, .github/instructions/, and .cursor/rules/.
Pick your AI coding assistant during promptosaurus init — Promptosaurus writes the right files to the right locations automatically.
Generates YAML frontmatter plus Markdown agent files for Kilo IDE. Select Kilo during promptosaurus init and all agent files are written to the .kilo/agents/ directory.
.kilo/agents/{agent_name}.md---
name: code
description: Code implementation expert
variant: verbose
---
# Code Agent
You are a senior software engineer...
Generates a pure Markdown .clinerules file. Select Cline during promptosaurus init — your agent configuration is rendered into Cline's natural-language rule format automatically.
.clinerules# Code Agent Rules
You are a code implementation expert.
When writing tests, use_skill: testing-strategies
## Conventions
Follow the project's established patterns...
Generates the full .claude/ directory with agents, workflows, and skills as Markdown files. Select Claude during promptosaurus init to populate your entire Claude Code configuration tree.
.claude/ directory.claude/
agents/
code.md
debug.md
backend.md
workflows/
code.md
skills/
testing-strategies.md
Generates YAML frontmatter + Markdown instruction files for GitHub Copilot. Select Copilot during promptosaurus init — your agent configs are written to .github/instructions/, version-controlled alongside your code.
.github/instructions/{agent}.md---
applyTo: "**"
---
# Code Agent
Apply these instructions when writing
code in this repository...
Generates Markdown rules files for Cursor. Select Cursor during promptosaurus init — configuration is written to both .cursor/rules/ and .cursorrules, keeping Cursor in sync with your AI toolchain.
.cursor/rules/ + .cursorrules---
description: Code implementation
globs: ["**/*.py", "**/*.ts"]
---
# Code Agent
You are a senior software engineer.
Follow project conventions strictly...
One install command. One init. Production-grade AI agent configuration across five tools, immediately.
pip install promptosaurus
uv add promptosaurus
Install via pip or uv. Promptosaurus is a pure Python package with minimal dependencies.
Run promptosaurus init in your repository root. The interactive CLI guides configuration selection.
Select your target tool and persona. Promptosaurus writes all configuration files to their canonical locations.
Run promptosaurus init in your project root. The interactive wizard guides you through every choice:
$ promptosaurus init
? Which AI tool do you want to configure?
> Kilo IDE
Cline
Claude
Cursor
GitHub Copilot
? Repository type?
> Single-language
Multi-language monorepo
? Prompt variant?
> Minimal (fewer tokens)
Verbose (full documentation)
? Select personas for your team:
[x] Backend Software Engineer
[ ] Frontend Software Engineer
[x] DevOps Engineer
[ ] QA/Tester
? Primary language? > Python
Generating configuration for Kilo IDE...
Written: .kilo/agents/code.md
Written: .kilo/agents/debug.md
Written: .kilo/agents/backend.md
Written: .promptosaurus.yaml
Done! Your Kilo IDE configuration is ready.
This file is auto-generated by promptosaurus init. Edit it directly and run promptosaurus update to regenerate your configs — no need to re-run the interactive wizard.
# .promptosaurus.yaml — auto-generated by `promptosaurus init`
# Edit manually and run `promptosaurus update` to regenerate
tool: kilo-ide # kilo-ide | kilo-cli | cline | claude | cursor | copilot
variant: minimal # minimal | verbose
repo_type: single # single | monorepo
language: python
personas:
- backend-software-engineer
- qa-tester
# Run `promptosaurus update` after editing this file
Six commands. Complete lifecycle coverage.
Practical CLI workflows for common Promptosaurus scenarios. Copy, adapt, run.
Initialize Promptosaurus for a solo backend engineer targeting Kilo IDE. Only backend-relevant agents are generated.
pip install promptosaurus
# or: uv add promptosaurus
promptosaurus init
# Tool: Kilo IDE | Type: Single-language
# Variant: Verbose | Persona: Backend Software Engineer
# → Written: .kilo/agents/code.md
# → Written: .kilo/agents/debug.md
# → Written: .kilo/agents/backend.md
# → Written: .promptosaurus.yaml
Configure Claude for a team with multiple personas. Universal agents (ask, debug, explain, plan, orchestrator) are always included regardless of persona selection.
promptosaurus init
# Tool: Claude | Type: Multi-language monorepo
# Variant: Minimal
# Personas: Frontend SE, Backend SE, DevOps, QA/Tester
# → Written: .claude/agents/frontend.md
# → Written: .claude/agents/backend.md
# → Written: .claude/agents/devops.md
# → Written: .claude/agents/qa.md
# → Written: .claude/agents/debug.md ← universal
# → Written: .claude/agents/ask.md ← universal
# → Written: .promptosaurus.yaml
Your team moved from Kilo to Cursor. Use promptosaurus switch — your config is preserved and regenerated for the new target.
promptosaurus switch
# ? Which AI tool do you want to switch to?
# > Cursor
# Regenerating for Cursor...
# Written: .cursor/rules/code.mdc
# Written: .cursor/rules/debug.mdc
# Written: .cursorrules
# Done!
New team member is a Data Scientist. Use promptosaurus swap to update persona selection and regenerate without re-running init.
promptosaurus swap
# ? Update persona selection:
# [x] Backend Software Engineer
# [x] Data Scientist ← newly added
# [ ] Frontend Software Engineer
# Regenerating with updated personas...
# Done!
Add a validation gate to your CI pipeline. Catches missing files, unregistered orphans, and config integrity issues before merging.
promptosaurus validate
# Checking .promptosaurus.yaml...
# Checking registered agents...
# No issues found. Configuration is valid.
# GitHub Actions usage:
# - name: Validate Promptosaurus config
# run: promptosaurus validate
Architecture references, API documentation, builder guides, and CLI specifications.
Want to extend Promptosaurus, add a new AI tool target, or integrate it into your own tooling? Here's everything you need.
Browse open issues, submit PRs, and read the contribution guide. Five builders — each a self-contained, testable unit. View on GitHub →
Promptosaurus uses five internal builder classes: KiloBuilder, ClineBuilder, ClaudeBuilder, CopilotBuilder, CursorBuilder. Each implements a build(agent, options) interface. BuilderFactory handles instantiation.
Call builders directly from Python scripts or build pipelines:
from promptosaurus.builders.kilo_builder import KiloBuilder
from promptosaurus.ir.models import Agent
from promptosaurus.builders.config import BuildOptions
builder = KiloBuilder()
agent = Agent(name="code", description="...",
system_prompt="...")
output = builder.build(agent, BuildOptions(variant="verbose"))