Free

Chapter 23. 10 Codex practice projects: plans and checks

Choose a practice project: a landing page, bot, AI chat, video, SEO or SaaS. Each has inputs, a workflow, acceptance checks, costs and a recovery plan.

All chapters

These 10 Codex practice projects range from a landing page and Telegram bot to a knowledge assistant and SaaS. Choose one outcome, then follow its inputs, stages, acceptance checks, costs and recovery plan.

For any project, create a separate training folder. Save PROJECT_STATE.md, CHECKS.md, and selected versions. First get a small result, then check errors, and only then prepare publication.

Use the prompts in order: create, check, prepare to launch. If the previous stage is unfinished, resolve its problem first. The assistant finds project data itself and asks you only for a missing goal or source material.

Project 1. Landing page

Result: Page with clear offer and working form.

What is needed: Project rules, DESIGN.md, browser check, selected hosting.

Source materials: own texts, images, offer terms, and application recipient.

Workflow: First, agree on the form’s content and fields. Create the page locally. Test invalid data, successful submission, and text retention after error. Then prepare a test publication on a suitable plan.

How to build a landing page with Codex

Readiness signs: Request actually arrives in test system; erroneous send does not erase text.

Expenses to check: Hosting, domain, and external sending costs.

Return to working state: Saved code version and separate data copies.

Project 2. An AI chat for a website

Result: Assistant answers limited task and can admit lack of answer.

What is needed: Site, server request to model, selected documents, rights and budget verification.

Source materials: FAQs, confirmed answers, and action limits.

Workflow: First prepare answers and verification questions. Implement one server request. Keep the key on the server. Add expense limits and a clear error. Then test chat without answers in materials and on provider failure.

Build an assistant for your documents

Signs of readiness: The answer is grounded in the document, unauthorized information is inaccessible and the usage limit stops spending.

Expenses to verify: Model, server, and document storage.

Return to working state: disable chat, revert version, and revoke access if leaked.

Project 3. Telegram bot

Result: Bot accepts one command and responds only to the authorized user.

What is needed: Telegram Bot API, command handler, state storage, and a persistent runtime environment.

Source materials: One command, numeric owner ID, test materials.

Workflow: Obtain a token via the official Telegram method and store it outside code. Start with one response in your own chat. Check rejection of unknown users. Then choose a method for continuous launch and restart after error.

Prompt: Telegram bot: create

Prompt: Telegram bot: verify

Prompt: Telegram bot: prepare launch

Readiness signs: Bot responds to owner, denies outsiders, and does not repeat the same action twice.

Expenses to Check: Server and Possible APIs.

Return to working state: stop process, revoke token, and restore saved version.

Project 4. An automated YouTube channel

Result: One finished video with checked facts, audio and visuals.

What is needed: Source folder, script, editing, cover, verification, official upload path.

Source materials: Own materials and permitted media.

Workflow: Prepare facts and script. Assemble a test scene. Then the full video, cover, and description. Watch the entire result. Test upload first with explicitly set private access and then with separate account selection.

Edit a video from your own footage

Readiness indicators: The video is clear and complete, metadata matches the content, test visibility is explicitly set.

Expenses to verify: media generation, voiceover, editing, and possible storage.

Return to working state: delete or hide erroneous publication after owner resolution; saved sources and project.

Project 5. SEO machine

Result: A verified set of pages answering real questions.

What is needed: Source questions, documents, website, search analytics.

Source materials: Query data and confirmed materials.

Workflow: Gather one cluster of questions. Prepare a page with your own useful example. Check content, links, and technical accessibility. Publish only after approval. Measure views and clicks over comparable periods.

How to automate SEO content with quality controls

Readiness signs: Pages are useful individually, do not repeat each other, and are accessible for the chosen indexing method.

Expenses to check: Search service data, hosting, and editing.

Return to working state: restore content and addresses, save old version and redirect table.

Project 6. Agent for finding potential clients

Result: List of suitable companies with a verifiable reason for selection.

What is needed: Available public sources, criteria, table, and duplicate check.

Source materials: Company profile, region, signs of suitable offer.

Workflow: Define criteria. Collect a small sample from available sources. Save links and dates. Check matches and relevance. Prepare proposal separately; list collection doesn't allow automatic mailing.

