返回 Skill 列表
extension
分类: 开发与工程无需 API Key

julien-notion-route-entry

将Notion收件箱条目路由到适当的PKM数据库(Github、视频、文章、播客、培训、地点、代码或待办事项)。当用户希望对收件箱进行分类、路由条目或将条目移动到适当数据库时使用。

person作者: jakexiaohubgithub

Notion Route Entry

Route Inbox entries to the appropriate PKM database based on URL patterns and keywords.

Prerequisites

  • NOTION_TOKEN environment variable set
  • requests package: pip install requests

Usage

Run the routing script with a page ID or URL:

python ~/.claude/skills/notion-route-entry/scripts/route.py <page_id_or_url>

Arguments:

  • page_id_or_url: Notion page ID (UUID) or full URL of the Inbox entry

Output

  • Suggests destination based on routing rules
  • Asks for confirmation or override
  • Creates entry in destination database
  • Returns URL of created entry

Routing Rules

| Pattern | Destination | |---------|-------------| | github.com | Github [DB] | | youtube.com | Videos [DB] | | medium.com, dev.to | Articles [DB] | | snipd, overcast | Podcasts [DB] | | udemy, coursera | Formations [DB] | | google.com/maps, komoot | Lieux [DB] | | gist.github, codepen | Code [DB] | | No URL | Todos [DB] |

Destinations

| Database | ID | |----------|----| | Github [DB] | 2cacdc04-12e3-81cc-a84e-fdbba086ab29 | | Videos [DB] | 2cacdc04-12e3-812d-959b-ce49a1ad0b3c | | Articles [DB] | 2cacdc04-12e3-8199-8ac1-e9c3007843a6 | | Podcasts [DB] | 2cacdc04-12e3-81a1-bf23-c9b9f82208f2 | | Formations [DB] | 2cacdc04-12e3-8168-b239-ff7e17742881 | | Lieux [DB] | 2cacdc04-12e3-81ad-a743-cf2d2a241a0d | | Code [DB] | 2cacdc04-12e3-81db-aa22-dbac1beefcb1 | | Todos [DB] | 9c9b8dcd-e01b-488f-aa87-eaaed7be9a52 |