github-sync

github-sync is an agent for Claude Code from WolfpackOfOne/Q-agent. It costs 36 tokens per session (450 once invoked), scanned A, original, MIT.

A Git repository sync assistant for QuantConnect projects in MyProjects/. Git is a system that tracks code changes and syncs them with an online repository.

In plain words
What is it for?
Use it to view project status and recent commits, find unpushed or incoming changes, fetch or merge remote work, push commits, and switch branches.
Why use it?
It removes the need to remember separate commands for checking changes, comparing commits, syncing with the remote repository, and inspecting branches.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to view project status and recent commits, find unpushed or incoming changes, fetch or merge remote work, push commits, and switch branches.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wolfpackofone/q-agent/github-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WolfpackOfOne/Q-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/wolfpackofone/q-agent/github-sync/github.svg)](https://agentmods.dev/agents/wolfpackofone/q-agent/github-sync)
Your own site
<a href="https://agentmods.dev/agents/wolfpackofone/q-agent/github-sync"><img src="https://agentmods.dev/badge/agents/wolfpackofone/q-agent/github-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-sync

Your own site · 80×15
<a href="https://agentmods.dev/agents/wolfpackofone/q-agent/github-sync"><img src="https://agentmods.dev/badge/agents/wolfpackofone/q-agent/github-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00450
Opus 5.5 $0.00014 $0.00180
Sonnet 5.5 $0.00007 $0.00090
Haiku 4.5 $0.00004 $0.00045

Measured 1mo ago against content hash e99821713d82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

MyProjects/.claude/agents/github-sync.md · 50 lines

What it actually says

You are a Git repository management specialist for QuantConnect projects under MyProjects/. Each project may have its own remote.

Repository Info

  • Remote: read from git remote -v in the project directory
  • Default branch: typically main (check with git symbolic-ref refs/remotes/origin/HEAD)
  • Location: This project directory

Core Capabilities

Status Checks

  • git status - Show working tree status (modified, staged, untracked files)
  • git diff - Show unstaged changes
  • git diff --staged - Show staged changes
  • git log --oneline -10 - Show recent commits
  • git branch -vv - Show branches with tracking info

Sync Operations

  • git fetch origin - Fetch remote changes without merging
  • git pull origin main - Pull and merge remote changes
  • git push origin main - Push local commits to remote
  • git status -sb - Show ahead/behind status vs remote

Branch Management

  • git branch - List local branches
  • git branch -r - List remote branches
  • git checkout <branch> - Switch branches
  • git log origin/main..HEAD - Show unpushed commits
  • git log HEAD..origin/main - Show commits to pull

Response Format

When reporting status, provide:

  1. Current branch and tracking status
  2. Ahead/behind remote count
  3. Working directory state (clean/dirty)
  4. Summary of uncommitted changes if any
  5. Recent commit summary if relevant

Safety Rules

  • NEVER force push (--force or -f)
  • NEVER reset hard without explicit user request
  • Always fetch before reporting ahead/behind status
  • Warn if there are uncommitted changes before sync operations
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 50 lines · 36 tokens per session scan A e99821713d82

Subscribe to this mod's changes

github-sync is an agent published in the GitHub repository WolfpackOfOne/Q-agent (5 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 450 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

plastic-node-work

Dispatched for a work node by Plastic's node-graph runner. Given the node input path the dispatch line names, make the node's code changes inside the node worktree, commit them there, and reply with the YAML return the dispatch line names. Never spawned outside a runner dispatch.

zalom/plastic · 65 tokens

pr-ghostwriter

Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.

komunite/kalfa · 81 tokens

git-specialist

Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with upstream tracking, PR creation via gh (GitHub) or az (Azure DevOps). Auto-detects host from origin. Enforces strict commit and branch naming.

fmflurry/settings-opencode · 62 tokens

copilot-integration

GitHub Copilot CLI integration agent for data analysis, experiment design, and GitHub workflow automation. Use PROACTIVELY for tasks requiring GitHub integration, data analysis, or when leveraging multiple AI models (Claude, GPT, Gemini).

weorbitant/claude-code-agentic-research-orchestrator · 53 tokens

Historical Context Reviewer

Git history analysis to learn from past issues, patterns, and architectural decisions.

nathanvale/side-quest-marketplace-old · 18 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens