[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111088":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":14,"starSnapshotCount":14,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},111088,"numbrone","stevenmichaelthomas\u002Fnumbrone","stevenmichaelthomas","A chief of staff for your coding agents: route requests to per-project manager agents that run parallel workers in git worktrees, on herdr.",null,"Shell",145,5,1,0,3,32,2,47.03,"MIT License",false,"main",true,[24,25,26,27,28],"agent-skills","ai-agents","claude-code","git-worktree","herdr","2026-11-17 02:27:57","2026-11-23 12:57:08","# numbrone\n\n> numbrone is an independent community project built on top of [herdr](https:\u002F\u002Fherdr.dev).\n> It is not made by or affiliated with the herdr team.\n\n**A chief of staff for your coding agents.** You give one agent requests in plain language.\nIt works out which of your projects each request belongs to and hands it to that project's\nmanager. The manager runs workers in parallel, each in its own git worktree, and everyone\nreports back up. All of it runs in [herdr](https:\u002F\u002Fherdr.dev), so you can watch any agent at any time.\n\nWe all need a numbrone at work. This is yours.\n\n```\n            you, or sources the chief watches (Linear, GitHub issues, ...)\n                        │  \"add rate limiting to the api\"\n                        ▼\n                 ┌─────────────┐\n                 │    chief    │   routes, delegates, keeps track       ~\u002F.numbrone\n                 └──────┬──────┘\n           ┌────────────┴─────────────┐\n           ▼                          ▼\n   ┌───────────────┐          ┌───────────────┐   ◀── sources each manager watches\n   │  manager-api  │          │  manager-web  │       (Sentry, Datadog, ...)\n   └───────┬───────┘          └───────┬───────┘   one per project: herdr workspace numbrone\u002F\u003Cproject>\n      ┌────┴─────────┐                │\n      ▼              ▼                ▼\n worker-rate-   worker-fix-     worker-new-       one per code task: herdr tab and git worktree\n limit          login           navbar                               on branch numbrone\u002F\u003Ctask>\n\n  reports flow back up:  worker ──▶ manager ──▶ chief ──▶ you\n```\n\n- **Chief**: the agent you talk to. It doesn't write code. It routes and delegates\n  requests, and it tells you what's happening.\n- **Managers**: one per project, living in that project's herdr workspace. A manager answers\n  small things itself (questions, investigations) and spawns workers for code changes. It\n  reviews their work before reporting it as ready.\n- **Workers**: one per task, each in its own tab and git worktree, so many tasks run at once\n  without stepping on each other or on your own checkout.\n\nIt's one skill, one bash script, and three Markdown role files. State is plain text files you\ncan read and edit.\n\n## Requirements\n\n- [herdr](https:\u002F\u002Fherdr.dev) (`curl -fsSL https:\u002F\u002Fherdr.dev\u002Finstall.sh | sh`)\n- `git` and `jq`\n- A coding agent herdr supports. The default is [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code);\n  Codex, Gemini, OpenCode and others work too (see [Using another agent](#using-another-agent)).\n- macOS or Linux\n\n## Setup\n\n### 1. Install the skill\n\nWith the [skills CLI](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fskills):\n\n```bash\nnpx skills add stevenmichaelthomas\u002Fnumbrone -g\n```\n\nOr by hand:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fstevenmichaelthomas\u002Fnumbrone.git\ncp -r numbrone\u002Fskills\u002Fnumbrone ~\u002F.claude\u002Fskills\u002F\n```\n\n### 2. Start herdr and your agent\n\n```bash\nherdr                                # launch or attach to herdr\nherdr integration install claude     # once: lets herdr track Claude sessions\nclaude                               # start Claude Code in a herdr pane\n```\n\n### 3. Run the setup skill\n\nIn Claude Code, type:\n\n```\n\u002Fnumbrone\n```\n\nThe skill walks you through:\n\n1. **Checks**: that herdr, git and jq are present.\n2. **The numbrone home**: the folder where the chief lives (default `~\u002F.numbrone`).\n3. **Your projects**: give it paths, or a parent folder to pick git repositories from.\n4. **Context**: it reads each project (README, manifests, layout, recent history) and writes\n   `projects\u002F\u003Cname>\u002Fcontext.md` so the chief can route requests accurately.\n5. **Inputs** (optional): sources the chief or a manager should watch, such as Linear tickets\n   or Sentry errors (see [Inputs](#inputs-you-or-anything-else)).\n6. **Knowledge** (optional): a few questions about your goals and standards, to give the chief a head start.\n7. **Agent settings**: which agent to use, and how many permission prompts you want (see below).\n8. **Managers**: it opens one herdr workspace per project and starts a manager in each.\n\n### 4. Start your chief of staff\n\nOpen a new herdr pane and run:\n\n```bash\ncd ~\u002F.numbrone && claude\n```\n\nThe chief reads `~\u002F.numbrone\u002FCLAUDE.md` and registers itself. From then on, just ask for things:\n\n> Fix the flaky login test in the API, and add a dark mode toggle to the web application.\n\nIt splits that into two tasks, hands each to the right manager, and tells you. Managers spawn\nworkers, and the workers' tabs appear in each project's workspace in herdr. When something\nneeds you (a question, or work ready for review), the chief gets a `[numbrone] …` message and\npasses it on. herdr also shows a notification.\n\nAsk \"what's going on?\" at any time, or run `numbrone status` yourself. To use the\n`numbrone` command from your own shell, add it to your PATH:\n\n```bash\nexport PATH=\"$HOME\u002F.numbrone\u002Fbin:$PATH\"   # in ~\u002F.zshrc or ~\u002F.bashrc\n```\n\nThe status looks like this:\n\n```\nTASK                     PROJECT          STATUS   WORKER   LAST UPDATE\nfix-flaky-login          api              review   done     2026-11-08 16:01 [manager-api] review: Branch numbrone\u002Ffix-flaky-login …\ndark-mode-toggle         web              working  working  2026-11-08 16:00 [worker-dark-mode-toggle] working: Add toggle to …\n\nmanagers: manager-api=done manager-web=idle\n```\n\n## Inputs: you, or anything else\n\nWork doesn't have to come from you. At each level, an agent can run a loop that watches a\nsource and turns new items into tasks:\n\n- **The chief** watches sources that span projects, such as a Linear team, GitHub issues across\n  an org, or a shared inbox. It routes each new item to the right project, just like a request from you.\n- **A manager** watches sources its project owns, such as that service's Sentry errors, its\n  Datadog monitors, or its CI failures. It triages each item and either handles it, spawns a\n  worker, or asks the chief (and so you) when it needs a decision.\n\nSources are listed under a **Watch** heading: in `~\u002F.numbrone\u002FCLAUDE.md` for the chief, and in\n`projects\u002F\u003Cname>\u002Fcontext.md` for a manager. One line per source:\n\n```markdown\n## Watch\n- Linear: new issues in team ENG labelled \"agent\", every 15 minutes\n- Sentry: new unresolved issues in project \"api\", every 30 minutes\n```\n\nAgents start these loops when they launch (in Claude Code, with `\u002Floop`), so watches come back\nafter a restart. You can also add one just by asking, for example \"have the api manager keep an eye on\nSentry\". The manager adds it to its `context.md` itself.\n\nAgents read sources with whatever tools they have: MCP connectors (Linear, Sentry, Datadog, ...)\nor CLIs such as `gh`. Connect those in your agent first. The item's ID goes in the task brief,\nso the same ticket or error is never picked up twice.\n\n## Teaching the chief\n\nNot every conversation with the chief needs to be a task. You can also just give it context:\n\n> For context: we're prioritizing enterprise customers this quarter, so anything touching SSO\n> or audit logs comes first. And we decided last month to stop supporting IE.\n\nThe chief files it rather than delegating it, and confirms in one line where it went:\n\n- **Context about your world** (goals, customers, people, past decisions, your standards) goes in\n  `~\u002F.numbrone\u002Fknowledge\u002F`, one Markdown file per topic, with an `index.md` it reads at the start\n  of every session.\n- **Context about one project** goes in that project's `context.md`, and the chief passes it to\n  that project's manager.\n- **How you want the chief itself to work** goes under **Learned** (see below).\n\nThe more it knows, the better its work gets. It routes ambiguous requests correctly, writes briefs\nthat carry the \"why\" (managers only see the brief), and judges finished work against your goals\nand standards before it reaches you. Paste documents, explain history, or correct a wrong assumption.\nIt keeps the files organized and up to date, and asks when it's missing something it needs.\n\n## A chief that learns from you\n\nThe chief is meant to act like an extension of you: opinionated and quick to decide. It\nrecommends one option instead of listing five, makes routine calls itself, and only brings you\nreal decisions, with its recommendation attached. It also gives feedback, for example when a\nrequest is vague or the same problem keeps happening.\n\nIt gets better by taking your feedback. Whenever you correct it or tell it how you like things\ndone, it adds one line to the **Learned** section of `~\u002F.numbrone\u002FCLAUDE.md`, which every future\nsession reads first. Early on (until it has about ten lessons), it asks you a short question\nafter each finished task to calibrate faster. You can edit **Learned** yourself at any time.\n\n**Learned** is kept short on purpose: the chief merges overlapping lessons, replaces ones that\nno longer hold, and moves project-specific detail into that project's `context.md`. The work log\nkeeps the full history of your feedback.\n\n## Work log\n\n`~\u002F.numbrone\u002Flog\u002F\u003Cdate>.md` is the record of what the chief and its teams got done each day,\none Markdown file per day. It holds outcomes and decisions, not progress chatter:\n\n- **Milestones**, written by the script as managers report them: queued, blocked, review, done, closed.\n- **Outcomes**, written by the chief when a task finishes: what was delivered, how it went\n  (rework, blocks, time taken), and a one-line lesson.\n- **Decisions**: your answers to blocked questions, priority calls, work sent back. Managers\n  log the decisions they make on your behalf, too.\n- **Feedback and context** you gave the chief.\n\nWorkers' step-by-step progress stays in each task file (`numbrone status \u003Ctask>`), so a day's log\nstays short enough to read in a minute.\n\n```markdown\n# Work log 2026-11-08\n\n- 15:59 [chief] add-name: queued for demo\n- 16:01 [manager-demo] add-name: review: Branch numbrone\u002Fadd-name (c880b98): greet.sh takes an\n  optional name and falls back to \"world\". Tests pass.\n- 16:02 [chief] outcome: add-name (demo): optional name argument, one pass, no rework. Lesson: none\n- 16:20 [chief] decision: user accepted add-name; fix-login goes before new-navbar (launch Friday)\n- 16:21 [chief] add-name: closed (branch numbrone\u002Fadd-name kept)\n```\n\nAsk the chief \"what got done today?\" and it answers by project from this file. To skim\noutcomes across days yourself: `grep -h \"outcome:\" ~\u002F.numbrone\u002Flog\u002F*.md`.\n\nEntries are only ever appended, so the log is an audit trail you can trust. It's also how the\nsetup gets better over time. Ask the chief for a retro and it reads the log, tells you where work\nstalled or was redone and how often, and proposes changes to its own instructions, the role files, or a\nproject's context. It only makes them once you agree.\n\n## Day to day\n\n| You want to… | Do this |\n| --- | --- |\n| Give work | Tell the chief in plain language |\n| See progress | Ask the chief, or `numbrone status` |\n| See one task in full | `numbrone status \u003Ctask>` (brief, status, full log) |\n| Watch an agent work | Click its workspace and tab in herdr |\n| Accept finished work | Review the `numbrone\u002F\u003Ctask>` branch, merge it your usual way, then tell the chief to close the task |\n| Add a project | Run `\u002Fnumbrone` again, or `numbrone add` + write its `context.md` + `numbrone up \u003Cname>` |\n| Restart managers | `numbrone up` (after a reboot, for example) |\n| Review how things went | Ask the chief for a retro (\"how did this week go?\") |\n\nNobody merges, pushes, or deploys unless you say so. `numbrone close` refuses to remove a worktree\nthat has uncommitted changes, and it always keeps the branch.\n\n## How it works\n\nEverything is plain files in the numbrone home folder:\n\n```\n~\u002F.numbrone\u002F\n├── CLAUDE.md               the chief's instructions (AGENTS.md links to it)\n├── settings.sh           which agent to run, with which arguments\n├── projects.json           project index: name → path + one-line summary\n├── projects\u002F\u003Cname>\u002F\n│   └── context.md          what the project is, its commands, which requests belong to it\n├── tasks\u002F\u003Ctask>.md         one file per task: brief, status, append-only log\n├── log\u002F\u003Cdate>.md           the daily work log (see below)\n├── knowledge\u002F              what the chief knows about your world, by topic (index.md lists them)\n├── roles\u002F\n│   ├── manager.md          instructions every manager reads at startup\n│   └── worker.md           instructions every worker reads at startup\n└── bin\u002Fnumbrone            the script everyone uses\n```\n\nA task file looks like this:\n\n```markdown\n# fix-flaky-login\nproject: api\nstatus: review\nbranch: numbrone\u002Ffix-flaky-login\nworktree: \u002Fcode\u002Fapi\u002F.numbrone\u002Fworktrees\u002Ffix-flaky-login\ncreated: 2026-11-08 15:58\n\n## Brief\nThe login test fails about 1 in 5 runs on CI. Find out why and fix it ...\n\n## Log\n- 2026-11-08 15:58 [chief] queued\n- 2026-11-08 15:59 [manager-api] spawned worker-fix-flaky-login on numbrone\u002Ffix-flaky-login\n- 2026-11-08 16:04 [worker-fix-flaky-login] review: Race between session write and redirect ...\n- 2026-11-08 16:05 [manager-api] review: Branch numbrone\u002Ffix-flaky-login: awaits the session write ...\n```\n\nThe `numbrone` script is a thin wrapper around the herdr CLI:\n\n| Command | What it does in herdr \u002F git |\n| --- | --- |\n| `numbrone up [project]` | `herdr workspace create --label numbrone\u002F\u003Cproject>`, then `herdr agent start manager-\u003Cproject>` |\n| `numbrone delegate \u003Cproject> \u003Ctask> \"\u003Cbrief>\"` | Writes `tasks\u002F\u003Ctask>.md`, then `herdr agent prompt manager-\u003Cproject>` |\n| `numbrone spawn \u003Ctask>` | `git worktree add \u003Cproject>\u002F.numbrone\u002Fworktrees\u002F\u003Ctask> -b numbrone\u002F\u003Ctask>`, `herdr tab create`, `herdr agent start worker-\u003Ctask>` |\n| `numbrone report \u003Ctask> \u003Cstatus> \"\u003Cnote>\"` | Updates the task file; on `blocked`\u002F`review`\u002F`done` it messages one level up (worker → manager → chief) and shows a herdr notification |\n| `numbrone status [task]` | Reads task files plus live agent states (`herdr agent get`) |\n| `numbrone close \u003Ctask>` | `herdr tab close` the worker, `git worktree remove` (keeps the branch) |\n| `numbrone chief` | `herdr agent rename \u003Cthis pane> chief`, so reports can reach it |\n| `numbrone log [\"\u003Cnote>\" \\| \u003Cdate>]` | Appends a note to today's work log, or prints a day's log |\n\nWorktrees go in `\u003Cproject>\u002F.numbrone\u002Fworktrees\u002F`, listed in the repository's local `.git\u002Finfo\u002Fexclude`. They\nnever appear in `git status` or get committed, and agents started there inherit the folder\ntrust you already gave the project.\n\nRun `numbrone` with no arguments for the full command list.\n\n## Configuration\n\n`~\u002F.numbrone\u002Fsettings.sh`:\n\n```bash\nAGENT_KIND=claude       # any `herdr agent start --kind` value\nAGENT_ARGUMENTS=\"\"      # extra arguments for the agent\nBASE_BRANCH=\"\"          # branch new worktrees start from (\"\" = project's current HEAD)\nPING_CHIEF=1            # 0 = don't type reports into the chief; just log and notify\n```\n\n**Permission prompts.** Workers stop at every permission prompt and show as `blocked` in herdr\nuntil you answer. That's the safe default. To cut down on prompts with Claude Code, for example:\n\n```bash\nAGENT_ARGUMENTS=\"--permission-mode acceptEdits\"\n```\n\nPick what you're comfortable with. Agents run on your machine with your access.\n\n**Folder trust.** The first time Claude Code opens a project, it asks whether you trust the\nfolder. If a manager hits this, `numbrone` shows a notification and waits up to 5 minutes for you to\nanswer in herdr. Workers inherit their project's trust, so they won't ask again.\n\n## Using another agent\n\nSet `AGENT_KIND` in `settings.sh` (for example `codex`, `gemini`, `opencode`) and install its herdr\nintegration (`herdr integration install codex`). The role files are plain Markdown and the numbrone\nhome folder has an `AGENTS.md` symlink, so any agent that reads `AGENTS.md` can be the chief. You\ncan install the skill for that agent with `npx skills add … -a \u003Cagent>`, or run\n`bash skills\u002Fnumbrone\u002Fscripts\u002Fnumbrone init ~\u002F.numbrone` yourself and follow `skills\u002Fnumbrone\u002FSKILL.md` by hand.\n\n## Customizing\n\n- **Change how roles behave**: edit `~\u002F.numbrone\u002Froles\u002Fmanager.md` or `worker.md`.\n- **Upgrade**: pull the repository and run `numbrone init ~\u002F.numbrone` again. It updates `bin\u002Fnumbrone`\n  and never overwrites files you may have edited (`CLAUDE.md`, `roles\u002F`, `settings.sh`,\n  `projects.json`). To take a newer template, delete that file and run `init` again.\n- **Change how the chief behaves**: edit `~\u002F.numbrone\u002FCLAUDE.md` directly.\n- **Better routing**: improve the \"Route here\" and \"Not here\" sections in each project's `context.md`.\n\n## Troubleshooting\n\n| Symptom | Fix |\n| --- | --- |\n| `numbrone: no numbrone home found` | Run `~\u002F.numbrone\u002Fbin\u002Fnumbrone …` (not a copy elsewhere), or set `NUMBRONE_HOME=~\u002F.numbrone` |\n| A manager or worker shows `blocked` | It's waiting for an answer. Click its tab in herdr, or `herdr agent read \u003Cname> --source recent-unwrapped --lines 80` |\n| Reports don't reach the chief | Run `numbrone chief` in the chief's session (it registers the name `chief`) |\n| `manager-x already running` but it seems stuck | `herdr agent read manager-x …` to see its screen; close its tab in herdr and run `numbrone up x` |\n| Managers gone after a reboot | `numbrone up` |\n| Agent states look wrong | `herdr integration status`; `herdr agent explain \u003Cname>` |\n\n## Uninstall\n\n```bash\nrm -rf ~\u002F.claude\u002Fskills\u002Fnumbrone ~\u002F.numbrone\n```\n\nThen close the `numbrone\u002F*` workspaces in herdr. Task branches (`numbrone\u002F*`) stay in your repositories until you\ndelete them; any leftover worktrees can be removed with `git worktree remove \u003Cpath>`.\n\n## License\n\nMIT\n","numbrone 是一个面向 AI 编程代理的协调调度系统，充当‘首席幕僚’角色，将自然语言开发请求自动路由至对应项目的专用管理代理。其核心基于 herdr 运行时，为每个项目启动独立 manager，并为每项编码任务在隔离的 git worktree 中并行运行 worker，实现多项目、多任务的安全并发执行。所有状态以纯文本文件存储，支持 Claude Code 等主流编码模型，无需复杂配置。适用于需要同时维护多个代码库、频繁响应需求变更（如 GitHub Issues、Linear 任务）且强调环境隔离与可追溯性的 AI 辅助开发工作流。","2026-11-24 04:40:06","CREATED_QUERY"]