skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
oakoss/agent-skills93 installs

repo-updater

Repo Updater - Multi-repo synchronization with AI-assisted review orchestration. Parallel sync, agent-sweep for dirty repos, ntm integration, git plumbing. 17K LOC Bash CLI. Use when syncing multiple GitHub repositories, running agent-sweep on uncommitted changes, or orchestrating AI-assisted code review across repos.

How do I install this agent skill?

npx skills add https://github.com/oakoss/agent-skills --skill repo-updater
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubfail

    The skill includes an installation command that downloads a script from an unverified external source and pipes it directly into the shell, leading to a critical remote code execution vulnerability. Additionally, the skill has an indirect prompt injection surface by processing untrusted data from GitHub issues and pull requests via an AI agent with extensive system capabilities.

  • Socketwarn

    1 alert: gptAnomaly

  • Snykwarn

    Risk: MEDIUM · 2 issues

  • Runlayerwarn

    6/6 files flagged

What does this agent skill do?

Repo Updater

Bash CLI for synchronizing dozens or hundreds of GitHub repositories with AI-assisted code review and agent-sweep for uncommitted changes.

Critical Concepts

ConceptRule
Git plumbing onlyNever parse human-readable output; use rev-list, status --porcelain, rev-parse
Stream separationHuman-readable → stderr; data → stdout (--json 2>/dev/null | jq)
No global cdAll git operations use git -C

Essential Commands

CommandPurpose
ru syncSync all configured repos (add -j8 for parallel)
ru sync --dry-runPreview what would happen
ru sync --resumeResume interrupted sync
ru statusRead-only check of all repos
ru add owner/repoAdd repo to sync list
ru remove owner/repoRemove from list
ru listShow configured repos
ru pruneDetect orphaned repos
ru doctorSystem health check
ru review --planDiscover issues/PRs for AI review
ru review --apply --pushApply reviewed changes
ru agent-sweepProcess repos with uncommitted changes
ru agent-sweep -j4Parallel agent processing

AI Review Priority Scoring

FactorPointsLogic
Type0-20PRs: +20, Issues: +10, Draft PRs: -15
Labels0-50security/critical: +50, bug/urgent: +30
Age (bugs)0-50>60 days: +50, >30 days: +30
Recency0-15Updated <3 days: +15, <7 days: +10
Staleness-20Recently reviewed: -20

Levels: CRITICAL (≥150), HIGH (≥100), NORMAL (≥50), LOW (<50)

Agent Sweep Phases

PhaseDefault TimeoutAction
1: Planning300sAnalyze uncommitted changes, generate commit plan
2: Commit600sValidate plan, stage files, create commit, quality gates
3: Release300s (opt-in)Determine version bump, create tag/release

Execution modes: agent (full workflow), plan (phase 1 only), apply (phase 2+3)

Update Strategies

StrategyBehavior
ff-onlyFast-forward only; fails if diverged (default)
rebaseRebase local commits on top of remote
mergeCreate merge commit if needed

Exit Codes

CodeMeaning
0All repos processed successfully
1Some repos failed
2Conflicts or quality gate failures
3System/dependency error
4Invalid arguments
5Interrupted (use --resume)

Environment Variables

VariableDefaultDescription
RU_PROJECTS_DIR/data/projectsBase directory for repos
RU_LAYOUTflatPath layout (flat, owner-repo, full)
RU_PARALLEL1Parallel workers
RU_TIMEOUT30Network timeout (seconds)
RU_UPDATE_STRATEGYff-onlyPull strategy
GH_TOKEN(from gh CLI)GitHub token

Common Mistakes

MistakeCorrect Pattern
Parsing human-readable git output (e.g., git status text)Use git plumbing: rev-list, status --porcelain, rev-parse
Using cd to change into repo directoriesUse git -C <path> for all git operations
Mixing data and human-readable output on the same streamData goes to stdout, human-readable to stderr (--json 2>/dev/null | jq)
Running sync without --dry-run first on unfamiliar reposAlways preview with ru sync --dry-run before executing
Using service_role key or bypassing auth in agent-sweep scriptsFollow security guardrails; agent-sweep has preflight checks for a reason

Delegation

  • Discover which repos have uncommitted changes or are out of sync: Use Explore agent to run ru status and analyze the output
  • Process dirty repos with agent-sweep across multiple repositories: Use Task agent to run ru agent-sweep -j4 and handle quality gate failures
  • Plan a multi-repo sync strategy with review prioritization: Use Plan agent to design sync order, parallelism settings, and review budget allocation

References

  • Commands — sync, status, repo management, diagnostics, output modes, jq examples
  • Review System — two-phase workflow, session drivers, cost budgets, priority scoring
  • Agent Sweep — three-phase workflow, preflight checks, security guardrails, execution modes
  • Configuration — XDG directory structure, repo list format, layout modes, per-repo config
  • Troubleshooting — common issues, debug mode, preflight failure debugging, integration points

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/oakoss/agent-skills/repo-updater">View repo-updater on skillZs</a>