skills/nightly-sync/SKILL.md
Fetch recent GitHub commits and update LifeManager project descriptions and OpenBrain with development activity. Designed to run via /loop for periodic syncing.
npx skillsauth add luzgan/llm-skills nightly-syncInstall 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.
Sync recent GitHub activity into LifeManager and OpenBrain.
This skill is designed to run at night. Check the current UTC time — only proceed if it's between 20:00 and 23:59 UTC. If outside this window, respond with "Skipping — not evening yet" and stop immediately. Do not call any MCP tools.
Run this Bash command to get commits from the last 3 days across all GitHub repos:
gh repo list Luzgan --limit 100 --json name,pushedAt,description,url | \
python3 -c "
import json, sys
from datetime import datetime, timedelta, timezone
cutoff = datetime.now(timezone.utc) - timedelta(days=3)
repos = json.loads(sys.stdin.read())
recent = [r for r in repos if datetime.fromisoformat(r['pushedAt'].replace('Z','+00:00')) >= cutoff]
print(json.dumps(recent))
"
For each repo returned, fetch its commits:
gh api repos/Luzgan/{REPO_NAME}/commits --jq '[.[] | select(.commit.author.date >= "{SINCE_DATE}") | {"sha": .sha[0:7], "message": .commit.message, "date": .commit.author.date}]'
Where {SINCE_DATE} is 3 days ago in ISO format (e.g., 2026-03-18T00:00:00Z).
Call get_daily_plan for today's date to understand what was planned. Use this as additional context when writing the OpenBrain development log — note which planned items were worked on based on the commits.
list_projects to get all current projectsdevelopment-log and any other relevant tagsprojects fielddevelopment
Enforces a feature-branch Git workflow — work on branches, commit meaningfully, create PRs, and only merge with user approval. Triggers on any code changes or when the user asks to implement something.
testing
Proactively use OpenBrain to save and recall thoughts during conversations. Triggers when the user shares insights, makes decisions, learns something new, or works on topics that might have prior context in OpenBrain.
data-ai
Generate today's daily plan by gathering context from LifeManager (projects, todos, calendar, yesterday's plan) and creating a focused schedule. Designed to run via /loop for daily planning.
development
Proactively keep LifeManager project descriptions up to date as development progresses. Triggers when working on a project that is tracked in LifeManager — updates descriptions with recent changes, new features, and current state.