Project
MasteryMade AI: AI Tools and Team Training Platform on Laravel
MasteryMade AI is a Laravel platform with AI tools for business owners and the Digital Dojo, an AI training programme for whole teams. I built its role maps and pixel lessons, the link to four AI providers, the assistants and the AI budgets per organisation.

MasteryMade AI is a Laravel platform that puts AI to work for business owners and for whole teams. One side is a toolbox for subscribers: ready-made prompt forms, AI assistants that know their own documents, workspaces and lead-magnet widgets. The other side is the Digital Dojo, the home of its AI-powered Strategic Acceleration Program (ASAP). There a company's staff map their own role, learn to use AI one level at a time and record how much time it saves them.
I worked on the platform from its first week in April 2024 until October 2025. Several developers worked on it over that time. I built a large part of the core: the whole Digital Dojo, the connection to four AI providers, the assistants, and the controls that keep AI spending inside a budget. The work later continued in a newer product, which is a separate story.
What I built
- The Digital Dojo: role maps, pixel lessons, scorecards, the productivity report, teams, the feed, journals and libraries, with their admin screens.
- Four AI providers: OpenAI, Anthropic's Claude, Google Gemini and Perplexity behind one way of calling them.
- Assistants and prompt forms: knowledge files, forms in several steps, saved answers to @mention, and two tools side by side.
- AI cost control: the cost of each answer recorded, prices kept current by a Node.js script, budgets, and organisations' own API keys.
- Admin panel: roles and permissions, plans, prompts, assistants, workspace inputs, pixel levels, bug reports and feature requests.
- Sign-up and releases: sign-up protection, the deployment pipeline and the homepage.
How MasteryMade works
Subscribers
A business owner signs up and picks a plan. Plans are monthly or yearly, and each one includes a chosen set of prompt forms and assistants. Anything outside the plan can be added on its own, "à la carte": paid through the subscription, with credits, or free.
- Prompt Library: forms that ask a few plain questions, such as the product, the audience and the goal, and turn the answers into a carefully written prompt. Some run in steps, each step building on the last answer.
- Assistant Library: chat assistants built by the admin team for one job each, often with their own knowledge files.
- Workspaces: the member's own mix of assistants and forms, with their role, business, style and desired output. Shortcuts can be chained, like
@Strategy > @Execution, so one result feeds the next. - Widgets: AI forms embedded on the member's own website as lead magnets. Visitors get their result by email, paid from the member's credits.
Answers can be saved with a category, tags and a project name, and sent on to tools such as Notion, Google Drive or Obsidian.
Organisations in the Digital Dojo
A company joins through a sign-up link for its kind of team, and the person who signs up becomes the organisation's leader. The leader adds colleagues, or trusts a manager to do it, and enters a value for each person that the productivity report uses. Every member gets their own login, a free Dojo plan and starting credits. The leader also decides which AI keys and models the team uses, and how much it may spend.
Team members
A member's dashboard shows their role map, their productivity, upcoming events and notes. From there they:
- keep a daily journal of how they used AI, with a mood for the day
- work through the pixel lessons on their role map
- ask the "Senseis", AI coaches for the lessons and for building one deliverable
- watch videos made for their organisation, take notes and download the files
- follow the organisation feed, where finished steps appear and colleagues like and comment
The admin team
The admin panel runs both sides: AI keys and models, prompts, assistants, plans, workspace inputs imported from Excel, pixel levels, role templates, organisations and their budgets, libraries, events, guided tours, users and reports on AI use. Staff roles are built from more than 100 permissions in 25 groups. The team can also ask the AI to summarise one person's journal entries.
Role maps: 8 competencies, 8 deliverables each
The heart of the Dojo is the AI role map. A member describes their job, or uploads a job description. The AI suggests 8 competencies for that role, and the member can swap any of them before saying yes. Only then does it build the map: an 8 × 8 grid with 8 tangible deliverables under each competency, each written as an output that AI can speed up, such as a report, a dashboard or a plan.
The map is saved cell by cell, not as one block of text. So a member can open any deliverable, rename a competency later and let the AI write new deliverables for that column, export the map as CSV or PDF, and archive or restore it. The prompt that builds the map is set by the admin team for each kind of team, so different teams start from different templates.
Pixel lessons and proof of learning
Each deliverable is worked through in levels called pixels. Every level has a colour, a video and short notes that appear at set moments in it. To finish a level, a member goes through three steps:
- Watch the lesson. The platform records the viewing, and a code given in the video confirms it.
- Lesson survey. Relevance, confidence and excitement from 1 to 5, a plan for using the lesson, and the challenge they expect.
- AI task challenge. The real task they did with AI, how often it comes up, the time it took before AI and with AI, and a short demonstration video.
Each step appears on the admin team's Scorecards screen. When a step is approved, the member gets an email, their progress bar moves, and the organisation feed shows what they finished.
Measuring time saved
Leaders want to know whether the training pays off, so I built the ASAP productivity report on the challenge forms. For each deliverable, the time with AI is taken from the time before AI. The time saved is then multiplied by the value set for that person, so the report shows time and money side by side, in total and per deliverable.
A member sees their own numbers; a leader, or a manager with that right, sees the whole organisation. The time figures come from what people recorded in their challenges.
One way to talk to four AI providers
I gave each of the four providers its own service class with the same kind of methods, so a screen simply asks for an answer and the prompt's settings decide where it goes. In the admin panel every prompt is tied to an API key and a model, so the team can move a form to another provider without touching code.
Prompt forms use numbered placeholders in the prompt text, filled in with the member's answers when the form runs. A file answer in PDF, Word or plain text is turned into text first.
Assistants, knowledge and saved answers
Assistants are built on OpenAI's assistants. The admin team writes the instructions, uploads knowledge files into a searchable store and can switch on code execution. Each member's conversation runs in its own thread, and members can add files, pictures and Google Drive documents.
Two things I added made them more useful day to day:
- @mentions. Typing @ in the chat lists saved answers by tag, project or file name. A picked answer goes into the conversation as context, so earlier work is easy to reuse.
- Two windows. A member can open two tools side by side, for example a prompt form on the left and an assistant on the right, and each window keeps its own history.
Plans, credits and AI budgets
Payments run on Stripe. When the admin team creates a plan, the matching Stripe plan is created with it. Members pay through Stripe Checkout, add-ons join the same subscription with prorated charges, and Stripe's webhooks keep each account up to date. I wrote the first plan screens; the checkout and add-on code was mainly another developer's work.
A plan alone does not limit what the AI costs. So each AI answer stores its token counts, the model, the organisation and a copy of that model's price at that moment, and a later price change never rewrites an old cost. To keep the prices current, a small Node.js script opens OpenAI's public pricing page in a headless browser, reads the table and sends the prices to the app's API.
Before an AI call in the Dojo, the platform compares what the organisation has spent with its budget:
- a default limit for every organisation, set in Settings
- an organisation's own limit, or no limit at all, set by the admin team
- one budget for the whole team, or a budget per person, set by the leader
Over the limit, the member gets a clear message instead of a failed answer. The admin panel reports AI spending per organisation and per person.
Bring your own API key
Larger organisations can use their own AI accounts. A leader adds a key for any of the four providers; Gemini, Claude and Perplexity keys are checked with their provider before they are saved. An OpenAI key needs more, because the Dojo's standard assistants for role maps and lesson chats must exist on that account. The platform creates them there inside one database transaction, so if any step fails, nothing is saved. The leader then picks the default model.
Smaller pieces
- An AI landing page builder. From a form's audience, outcome and offer, the AI writes the title, sections, testimonials and a prompt for a DALL·E picture, in a queued job that sends each part to the browser over Pusher when it is ready.
- A prompt API. A documented API (Swagger) lets a separate app list its prompt forms and run one, with the answer streamed back.
- Sign-up protection. Google reCAPTCHA v3, a limit on attempts per network address, strong passwords, and a daily job that removes accounts still unverified after 7 days.
- Releases. I set up the deployment pipeline: a script installs the PHP packages without development tools, clears the caches and runs the migrations, then the web server restarts.
- The homepage. The marketing site was designed in a separate Next.js project; I placed its static export inside the Laravel app, which serves it as plain files.
What I took from this project
The hardest part was never the AI call itself. It was everything around it: who pays for an answer, what happens when the money runs out, and how to show that people really learned something. Turning a training programme from a planning document into tables, rules and screens taught me to ask early what every number on a report is made of.
Tools used
| Area | Tools |
|---|---|
| Backend | Laravel, PHP, MySQL, queued jobs |
| Frontend | Blade templates, Bootstrap, jQuery |
| AI | OpenAI (chat, assistants with file search and code execution, DALL·E), Anthropic Claude, Google Gemini, Perplexity |
| Payments | Stripe Checkout, subscriptions and webhooks |
| Access | Laravel sign-in, Sanctum for the API, Spatie roles and permissions, Google reCAPTCHA v3 |
| Integrations | Google Drive, Pusher, Swagger API docs, sharing to Notion and Obsidian |
| Files and reports | PDF and Word text extraction, Laravel Excel, PDF export |
| Scripts | Node.js with Puppeteer |
| Delivery | Git, a deployment pipeline with install and start hooks |
Are you planning a product built around AI, where both the costs and the results need to stay under control? Tell me about it.

Comments
No ratings yet
Log in to comment
Only members can comment and rate posts. It is free and takes a minute.
No comments yet. Be the first to share your thoughts.