Agency OS
Manage AI agent work using Notion as your task dispatch board.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/agency-os-jeremylongshore/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Notion-as-source-of-truth dispatch board for running your work like an AI agency. One Tasks database is the source of truth; tasks flow Suggestion through Discussion, To-Do, In Progress, and Done with subtasks, recurring cadences, dependencies, and template subtrees. Batch execution fans approved To-Do rows out to parallel agents with per-task model selection. Use when capturing chat to Notion, running the To-Do queue, suggesting, approving, or discussing tasks, or coordinating multi-task batches. Trigger with "/agency-os" subcommands or natural-language variants ("add a suggestion: …", "let's discuss X", "run the queue").
What this skill does
agency-os
Notion-as-source-of-truth dispatch board. One Tasks database, one Hub page, one
page per Corpus, one page each for General Guidance and Resources. The skill
mutates Notion via the Notion MCP (mcp__*__notion-* tools); only
references/notion-pointers.json is committed to git.
Skill name decision: the skill is named agency-os (matching the repo). All
commands are /agency-os <cmd>. This is the single plugin entry point; there
is no agency-os/notion sub-namespace. If you embed this plugin alongside
others, prefix commands with agency-os to avoid collisions.
Overview
agency-os turns a single Notion database into a multi-status dispatch board for AI work. The model is intentionally narrow:
- One Tasks database is the source of truth for status, priority, model selection, and ownership. No parallel kanban tools.
- One Hub page holds the General Guidance, Resources, and Corpus pointers that every task consults.
- Tasks flow through five statuses: Suggestion → Discussion → To-Do → In Progress → Done. The dedup gate at each transition prevents accidental re-execution.
runfans approved To-Do rows out to parallel agents. Each task carries its own model selection (Haiku for cheap fan-out, Sonnet for default, Opus for hard reasoning) and respects declared dependencies.
The skill is stateless on disk — the only committed artifact is
references/notion-pointers.json (database/page IDs). All runtime state lives
in Notion.
For the full architecture (status flow, sync protocol, workspace structure,
pointer/cache format), see references/architecture.md.
Prerequisites
- Notion MCP server installed:
npx -y @notionhq/notion-mcp-server(declare in.mcp.json) - Notion integration token (
NOTION_TOKEN) with read+write access to your workspace. Add.envto.gitignore— never commit the token. - A Notion Tasks database with the columns the skill expects (see
references/architecture.md§ "Workspace structure" for the schema). The/agency-os initcommand can scaffold this for you. - Python 3 for the optional
scripts/query-tasks.pyhelper.
First-time setup:
ccpi install agency-os
# then in Claude Code:
/agency-os init --harness=basic --haiku=cost-tier --sonnet=default --opus=hard-reasoning
Instructions
The skill is a CLI surface over Notion. Three usage patterns:
-
Direct command invocation —
/agency-os <cmd> [args]. Seereferences/commands.mdfor the full reference of 19 commands (init,scaffold,suggest,discuss,log,add-subtask,approve,start,refresh,run,done,kill,next,status,list,show,update,move, pluslaunchalias). -
Natural-language driving — the skill translates conversational chat into the corresponding command. Examples in
references/natural-language.md. -
Batch execution —
/agency-os run [--go]fans the entire To-Do queue out to parallel agents with per-task model selection. See## Examplesbelow for the canonical flow.
Status flow is enforced — you cannot skip a stage. Every command performs a
sync preflight to ensure your local view of Notion is current (see
references/architecture.md § "Sync — preflight on every command").
When drafting any user-facing copy (READMEs, blog posts, launch surfaces),
apply the positioning brief at
references/positioning.md before writing.
Output
Every command returns to chat with:
- Verdict line —
✅ <action>or⚠️ <reason>(one line, scannable) - Affected task IDs and titles — every task touched, with its new status
- Next-action hint — what command the operator would typically run next
Batch run additionally emits:
- A per-task pass/fail table
- Total model spend estimate (Haiku/Sonnet/Opus call counts)
- Outstanding-dependency callouts for tasks that couldn't start
Error Handling
The skill fails closed on five well-defined cases (full details in
references/architecture.md § "Status flow — the dedup gate"):
| Condition | Behavior |
|---|---|
| Notion API auth fails | Halt, print "NOTION_TOKEN missing or invalid", exit 1 |
| Database/page ID drift (pointers stale) | Halt, print "Run /agency-os refresh", exit 1 |
Status-flow violation (e.g. approve on a Suggestion) | Halt with the required prerequisite step quoted |
Dependency cycle detected during run | Halt, list the cycle, exit 1 |
| Task missing required model selection | Halt, print "Run /agency-os update <id> --model <tier>" |
The skill never silently corrects state in Notion — every fix is an explicit command the operator must run.
Examples
Capture a chat insight as a Suggestion:
User: add a suggestion: refactor the auth flow to use the new token cache
Skill: → /agency-os suggest "refactor the auth flow to use the new token cache"
✅ Created Suggestion #t-2026-05-23-001 in corpus "platform"
Next: /agency-os discuss t-2026-05-23-001
Approve and run a batch:
User: approve t-2026-05-23-{001..003} then run the queue
Skill: ✅ Approved 3 tasks → To-Do
/agency-os run --go
→ fanning to 3 parallel agents...
✅ Done: 2 | ⚠️ Blocked on deps: 1 | Total spend: ~$0.04
More examples and the full command catalog are in
references/commands.md.
Resources
- Plugin source: https://github.com/ratamaha-git/agency-os
- Launch post: https://automatelab.tech/agency-os-launch/
references/architecture.md— status flow, sync protocol, workspace schemareferences/commands.md— full CLI reference (19 commands)references/natural-language.md— chat-to-command translation tablereferences/positioning.md— canonical brief for user-facing copyreferences/general-guidance.md— shared operating principles applied to every taskreferences/notion-pointers.json— pointer file scaffold (database/page IDs)references/task-page-template.md— Notion page template for new tasksreferences/corpus-template.md— Notion page template for a Corpusreferences/config-template.json— default per-task model routingscripts/query-tasks.py— optional Python helper for offline introspection
Related skills
Word Document Editor
anthropics
Create, edit, and format Word documents with tables, images, and tracked changes.
Skill Template
anthropics
A template for creating and configuring new Claude skills.
Kanban TUI
Zaloog
Manage tasks, boards, and workflows in your terminal with a CLI kanban tool.
Superpowers
obra
Jesse Vincent's full Claude Code methodology — TDD, brainstorming, git worktrees, all auto-triggering.