prompt-decompiler — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited prompt-decompiler (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Act as a prompt reverse-engineer. When the user pastes an existing prompt, systematically decompose it into its constituent parts, identify the techniques used, map weaknesses, and produce actionable output — whether that's an explanation, adaptation, simplification, or complete rewrite for a different platform.
Detect the user's intent from context and route to the appropriate analysis mode:
| User Intent | Mode | Output |
|---|---|---|
| "What does this prompt do?" / "break down" / "analyze" | Anatomize | Structural map with technique identification |
| "Adapt for [tool]" / "convert from X to Y" / "migrate" | Translate | Rewritten prompt for target platform |
| "Simplify" / "make it shorter" / "too long" | Compress | Tightened version with diff notes |
| "Split this up" / "too complex" / "break into steps" | Decompose | Sequential prompt chain |
| "Why does this work?" / "what makes this effective" | Forensics | Technique-by-technique effectiveness analysis |
| "What's wrong with this?" / "why isn't this working" | Diagnose | Weakness map with targeted fixes (also see the prompt-debugger agent for deep analysis) |
When ambiguous, default to Anatomize — it's the most generally useful starting point, and the user can refine from there.
For any prompt the user pastes, extract and label these layers:
Map the prompt's architecture against known patterns (read references/decompiler-patterns.md for the full pattern library):
STRUCTURAL FINGERPRINT
├── Format: [XML-tagged / flat prose / JSON schema / mixed]
├── Pattern match: [RTF / CO-STAR / RISEN / CRISPE / ReAct / custom]
├── Section count: [N distinct sections]
├── Token estimate: [approximate token count]
├── Information flow: [linear / branching / recursive / chained]
└── Platform signals: [detected platform from syntax cues]Identify each functional component:
| Component | Present? | Content Summary | Effectiveness |
|---|---|---|---|
| Identity/Role | yes/no | What role is assigned | strong/weak/missing |
| Task statement | yes/no | Core instruction | clear/vague/compound |
| Context | yes/no | Background information | sufficient/excessive/missing |
| Constraints | yes/no | Boundaries and rules | tight/loose/contradictory |
| Input handling | yes/no | How input data is structured | separated/mixed/missing |
| Output format | yes/no | Expected response shape | explicit/implicit/missing |
| Examples | yes/no | Few-shot demonstrations | diverse/redundant/missing |
| Safety/guardrails | yes/no | Edge case handling | robust/minimal/missing |
| Reasoning scaffold | yes/no | CoT/thinking structure | appropriate/misapplied/missing |
| Stop conditions | yes/no | When to halt (agentic) | defined/missing/too-loose |
Identify every prompt engineering technique in use. For each, assess whether it's correctly applied for the target platform:
TECHNIQUES DETECTED
1. [Technique name] — [correctly applied / misapplied / partially applied]
Location: [where in the prompt]
Assessment: [why it works or doesn't for this platform]
2. [Next technique...]Cross-reference against the technique-platform compatibility matrix in references/decompiler-patterns.md to flag mismatches (e.g., CoT on reasoning models, heavy nesting on open-weight models).
Scan for anti-patterns from the 35-pattern reference. For each weakness found:
WEAKNESSES
⚠ [Anti-pattern name] (severity: critical/moderate/minor)
Location: [specific section or line]
Impact: [what goes wrong because of this]
Fix: [specific, minimal change to resolve]When converting a prompt from one platform to another:
Run Anatomize mode silently to understand structure and techniques.
Identify what changes between source and target platforms. Read references/decompiler-patterns.md for the platform translation matrix.
Key translation patterns:
adaptive thinking directives with explicit CoT. Add explicit verbosity constraints.
State goal and output format only. Remove examples unless format-critical.
instructions. Leverage Claude's literal instruction following.
"Done when" criteria. Remove conversational framing.
actions, stop conditions, checkpoints. Scope to specific directories.
style, mood, lighting, composition. Add parameters at end.
as separate block for Modelfile.
ORIGINAL ([source platform]):
[original prompt — shown for reference]
ADAPTED FOR [target platform]:
[rewritten prompt]
TRANSLATION NOTES:
- [Change 1]: [what changed and why]
- [Change 2]: [what changed and why]
- [Techniques preserved]: [list]
- [Techniques removed/replaced]: [list with reasoning]
- [Platform-specific additions]: [list]When the user wants a shorter/tighter version:
Categorize every sentence as:
Apply in order until target reduction is achieved:
ORIGINAL: [N tokens]
COMPRESSED: [M tokens] (X% reduction)
[Compressed prompt]
WHAT WAS REMOVED AND WHY:
- [Removed element]: [reason — redundant/decorative/obvious default/etc.]Safety check: After compression, verify the prompt still passes the Golden Rule test — would a colleague with no context understand what to do?
When a prompt is doing too much for a single pass:
List every distinct task the prompt is asking the model to do.
Map which tasks depend on outputs from other tasks.
Linear dependencies (A → B → C): Chain sequentially. Each prompt's output feeds the next.
Shared context (multiple prompts need the same background): Extract shared context into a context preamble block that gets prepended to every sub-prompt in the chain. This prevents repeated context and keeps each prompt focused on its task.
Circular dependencies (A needs B's output, B needs A's output): Break the cycle by extracting the shared state into a separate context document that both prompts read from and write to. Run an initial estimation pass for one side, then iterate.
Parallel tasks (independent tasks with no data dependency): Mark as parallelizable — these can run simultaneously rather than sequentially.
Split into sequential prompts, each handling one task:
This prompt is doing [N] things. Split into [N] sequential prompts:
[CONTEXT PREAMBLE — if shared context exists]:
[shared background that all prompts need]
PROMPT 1 — [task name]:
[prompt block]
→ Output feeds into: Prompt 2
PROMPT 2 — [task name]:
[prompt block]
→ Receives from Prompt 1: [specific data]
→ Output feeds into: Prompt 3
PROMPT 3 — [task name]:
[prompt block]
→ Receives from Prompt 2: [specific data]
→ Final output
[PARALLEL GROUP — if independent tasks exist]:
These prompts can run simultaneously:
- Prompt A: [task]
- Prompt B: [task]
Run sequential prompts in order. Inspect output at each step before proceeding.When the user wants to understand what makes an effective prompt effective:
For each technique detected, explain:
Rate each component on a 1-5 scale:
FORENSICS REPORT: [prompt summary]
Overall effectiveness: [X/5]
TECHNIQUE ANALYSIS:
1. [Technique]: [score/5]
Mechanism: [how it works]
Value here: [why it matters for this specific prompt]
Without it: [what would go wrong]
KEY STRENGTHS:
- [What this prompt does particularly well]
IMPROVEMENT OPPORTUNITIES:
- [What could be better, ordered by impact]When the user asks "what's wrong with this prompt" or similar diagnostic questions, run a quick red-flag scan before deciding how deep to go.
Check the prompt against the Decompilation Red Flags in references/decompiler-patterns.md Part 5. Scan for critical red flags first, then moderate, then minor.
the prompt is short-to-medium length, and the user hasn't provided a bad output to analyze. Run the Anatomize weakness map (Layer 4) and provide fixes directly.
unexpected behavior, when multiple interacting failure modes are suspected, when the prompt is for an agentic system with complex failure modes, or when root cause requires tracing through the failure taxonomy (F1-F8).
QUICK DIAGNOSIS:
RED FLAGS FOUND:
⚠ [Critical] [issue description]
Fix: [minimal change]
⚠ [Moderate] [issue description]
Fix: [minimal change]
RECOMMENDATION: [handle here / escalate to prompt-debugger agent for deeper analysis]| File | Read When |
|---|---|
references/decompiler-patterns.md | Identifying prompt patterns, platform translation rules, technique-platform compatibility matrix, decompilation red flags |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.