Agent templatev1.0Updated 2026-11-27

Software Factory

Give it a repository and a task: it reproduces the bug in a sandbox with your own test command, shows the plan and waits for your yes, then makes the fix on a new branch and opens a draft pull request with the tests before and after.

  • The bug reproduced with your real files and test command
  • The tests before and after, quoted as they ran
  • Draft pull requests only: a person reviews and merges

By FlyMy.AI templates/software-factory v1.0

Software Factory: Software Factory with GitHub, Code execution
Software Factoryclaude-haiku-5-5
GitHubCode execution

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Software Factory in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/templates/software-factory/template.txt and help me set up Software Factory using my own connections. Ask for the missing inputs and budget before running it.

Proof

  • exit 1 -> 0npm test in the sandbox on pasted files: failing before the fix, passing after, with the diff and the pull request text
  • 20 sfor that one-file bug, from the answer to the report
  • $0.005for that run
  • GitHubyour own account opens the branch and the draft pull request; Linear is optional
  • Publicreference project to clone
1agentone engineering agent
2toolspriced below
on demandrunsone chat message a task
$0.005per one-file task, pasted filesmeasured

What it does

  • Reads the task - a GitHub issue, a Linear issue or your words - and only the files it needs from your repository.
  • Reproduces the bug in the sandbox with the real files and your own test command (Node 22 with npm, or Python) and shows the failing output.
  • Shows the plan - the files, the change, the tests, the risks - and waits for your yes before its first write.
  • Makes the smallest fix on a new branch, adds a test for the bug and one edge case, and runs the tests again on the branch.
  • Opens a draft pull request with the problem, the change and the test output before and after; it never merges or pushes to the default branch.

Ideal for Small teams that keep their code on GitHub, and their tasks in GitHub or Linear, who want a reviewed fix instead of another bug report.

Connects to

  • GitHubyour tokenyour account
  • Code execution~$0.0001 / test runbuilt in

Project diagram

from the reference project
Project diagram of Software FactoryINPUTS AND TIMERSLEADTOOLSOUTPUTSRepositoryowner/nameTask: issue,Linear id, bugBase branch, testcommandSoftware Factoryclaude-haiku-5-5GitHubyour tokenCode execution~$0.0001 / test runBranch and draftPRReport with theevidenceTests before andafterBUDGET RULE / Your yes before the first write; draft pull requests only; never merges; asks past 40 calls or 5 files.
  1. Inputs
    Repository owner/nameTask: issue, Linear id, bugBase branch, test command
  2. Lead agent
    Software Factoryclaude-haiku-5-5
  3. Tools
    GitHubyour own GitHub account, connected with a personal access token; file reads, the branch, the commit and the draft pull request; its token needs access to the repositoryCode execution$0.0666 per sandbox hour, billed per second; npm test before and after, $0.0001 in the measured run
  4. Outputs
    Tests before and afterBranch and draft PRReport with the evidence
The diagram as text
  • Inputs: Repository owner/name, Task: issue, Linear id, bug, Base branch, test command
  • Lead: Software Factory (claude-haiku-5-5) uses GitHub, Code execution
  • Tool: GitHub - your own GitHub account, connected with a personal access token; file reads, the branch, the commit and the draft pull request; its token needs access to the repository (your own account)
  • Tool: Code execution - $0.0666 per sandbox hour, billed per second; npm test before and after, $0.0001 in the measured run (built into FlyMy.AI)
  • Output: Tests before and after (from Code execution)
  • Output: Branch and draft PR (from GitHub)
  • Output: Report with the evidence (from Software Factory)

Day one

from the reference project
  • 01CloneOne agent on Claude Haiku 5.5 with its welcome chat.free
  • 02Connect GitHubYour own GitHub account with a personal access token that can reach the repository; Linear only if your tasks live there.free
  • 03Answer onceThe repository, the task, the base branch and the test command.free
  • 04First changeReproduce, the plan and your yes, the fix on a new branch, the tests again, a draft pull request.$0.005 measured, pasted files

How it runs

templates/software-factory v1.0

Runs when you answer its chat, and stops for your yes before its first write. A one-file bug with pasted files took 20 s and $0.005 on a copy of the reference (measured 2026-11-27).

The agent team

from the reference project

Software FactoryEngineeringlead

Reads the task, reproduces it in the sandbox, plans, waits for your yes, fixes it on a new branch, tests again and opens a draft pull request; it never merges.

GitHubCode execution
Instruction excerpt

You read the repository, write a short plan, make the smallest correct change on a new branch, run the project's tests in the sandbox, and open a draft pull request linked back to the task. You never merge, never push to the default branch, and never mark a PR "ready for review".

