Claude-skill-registry julien-notion-github-enhance
Enrich a Github [DB] entry with GitHub API metadata (description, stars, language, cover image). Use when user wants to populate a GitHub repo entry with live metadata, enhance github entry, or add github info.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/julien-notion-github-enhance" ~/.claude/skills/majiayu000-claude-skill-registry-julien-notion-github-enhance && rm -rf "$T"
manifest:
skills/data/julien-notion-github-enhance/SKILL.mdsource content
Notion GitHub Enhance
Enrich Github [DB] entries with live metadata from GitHub API.
Prerequisites
environment variable setNOTION_TOKEN
environment variable (optional, for higher rate limits)GITHUB_TOKEN
package:requestspip install requests
Usage
Run the enrichment script with a page ID or URL:
python ~/.claude/skills/notion-github-enhance-note/scripts/enrich.py <page_id_or_url>
Arguments:
: Notion page ID (UUID) or full URL of Github [DB] entrypage_id_or_url
Example:
python ~/.claude/skills/notion-github-enhance-note/scripts/enrich.py 12345678-1234-1234-1234-123456789abc
Output
- On success: Confirmation with updated fields
- On failure: Error message with reason
Data Retrieved
| Field | Source | Notes |
|---|---|---|
| Description | GitHub API | Repo description |
| Language | GitHub API | Primary language |
| Stars | GitHub API | Star count |
| Cover | OpenGraph | Social preview image |
Rate Limits
- Without GITHUB_TOKEN: 60 requests/hour
- With GITHUB_TOKEN: 5000 requests/hour
Set
GITHUB_TOKEN environment variable for higher limits:
export GITHUB_TOKEN=ghp_xxxxxxxxxxxx
Error Handling
| Error | Meaning |
|---|---|
| URL is org page or not a valid repo |
| Repository deleted or private |
| GitHub API rate limit reached |
| Invalid page ID or no access |
Database ID
- Github [DB]:
2cacdc04-12e3-81cc-a84e-fdbba086ab29