Skip to main content

Chief of Staff

English · 简体中文

PyPI Python License: MIT

Your engineering chief of staff. It catches what comes to you (a question in Slack, a PR to review, a comment on your doc), gets it done with Copilot, and answers in your voice: with proof of what was done, and only once you say OK. The longer it works for you, the better it knows how you work.

It does the work. It drafts the words. You make the call.

The captain, Chief of Staff's duck, in its five moods: idle, working, needs you, watching, done

Home: the chat, what needs you, and every task's live progress

uvx chiefofstaff@latest --demo    # try it with scripted sessions, no sign-in needed

Why

Most of my day isn't writing code. It's answering a question in Slack, reviewing a PR, following up on a thread, checking whether a run finished. Copilot can do most of that, but I still had to notice each ask, start a session, keep an eye on it and write the reply myself. Chief of Staff does the noticing and the follow-through. I talk to one session, the Router: it hands each ask to its own Copilot session, keeps track of all of them, and comes back to me only with a decision to make or a draft to approve.

What it does

Catches what comes to you

  • Watches what you ask it to (Slack mentions, doc comments, mail) with any tool your Copilot has, Glean or your company's search included, and turns what needs doing into tasks.
  • React 🤖 to any Slack message, press a hotkey from any app, or just say what you need.
  • Sends a follow-up to the session that did the work, with its history and checkout.

Answers in your voice, once you say OK

  • Drafts Slack replies and PR reviews, approvals included, the way you write them.
  • Sends them only when you approve; you can edit a draft first.

Shows proof, not just claims

  • Shows what was observed next to each report (test runs, commits, diff, PR checks), and flags claims nothing backs.
  • Lets you comment on the diff, send it back, and open the PR in one click.

Learns how you work

  • Picks up how you write and what you keep asking for. Your style applies at once; habits wait for your OK.
  • Turns mistakes workers fixed into checks that catch them next time.

