# Add to your Claude Code skills
git clone https://github.com/addyosmani/factoryfactory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by addyosmani. A reference software factory for Claude Code and Codex. It has 64 GitHub stars.
factory's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/addyosmani/factory" and add it to your Claude Code skills directory (see the Installation section above).
factory is primarily written in Shell. It is open-source under addyosmani on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh factory against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A software factory is a repeatable loop around software delivery. Instead of opening a new agent session for every issue and steering it by hand, you define what work may be attempted, how work starts, what evidence must be produced, and where a human must make the decision.
This repository installs that operating model into an existing GitHub project using stock Claude Code. A thin Codex adapter uses the same policy, queue, gates, and evidence files. There is no custom orchestrator or queue service to run.
In practical terms: GitHub Issues become a work queue. Scheduled agents triage the queue, implement bounded tasks, run your real tests, obtain an independent review, and open draft pull requests. Humans remain responsible for ambiguous requirements, system design, load-bearing changes, and every merge.
Once configured, the factory can:
The value begins after code generation. This is a version-controlled method for deciding what an agent may pick up unattended, how independent runs hand work to one another, and what proof a human receives before making the final call.
There is no background factory process in this repository. The repository supplies the rules and procedures. Claude Code cloud routines provide the default clock and compute. GitHub carries the durable queue and pull requests. Each run starts fresh, handles one stage, records evidence, and stops.
| Factory concept | Concrete mechanism |
|---|---|
| Intent and risk budget | A human-owned docs/factory/CHARTER.md |
| Work queue | GitHub Issues with factory:* labels |
| Handoff between stages | A structured factory-handoff:v1 issue comment |
| Standard operating procedures | Version-controlled Claude and Codex skills |
| Clock and triggers | Claude routines, schedules, GitHub events, or the optional API-trigger Action |
| Worker | A fresh Claude Code or Codex session |
| Quality control | Your test commands, gates.sh, and an independent verifier |
| Control room | /factory, backed by live issues, PRs, and run records |
| Release authority | A human reviewing and merging the pull request |
Each loop is short and restartable. Broad goals are decomposed into queue items that one run can claim and finish. GitHub labels and committed files survive when sessions end, making a failed run inspectable and allowing the next run, or a different harness, to continue without relying on conversation history.
flowchart LR
I["GitHub issue"] --> T["Scheduled triage"]
T -->|"small and allowed"| R["ready-to-implement"]
T -->|"needs decisions"| S["ready-to-spec"]
T -->|"blocked or unclear"| P["needs-info / wait"]
S --> H["Human-guided spec"]
H --> R
R --> B["Implementation run"]
B --> G["Gates + fresh verifier"]
G --> D["Draft pull request"]
D --> V["PR verification"]
V --> C["/factory control room"]
C --> M{"Human decision"}
M -->|"merge"| X["Ship"]
M -->|"revise or close"| D
X --> W["Weekly monitor"]
W --> I
For example, suppose issue #142 reports that expired tokens return 500 instead of
401:
factory:ready-to-implement, a later implementation run claims the
deterministic branch claude/fq-142. Only the first push wins, so two scheduled sessions
cannot both own the issue./factory shows the PR in the human review queue. A person reads the evidence and decides
whether to request changes, close it, or merge it. No routine merges.If triage cannot infer product intent, the issue goes to factory:ready-to-spec and the spec
workflow pauses at four explicit human approval gates. If it needs a missing fact, the issue
is parked with the question rather than converted into speculative code.
The factory automates repeated mechanical steering while keeping engineering judgment with a person. That person still:
Agents may classify issues, move queue labels, implement permitted work, run checks, and open draft PRs. They may not quietly widen their scope, rewrite the charter, approve their own work, or merge. GitHub branch protection is the final enforcement boundary.
One current product limit matters to the first arrow in the diagram: Claude routines have native GitHub triggers for pull requests and releases, but not for newly created issues. This reference uses an hourly scheduled triage routine to poll for untriaged issues. That is the simplest reliable default and means an issue may wait until the next run.
If you need immediate triage, install the optional GitHub Action. It reacts to the issue
event and calls the triage routine's API endpoint. Pull-request verification can use the
native pull_request.opened trigger. LIMITS.md documents the trigger boundary
and the tradeoff in detail.
The factory method is shared; the unattended automation is Claude-first in this reference.
| Capability | Claude Code | Codex |
|---|---|---|
| Project policy | CLAUDE.md plus the shared charter and contract |
AGENTS.md plus the same charter and contract |
| Repeatable stages | Canonical skills under .claude/skills/ |
Thin adapters under .agents/skills/ |
| Interactive triage, spec, implementation, and status | Yes | Yes |
| Deterministic gates and GitHub queue | Shared | Shared |
| Unattended schedule supplied by this repository | Five prompts for Claude cloud routines | Not provisioned automatically |
| Native GitHub trigger used here | Pull-request verification | Not packaged by this reference |
Codex can run the same stages interactively, or you can map them to Codex goals and automation surfaces available to you. The repository does not create those schedules or claim that their lifecycle matches Claude routines. Whichever harness starts a run, GitHub labels remain the queue and the shared contract remains the policy.
Codex reads AGENTS.md,
discovers repository skills, and can load the
committed repository hook. The adapters point back
to the canonical Claude workflows rather than maintaining a second implementation.
This repository is an installer for another project. Clone it, run install.sh against the
repository you want to automate, then open that target repository in your coding agent.
factory/
├── README.md <- you are here
├── ADVICE.md when the harness is enough, and when Factory helps
├── GETTING_STARTED.md desktop-first local setup
├── QUICKSTART.md Claude cloud sessions and routines
├── ARCHITECTURE.md why it is shaped this way
├── ROUTINES.md the five routine prompts, copy verbatim
├── LIMITS.md honest constraints + corrections to the common plan
├── CONTRIBUTING.md change map and validation expectations
├── CLAUDE.md Claude Code contributo