Your first automation

Signs of readiness: Each company has evidence that it meets the selection criteria; duplicates and uncertain records are marked.

Expenses to check: Paid data and external requests if selected.

Return to working state: Saved original sample, cancelable test import.

Project 7. Short video generator

Result: Videos from selected sources using one verified template each.

What is needed: Editing software, scene plan, captions, and export verification.

Source materials: Your own source footage, text and the required format.

Workflow: First assemble one video. Check duration, cuts, sound, and meaning. Then use the same process for the next source. One file's error should not erase others' results.

Animated video from code

Prompt: Build and check a sample short clip

Readiness signs: each file opens, matches plan, and is content-checked.

Expenses to check: Media, recognition, generation, and server if needed.

Return to working state: Sources and plans saved, result can be rebuilt.

Project 8. An assistant with your own knowledge base

Result: Answers on own documents with source indication.

What is needed: Document versions, search, model, and limited rights.

Source materials: Training instructions and questions with known answers.

Work order: Prepare a clean copy of documents. Choose a simple search. Save the origin of found fragments. Check answer, refusal, and outdated version. Then connect personal materials with needed restrictions.

Build an assistant for your documents

Signs of readiness: The answer cites supporting evidence, missing information is acknowledged and unauthorized documents remain inaccessible.

Expenses to verify: Search, model, and storage.

Return to working state: Disconnect, revert index, and delete authorized copies.

Project 9. SaaS with subscription

Result: Personal account with data segregation and verifiable access by tariff.

What is needed: app, database, login, test payment service, and server-side checks.

Source materials: User rights, tariffs, disconnection conditions, and test data.

Work order: First create an account without payment. Check two users. Then connect a test payment scenario: pending, successful, canceled. Handle repeated notifications without reissuing access. Real charges remain a separate step.

How to build a web app with user accounts using Codex

Readiness indicators: Other users’ data is inaccessible, a test payment changes access once and cancellation follows the agreed rules.

Expenses to check: Database, hosting, payment service, and external APIs.

Return to working state: code version plus agreed data recovery plan; code rollback does not cancel payment.

Project 10. Business automation system

Result: One process from event to verified result without duplicates.

What is needed: Test sources, selected process engine, log, and notifications.

Source materials: One process, e.g., application → test record → internal report.

Workflow: Describe the steps and the decision owner. Check each step separately. Then the entire path and event repetition. Stop the process on error and ensure it can resume from the correct point. Add scheduling after a successful run.

Your first automation

Signs of readiness: The event yields one correct result; error is visible; repeat does not create a second action.

Expenses to verify: Platform, server, and external operations.

Return to working state: stop process, saved inputs, verifiable continuation without duplicates.

How to complete the ten projects

The above analyses set the result. Below is execution order and specific verification. The training test path does not mean a ready commercial system.

1. Landing page with inquiries

  1. Agree on audience, offer, materials, and one form goal.
  2. Build the page and all form states locally.
  3. Choose where to store inquiries and connect it in test mode.
  4. Check access, resubmission, and service unavailability.
  5. Accept preview before domain and working data.

Acceptance criteria: The application was saved exactly once; no error erased fields.

Typical problem: form reports success but no record exists; check server response and actual storage.

Instructions: How to create an application form using Codex, How to improve site design with Codex, How to prepare a site for test publication., How to measure website requests without fake analytics.

2. An AI chat for a website

  1. Determine which documents the chat answers and who has access to them.
  2. Prepare sample data and questions with known answers.
  3. Add response interface, source, and error state.
  4. Check missing response, new version, and foreign document.
  5. Prepare expenses, request limits, and monitoring after preview.

Acceptance criteria: The response opens confirmation; another's document is inaccessible.

Typical problem: confident wrong answer; verify found fragments before changing model.

Instructions: How to check user access to application data, How to check permissions and AI agent access, How to prepare an AI assistant based on your documents, How to prepare a site for test publication..

3. Telegram bot

  1. Find the existing project and a suitable bot, or create a practice bot through BotFather.
  2. Connect the bot, keep the token outside the code and restrict commands to the owner.
  3. Implement one command and check a real reply in the permitted chat.
  4. Test an unauthorized user, an invalid command, a repeated event and a connection error.
  5. Choose a continuous runtime environment, then test restarts and data persistence.

