Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/automatelab-tech/agency-os/scaffoldgit clone --depth 1 https://github.com/AutomateLab-tech/agency-osWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/automatelab-tech/agency-os/scaffold)<a href="https://agentmods.dev/commands/automatelab-tech/agency-os/scaffold"><img src="https://agentmods.dev/badge/commands/automatelab-tech/agency-os/scaffold.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00763 |
| Opus 5 | $0.00000 | $0.00381 |
| Sonnet 5 | $0.00000 | $0.00153 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Command: scaffold [--parent=<id-or-url>] [--corpora="<n1>,<n2>,..."]
The single-shot setup command. Builds the entire Notion workspace from scratch — Hub page, Tasks database with the full schema below, General Guidance page, Resources page, default corpus pages (General, Recurring), and every linked DB view. There is no public Notion template to duplicate; this command IS the setup. The integration only needs to be shared with the parent (workspace root or --parent page) before running.
Idempotent: if notion-pointers.json exists and every ID resolves via notion-fetch, prints scaffold: already in place and exits. Otherwise creates only what's missing.
- Locate or create the Hub. If
--parent=<page-id-or-url>is passed, create the Hub as a child of that page (use this when the integration is shared with a specific page rather than the workspace root). Otherwise: search by title at workspace root; create there if absent. If the create fails because the integration lacks workspace-root access, abort withscaffold: integration must be shared with the workspace root, or pass --parent=<page-id>. - Create the Tasks database as a child of the Hub, with the schema in SKILL.md. Capture both
database_idanddata_source_id. TheDependenciesproperty is a self-relation on Tasks (separate fromParent Task— that's the hierarchy relation;Dependenciesis the gating relation used only byrun). - Create the General Guidance page under the Hub; seed body from
references/general-guidance.md. - Create each Corpus page under the Hub. Default set:
General,Recurring(user can customise via--corporaflag or add later withadd-corpus). Seed each fromreferences/corpus-template.md. - Create the Resources page under the Hub; seed from
references/resources.mdif present. - Add linked DB views to the Hub for Suggestions Inbox, In Discussion, To-Do, Recurring, In Progress, Recently Done. Add a per-corpus filtered view to each Corpus page. Every view's SHOW clause must include
Task IDas the leftmost column so subtask IDs are reachable at a glance. - Wire interlinks (Hub <-> Guidance <-> Corpora <-> Resources).
- Write
notion-pointers.json. - Full-width pages — manual one-time toggle. The Notion MCP doesn't expose
page_full_width, so Hub / Guidance / Resources / each Corpus page / new task pages need the ... menu -> "Full width" toggle flipped on by the operator after creation. Surface this in scaffold's final output so the operator knows to do it. - Sub-items — manual one-time toggle. The Notion MCP doesn't expose the Sub-items setting either. On the Tasks DB, the operator must enable Sub-items and wire it to the existing
Parent Task(parent) /Subtasks(children) relation. Path varies by Notion version: typically...menu -> "Sub-items" -> pickParent Task. Once wired, every view in the Hub gets a chevron on rows with children. - Print the Hub URL.
add-corpus "<name>" extends the General Plan post-scaffold: appends a Corpus select option, creates the page, adds the filtered view, updates pointers. Print: + Corpus: [<name>](<url>).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 20 lines · 0 tokens per session scan A 905096f23f71
scaffold is a command published in the GitHub repository AutomateLab-tech/agency-os (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 763 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
p9
PUA P9 Tech Lead 模式 — 写 Prompt 管 P8 团队。/pua:p9。Triggers on: '/pua:p9', 'pua p9', 'P9模式', 'tech-lead', '帮我管理这个项目', '任务拆解'.
survey
PUA 调研问卷 — 7 部分交互式问卷收集用户反馈。/pua:survey。Triggers on: '/pua:survey', 'pua survey', '调研', '问卷', 'feedback survey'.
dashboard-session-fork
Fork a session into a new one. Usage /dashboard:session-fork.
dashboard-session-hide
Hide a session from the dashboard list. Usage /dashboard:session-hide.
kpi
PUA KPI 报告卡 — 生成段位和绩效报告。/pua:kpi。Triggers on: '/pua:kpi', 'pua kpi', 'kpi报告', '段位报告', 'performance report', 'generate kpi'.
sdd
Generate a Kiro-style spec triple — specs/ /{requirements,design,tasks}.md.