Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By jtsylve
State machine-based optimization infrastructure for token reduction through deterministic preprocessing. Features zero-token orchestration, hybrid classification, and specialized LLM agents for prompt optimization and task execution.
npx claudepluginhub joshuarweaver/cascade-ai-ml-engineering --plugin jtsylve-claude-experimentsProcesses templates and extracts variables to create optimized prompts
Generic execution agent that loads template-specific skills and executes optimized prompts
Lightweight template classifier for borderline and uncertain cases
Compare code implementations for equivalence, similarity, or differences with accurate classification.
Modify code with clean, secure, maintainable changes that precisely meet requirements.
Provide constructive, actionable feedback on security, correctness, performance, and maintainability.
Extract specific information from unstructured/semi-structured data with completeness and accuracy.
Create clear, comprehensive documentation matched to audience needs.
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Professional AI/ML Engineering toolkit: Prompt engineering, LLM integration, RAG systems, AI safety with 12 expert plugins
Analyze and optimize AI prompts for better results
Hot-reloadable versioned prompts with easy tools for prompt engineering, chain workflows, quality gates. Symbolic syntax: >>prompt --> >>chain @framework :: 'gate'
+ask +deep +web <- modifiers | optimize your prompts
Intelligent prompt optimization: injects the right context at the right moment so Claude lands a better first output. Clarifies vague prompts with research-based questions, plus targeted nudges for approach selection, plan readability, workflow routing, background execution, subagent routing, output readability, user-decision questions, and plan-mode assessment
Testany AI/LLM 工具集:Prompt 优化
A curated marketplace for Claude Code plugins featuring state machine-based prompt optimization and developer productivity tools.
This repository is a Claude Code plugin marketplace that provides tools to reduce LLM token consumption and improve prompt engineering workflows through deterministic preprocessing and specialized LLM agents. Plugins in this marketplace help you work more efficiently with Claude by optimizing how prompts are constructed and executed.
Install this marketplace in Claude Code:
/plugin install jtsylve/claude-experiments
Once installed, all plugins in this marketplace will be available for use in your Claude Code environment.
State machine-based optimization infrastructure achieving 40-60% token reduction through deterministic preprocessing and template-based routing.
The meta-prompt plugin implements a state machine architecture with three specialized LLM agents that work together to optimize prompt execution. The system uses deterministic bash scripts for orchestration (zero tokens) and invokes LLM agents only for targeted work: template selection, prompt optimization, and task execution.
/prompt <task> - Optimize and execute a prompt with automatic template selection/prompt --template=<name> <task> - Use a specific template (--code, --review, --test, --docs, --extract, --compare, --custom)/prompt --plan <task> - Create execution plan and get approval before running/prompt --return-only <task> - Generate optimized prompt without executing| Template | Use Cases | Key Variables |
|---|---|---|
| code-refactoring | Modify code, fix bugs, implement features | TASK_REQUIREMENTS, TARGET_PATTERNS |
| code-review | Security audits, quality analysis, feedback | PATHS, REVIEW_FOCUS, LANGUAGE_CONVENTIONS |
| test-generation | Generate unit tests, test suites, coverage | CODE_CONTEXT, FOCUS_AREAS, TEST_FRAMEWORK |
| documentation-generator | API docs, READMEs, docstrings, user guides | TARGET_FILES, DOCUMENTATION_STYLE, AUDIENCE |
| data-extraction | Extract data from logs, JSON, HTML, text | INPUT_SOURCE, EXTRACTION_PATTERN, FORMAT |
| code-comparison | Compare code snippets, check equivalence | FIRST_CODE, SECOND_CODE, COMPARISON_FOCUS |
| custom | Novel tasks (LLM fallback) | TASK_DESCRIPTION |
Each template uses specific variables that are automatically extracted from your task description:
# Auto-detect template and execute
/prompt "Analyze security vulnerabilities in the authentication module"
# Use explicit template with planning mode
/prompt --review --plan "Check code for security issues"
# Generate tests with specific template
/prompt --test "Generate pytest tests for user service"
# Create optimized prompt without executing
/prompt --code --return-only "Refactor user service to use dependency injection"
| Metric | Target | Status |
|---|---|---|
| Token reduction | 40-60% | Met |
| Orchestration tokens | 0 | Met |
| Classification accuracy | 90%+ | Met |
| Deterministic overhead | <100ms | Met |
See meta-prompt/README.md for complete documentation including:
We welcome contributions of new plugins and improvements to existing ones!