Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

codexspec

Latest version: v0.7.29

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: zhaobinzhang
7 Stars
1 Forks
11 Versions
759 Downloads
Python Repo language

Scan summary

codexspec was last scanned on 29 Nov 2026 at version 0.7.29. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.7.29.
  • Downloads: 759 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.29 LATEST 29 Nov 2026 No rules fired
0.7.28 31 Oct 2026 No rules fired
0.7.27 18 Oct 2026 No rules fired
0.7.26 17 Oct 2026 Not shown
0.7.25 17 Oct 2026 Not shown

No rules fired in 0.7.29

Findings

Findings for v0.7.29. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.7.29; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

CodexSpec turns confirmed requirements into traceable specifications, designs, plans, tasks, and implementations. You decide what to build and why; the agent develops how within those confirmed requirements, using review checkpoints and persistent project knowledge.

Use it through Claude Code slash commands, Codex skills, or both. Ordinary features use separate Git worktrees by default, and an optional shared blueprint lets the agent develop a queue of confirmed requirements autonomously.

📖 Documentation | 中文文档 | 日本語ドキュメント | 한국어 문서 | Documentación | Documentation | Dokumentation | Documentação

Table of Contents

  • Why Choose CodexSpec?
  • 30-Second Quick Start
  • Installation
  • Core Workflow
  • Shared Blueprint and Autonomous Development
  • Worktree Development
  • Work with Existing Code
  • Review and Debugging
  • Project Knowledge
  • Git Workflow
  • Available Commands
  • Configuration and Internationalization
  • Project Structure
  • Extension Materials
  • Development
  • Contributing
  • License

Why Choose CodexSpec?

Need What CodexSpec provides
Clear product intent Explicit confirmation and a persistent requirements.md before specification
Traceable development Source links through requirements → spec → design → plan → tasks
Reviewable decisions Four artifact review commands, cross-artifact analysis, and a separate code defect gate
Session and team continuity Feature records, project principles, reusable knowledge, and relevant historical decisions
Multiple features in progress One Git worktree per ordinary feature, with stable workspace reuse
More automation Optional stage advancement and autonomous development of confirmed blueprint requirements
Team language preferences Independent interaction, document, and commit languages
What is Requirements-First SDD?

Requirements-First Spec-Driven Development makes confirmed requirements the highest-priority feature authority. The agent records goals, constraints, decisions, exclusions, open questions, and confirmation evidence before deriving the implementation artifacts.

Idea → Confirmed Requirements →     Spec    →     Design    →     Plan    →    Tasks     →     Code
                 ↓                   ↓              ↓              ↓             ↓              ↓
         User confirmation      review-spec   review-design   review-plan   review-tasks   review-code

You confirm the requirements; each derived artifact has its own review, from specification through code.

Human collaboration establishes and changes product intent. Automatic reviews check derived artifacts against it. Enabling automation advances work through passing stages; it does not let the agent silently replace confirmed requirements.

View full size: ☀️ · 🌙

30-Second Quick Start

Install CodexSpec and initialize for the assistant you use:

uv tool install codexspec

# Create a new project for Claude Code
codexspec init my-project --ai claude

# Or initialize an existing project for Codex
cd your-existing-project
codexspec init . --ai codex

# Use --ai both when you want both integrations

Start your installed assistant in the initialized project. The same workflow uses these two invocation forms:

Assistant Start requirements discovery
Claude Code (claude) /codexspec:specify I want to build a todo application
Codex (codex) $codexspec:specify I want to build a todo application

Customize project principles with constitution when needed. Confirm the final requirements summary, then continue using the returned feature directory and workspace. See Core Workflow for the remaining commands.

Explore two complete open-source examples built feature by feature with CodexSpec: the Todo List (English) and Personal Bookkeeping (Simplified Chinese). Each repository includes its feature specifications, a chronological development guide, and a runnable application.

Using the Codex desktop app? Ask Codex to install and initialize your project.

Installation

Install with the Codex Desktop App

You can ask Codex to install CodexSpec and set up your project directly from the desktop app.

  1. Add a local project in the Codex desktop app and select the folder where you want to work.
  2. Start a chat in that project and paste the prompt below.
  3. If the app requests permission to download or install dependencies, approve the requested action to continue.
