Who it is forA developer who wants to automate issue work in an existing GitHub project and needs the Factory files installed first.
The problemSetting up agent-driven delivery by hand means guessing which policy, skill, label, and gate files a repo needs, and missing one can leave runs silently unsafe.
The outcomeThe target repo contains the Factory policy, skills, and gates, and the doctor script reports placeholders, missing labels, and remote gaps to fix before any run writes to the repo.
What you need first
- A GitHub project you control, with permission to create labels and manage its pull requests
- Claude Code installed, or Codex if you use the Codex adapter
- A clone of the addyosmani/factory repository
- Your project's real test, lint, and build commands, since the gates run them
- A human-owned docs/factory/CHARTER.md that defines scope, risk, and the review-queue limit
Steps
- Clone the addyosmani/factory repository to your machine.
- Run
install.shagainst the target repository you want to automate. - Open the target repository in your coding agent and fill in
docs/factory/CHARTER.md. - Run
.factory/scripts/doctor.shand fix every placeholder, missing label, or missing remote it reports. - Open
/factoryto confirm the control room shows the expected state before enabling writes.
Prompt for your agent
Using the addyosmani/factory repository, install the factory into <target-repo-path> by running install.sh against it. Then run .factory/scripts/doctor.sh inside the target and report every finding. Expected output: a list of remaining setup gaps, or confirmation that none remain. Verify that docs/factory/CHARTER.md exists in the target.
Caveat. The README says the Factory is an installer for another project and that the Claude unattended schedules and cloud routines are set up separately, so a successful install does not mean scheduled runs are active.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for addyosmani/factory and "Install the Factory into an existing GitHub project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer