julien-notion-inbox-to-github
Move a GitHub repo entry from Notion Inbox [DB] to Github [DB]. Use when user wants to route a GitHub URL from inbox to the dedicated GitHub database, migrate inbox entry to github database, or move github link.
When & Why to Use This Skill
This Claude skill automates the organization of technical resources by seamlessly migrating GitHub repository entries from a general Notion Inbox database to a dedicated GitHub database. It enhances productivity by extracting repository URLs, performing duplicate checks, and maintaining a structured knowledge base within Notion without manual data entry.
Use Cases
- Resource Curation: Automatically route GitHub links captured via the Notion Web Clipper from a cluttered inbox to a structured repository tracker for better categorization.
- Developer Workflow Optimization: Streamline the process of moving open-source discoveries from quick notes into a formal developer resource database with consistent properties.
- Database Maintenance: Prevent data redundancy by using the skill's built-in duplicate detection to ensure a GitHub repository isn't already logged before migrating it from the inbox.
| name | julien-notion-inbox-to-github |
|---|---|
| description | Move a GitHub repo entry from Notion Inbox [DB] to Github [DB]. Use when user wants to route a GitHub URL from inbox to the dedicated GitHub database, migrate inbox entry to github database, or move github link. |
Notion Inbox to GitHub
Move GitHub repository entries from Inbox [DB] to Github [DB].
Prerequisites
NOTION_TOKENenvironment variable setrequestspackage:pip install requests
Usage
Run the migration script with a page ID or URL:
python ~/.claude/skills/notion-inbox-to-github/scripts/migrate.py <page_id_or_url>
Arguments:
page_id_or_url: Notion page ID (UUID) or full URL of the Inbox entry
Example:
python ~/.claude/skills/notion-inbox-to-github/scripts/migrate.py 12345678-1234-1234-1234-123456789abc
Output
- On success: URL of created Github [DB] entry
- On failure: Error message with reason
Workflow
- Script reads the Inbox entry properties
- Extracts GitHub URL from URL or Link property
- Checks for duplicates in Github [DB]
- Creates new entry with Name, URL, Source DB = "Inbox"
- Returns new page URL
Error Handling
| Error | Meaning |
|---|---|
DUPLICATE |
Entry already exists in Github [DB] |
NO_GITHUB_URL |
Entry doesn't have a github.com URL |
PAGE_NOT_FOUND |
Invalid page ID or no access |
NOT_INBOX_ENTRY |
Page is not from Inbox [DB] |
Database IDs
- Inbox [DB]:
e50fb9d3-5d64-4601-a2f2-c0ac80d84d86 - Github [DB]:
2cacdc04-12e3-81cc-a84e-fdbba086ab29