Please install and initialize CodexSpec in the current project.
Project: https://github.com/Zts0hg/codexspec

Complete the setup directly instead of asking me to run terminal commands.

Check the environment. If uv or Python 3.11+ is missing, install the required
tools in my user directory using their official installation instructions.
Install the latest stable release of CodexSpec.

For a new setup, initialize the current project for Codex in English:
codexspec init . --ai codex --lang en

If CodexSpec is already configured, check its version and configuration before
updating. Preserve existing requirements, project principles, user files,
and configuration settings.

Verify that the CLI works and that AGENTS.md and the CodexSpec skill files
under .agents/skills/ are installed. Explain the result and how to start
describing my requirements in plain English. If the skills are not yet
available in this chat, tell me whether to start a new chat or restart the app.

For Chinese replies and documents, replace --lang en with --lang zh-CN and ask Codex to explain the result in Chinese.

Codex installs the same CLI and project skills used by the manual setup below. You can start using them with a prompt such as $codexspec:specify I want to build a todo application. See OpenAI's skills guide for local skill discovery and refresh behavior.

Prerequisites
  • Python 3.11+
  • uv (recommended), or pip
  • The assistant you intend to use: Claude Code or Codex
  • Git for worktree development and Git workflows
CLI Installation
uv tool install codexspec

# Or use pip
pip install codexspec

# Verify the CLI and inspect available commands
codexspec version
codexspec --help
codexspec list-commands

Initialize a new project with codexspec init my-project --ai claude, or the current directory with codexspec init . --ai codex. Use --ai both for both integrations. The assistant selection defaults to claude; choose the value explicitly for Codex or both.

One-time initialization
uvx codexspec init my-project --ai claude
uvx codexspec init . --ai codex

One-time initialization installs project commands and the standalone commit runtime. Worktree routing, blueprint/auto-dev, and manual profile review still invoke the CodexSpec CLI; make it available for those workflows.

Development versions
uv tool install git+https://github.com/Zts0hg/codexspec.git
uv tool install git+https://github.com/Zts0hg/codexspec.git@main

# Replace <tag> with the version you want
uv tool install git+https://github.com/Zts0hg/codexspec.git@<tag>

Use PowerShell:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# Restart PowerShell, then:
uv tool install codexspec
codexspec version

See the Windows Troubleshooting Guide for PATH and installation troubleshooting.

Upgrade and Refresh a Project

Updating the CLI and refreshing a project's installed commands are separate steps:

uv tool install codexspec --upgrade
# Or: pip install --upgrade codexspec

# In the project you want to refresh; select its desired integration(s)
codexspec init . --force --ai both

Use --ai claude or --ai codex when only that integration is wanted. --force regenerates distributed commands/scripts and refreshes review resources; it also auto-confirms migration, command-update, and constitution-compliance prompts. Existing requirements and project principles are retained, existing context-file bodies are preserved while managed guidance is updated, and configuration keys you did not explicitly set are kept.

The planning command is design-to-plan; installation updates retire the old spec-to-plan entry without an alias.

Plugin Marketplace Installation

For Claude Code, install the plugin from its marketplace:

/plugin marketplace add Zts0hg/codexspec
/plugin install codexspec@codexspec-market
/codexspec:config

The plugin supplies commands and session-start guidance for staged commit analysis and historical requirements recall, including resumed sessions. Plugin installation does not initialize a project. Use /codexspec:config to create or modify language, workflow, and review settings; use CLI initialization when you need the full project scaffold.

Direct commit preview and authorized in-place commits can use the bundled runtime with Python 3.11+ and Git, without a persistent CodexSpec CLI. Worktree routing, blueprint/auto-dev, and manual profile review retain their CLI requirements. The plugin startup hook requires Git on PATH and a Claude Code version supporting command-hook args (exec form). Its guidance is for the agent; it does not intercept manual Git commands.

See Installation for detailed setup.

Find and Upgrade Multiple Projects
codexspec scan ~/code                  # Offline inventory
codexspec scan ~/code --upgrade        # Choose projects interactively
codexspec scan ~/code --upgrade --yes  # Upgrade all eligible projects

