prompt-optimize
prompt-optimize is a Prompt design & optimisation skill for AI agents, published by mega-edo in the mega-security repository on GitHub. Skillspace rates prompt-optimize F (45/100) and the safety scan rated it risky; the rating is based on static analysis only.
Risky. This skill has patterns associated with unsafe behaviour. Read the source carefully before running it.
Iteratively rewrite a chat system prompt to fix failures found by prompt-check. Reuses the check's scoring-set baseline (no re-measurement); measures the tuning set once at start; per iteration, the orchestrator (the main Claude Code session running this skill) rewrites the prompt against the TUNING-SET failures only — guided by a cumulative cheat_map of which rules previous iters accepted vs rejected — then re-measures on the tuning set as a search signal; only candidates that pass the tuning gate get a scoring-set generalization check. The scoring set is held back from the rewriter at all times. The final candidate is shown as a diff with three explicit choices — Auto-apply (overwrite the discovered source file), Select changes (pick a subset of accepted rules to apply), or Discard (leave source untouched). Adapt mode only.
- Grade
- F
- Quality
- 45 / 100
- Safety
- Risky
- GitHub stars
- 32
Unproven: rated by static analysis only, not yet compared head-to-head.
This rating describes the version of the repository we crawled; it may have changed since.
Our review
- Architecture
- 62 / 100
- Maturity
- Structured: ships references or scripts
- Security scan
- High-risk patterns
- License
- Apache-2.0
- Adoption
- Adopted by 0 other repositories, in 0 collections
What the scanner flagged
- prompt-injection: ignore-previous
- dynamic code execution (eval/exec)
- mentions secrets in text
Not checked yet
- Not judged on the rubric yet (not a contender in its category)
- No blind task eval yet
- Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
- Sibling files (scripts, references) not fetched; security scan covers SKILL.md only
Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.