optimize-with-environments
Optimize environment system prompts with GEPA through prime gepa run. Use when asked to improve prompt performance without gradient training, compare baseline versus optimized prompts, run GEPA from CLI or TOML configs, or interpret GEPA outputs before deployment.
Install
mkdir -p .claude/skills/optimize-with-environments && curl -L -o skill.zip "https://mcp.directory/api/skills/download/6837" && unzip -o skill.zip -d .claude/skills/optimize-with-environments && rm skill.zipInstalls to .claude/skills/optimize-with-environments
About this skill
Optimize With Environments
Goal
Use GEPA to optimize system prompts in a controlled, reproducible loop.
Scope
Current GEPA path is for system prompt optimization. If user asks for unsupported optimization targets, stop and clarify before proceeding.
Endpoint And Model Selection Nudge
- Encourage users to define reusable aliases in
configs/endpoints.toml. - Ask whether optimization should be validated on instruct or reasoning models.
- Instruct go-tos:
gpt-4.1series,qwen3instruct series. - Reasoning go-tos:
gpt-5series,qwen3thinking series,glmseries. - For benchmark reporting, keep model family fixed between baseline and optimized comparisons unless the user requests a cross-family study.
- Endpoint entries support optional
headers(orextra_headers) for custom HTTP headers. GEPA inherits these from the registry for both the main model and the reflection model:
[[endpoint]]
endpoint_id = "my-proxy"
model = "gpt-4.1-mini"
url = "https://api.example/v1"
key = "OPENAI_API_KEY"
headers = { "X-Custom-Header" = "value" }
Core Workflow
- Verify baseline first with
prime eval run. Keep the default save behavior and do not add--skip-uploadunless the user explicitly requests that deviation:
prime eval run my-env -m gpt-4.1-mini -n 50 -r 3 -s
- Run GEPA:
prime gepa run my-env -m gpt-4.1-mini -M gpt-4.1-mini -B 500 -n 100 -N 50
- Or run from config:
prime gepa run configs/gepa/wordle.toml
- Re-evaluate with optimized prompt and compare against baseline.
High-Value Settings
-B/--max-calls: total optimization budget.-n/--num-trainand-N/--num-val: train/validation split sizes.--minibatch-size: reflection granularity.--perfect-score: skip already-solved minibatches when max score is known.--state-columns: include environment-specific context in reflection data.
Output Artifacts
Expect and inspect:
best_prompt.txtpareto_frontier.jsonlmetadata.json
Quality Rules
- Do not optimize on top of broken reward logic.
- For weak deterministic checks, fix rubric quality before GEPA tuning.
- Keep model, sampling, and dataset conditions stable during baseline-vs-GEPA comparison.
- Report limitations directly when feature gaps block requested optimization.
Deliverable
Return:
- Baseline metrics.
- Optimized metrics.
- Prompt diff summary.
- Recommendation to adopt, iterate, or stop.
More by PrimeIntellect-ai
View all skills by PrimeIntellect-ai →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversBoost productivity with Task Master: an AI-powered tool for project management and agile development workflows, integrat
Connect Blender to Claude AI for seamless 3D modeling. Use AI 3D model generator tools for faster, intuitive, interactiv
Boost your productivity by managing Azure DevOps projects, pipelines, and repos in VS Code. Streamline dev workflows wit
Deploy, monitor, and manage cloud based DBMS and cloud database management tasks on Tencent CloudBase with AI-powered to
Deploy, monitor, and manage full-stack apps on Tencent CloudBase—tools for cloud environments, databases, functions, hos
GistPad (GitHub Gists) turns gists into a powerful knowledge management system for daily notes and versioned content.
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.