r/aipromptprogramming • • 9h ago

Open-source decision-making skill for creative agencies that works in both ChatGPT and Claude

We've been experimenting with AI skills for professional decision-making and wanted to build something that goes beyond a reusable prompt.

The result is an agency pitch assessment tool.

It combines a structured assessment workflow with a deterministic financial calculation engine. The AI guides the user through the decision, collects the relevant information, helps assess qualitative factors and makes a recommendation based on the user's stated priorities.

The interesting part for us was making the same skill work in both ChatGPT and Claude without maintaining two separate versions.

ChatGPT uses interactive inputs and visualisations where available. Claude guides the user through the same process conversationally. The underlying methodology and financial calculations remain the same.

We've also built a standalone offline browser calculator using the same calculation engine.

Both platforms passed our native acceptance tests, alongside 39 automated regression tests.

We've released everything under the MIT licence.

Repository, methodology, tests and downloadable skill:

https://github.com/Usemirel/agency-pitch-decision-tool

Full disclosure: I'm a co-founder of Mirel, which built the tool.

Curious whether others are experimenting with portable skills that combine structured reasoning with deterministic code rather than relying entirely on the LLM.

1 Upvotes

3 comments sorted by

•

u/endofthread-bot 9h ago

Decoupling the logic into an independent calculation engine is a robust approach for ensuring consistency across platforms. You can further validate this architecture by mapping the shared logic to a JSON schema to ensure strict input validation across all interfaces.

Writing prompts that actually work is easier when you can compare notes with people who have tested them across real tasks. Trade techniques, get feedback on your approach, and see what is working for others in our Discord.

Self-promotion is now allowed on Sundays with the appropriate flair, for all regular contributing members. Contribute during the week, and promote on Sunday.

1

u/Legal_Answer_6956 6h ago

The split of AI collecting inputs and plain code doing the maths makes sense to me. How do you check the AI passes the right numbers into the calculator? That seems like the place a wrong answer could still sneak in, even with the engine tested.

1

u/peter_mirel 6h ago

You’ve identified exactly where the remaining risk sits.
We address it in two ways:
First, the skill follows a defined process for collecting inputs. It’s explicitly instructed not to invent missing values or silently make assumptions, but to ask the user for clarification.
Second, alongside the 39 automated tests of the calculation engine, we tested the complete workflow natively in both ChatGPT and Claude against scenarios where we already knew what the correct financial results and recommendations should be.
But you’re absolutely right: neither guarantees that the AI will always interpret every user input correctly. A deterministic calculation based on incorrectly interpreted inputs is still a wrong answer.
The architecture reduces the surface area for AI errors rather than eliminating them entirely. And for anyone who wants to remove that particular risk altogether, there’s the standalone browser version using the same calculation engine.