Acceptance criterion: The bot replies to its owner, rejects unauthorized users and does not repeat an action twice.

Typical problem: A repeated event creates a second record; check the event identifier and saved processing state.

Guide: Build a Telegram bot for your task.

4. YouTube release

  1. Prepare script, source files, and mandatory phrases.
  2. Assemble a rough edit and listen to the speech.
  3. Check titles, cover, description, and file parameters.
  4. Prepare closed or test upload according to current requirements.
  5. Open the result and check visibility before public release.

Acceptance criteria: Required file uploaded with correct visibility; speech and captions accepted.

Typical problem: Load response exists but file not visible: check processing status and account; do not retry blindly.

Instructions: How to edit video using Codex, How to prepare scene for AI video generation, How to turn one material into an article, video, and carousel, How to prepare content publication via API.

5. SEO content workflow

  1. Save real questions and supporting materials.
  2. Gather related questions and page plan.
  3. Create one page with your own useful example.
  4. Check text, links, and technical accessibility.
  5. After accepted release, measure comparable period and update from sources.

Acceptance criterion: Page answers its question; facts have sources.

Typical problem: No views: separately check publication, indexing, and available period data.

Instructions: How to prepare an SEO page: text and verification, How to measure website requests without fake analytics, How to prepare a knowledge base for regular updates.

6. Agent for finding potential clients

  1. Describe signs of a suitable company and acceptable sources.
  2. Collect a small training sample with links and dates.
  3. Check matches and remove duplicates by explicit rule.
  4. Keep uncertain entries separately and explain why each company was selected.
  5. Prepare report and draft proposals without automatic mailing.

Acceptance criterion: Each company has evidence that it meets the selection criteria; uncertainties are visible.

Typical problem: Multiple companies merged by name: clarify identifiers and review matching rules.

For the access check: Review AI agent permissions and access. This section outlines a practice sample; the current knowledge base has no separate complete company-research route.

7. Short video generator

  1. Choose one own video and result parameters.
  2. Prepare editing plan with mandatory phrases.
  3. Assemble the video and check sound, captions, and boundaries.
  4. Repeat the accepted template on the next source.
  5. For the package, save a log for each file and a separate results folder.

Acceptance criterion: Each file is checked separately; an error did not overwrite the previous result.

Typical problem: stitching changed meaning; review boundaries and compare speech to source.

Instructions: How to edit video using Codex, How to prepare scene for AI video generation, How to check automation on rerun.

8. Assistant with its own knowledge base

  1. Prepare training documents, versions, and rights.
  2. Set up search and one limited tool.
  3. Check correct answer and confirming link.
  4. Check for no response, unauthorized access, and updated document.
  5. Prepare document removal from search and account for external expenses.

Acceptance criteria: Sources accessible to owner; missing info acknowledged.

Typical issue: Old response after update; check index, saved fragments, and document version.

Instructions: How to connect MCP to Codex: instructions and verification, How to check permissions and AI agent access, How to prepare an AI assistant based on your documents.

9. Subscription-based SaaS

  1. Agree on roles and data access without connecting payment.
  2. Assemble the dashboard and test two users.
  3. Add test payment states: pending, successful, canceled.
  4. Check fake and repeated notifications, cancellation, and end of paid access.
  5. Prepare copies, rates, support terms, and easy subscription cancellation.

Acceptance criterion: Test payment grants access once; server confirms status.

Typical issue: The return page granted access without confirmed payment; fix server-side verification.

Instructions: How to check user access to application data, How to prepare a site for test publication., How to restore project, data, and files after an error, How to measure website requests without fake analytics, How to check permissions and AI agent access.

10. Business automation system

  1. Choose one process and decision owner.
  2. Agree on input, actions, results, and boundaries of each step.
  3. Run steps separately on fictional data.
  4. Check entire path, repetition, omissions, and external service failure.
  5. Prepare log, manual continuation, and monitoring until schedule.

Acceptance criterion: Event yields one result; partial error is visible and allows correct continuation.

Typical issue: Repeat created two actions; check event ID and state of already done steps.

Instructions: How to measure website requests without fake analytics, How to check automation on rerun, How to check permissions and AI agent access, How to bring a long task in Codex to completion.

In This Article
Saved