INTERACTIVE AST RULE & PROMPT OPTIMIZER
Universal Prompt & Rule Token Compactor
Eliminate conversational fluff, redundant markdown structures, and boilerplate disclaimers from system prompts, .cursorrules, and CLAUDE.md files to slash recurring token bills by 15% to 35%.
Input System Prompt / Rule File
0 tokens
Compacted Output (Ready for Production)
0 tokens
Zero Copy-Paste: Direct IDE Integration
Generate, compact, and synchronize workspace rule files directly inside VS Code, Cursor, Windsurf, and Antigravity.
1. PromptSmith IDE Studio
Ground prompts in your live project stack, scrub leaked secrets pre-flight, and export compacted .cursorrules, CLAUDE.md, and Copilot instructions with 1 click.
# Install via Open VSX / IDE Extensions
ext install Bartholomew.promptsmith-ai
ext install Bartholomew.promptsmith-ai
2. Bartholomew Guard Extension
Real-time in-process AST security diagnostics, secret leak Quick-Fixes, and fail-closed Git pre-commit hook installation inside your editor.
# Install via Open VSX / IDE Extensions
ext install Bartholomew.bartholomew-guard-vscode
ext install Bartholomew.bartholomew-guard-vscode
3. Python & Node Guardrail CLI
Scan staged files and enforce deterministic tool-call and secret invariants across local scripts and CI/CD pipelines.
# Run interactive security & rule check
npx --yes btp-guard try
npx --yes btp-guard try