skills/github-monitor/SKILL.md
Monitor your GitHub repos for new projects and significant updates. Generates Reddit + Twitter draft posts for approval before publishing. Triggers on "check my github", "github monitor", "new repos", or any GitHub monitoring request.
npx skillsauth add phy041/claude-agent-skills github-monitorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Monitor your public GitHub repos. When new repos appear or significant updates happen, generate social media drafts and send for approval.
Set your GitHub username at the top of your state file or as an env var:
export GITHUB_USERNAME="yourusername"
Product is content. Don't fabricate stories. Translate "what I built" into social posts.
# New repos (sorted by creation date)
gh api /users/$GITHUB_USERNAME/repos?sort=created&per_page=10
# Recently updated repos (sorted by push date)
gh api /users/$GITHUB_USERNAME/repos?sort=pushed&per_page=10
Read memory/github-monitor-state.json and compare.
| Condition | How to Detect |
|-----------|---------------|
| New public repo | created_at newer than any known repo |
| Significant update | pushed_at changed AND >= 3 new commits since last check |
| Star milestone | Stars crossed 10, 50, 100, 500, 1000 |
# Read README
gh api /repos/$GITHUB_USERNAME/{repo}/readme --jq .content | base64 -d
# Recent commits
gh api /repos/$GITHUB_USERNAME/{repo}/commits?per_page=5
# Repo metadata (description, language, stars, forks)
gh api /repos/$GITHUB_USERNAME/{repo}
NEVER use: Revolutionize, Supercharge, Game-changer, 10x, Viral, Hacks, Disrupt, Groundbreaking, Revolutionary, Mind-blowing
Target subreddits: r/SideProject, r/coolgithubprojects (pick based on repo type)
Format:
Title: [Concise, descriptive — what it does]
Body:
## The Problem
[1-2 sentences: what pain point this solves]
## What I Built
[2-3 sentences: what the repo does, key features]
## How It Works
[Brief technical overview, stack/approach]
## What I Learned
[1-2 genuine takeaways from building this]
GitHub: https://github.com/{username}/{repo}
Happy to answer questions!
Format: 1-3 tweets, concise and punchy.
Tweet 1: [Hook — what problem + what I built]
Tweet 2: [Key technical detail or interesting finding]
Tweet 3: [Link + invitation to check it out]
GitHub: https://github.com/{username}/{repo}
Keep each tweet under 280 chars. Natural flow.
New project detected!
{repo_name}
{description}
--- Reddit Draft (r/{subreddit}) ---
{reddit_draft}
--- Twitter Draft ---
{twitter_draft}
Reply "post" to publish both, or tell me what to change.
| User says | Action | |-----------|--------| | "post" / "send" / "go" | Publish to Reddit + Twitter | | "reddit only" | Publish Reddit only | | "twitter only" | Publish Twitter only | | "change X to Y" | Revise draft and re-send | | No reply | Do nothing. NEVER auto-post. |
Use AppleScript Chrome automation (see reddit-cultivate skill):
/api/me.json/api/submit with:
sr: subreddit namekind: "self"title: post titletext: post body (markdown)uh: modhashUse Twikit:
cd ~/crawlee-social-scraper # or wherever your Twikit setup lives
source venv/bin/activate
python3 -c "
import asyncio
from twikit import Client
async def post():
client = Client('en-US')
client.load_cookies('twitter_cookies.json')
await client.create_tweet(text='''TWEET_TEXT_HERE''')
asyncio.run(post())
"
memory/github-monitor-state.json under posted_reposmemory/YYYY-MM-DD.mdLocation: memory/github-monitor-state.json
{
"github_username": "yourusername",
"last_checked": "2026-01-01T09:00:00Z",
"known_repos": {
"repo_name": {
"created_at": "2026-01-01T16:37:12Z",
"last_pushed_at": "2026-01-01T17:58:31Z",
"last_known_commits": 5,
"stars": 1
}
},
"posted_repos": ["repo_name"],
"star_milestones_notified": {
"repo_name": [10]
}
}
On the very first run (when last_checked is null):
known_repos (baseline snapshot)Runs 3x daily: 09:00, 15:00, 21:00 (your local time)
If nothing new: reply HEARTBEAT_OK (no notification).
When a repo crosses a milestone, send a celebratory notification:
Your repo {repo_name} just hit {milestone} stars!
Current: {stars} stars | {forks} forks
Want me to draft a "milestone update" post?
Milestones: 10, 50, 100, 500, 1000, 5000, 10000
development
Generate Xiaohongshu (小红书) carousel images (3:4, 1080x1440) from structured content. Creates professional slide decks with Chinese typography and proper XHS formatting. Triggers on "做小红书图", "xhs images", "generate xhs slides", "小红书配图", "carousel images", or any XHS image generation request.
testing
Twitter/X account cultivation and growth system. Checks account health (TweepCred, shadowban), analyzes tweets, finds engagement opportunities, recommends unfollows, and tracks progress. Triggers on "/twitter-cultivate", "check my twitter", "twitter health", "grow my twitter", "twitter maintenance", "fix my twitter reach".
development
Post to social media platforms using a multi-provider social posting API. Use when you want to post to Twitter, LinkedIn, Instagram, Facebook, TikTok, Threads, or Bluesky. Triggers on "post to twitter", "post to instagram", "social media post", "share on linkedin", "publish to social", or any social posting request.
development
Detect new GitHub repos and generate formatted ship announcements for social media. Monitors your GitHub profile for new repos pushed today, writes a technical digest, and drafts Twitter/Reddit posts for approval. Triggers on "ship digest", "new repos", "what did I ship", "github ship", or any shipping announcement request.