balneario-de-cofrentes/notion-cli-agent/notion-onboarding
Claude Code and agent skill by balneario-de-cofrentes/notion-cli-agent
- community
Checking that the SKILL.md file is still in the repository.
First-time Notion workspace discovery — identify key databases (projects/tasks/OKRs/home page) via guided discovery and save persistent state. Run before any Notion workflow when no state exists. Triggers: 'set up Notion', 'map my workspace', 'onboard Notion', first Notion setup, or when ~/.config/notion/workspace.json is missing.
Install
npx vskill@latest install balneario-de-cofrentes/notion-cli-agent/notion-onboardingSKILL.md
Notion Workspace Onboarding
Maps the user's Notion workspace and saves a state file that all future Notion skills read.
State file: ~/.config/notion/workspace.json
Step 0 — Check existing state
If it exists: show the current mapping, ask the user if they want to update it or continue. If absent: proceed with full onboarding.
Step 1 — Verify auth & get user
Confirm the integration is working. Note the workspace name.
If this returns 401 API token is invalid, you're almost certainly hitting a stale NOTION_TOKEN env var inherited from the parent process — the CLI prefers env vars over ~/.config/notion/api_key. Use the file-token workaround from the notion-cli-agent skill for the rest of this onboarding:
If that works, apply the same NOTION_TOKEN=$(cat ~/.config/notion/api_key) prefix to every notion call in the steps below.
Step 2 — Discover all accessible databases
This lists all databases the integration can see. Present the list clearly to the user (name + ID).
Step 3 — Guided identification
Ask the user to identify which databases correspond to each role. Be conversational — not all workspaces have all of these:
Step 4 — Inspect each identified database
For each confirmed database, run:
Extract from the output:
- The exact
titlePropname (the property of typetitle) - The
statusPropname and valid status values (if any) - Key properties used for filtering (priority, assignee, due date, etc.)
Step 5 — Build and save the state file
Write ~/.config/notion/workspace.json following the schema in references/state-schema.md.
Example minimal state:
Step 6 — Confirm with user
Show a human-readable summary of what was saved. Ask: "Does this look right? Anything to adjust?"
Apply any corrections, save the final file.
After onboarding
Tell the user: "Your workspace is now mapped. Any Notion task I do will use these databases by default — no need to look up IDs. Run this onboarding again anytime to update."
For full state schema see: references/state-schema.md
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/notion-onboarding/SKILL.md
Popularity
- Repository stars
- 83
- Repository forks
- 14
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/balneario-de-cofrentes/notion-cli-agent/notion-onboarding)