radar-provision-notion
Skill4 starsChanged 5 months agoMITView on GitHub
Creates the two Notion databases (Competitors and Briefings) the radar publishes to, but ONLY after SHOWING the proposed schema and getting the user's explicit approval. Use during /radar-setup after onboarding, or when radar-publish-notion reports the databases are missing. Idempotent: if the databases already exist in the config, it verifies them instead of creating duplicates. Never creates anything in Notion before the user says yes.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- radar-diff-changesSkill
- radar-merge-briefingSkill
- radar-onboardSkill
- radar-plan-targetsSkill
- radar-publish-councilSkill
- radar-publish-notionSkill
- radar-render-dashboardSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
STOP and wait for an answer.
- Very specific: line 29
Only after approval, create the databases under the chosen parent (notion.parent_page_id, or workspace level if empty), using the Notion …
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
radar-provision-notion
Automation level: CHECKPOINT. Showing the schema and getting approval BEFORE creating any database is a hard requirement. See automation-levels.md.
Prerequisite: radar.config.json exists with a verified notion_prefix. If not, route the user to
radar-onboard.
Steps
- Idempotency check first. Read
radar.config.json. Ifnotion.competitors_dsandnotion.briefings_dsare already set, verify they still resolve with anotion-fetch. If both resolve, report "Notion already provisioned" and stop. Do not create duplicates. - SHOW the proposed schema for both databases, exactly as laid out in notion-schema.md: the Competitors database columns and the Briefings database columns, in a readable table. Then ask, in plain words: "Do you like this schema, or do you want changes (rename, add, or drop any field)?" STOP and wait for an answer. Do not proceed on silence.
- Incorporate any requested changes into the DDL. Re-show if the changes are non-trivial and confirm again.
- Only after approval, create the databases under the chosen parent
(
notion.parent_page_id, or workspace level if empty), using the Notioncreate-databasetool (<notion_prefix>notion-create-database) with the approvedCREATE TABLEDDL. Create the Competitors database first, then the Briefings database. - Capture the returned database id AND the
<data-source>id for each, and write all four intoradar.config.json(competitors_db,competitors_ds,briefings_db,briefings_ds). Pages are later created under the data source ids. - Confirm to the user with the Notion links and a one-line note that publishing is now enabled.
Edge cases
- Parent page not accessible to the Notion integration: stop and tell the user to share the parent page with the connected Notion integration, then re-run.
- User wants to reuse an existing database: accept its database url,
notion-fetchit to get the data source id, store the ids, and skip creation. Verify the columns cover what publishing needs; warn about any missing column rather than silently failing later. - Partial creation (Competitors created, Briefings failed): save what succeeded so a re-run is idempotent and only creates the missing one.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