Guards your focus

  • Asks only when it needs you: one card per thing, a decision with options and a recommendation, a question, a draft.
  • Reaches you when you are away from your desk (through your company's Slack bot, say) and takes your answers from there.
  • Focus mode holds notifications and gives you one summary at the end; a daily summary says what finished, what waits for you and what was handled without you.

Keeps many things moving at once

  • Splits a request into tasks and runs each in its own Copilot session, in parallel or in order.
  • Shows every task live on one board: what it is doing now, what waits and why, what is done.
  • The captain, the duck beside the name, shows how things stand at a glance: it salutes when something needs you, takes the wheel while work runs, keeps watch while tasks wait, and cheers when a task is done.

Your Copilot, your machine

  • Uses the Copilot you already have: your plan, models, plugins, skills, MCP servers and your company's policies, plus anything you add in Settings. No other AI service or API key.
  • If you also use Codex or Claude Code, workers can run on them instead, with your own sign-in: allow them on Home or in Settings, and pick one for a task with @codex or @claude (how).
  • Every worker gets its own folder and git worktree, so your checkouts stay untouched. Workers run like your own Copilot sessions (those that read Slack keep permission checks by default); turn on Ask first for all of them (no pushes to main, no force pushes, no writes outside their folders) or an OS sandbox in Settings.

Install

You need macOS, Linux or Windows (experimental), Python 3.11+, uv (or pipx) and the GitHub Copilot CLI:

npm install -g @github/copilot
copilot login
uv tool install chiefofstaff && chiefofstaff   # or: pipx install chiefofstaff

Your browser opens Chief of Staff through a private link printed in the terminal (keep it to yourself). Tell it where your code lives, like ~/workspace, and type what you need.

Everything runs on your machine; data stays in ~/Library/Application Support/chiefofstaff (macOS), ~/.local/share/chiefofstaff (Linux), or %LOCALAPPDATA%\chiefofstaff\chiefofstaff (Windows; with a Python installed from the Store app, Windows keeps it under that Python's %LOCALAPPDATA%\Packages\...\LocalCache instead: the Data: line at startup says where). Ctrl+C stops it, and sessions pick up where they left off next time. Options: --port, --data-dir, --no-browser, --demo. Update with uv tool upgrade chiefofstaff (or pipx upgrade chiefofstaff), or click Update and restart where the sidebar says a newer version is out (Settings → General turns that off). Without installing, start it with uvx chiefofstaff@latest: plain uvx chiefofstaff runs the version uv cached the first time, however old. Each new version leaves a cached environment behind in uv's cache: uv cache prune removes the ones nothing uses. Never run uv cache clean while Chief of Staff is running: it can delete the environment it runs from. Workers' folders, and how much disk they take, are under Storage (the disk icon at the bottom of the sidebar).

On Windows (experimental), Send to Chief, the Copilot command sandbox, sandboxed checks and the folder sizes under Storage (measured with du) are unavailable. Workers can access files and networks available to your Windows account. A new data directory, and the private launch link in it, are made readable only by you (and SYSTEM and Administrators) with an access control list; a --data-dir that already exists keeps its own, so check it. Storage cleanup cannot see programs running as administrator in a worker's folder: close those before closing the worker. Git can still hit path length limits in deeply nested folders; use a shorter project or data directory if that happens.

To start this checkout after uv sync --extra dev:

.\.venv\Scripts\python.exe -m chiefofstaff

Optional sign-ins

  • GitHub: gh auth login with every account you use, to review PRs and open them.
  • Slack: paste a user token in Settings (how), or reach Slack through a tool your Copilot already has, such as Glean.
  • Other services (docs, issue trackers): a sign-in card appears when a worker needs one, and one card when an MCP tool says an account must be connected (however many workers it stops).

How it works

Each session is a regular Copilot CLI session, driven through the Copilot SDK; copilot --resume lists them as "Chief of Staff · …". A Codex worker is a thread of its own codex app-server. Sessions never talk to each other directly: they call tools such as spawn_worker, report and tell_session, and Chief of Staff delivers each message, labeled with who sent it, so a Slack message cannot pass itself off as you. Workers that work together pass what the other needs straight to it; the Router gets a copy.

you ── Home ── Router ── tasks ──► worker · worker · worker
                 ▲                 (own folder and worktree)
Slack, GitHub, ──┘    drafts ────► wait for your approval
your watches          Watchdog ──► nudges stuck workers

Learn more

Status

Early (0.1): expect rough edges. Copilot usage counts against your plan, and Home shows the credits each task used. Issues and ideas are welcome; to contribute, see CONTRIBUTING.md.

License

MIT. Chief of Staff is an independent project, not made by or affiliated with GitHub. GitHub Copilot is a trademark of GitHub, Inc.

Metadata

Release files for chiefofstaff 0.1.56

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chiefofstaff 0.1.56
File Size Uploaded Provenance Actions
chiefofstaff-0.1.56.tar.gz 3.7 MB With provenance Details for chiefofstaff-0.1.56.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chiefofstaff 0.1.56
File Interpreter ABI Platform Actions
chiefofstaff-0.1.56-py3-none-any.whl Python 3 none any Details for chiefofstaff-0.1.56-py3-none-any.whl

Total release size: 5.2 MB

Release files / chiefofstaff-0.1.56.tar.gz

Download URL chiefofstaff-0.1.56.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
9942de24df447feb0b8c39805403c6b147b75ba62944e2037c27068bdc2cadc3
BLAKE2b-256 checksum
How to use checksums
ca83bc5d9971eae9aa927eb1940a2e30e06eb67471e45e631a84d0c4c096a5fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / chiefofstaff-0.1.56-py3-none-any.whl

Download URL chiefofstaff-0.1.56-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dab5e49c8d2b13a45cb630ad6cad6207871ce8bc8af41110b71e3bfc77940b43
BLAKE2b-256 checksum
How to use checksums
b2171f30fda90cff3b8504058a3e31d276c9494b652969e901aa18ef9d38d7c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for chiefofstaff 0.1.56

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chiefofstaff-0.1.56.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.56 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page