# Add to your Claude Code skills
git clone https://github.com/owainlewis/factoryfactory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by owainlewis. Build your own software factory with AI agents. It has 131 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/owainlewis/factory" and add it to your Claude Code skills directory (see the Installation section above).
factory is primarily written in Go. It is open-source under owainlewis 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).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Factory is infrastructure for running coding agents across Git repositories. Its Go control plane stores work, shows the worker fleet, and delegates tasks. Each Go worker owns one agent runtime, currently Codex or Claude Code.
The browser UI provides:
Factory is local-first today. The server only accepts loopback connections and does not include user authentication.
Requirements:
curljustNode.js is only needed when changing the UI. Normal builds use the committed, embedded UI assets.
GitHub Automations and on-demand worker checkout depend on the GitHub CLI,
gh. Factory does not include a separate GitHub API client. Install and
authenticate gh on the control-plane host and each
eligible worker host before enabling a GitHub Automation:
gh --version
gh auth status
just build
mkdir -p ~/.factory
cp examples/worker.toml ~/.factory/worker.toml
Edit ~/.factory/worker.toml to select codex or claude-code. Workers need
no repository list. They probe local gh access and acquire centrally managed
GitHub repositories on demand. Then start the server and worker:
just run
Open http://127.0.0.1:7337.
Existing factory-poller users must stop it and use Automations → Migrate
legacy poller before removing their old configuration. Preview, Import, and
Finalize each verify and lock the same legacy snapshot. Import creates disabled
typed Automations and Finalize archives copies without deleting the originals.
One worker has one stable identity and one runtime. Run another worker with a different config and data directory when you want both Codex and Claude Code:
FACTORY_WORKER_CONFIG=~/.factory/claude-worker.toml \
~/.factory/bin/factory-worker
See the local guide for a complete setup and the worker guide for runtime and worktree behavior.
Browser
|
| HTTP + JSON
v
Go control plane
SQLite, scheduler, typed Automation evaluators, embedded UI
^
| registration, claim, heartbeat, events, completion
|
Go workers
one identity + one runtime + on-demand repository cache
|
+-- Codex CLI
`-- Claude Code CLI
The control plane owns durable coordination. Workers own execution and Git worktrees. Workers poll the API, so the system does not require WebSockets or inbound connections to worker hosts.
All default state is below ~/.factory:
~/.factory/
bin/
server/factory.sqlite3
config.toml optional control-plane bootstrap only
worker.toml
workers/
Read the architecture for the contracts and security boundaries.
Implemented:
Designed but not implemented: a unified factory CLI.
See the documentation index for current guides and proposed designs.
Backend:
just test
just vet
UI:
just ui-install
just ui-check
After changing the UI, rebuild the committed assets:
just ui-build 0
See CONTRIBUTING.md for the full check set.