Skip to main content

Chief of Staff

English · 简体中文

PyPI Python License: MIT

One home for all your GitHub Copilot sessions. Say what you need: each task gets its own Copilot session, follow-ups go to the session that already has the context, and you are asked only when a decision is yours or something is ready to review.

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 --demo    # try it with scripted sessions, no sign-in needed

Why

I run several Copilot sessions at once: one fixing a test, one reviewing a PR, one reading logs. I kept switching terminals to see which was stuck, which had a question and which had finished, while Slack kept pinging me. Now I talk to one session, the Router, and Chief of Staff keeps track of the rest.

What it does

All your work in one place

  • Splits a request into tasks and runs each in its own Copilot session, in parallel or in order.
  • Sends a follow-up to the session that did the work, with its history and checkout.
  • 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.

Results you can check

  • 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.

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: notifications wait, and you get one summary at the end.

Speaks for you, once you approve

  • Drafts Slack replies and PR reviews, approvals included, in your voice.
  • Watches what you ask it to (Slack mentions, doc comments, mail) with any tool your Copilot has, Glean or your company's search included.
  • React 🤖 to any Slack message to hand it over as a task.

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.

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.
  • Every worker gets its own folder and git worktree, so your checkouts stay untouched. Workers run like your own Copilot sessions; turn on permission checks 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. Launching uvx chiefofstaff@latest again and again works too, but 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.

How it works

Each session is a regular Copilot CLI session, driven through the Copilot SDK; copilot --resume lists them as "Chief of Staff · …". 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.44

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.44
File Size Uploaded Provenance Actions
chiefofstaff-0.1.44.tar.gz 2.0 MB With provenance Details for chiefofstaff-0.1.44.tar.gz

Built distribution (wheel)

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

Total release size: 2.8 MB

Release files / chiefofstaff-0.1.44.tar.gz

Download URL chiefofstaff-0.1.44.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9221f2900de2cb6a5a19c8c0f5653bb84361a1ee9763987125b15bf79edec71b
BLAKE2b-256 checksum
How to use checksums
6929bdc1edcf6d806af3126b8f68acb4c03e6773f20d355488238ec7db7c0383
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 14, 2026.

Transparency log

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

Download URL chiefofstaff-0.1.44-py3-none-any.whl
Size 794.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
820fdffc7055f16f4f63a6939dcf96d54cb8eac17e69e124f60151f06f13ec4f
BLAKE2b-256 checksum
How to use checksums
6d6961461ba53be90057a42c058807bbc69faa99f5179fbc7f290be3786ec0e7
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 14, 2026.

Transparency log

Security for chiefofstaff 0.1.44

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.44.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 14, 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.44 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