بنقرة واحدة
notion
Notion workspace — read/write pages, databases, search, create tasks via Notion API
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Notion workspace — read/write pages, databases, search, create tasks via Notion API
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
The mandatory operational guide and metabolic flow for agents interacting with arifOS. Ditempa Bukan Diberi.
Governed intelligence skill for AAA as the abstraction, attestation, and abduction control plane across arifOS, APEX, A-FORGE, GEOX, WEALTH, WELL, and the ariffazil profile repository. Use when the user asks to explain or design AAA, route agentic work, reduce chaos/entropy in an arifOS federation task, create AREP/task declarations, classify risk, plan multi-repo changes, review governance boundaries, or translate human intent into evidence-backed, authority-safe, recursively agentic workflows. Provides deterministic F1-F13 floor checking, bounded abduction, and FederationReceipt composition.
Instrument arifOS constitutional AI kernel with Langfuse LLM tracing. Use when (1) adding Langfuse tracing to arifOS tool calls, (2) wiring arifOS telemetry to Langfuse cloud or self-hosted, (3) querying arifOS trace data from Langfuse, (4) migrating arifOS mind_reason/heart_critique calls to Langfuse spans. DITEMPA BUKAN DIBERI — Forged, Not Given.
GitHub operations — issues, PRs, commits, code search, CI/CD via gh CLI
AGI-level autonomous controller — self-healing, self-optimizing, constitutionally governed by arifOS F1-F13
Invoke arifOS constitutional MCP tools (000-999 pipeline, F1-F13 enforced)
| name | notion |
| description | Notion workspace — read/write pages, databases, search, create tasks via Notion API |
| user-invocable | true |
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)
Status: NOTION_API_KEY not yet configured.
arifOS_botsecret_...)# On VPS host:
echo 'NOTION_API_KEY=secret_YOUR_TOKEN_HERE' >> /root/arifOS/.env
docker compose up -d --force-recreate openclaw
arifOS_botAfter setup, test:
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 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 = r.get('properties',{})
for k,v in props.items():
if v.get('type') == 'title':
title = ''.join([t['plain_text'] for t in v['title']])
break
elif r['object'] == 'database':
title = ''.join([t['plain_text'] for t in r.get('title',[])])
print(f\"{r['object']}: {title} — {r['id']}\")
"
PAGE_ID="YOUR-PAGE-ID-HERE" # from URL: notion.so/PAGE_ID
# Get page metadata
curl -s https://api.notion.com/v1/pages/${PAGE_ID} \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" | python3 -m json.tool
# Get page content (blocks)
curl -s https://api.notion.com/v1/blocks/${PAGE_ID}/children \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
| python3 -c "
import sys, json
d = json.load(sys.stdin)
for block in d.get('results', []):
bt = block['type']
content = block.get(bt, {})
text = ''.join([t.get('plain_text','') for t in content.get('rich_text',[])])
if text: print(f'[{bt}] {text}')
"
PARENT_PAGE_ID="YOUR-PARENT-PAGE-ID"
curl -s -X POST https://api.notion.com/v1/pages \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d "{
\"parent\": {\"page_id\": \"${PARENT_PAGE_ID}\"},
\"properties\": {
\"title\": {\"title\": [{\"text\": {\"content\": \"YOUR TITLE HERE\"}}]}
},
\"children\": [
{
\"object\": \"block\",
\"type\": \"paragraph\",
\"paragraph\": {
\"rich_text\": [{\"type\": \"text\", \"text\": {\"content\": \"Page content here.\"}}]
}
}
]
}" | python3 -c "import sys,json; d=json.load(sys.stdin); print('Created:', d.get('id'), d.get('url'))"
PAGE_ID="YOUR-PAGE-ID"
CONTENT="New content to append"
curl -s -X PATCH "https://api.notion.com/v1/blocks/${PAGE_ID}/children" \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d "{
\"children\": [
{
\"object\": \"block\",
\"type\": \"paragraph\",
\"paragraph\": {
\"rich_text\": [{\"type\": \"text\", \"text\": {\"content\": \"${CONTENT}\"}}]
}
}
]
}" | python3 -c "import sys,json; d=json.load(sys.stdin); print('Appended:', len(d.get('results',[])),'blocks')"
DB_ID="YOUR-DATABASE-ID"
# Query database rows
curl -s -X POST "https://api.notion.com/v1/databases/${DB_ID}/query" \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"page_size": 20}' \
| python3 -c "
import sys, json
d = json.load(sys.stdin)
print(f'Total rows: {len(d[\"results\"])}')
for row in d['results'][:5]:
props = row['properties']
for k, v in props.items():
if v.get('type') == 'title':
title = ''.join([t['plain_text'] for t in v['title']])
print(f' - {title}')
"
# Add a row to database (adjust property names to match your DB schema)
curl -s -X POST https://api.notion.com/v1/pages \
-H "Authorization: Bearer ${NOTION_API_KEY}" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d "{
\"parent\": {\"database_id\": \"${DB_ID}\"},
\"properties\": {
\"Name\": {\"title\": [{\"text\": {\"content\": \"New Task\"}}]},
\"Status\": {\"select\": {\"name\": \"Todo\"}}
}
}" | python3 -c "import sys,json; d=json.load(sys.stdin); print('Row created:', d.get('id'))"
# List all databases you have access to
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 '{"filter":{"value":"database","property":"object"}}' \
| python3 -c "
import sys, json
d = json.load(sys.stdin)
for db in d['results']:
title = ''.join([t['plain_text'] for t in db.get('title',[])])
print(f'{title}: {db[\"id\"]}')
"
When Arif says "log this to Notion" or "save this decision to Notion":
~/.openclaw/workspace/logs/audit.jsonlarifOS_bot — Notion API v2022-06-28