Codex Implement logo

Codex Implement

Community
PiLastDigit
codex-implement

Delegate implementation of a TRIP plan (or a scoped part of it) to Codex CLI

Overview

PublisherPiLastDigit
RepositoryTRIP-workflow
Skill namecodex-implement
Stars
636
Forks
91
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by PiLastDigit on GitHub. Read the source before you install it.

Installation

Install the Codex Implement AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/PiLastDigit/TRIP-workflow/tree/master/skills/codex-implement
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PiLastDigit/TRIP-workflow.git /tmp/TRIP-workflow
mkdir -p .claude/skills
cp -r /tmp/TRIP-workflow/skills/codex-implement .claude/skills/codex-implement
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codex Implement in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Codex Implement on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Codex Implement is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Codex Implement

Non-interactive implementation via Codex CLI in a workspace-write sandbox: Codex reads the plan, edits the working tree directly, runs the project's lint/build on its own work, and reports back. One persistent thread per target, so a plan can be delegated in successive batches (or phase by phase) with full context retained.

State persisted under .claude/skills/codex-implement/state/<sanitized-target>.{thread,review.txt,events.ndjson} (the .review.txt file holds Codex's implementation report — the naming comes from the shared helpers). All operations go through this skill's own scripts/ wrappers: start.sh is a dedicated workspace-write script, while resume/reset/show pin the correct STATE_DIR and delegate to the shared codex-plan-review implementation — so there is no export to remember (a forgotten export would silently operate on a review thread instead of the implementation thread).

Arguments

  • <target> — auto: start if no thread, resume if one exists. Usually a plan path (docs/1-plans/F_*.plan.md); a free-form label for unplanned work.
  • Optional trailing instructions — scope control appended to the prompt, e.g. "Implement only: <batch checkboxes>" or "Now implement: <next batch>".
  • reset <target> — drop state, next call starts fresh.
  • show <target> — display the latest report without calling Codex.

Execution

  1. Parse $ARGUMENTS: extract action (reset/show/auto) and target.

  2. Auto — try start.sh first (exit code 2 = thread exists → use resume.sh):

    • Start: bash .claude/skills/codex-implement/scripts/start.sh --prompt-file .claude/skills/codex-implement/prompts/implement.tpl <target> [instructions]
    • Resume (next batch / additional scope): bash .claude/skills/codex-implement/scripts/resume.sh --prompt-file .claude/skills/codex-implement/prompts/continue.tpl [--notes "review corrections"] <target> [instructions]
  3. Reset: bash .claude/skills/codex-implement/scripts/reset.sh <target>

  4. Show: bash .claude/skills/codex-implement/scripts/show.sh <target>

  5. Parse trailing tag of the report:

    • IMPLEMENTATION_COMPLETE — hand control back to the requester's batch review (TRIP-2).
    • IMPLEMENTATION_PARTIAL — read the report; resume with instructions for the remainder, or let the requester finish small leftovers directly.

Notes

  • Run Codex calls in a background shell. Invoke start.sh / resume.sh via the Bash tool with run_in_background: true — never as a foreground/inline command. Implementation runs are the longest Codex calls in the workflow and will outlast the foreground command timeout; the background task notifies on completion, then read its output. reset.sh / show.sh are instant and fine in the foreground.
  • Set CODEX_TIMEOUT=7200 (2 h) when invoking start.sh / resume.sh — a circuit breaker against hung runs only, deliberately far above any normal batch; bump higher for unusually large batches rather than risk a mid-run kill. Script default is 0 = no timeout. A timeout here kills Codex while it is editing the tree, leaving a partially modified working state — inspect via git status / git diff before retrying.
  • --sandbox workspace-write on start; codex exec resume inherits it. Codex edits files and runs repo commands (lint/build); no network, no commits.
  • Fixes are the requester's job. After Codex reports, the requester (TRIP-2 batch review) fixes problems directly in the tree — do NOT ping-pong fixes back to Codex. Resume only for genuinely new scope (next batch, large remainder), passing what was fixed and why via --notes.
  • Separate STATE_DIR from the review skills — the same plan path can hold an implementation thread and a review thread without collision.
  • Codex is instructed not to write tests (testing gate owns that) and not to touch release ceremony.
  • Network is blocked in the sandbox: if the plan requires installing a new dependency, Codex will report it as a leftover — install it yourself during the batch review.
  • Model/effort/tier defaults live in codex-plan-review/scripts/_common.sh, derived from STATE_DIR: implementation → gpt-6-luna at high effort on the fast service tier; plan review → gpt-6-astra at xhigh on standard routing; code review → gpt-6-sol at xhigh on the fast tier; codex-ask → gpt-6-astra at xhigh on standard routing. Adjust that one file to your preferred models, or override per run via CODEX_MODEL / CODEX_EFFORT / CODEX_TIER env vars; the scripts echo the effective values.
  • Effort escalation (per batch). high is the default because plan batches are well-scoped and every batch passes through the requester's delta review plus the final full code review. Escalate a single batch to xhigh (CODEX_EFFORT=xhigh on that batch's start.sh/resume.sh call) when it involves any of:
    • novel core logic designed from scratch — an algorithm, data structure, protocol, or state machine with no existing pattern in the codebase to follow;
    • changes the testing gate can't meaningfully verify — correctness only observable at runtime or by inspection, with no automated check covering it;
    • concurrency, security, or data-integrity-sensitive code — where a subtle slip is costly and hard to spot in review;
    • cross-cutting changes — one batch touching many files or layers whose interactions must stay coherent. When none apply, stay at high — a slipped batch is caught and fixed directly in the delta review.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Codex Implement AI skill do?

Delegate implementation of a TRIP plan (or a scoped part of it) to Codex CLI

Why use Codex Implement on TypingMind?

Because you install it once and use it with any model. Codex Implement is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Codex Implement in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/PiLastDigit/TRIP-workflow/tree/master/skills/codex-implement. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Codex Implement?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Codex Implement?

As many as you like. As long as a model supports skills, you can use Codex Implement with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Codex Implement AI skill free?

It is published on GitHub by PiLastDigit. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