when-optimizing-prompts-use-prompt-optimization-analyzer
Optimize Prompts With Diagnostic Analysis
Prompt libraries often grow verbose, inconsistent, and hard to maintain. This skill diagnoses prompt quality issues and turns them into practical optimization steps.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "when-optimizing-prompts-use-prompt-optimization-analyzer" from https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer.md and its manifest at https://skillstore.io/api/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
GET /skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer.md Signed manifest GET /api/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/manifest Signed lockfile GET /api/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/lockfileTest it
Using "when-optimizing-prompts-use-prompt-optimization-analyzer". A vague code review prompt with repeated phrases and broad quality goals.
Expected outcome:
The analyzer identifies repeated wording, replaces vague adjectives with review criteria, and recommends a shorter structured review process.
Using "when-optimizing-prompts-use-prompt-optimization-analyzer". A skill trigger that says to use the skill for anything related to prompts.
Expected outcome:
The analyzer flags the trigger as too broad and suggests clear activation conditions, exclusions, and examples.
Using "when-optimizing-prompts-use-prompt-optimization-analyzer". Two versions of the same prompt before and after editing.
Expected outcome:
The analyzer compares token savings, retained intent, clarity gains, and any important instruction loss.
Security Audit
Medium RiskMost static detections are false positives caused by Markdown fences and JavaScript template literals. The real issue is repeated guidance to run npx claude-flow@alpha hook and memory commands, which can execute mutable third-party package code. No prompt injection attempt was found.
Confirmed security concerns (4)
Capability review items (3)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (29)
Detected Patterns
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
DNYoussef. (2026). when-optimizing-prompts-use-prompt-optimization-analyzer security audit report (audit version 9) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/audits/9BibTeX citation
@techreport{dnyoussef-dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer-2026,
author = {DNYoussef},
title = {when-optimizing-prompts-use-prompt-optimization-analyzer security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/audits/9},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "when-optimizing-prompts-use-prompt-optimization-analyzer security audit report (audit version 9)"
version: "1.0.0"
type: report
authors:
- name: "DNYoussef"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer/audits/9"
identifiers:
- type: other
value: "skillstore:dnyoussef-when-optimizing-prompts-use-prompt-optimization-analyzer:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Prepare a Skill for Publication
Review a new skill prompt for clarity, token waste, and weak trigger conditions before release.
Improve a Prompt Library
Compare prompts across a team and identify repeated wording, vague rules, and maintenance problems.
Refine Support Instructions
Turn broad agent guidance into clear steps, measurable outcomes, and easier review criteria.
Try These Prompts
Analyze this prompt for repeated phrases, filler words, and vague instructions. Return the top five fixes and estimated token savings: [paste prompt].
Review this skill prompt for token efficiency, trigger clarity, and conflicting requirements. Prioritize issues by severity: [paste skill content].
Compare these prompt versions. Explain what improved, what became weaker, and whether the optimized version keeps the original intent: [paste both versions].
Analyze these related prompts as a library. Identify shared anti-patterns, overlapping triggers, and a phased optimization plan: [paste prompt set].
Best Practices
- Provide the full prompt, target user, model, and token goal.
- Fix high-severity clarity issues before optimizing only for length.
- Run the analysis again after major prompt changes.
Avoid
- Optimizing only for token count when precision is required.
- Treating heuristic scores as final quality guarantees.
- Running external workflow commands without approval and version pinning.
Frequently Asked Questions
What does this skill analyze?
Does it edit prompts automatically?
Can it provide exact token counts?
Is it useful for Claude Code or Codex?
What inputs should I provide?
Are the workflow commands required?
Developer Details
Author
DNYoussefLicense
MIT
Author version
v1.0.0
Skillstore revision
r1
Ref
c579efd02184f1128d6741d16e6c8d951d7d4208
Maintenance freshness
7/18/2026
Usage
11 downloads ยท 220 views
File structure