project-factory-init

project-factory-init is a command for Codex from koldovsky/project-factory. It costs 23 tokens per session (290 once invoked), scanned A, original, MIT.

A command that installs the Project Factory delivery process into a repository without replacing existing work.

In plain words
What is it for?
Use it to initialize a new repository or add the process to an existing one. After installation, it starts the workflow for requirements, implementation, review, testing, and acceptance checks.
Why use it?
It sets up the files, checks, hooks, continuous-integration setup, and specification templates needed to run the project's controlled development loop.

Command for Codex

Part of the project-factory plugin — 1 skill, 4 commands, 12 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/koldovsky/project-factory/project-factory-init
Clone the repo
git clone --depth 1 https://github.com/koldovsky/project-factory

Made for: Codex.

Or install project-factory, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 12 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-factory-init

README.md
[![agentmods](https://agentmods.dev/badge/commands/koldovsky/project-factory/project-factory-init.svg)](https://agentmods.dev/commands/koldovsky/project-factory/project-factory-init)
Your own site
<a href="https://agentmods.dev/commands/koldovsky/project-factory/project-factory-init"><img src="https://agentmods.dev/badge/commands/koldovsky/project-factory/project-factory-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00290
Opus 5 $0.00012 $0.00145
Sonnet 5 $0.00005 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 5d ago against content hash 41fbb7ecee94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

project-factory-init scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/prompts/project-factory-init.md · 22 lines

What it actually says

Execute the Project Factory init procedure. Canonical steps: commands/init.md (summarized in AGENTS.md, which Codex reads natively as the rules).

Install the per-project loop — the deterministic scripts/check-*, git hooks, CI, OpenSpec, and filled templates — idempotently and non-destructively (Gate G0). Then follow MASTER-PROMPT.md from Phase 1 under checklists/quality-gates.md.

Codex subagents have no parallel Workflow fan-out, so run the review/eval/spec passes sequentially with fresh context (maker ≠ checker) — but still produce the real evidence artifacts; the gates check artifacts, not process. For Phase 6 recordings use LOCAL headless Playwright (npm i -D @playwright/test && npx playwright install chromium && node scripts/record-demos.mjs), never an in-app browser connector, then check-recordings + check-a11y + vision-verify. The scripts, gates, specs, and evidence are identical to the Claude Code path. See docs/portability.md.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 22 lines · 23 tokens per session scan A 41fbb7ecee94

Subscribe to this mod's changes

project-factory-init is a command published in the GitHub repository koldovsky/project-factory (4 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 290 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.