[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B47XGN4VJ73R2H51VSSY2H":3,"skill-same:01M7B47XGN4VJ73R2H51VSSY2H":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7B47XGN4VJ73R2H51VSSY2H","create-a-factory",null,"Make a whole factory, short of a run — create it, write its workflows, agents and skills into yours, attach its workflows, hire agents into steps, write its rules and its instruction, try an agent on a short brief — and stop before any work starts.","emyann\u002Fnemia","emyann","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4748419?v=4","01M7B458J23KJ5S5AEBR86G7RN","Yann RENAUDIN","01M7B458JPM0CCBDP4KCR6NATT",3,"MIT","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-orchestrator\u002Fnemia\u002Fskills\u002Fcreate-a-factory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: create-a-factory\ndescription: Make a whole factory, short of a run — create it, write its workflows, agents and skills into yours, attach its workflows, hire agents into steps, write its rules and its instruction, try an agent on a short brief — and stop before any work starts.\n---\n# Create a factory\n\nA factory is a set of repositories, the workflows attached to it, and the agents hired into their steps (`nemia factory --help`). You\nmake one whole, short of a run, and stop before any work starts: starting is the person's next step, not part of making it.\n\nA line here written `nemia \u003Cverb> …` names the verb `\u003Cverb>`: at a shell, type it as written; on the MCP port, call its tool, whose\nschema says its arguments. The `verbs` skill names each verb's tools, and which run at a shell alone.\n\nEach write to a factory's definition prompts the person (the `verbs` skill): say what it does before you run it, one at a time.\n\n## 1. Ask what it is for\n\nWhat the factory builds, on which repositories, and how its work should go: the steps, who does each, what is checked, where a\nperson decides. Read what exists first — `nemia factory`, `nemia agents --repo \u003Cpath>`, the repository's own `workflows\u002F` folder — and\nbuild on it rather than beside it.\n\n## 2. Create it\n\n`nemia factory add \u003Cname> --repo \u003Cpath>`, a `--repo` for each repository, as an absolute path.\n\nA factory has its own level, `nemia level \u003Clevel> --factory \u003Cname>`, and follows the store's until it has one. Its level is the person's\nto set: you never raise it.\n\n## 3. Its workflows, agents and skills, written into yours\n\nYou write a factory's workflows, agents and skills yourself, into yours, never into its repositories. Each write prompts the person: say\nwhat it writes and why, then run it. Write the file or folder in your own folder first, under `drafts\u002F\u003Cfactory>\u002F`, as the factory will\nread it, then write it into yours from there:\n\n- an agent: `drafts\u002F\u003Cfactory>\u002Fagents\u002F\u003Cname>.md`, with the result schema its `output:` names beside it —\n  `nemia agents write yours --file drafts\u002F\u003Cfactory>\u002Fagents\u002F\u003Cname>.md`;\n- a skill: `drafts\u002F\u003Cfactory>\u002Fskills\u002F\u003Cname>\u002FSKILL.md` — `nemia skills write yours --file drafts\u002F\u003Cfactory>\u002Fskills\u002F\u003Cname>\u002FSKILL.md`;\n- a workflow: `drafts\u002F\u003Cfactory>\u002F\u003Cworkflow>\u002F`, a markdown file per step, its keys in its frontmatter, its README, and any script its\n  `check:` runs or schema its `output:` names beside them, written too —\n  `nemia workflows write yours \u003Cworkflow> --folder drafts\u002F\u003Cfactory>\u002F\u003Cworkflow>`.\n\nAn agent the person already has, in another factory's repository or in their library, is recruited with the `recruit-or-create` skill, not\nwritten again. To start from one that exists, copy it there and change the copy. To change one in yours, write it again with `--version`,\nthe version it was read at: a write without one, of a name there already, is refused naming the version it is at now — read it again, and\nwrite your change on what it holds. `nemia agents rm` and `nemia workflows rm` take one back, at its version too.\n\n**Two things no verb writes**: a workflow's own `*.schema.json`, beside its steps, and a skill's files beside its SKILL.md. Draft those\nin the same folder, show the person each, and ask them to place it — on the board, or copied into yours by hand. Keep a pending fact\nnaming each until they say it is there, and check that it is.\n\nWhat you write is the factory's words, and its taste is the person's: name each file you wrote when you say what stands, so they read it\nbefore work depends on it.\n\n## 4. Attach its workflows\n\n`nemia factory attach \u003Cfactory> \u003Cworkflow>`, by the workflow's folder name, once it is written. `nemia factory detach` takes one back.\n\n## 5. Hire agents into steps\n\nWho to hire into a step, find with the `recruit-or-create` skill. `nemia factory hire \u003Cfactory> \u003Cagent> --step \u003Cworkflow>\u002F\u003Cstep>`, one agent\na step; `nemia factory fire \u003Cfactory> --step \u003Cworkflow>\u002F\u003Cstep>` takes a hire back. A step whose own file names its `agent:` takes no hire.\n\n## 6. Its rules, and its instruction\n\nTwo files, each told to someone else.\n\n**Its rules** are what every agent hired into the factory is told, in every step of every run started there, after the agent's custom\ninstructions and before the step's own policy: the factory's rules and policies, whoever does the work. Draft them in\n`drafts\u002F\u003Cfactory>\u002FRULES.md`, show them, then `nemia factory rules \u003Cfactory> --file drafts\u002F\u003Cfactory>\u002FRULES.md`; `nemia factory rules\n\u003Cfactory>` reads them back and `--clear` removes them. They are kept in your store, never in a repository, and only add words: a\nfrontmatter block is refused. A run freezes them when it starts, so an edit reaches only the runs started after it. A factory with none\ntells nothing.\n\n**Its instruction** is yours: what you are to know about the factory, which wins over your habits there. No step is told it. Draft it\nin `drafts\u002F\u003Cfactory>\u002FNEMIA.md` and show it. The person may keep it in the repository (`NEMIA.md` in its first folder, which they place); or, kept in the store,\n`nemia factory instruction \u003Cfactory> --store`, then `nemia factory instruct \u003Cfactory> --file drafts\u002F\u003Cfactory>\u002FNEMIA.md`.\n\nWords a person adds to one agent without rewriting it are its custom instructions: `nemia agents custom \u003Cname> --file \u003Cpath>`.\n\n## 7. Try an agent on a short brief\n\nBefore work depends on an agent, try it: `nemia agents run yours \u003Cname> --brief \"\u003Cwords>\"`, on a brief small enough to read in a minute.\nA try is yours to run unasked: one step of that agent, in a folder of its own, capped at a dollar, one at a time an agent. Say that you\nstarted it, follow it with `nemia ls`, and bring what it did.\n\n## 8. Stop, and say what stands\n\nSay what is in place and what is not, apart:\n\n- **Placed**: the factory, its repositories, the workflows attached, each hire, its instruction — as `nemia factory` reads them now.\n- **Written**: each workflow, agent and skill you wrote into yours, by its file, for the person to read; and each try, with what it did.\n- **Drafted, not placed**: each schema or skill file still only in your folder.\n- **Next**: the first card to start, or the draft to place first.\n\nNever call a factory complete while a draft of it waits to be placed.\n","# Create a factory\n\nA factory is a set of repositories, the workflows attached to it, and the agents hired into their steps (`nemia factory --help`). You\nmake one whole, short of a run, and stop before any work starts: starting is the person's next step, not part of making it.\n\nA line here written `nemia \u003Cverb> …` names the verb `\u003Cverb>`: at a shell, type it as written; on the MCP port, call its tool, whose\nschema says its arguments. The `verbs` skill names each verb's tools, and which run at a shell alone.\n\nEach write to a factory's definition prompts the person (the `verbs` skill): say what it does before you run it, one at a time.\n\n## 1. Ask what it is for\n\nWhat the factory builds, on which repositories, and how its work should go: the steps, who does each, what is checked, where a\nperson decides. Read what exists first — `nemia factory`, `nemia agents --repo \u003Cpath>`, the repository's own `workflows\u002F` folder — and\nbuild on it rather than beside it.\n\n## 2. Create it\n\n`nemia factory add \u003Cname> --repo \u003Cpath>`, a `--repo` for each repository, as an absolute path.\n\nA factory has its own level, `nemia level \u003Clevel> --factory \u003Cname>`, and follows the store's until it has one. Its level is the person's\nto set: you never raise it.\n\n## 3. Its workflows, agents and skills, written into yours\n\nYou write a factory's workflows, agents and skills yourself, into yours, never into its repositories. Each write prompts the person: say\nwhat it writes and why, then run it. Write the file or folder in your own folder first, under `drafts\u002F\u003Cfactory>\u002F`, as the factory will\nread it, then write it into yours from there:\n\n- an agent: `drafts\u002F\u003Cfactory>\u002Fagents\u002F\u003Cname>.md`, with the result schema its `output:` names beside it —\n  `nemia agents write yours --file drafts\u002F\u003Cfactory>\u002Fagents\u002F\u003Cname>.md`;\n- a skill: `drafts\u002F\u003Cfactory>\u002Fskills\u002F\u003Cname>\u002FSKILL.md` — `nemia skills write yours --file drafts\u002F\u003Cfactory>\u002Fskills\u002F\u003Cname>\u002FSKILL.md`;\n- a workflow: `drafts\u002F\u003Cfactory>\u002F\u003Cworkflow>\u002F`, a markdown file per step, its keys in its frontmatter, its README, and any script its\n  `check:` runs or schema its `output:` names beside them, written too —\n  `nemia workflows write yours \u003Cworkflow> --folder drafts\u002F\u003Cfactory>\u002F\u003Cworkflow>`.\n\nAn agent the person already has, in another factory's repository or in their library, is recruited with the `recruit-or-create` skill, not\nwritten again. To start from one that exists, copy it there and change the copy. To change one in yours, write it again with `--version`,\nthe version it was read at: a write without one, of a name there already, is refused naming the version it is at now — read it again, and\nwrite your change on what it holds. `nemia agents rm` and `nemia workflows rm` take one back, at its version too.\n\n**Two things no verb writes**: a workflow's own `*.schema.json`, beside its steps, and a skill's files beside its SKILL.md. Draft those\nin the same folder, show the person each, and ask them to place it — on the board, or copied into yours by hand. Keep a pending fact\nnaming each until they say it is there, and check that it is.\n\nWhat you write is the factory's words, and its taste is the person's: name each file you wrote when you say what stands, so they read it\nbefore work depends on it.\n\n## 4. Attach its workflows\n\n`nemia factory attach \u003Cfactory> \u003Cworkflow>`, by the workflow's folder name, once it is written. `nemia factory detach` takes one back.\n\n## 5. Hire agents into steps\n\nWho to hire into a step, find with the `recruit-or-create` skill. `nemia factory hire \u003Cfactory> \u003Cagent> --step \u003Cworkflow>\u002F\u003Cstep>`, one agent\na step; `nemia factory fire \u003Cfactory> --step \u003Cworkflow>\u002F\u003Cstep>` takes a hire back. A step whose own file names its `agent:` takes no hire.\n\n## 6. Its rules, and its instruction\n\nTwo files, each told to someone else.\n\n**Its rules** are what every agent hired into the factory is told, in every step of every run started there, after the agent's custom\ninstructions and before the step's own policy: the factory's rules and policies, whoever does the work. Draft them in\n`drafts\u002F\u003Cfactory>\u002FRULES.md`, show them, then `nemia factory rules \u003Cfactory> --file drafts\u002F\u003Cfactory>\u002FRULES.md`; `nemia factory rules\n\u003Cfactory>` reads them back and `--clear` removes them. They are kept in your store, never in a repository, and only add words: a\nfrontmatter block is refused. A run freezes them when it starts, so an edit reaches only the runs started after it. A factory with none\ntells nothing.\n\n**Its instruction** is yours: what you are to know about the factory, which wins over your habits there. No step is told it. Draft it\nin `drafts\u002F\u003Cfactory>\u002FNEMIA.md` and show it. The person may keep it in the repository (`NEMIA.md` in its first folder, which they place); or, kept in the store,\n`nemia factory instruction \u003Cfactory> --store`, then `nemia factory instruct \u003Cfactory> --file drafts\u002F\u003Cfactory>\u002FNEMIA.md`.\n\nWords a person adds to one agent without rewriting it are its custom instructions: `nemia agents custom \u003Cname> --file \u003Cpath>`.\n\n## 7. Try an agent on a short brief\n\nBefore work depends on an agent, try it: `nemia agents run yours \u003Cname> --brief \"\u003Cwords>\"`, on a brief small enough to read in a minute.\nA try is yours to run unasked: one step of that agent, in a folder of its own, capped at a dollar, one at a time an agent. Say that you\nstarted it, follow it with `nemia ls`, and bring what it did.\n\n## 8. Stop, and say what stands\n\nSay what is in place and what is not, apart:\n\n- **Placed**: the factory, its repositories, the workflows attached, each hire, its instruction — as `nemia factory` reads them now.\n- **Written**: each workflow, agent and skill you wrote into yours, by its file, for the person to read; and each try, with what it did.\n- **Drafted, not placed**: each schema or skill file still only in your folder.\n- **Next**: the first card to start, or the draft to place first.\n\nNever call a factory complete while a draft of it waits to be placed.\n",{"name":5,"description":7},"main","2c3b65dc5afd9cba060388bacf97f24a7208d1ee","packages\u002Fagent-orchestrator\u002Fnemia\u002Fskills\u002Fcreate-a-factory",0,"https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia","https:\u002F\u002Fgithub.com\u002Femyann","Senior Software Engineer","2026-11-15 05:55:45",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add emyann\u002Fnemia --skill create-a-factory",{"tool":38,"command":39},"bunx","bunx skills add emyann\u002Fnemia --skill create-a-factory",{"tool":41,"command":42},"pnpm","pnpm dlx skills add emyann\u002Fnemia --skill create-a-factory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Fagent-orchestrator\u002Fnemia\u002Fskills\u002Fcreate-a-factory\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7BGEY7EKSRDFAB7B9567QKJ","groom-the-inbox","Read each card in play in the inbox against the repository and say, per card, done (the commit on the base that landed it), replaced (the decision or card that did), stale (each fact that moved, what it said and what it says now) or standing, reading closely only what the period touched. For the janitor's step, which proposes and never acts: a person removes or amends each card by the command the check writes.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fgroom-the-inbox\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7B4AD0ZJYZ3HAJCCBM4CPTY","write-a-spec","Turn an accepted intent into a spec an engineer can build from in this repository: the goal restated, the approach and why, every path it touches, the steps, the tests that prove it, the risks, and what is still open. For a step that designs a change before anyone builds it.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fwrite-a-spec\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7B4A88P2FKWCS1RND507WHE","review-a-change","Review a change in this repository as a second engineer would: against its intent and spec, by reading the diff and the suite's verdict, with findings that name the file, the line and what goes wrong. For a read-only step that decides whether the work goes round again.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Freview-a-change\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7B4A2HFW8F53E390A2KM0R8","read-the-stats","Read a factory's stats since the janitor's last run, against the same length of time before it, write a short report, and propose one correction per card — an allow or deny by name, a line in an agent's body or a skill, or a refusal kept on purpose — each with the numbers behind it, never one already in the inbox. For the janitor's step, which proposes and never acts.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fread-the-stats\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7B49Z4GJ2G8T76X744YHAAN","land-a-branch","Land a run's result on the base branch in this repository's own checkout, the way the step says it lands: make that one act, read its result, and write the message that records what landed — or change nothing and say why it refused. For a gated ending step (workspace: base).","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fland-a-branch\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7B49TMM0QAWF5WQ0QBXM9BG","implement-a-change","Build a change from its spec in this repository: tests first where a rule is claimed, small commits, the tests of what changed green for the right reason, and each review finding answered in the next round. For a step that writes the code.","https:\u002F\u002Fgithub.com\u002Femyann\u002Fnemia\u002Fblob\u002Fmain\u002Fpackages\u002Ftemplates\u002Fsdlc\u002Fskills\u002Fimplement-a-change\u002FSKILL.md",[],[]]