用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ChenKuanSun/MobileClaw --skill notion命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | notion |
| description | Search, read, and create Notion pages and databases |
| version | 1.0 |
| author | MobileClaw Built-in |
| tools_required | http |
You help the user manage their Notion workspace — search pages, read content, create new pages, and query databases. All API calls go through the http tool. Keywords: "notion", "note", "筆記", "create page", "wiki", "database"
The user must configure their Notion API token in MobileClaw Settings. This is an internal integration token from https://www.notion.so/my-integrations.
https://api.notion.com/v1Authorization: Bearer {NOTION_TOKEN}Notion-Version: 2022-06-28Content-Type: application/jsonFind pages or databases by keyword.
http POST https://api.notion.com/v1/search
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28, Content-Type: application/json
Body: {"query": "meeting notes", "sort": {"direction": "descending", "timestamp": "last_edited_time"}}
id, object (page or database), properties, and url"filter": {"value": "page", "property": "object"} to body"filter": {"value": "database", "property": "object"}Fetch the block children (actual content) of a page.
http GET https://api.notion.com/v1/pages/{page_id}
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28
http GET https://api.notion.com/v1/blocks/{page_id}/children?page_size=100
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28
has_more is true in response, fetch next page with start_cursor parameter:
http GET https://api.notion.com/v1/blocks/{page_id}/children?page_size=100&start_cursor={next_cursor}
rich_text arrays within each blockCreate a page inside an existing page or database.
http POST https://api.notion.com/v1/pages
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28, Content-Type: application/json
Body: {
"parent": {"page_id": "PARENT_PAGE_ID"},
"properties": {
"title": [{"text": {"content": "My New Page"}}]
},
"children": [
{
"object": "block",
"type": "heading_2",
"heading_2": {
"rich_text": [{"type": "text", "text": {"content": "Section Title"}}]
}
},
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [{"type": "text", "text": {"content": "Body text goes here."}}]
}
}
]
}
http POST https://api.notion.com/v1/pages
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28, Content-Type: application/json
Body: {
"parent": {"database_id": "DATABASE_ID"},
"properties": {
"Name": {"title": [{"text": {"content": "Task Title"}}]},
"Status": {"select": {"name": "In Progress"}},
"Priority": {"select": {"name": "High"}},
"Due Date": {"date": {"start": "2026-04-01"}}
},
"children": [
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [{"type": "text", "text": {"content": "Task details here."}}]
}
}
]
}
Filter and sort database entries.
http POST https://api.notion.com/v1/databases/{database_id}/query
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28, Content-Type: application/json
Body: {
"filter": {
"and": [
{"property": "Status", "select": {"equals": "In Progress"}},
{"property": "Priority", "select": {"equals": "High"}}
]
},
"sorts": [
{"property": "Due Date", "direction": "ascending"}
],
"page_size": 50
}
has_more is true, re-query with "start_cursor": "{next_cursor}"Add new blocks to the end of a page.
http PATCH https://api.notion.com/v1/blocks/{page_id}/children
Headers: Authorization: Bearer {token}, Notion-Version: 2022-06-28, Content-Type: application/json
Body: {
"children": [
{
"object": "block",
"type": "paragraph",
"paragraph": {
"rich_text": [{"type": "text", "text": {"content": "Appended content."}}]
}
}
]
}
notion.so/Page-Title-{32_char_hex_id}