julien-notion-inbox-to-github

majiayu000's avatarfrom majiayu000

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.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

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.
namejulien-notion-inbox-to-github
descriptionMove 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_TOKEN environment variable set
  • requests package: 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

  1. Script reads the Inbox entry properties
  2. Extracts GitHub URL from URL or Link property
  3. Checks for duplicates in Github [DB]
  4. Creates new entry with Name, URL, Source DB = "Inbox"
  5. 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