Agency os

From jeremylongshore/tons-of-skills-marketplace · View interactive version

Agency os is an AI agent skill from the GitHub repository jeremylongshore/tons-of-skills-marketplace. 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

How to use this skill

Skill file

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:

selection, and ownership. No parallel kanban tools.

that every task consults.

In Progress → Done. The dedup gate at each transition prevents accidental

re-execution.

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

Prerequisites

npx -y @notionhq/notion-mcp-server (declare in .mcp.json)

workspace. Add .env to .gitignore — never commit the token.

references/architecture.md § "Workspace structure" for the schema). The

/agency-os init command can scaffold this for you.

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:

  1. Direct command invocation — /agency-os <cmd> [args]. See

CODE0 for 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, plus launch alias).

  1. Natural-language driving — the skill translates conversational chat into

the corresponding command. Examples in

CODE0.

  1. Batch execution — /agency-os run [--go] fans the entire To-Do queue

out to parallel agents with per-task model selection. See ## Examples

below 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

CODE0 before writing.

Output

Every command returns to chat with:

Batch run additionally emits:

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

CODE0.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.