New to Claude Skills? Learn how to install them →

jeremylongshore on GitHub

Agency OS

Free

Transform Notion into a dispatch board for AI tasks.

Get this skill

Free · Opens the source repo

What Agency OS does

Agency OS is a skill designed to integrate with Notion, turning it into a centralized dispatch board for managing AI-related tasks. It utilizes a single Tasks database to track the progress of tasks through five distinct statuses: Suggestion, Discussion, To-Do, In Progress, and Done. This structured flow ensures that tasks are handled systematically, with safeguards in place to prevent accidental re-execution at each transition. The skill is particularly beneficial for teams looking to streamline their workflow and maintain clarity on task ownership and priorities.

The core functionality of Agency OS revolves around its ability to fan out approved tasks to parallel agents, allowing for efficient execution based on specified model selections. Each task can be configured with its own model, accommodating different processing needs—whether for cost efficiency or complex reasoning. This flexibility makes it suitable for a variety of AI tasks, from simple suggestions to more intricate operations requiring deeper analysis.

Users interact with Agency OS primarily through command-line inputs or natural language commands, making it accessible for both technical and non-technical team members. The skill also emphasizes a stateless design, meaning it does not retain any runtime state on disk, which simplifies integration and minimizes potential conflicts. The only persistent data is the Notion pointers, ensuring that the skill remains lightweight and efficient.

Ideal for teams that rely heavily on Notion for project management, Agency OS can help organize and execute tasks more effectively. It is particularly useful in environments where multiple AI models are employed, allowing for a clear overview of task statuses and dependencies, ultimately leading to improved productivity and collaboration.

When to use it

Use Agency OS when you need to coordinate AI tasks within Notion, ensuring clear status tracking and efficient execution.

When not to use it

This skill is less suitable for teams that do not use Notion or prefer a more flexible task management tool without strict status flows.

What you can build with it

Managing AI Projects

Use Agency OS to track the progress of AI projects, ensuring tasks are organized and executed efficiently.

Team Collaboration

Facilitate team discussions and approvals on tasks by leveraging the structured workflow provided by Agency OS.

Batch Processing Tasks

Easily fan out multiple tasks to parallel agents for execution, optimizing resource usage and time.

How to install Agency OS

View source

1. Install with the skills CLI

npx skills add jeremylongshore/claude-code-plugins-plus-skills/agency-os --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by jeremylongshore

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.
  • run fans 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 .env to .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 init command can scaffold this for you.
  • Python 3 for the optional scripts/query-tasks.py helper.

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 references/commands.md 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).

  2. Natural-language driving — the skill translates conversational chat into the corresponding command. Examples in references/natural-language.md.

  3. 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 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"):

ConditionBehavior
Notion API auth failsHalt, 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 runHalt, list the cycle, exit 1
Task missing required model selectionHalt, 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 schema
  • references/commands.md — full CLI reference (19 commands)
  • references/natural-language.md — chat-to-command translation table
  • references/positioning.md — canonical brief for user-facing copy
  • references/general-guidance.md — shared operating principles applied to every task
  • references/notion-pointers.json — pointer file scaffold (database/page IDs)
  • references/task-page-template.md — Notion page template for new tasks
  • references/corpus-template.md — Notion page template for a Corpus
  • references/config-template.json — default per-task model routing
  • scripts/query-tasks.py — optional Python helper for offline introspection

Frequently asked questions about Agency OS

Similar skills