Budget: your project budget

on demand, in its chatclaude-haiku-5-5last run $0.005 on 2026-11-27 (a one-file bug with pasted files: npm test exit 1 before, exit 0 after, 20 s)

You will be asked

once, in one message
  • Which repository?owner/name; your token needs access to it.acme/web-app
  • Which task?A GitHub issue number, a Linear id, or the bug in your own words.#12
  • Which base branch?Default: the repository's default branch.main
  • Which test command?Default: found in package.json or pyproject.toml.npm test

Keys and passwords never go into the chat: you connect accounts on their own pages.

What it costs

Measured on 2026-11-27

0%template markup or purchase feeUsage pricing →

Price of one run
ItemUnit pricePer runCost
Code execution: npm test before and after$0.0666 per sandbox hour1 call$0.0001
Agent: Claude Haiku 5.5 and the run checksper tokenone run$0.005
GitHub: files, branch, commit, draft pull requestcompute time, fractions of a centnot used with pasted files$0
One run, a one-file bug with pasted files$0.005

Measured 2026-11-27 on a copy of the reference with get_execution_price: a one-file bug with the files pasted into the chat, npm test exit 1 before the change and exit 0 after, $0.005 in 20 s. With GitHub connected it also reads the files and writes the branch, the commit and the draft pull request through your account, each call a fraction of a cent; it stops and asks past about 40 tool calls or 5 changed files.

What stays yours

the same for every template

Your connections stay yours

A copy never carries the author's keys or connections.

Nothing runs until you answer

Clone creates the agents and a setup chat; nothing bills before your reply.

A budget you set

Choose the budget before the first run. Review usage in your own project.

Versions

a copy keeps the version it was made from
  • v1.02026-11-27First public template: one agent on Claude Haiku 5.5 reproduces a task in the sandbox, plans, waits for your yes, makes the change on a new branch and opens a draft pull request with the tests before and after.

Other ways to start

01 - Clone in FlyMy.AI

Open the reference project and press Clone; a setup chat asks once.

Clone this project
02 - Your Claude or Codex

Connect FlyMy.AI with skill.md and paste the request below.

03 - API and SDK

Agents MCP projects_copy with fleet:e6ead86b-6d6c-4436-9804-b8e5bc961cbd, or client.projects.copy.

FAQ

Is this a working project or just a brief?

A working, public reference project with one agent on Claude Haiku 5.5. Clone it, connect your GitHub account and answer its welcome chat. On a copy of the reference a one-file bug with pasted files took 20 s and $0.005: npm test failed before the change and passed after it (measured 2026-11-27).

Does it merge or push to my main branch?

No. It works on a new branch and opens draft pull requests only. It never merges, force-pushes, deletes branches, pushes to the default branch or changes repository settings, even when asked: a person reviews and merges.

What does it need from GitHub?

Your own GitHub account, connected with a personal access token on the GitHub connect page; the token needs access to the repository. It reads only the files the task needs. Without GitHub, paste the files: you get the reproduction, the plan, a unified diff and the pull request text to apply yourself.

What did the test cover?

The pasted-files path: the bug reproduced with npm test in the sandbox, the change, the tests again, the diff and the pull request text. The branch and the draft pull request go through your own GitHub account and need a token with access to the repository.

Which languages and test commands?

JavaScript and TypeScript with Node 22 and npm, or Python with the standard library and pytest installed in the sandbox. It runs your own test command, such as npm test or pytest -q, or finds it in package.json or pyproject.toml.

Can it take tasks from Linear?

Tasks in Linear? Connect Linear on the connect page as well; it is optional, and it was not part of our test. The task can also be a GitHub issue number or the bug in your own words.

Can I use it from Claude Code, Codex or Cursor?

Yes, through the FlyMy.AI Agents MCP: copy the template with projects_copy, then answer the copy's welcome chat with append_message, or run the copy with run_agent and one message with the repository, the task and your choices. Follow it with get_run; get_execution_price gives the itemised price.

Illustrative example, not a live result
## Result: <issue id> - <short title>
Status: draft PR opened | plan only | blocked

| Item | Done | Evidence |
| Branch | fix/<slug> | <branch URL> |
| Commit(s) | <message> | <short SHA> |
| Draft PR | #<n> | <PR URL> |
| Task | <issue id> linked | <issue URL> |

### What changed
- <file>: <the change in one sentence>
- <test file>: <the new test>

### Tests
- base (<branch>): <passed>, <failed> - exit 1 - <the failing assertion>
- branch: <passed>, 0 failed - exit 0

### Needs a human
- Review and merge PR #<n>.

Sources

Content and connection guidance checked 2026-11-27. See linked documentation for current availability and prices.