Upgrade mode fetches the newest stable toolkit without replacing your global CLI. Projects with local changes to affected files, or without reliable Git evidence, are skipped and reported. --yes retains all safety checks. Existing configuration and project-authored content are preserved. The scan checks actual toolkit content separately from the recorded version; legacy installations migrate automatically on a safe successful upgrade. See the CLI reference for worktree grouping, skip reasons, metadata and exit codes.

Core Workflow

The standard feature workflow preserves a source-linked chain:

/specify          → requirements.md
/generate-spec    → spec.md       → review-spec
/spec-to-design   → design.md     → review-design
/design-to-plan   → plan.md       → review-plan
/plan-to-tasks    → tasks.md      → review-tasks → analyze
/implement-tasks  → implementation and complete-feature code review

Examples below use Claude's /codexspec: prefix. In Codex, use $codexspec: with the same command name and arguments.

Step Command Purpose and output
Project principles /codexspec:constitution Create/update constitution.md and validate affected artifacts
Requirements /codexspec:specify <idea> Discuss intent, confirm a final summary, and persist requirements.md
Specification /codexspec:generate-spec <feature-dir> Compile confirmed requirements into spec.md with source references
System design /codexspec:spec-to-design <feature-dir> Produce design.md: components, interfaces, and key design decisions
Implementation plan /codexspec:design-to-plan <feature-dir> Produce plan.md: phases, ordering, and verification
Tasks /codexspec:plan-to-tasks <feature-dir> Produce traceable, verifiable tasks.md; run cross-artifact analysis
Implementation /codexspec:implement-tasks <feature-dir> Execute tasks, verify outcomes, and repair independently verified review findings

Replace <feature-dir> with the feature directory returned during discovery. Continue in its worktree or pass its explicit path; this retains the same feature identity across commands and sessions.

specify, clarify, and analyze
  • specify starts or revisits requirement discovery. Only explicit confirmation makes the requirement summary binding.
  • clarify resolves ambiguity in existing requirements/specification: up to five questions per run across four categories. It updates requirements.md first, then synchronizes spec.md.
  • analyze checks the complete requirements → spec → design → plan → tasks chain. It automatically applies deterministic fixes to downstream artifacts when their correction follows from upstream authority; it never edits requirements.md. Unresolved findings are reported. It runs automatically after a passing task review and is informational rather than an implementation gate.
/codexspec:clarify <feature-dir>
/codexspec:analyze <feature-dir>
Small Changes with Quick

Use quick for a small, well-bounded change such as a localized fix:

/codexspec:quick Fix the empty-state message on the task list

Quick confirms and persists a compact requirement summary, then orchestrates specification, planning, tasks, and implementation with the generation commands' reviews. Broad changes or unresolved product/design choices call for the standard workflow; Quick pauses when it needs a new decision.

Workflow Automation

workflow.auto_next defaults to false. When it is true in the active workspace's configuration, final requirement confirmation advances to specification. Each generation stage advances after PASS or PASS_WITH_WARNINGS; NEEDS_REVISION or BLOCKED stops the chain. implement-tasks is terminal.

Automatic artifact repair is limited to verified defects whose correction follows from upstream evidence, with at most two fix-and-review rounds. Advisories remain separate. The implementation review/repair loop has its own completion rules described below.

See the workflow guide for detailed contracts.

Shared Blueprint and Autonomous Development

Use blueprint when you want to prepare several confirmed requirements before development, and auto-dev to develop that queue:

/codexspec:blueprint Add a confirmed requirement for task reminders
/codexspec:auto-dev

Blueprint discovery resolves user-owned direction, choices, and constraints before a requirement enters the queue. The shared .codexspec/blueprint.md uses pending, in_progress, and completed states. You can append, replace, delete, or reorder pending requirements; active and completed entries are read-only to blueprint maintenance.

Auto-dev follows document order, resumes an in-progress feature before starting another, and re-reads the queue after each completion so newly appended pending work can join the run. It performs the SDD stages, implementation, verification, review, and repair within the confirmed requirements. Calling auto-dev enables its automation independently of workflow.auto_next and does not change that setting.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases codexspec

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229