notionlisted
Install: claude install-skill ariffazil/arifos
# Notion Skill — arifOS_bot
Triggers: "notion", "note", "add to notion", "search notion", "create page",
"update notion", "notion database", "my notes", "add task to notion",
"notion doc", "write to notion"
API: `https://api.notion.com/v1` | Auth: `NOTION_API_KEY` (Integration Token)
---
## ⚙️ One-Time Setup (do once, then forget)
**Status: NOTION_API_KEY not yet configured.**
1. Go to: https://www.notion.so/my-integrations
2. Click **"New integration"** → name it `arifOS_bot`
3. Select your workspace → Submit → Copy the **Internal Integration Token** (`secret_...`)
4. Add the token to VPS:
```bash
# On VPS host:
echo 'NOTION_API_KEY=secret_YOUR_TOKEN_HERE' >> /root/arifOS/.env
docker compose up -d --force-recreate openclaw
```
5. **Share pages with the integration**: Open any Notion page → **Share** → invite `arifOS_bot`
After setup, test:
```bash
curl -s https://api.notion.com/v1/users/me \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" | python3 -m json.tool
```
---
## Search
```bash
# Search across your Notion workspace
curl -s -X POST https://api.notion.com/v1/search \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"query":"YOUR SEARCH TERM","page_size":10}' \
| python3 -c "
import sys, json
d = json.load(sys.stdin)
for r in d.get('results',[]):
title = ''
if r['object'] == 'page':
props =