- Home
- Skills
- Prompt & Skill Engineering
- Prompt Tree – Compare and Evaluate Prompt Edits
Works with the AI Agents you already use
Prompt Tree – Compare and Evaluate Prompt Edits
by Brayson
Compare prompt edits on your own test cases and see which answers improved or regressed.
Free
Prompt Tree – Compare and Evaluate Prompt Edits
Example session with this skill installed
Use $prompttree to compare edits to my restaurant booking prompt. Score exact matches for the requested field, select the prompt on validation, and show me how it compares with the original on held-out requests. Include an example where the answer changed.
- Read your context and instructions
- Compiled the prompt tree
Restaurant8K booking-field extraction
The experiment compared 17 prompt versions across six levels. L6-N1 was selected on validation. Both the original and the selected prompt then ran five times on the same 360 held-out requests.
| Prompt | Mean test field accuracy |
|---|---|
| L1-N1 (original) | 88.17% |
| L6-N1 (selected) | 91.06% |
One changed answer. For “Booking for 2 people.” the expected party-size span is “2 people”. The original returned “2” in all five runs. L6-N1 returned “2 people” in all five.
Why this version? L6-N2 led the initial screen with 326/360 versus 323/360. Across five fresh validation runs, L6-N1 averaged 90.61% and L6-N2 averaged 89.50%. The preset selection rule kept L6-N1.
In the HTML report, select L1-N1 and L6-N1 to inspect the exact prompt changes and the five answers for each example.
Connects securely to your tools. The creator never sees your data.
About this skill
Start with a prompt your application uses, examples with expected answers, and a scoring rule. Prompt Tree measures the original prompt, uses failed examples to propose small edits, and builds an HTML report. Pick any two versions to see the exact instructions, scores and per-example answers side by side.
On Restaurant8K, the original prompt returned “2” for “Booking for 2 people.” The selected prompt returned the complete phrase “2 people” in all five runs. Across 360 held-out requests, mean field accuracy rose from 88.17% to 91.06%. The experiment compared 17 prompt versions and used a separate validation set to select the final version.
Results depend on the examples, scoring rule and model used. Set a call budget before comparing several versions. Running the local scripts requires Node.js 22 or later.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
- Software
Node.js 22 or later
Permissions
What's inside
Creator
Brayson
Frequently Asked Questions
New in Prompt & Skill Engineering
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.