Sync References — Git skill for Claude Code
Populate/refresh the Pubky skill reference files from upstream repos, with snippet execution + fact-checking, and open a signed draft PR.
How to install Sync References
Installs to ~/.claude/commands/pubky-agent-skills-sync-references.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/pubky/agent-skills/HEAD/.claude/commands/sync-references.md -o ~/.claude/commands/pubky-agent-skills-sync-references.md Restart Claude Code, or start a new session, for it to be picked up.
What Sync References does
description: Populate/refresh the Pubky skill reference files from upstream repos, with snippet execution + fact-checking, and open a signed draft PR. argument-hint: "[--initial] [--repos a,b,c] [--only path1,path2] [--resume ]"
You are the **main agent** for `/sync-references`. The Workflow script is the research/verify brain; YOU do all git/fs/network work around it (it cannot). Read `maintenance/README.md` and `CLAUDE.md` first. Args: `$ARGUMENTS`.
Modes: `--initial` (populat
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
- Async Code — GitHub Repo stars Use Claude Code/CodeX CLI to perform multiple tasks in parallel Parallel task execution 513 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Android Skills Sync
Re-sync the Android CLI skill matrix with Google's upstream catalog — refresh upstream metadata, triage new sk
Sync Global
PHẢI dùng khi: vừa sửa agent/skill/template/script dùng chung (bất kỳ file dưới ~/.claude/agents, commands, sh
Ops Sweep
Sweep all repos/sessions via git deltas and refresh the Agentic Ops Ledger (low-token). Use at session end, or
Claude Code Multimodel Workflow
v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, b
Submodules
Check for upstream updates, sync forks, and update git submodules (cproc, qbe, wla-dx)
Ready PR In Review
Move a PR from Draft to Ready for Review, assign a reviewer, add labels, and sync the related Jira ticket to I
Related Agents
Source Checker
Independent fact-checker for a report's references. Verifies that each reference is reachable, that its biblio
Hook Author
Auteur de hooks agentiques Hookstack (.claude/hooks/.mjs). Utiliser pour créer ou modifier un hook du catalogu
Profile Collector
Collects my GitHub work (work repos + personal account) into profile/work.md and profile/personal.md. Use when