github-sync

github-sync is a skill for Claude Code, Codex from runxhq/runx. It costs 35 tokens per session (1,232 once invoked), scanned A, original, Apache-2.0.

A bounded synchronization workflow for reading or updating GitHub issues, discussion threads, and pull requests.

In plain words
What is it for?
Use it for reproducible pulls or pushes between local records and a GitHub repository, including batches of up to eight typed changes.
Why use it?
It makes the direction, filters, permissions, and item identities explicit, then checks every applied change so partial results are not silently treated as complete.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for reproducible pulls or pushes between local records and a…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/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.

Any agent
npx skills add runxhq/runx --skill github-sync
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

Made for: Claude Code, Codex.

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/skills/runxhq/runx/github-sync.svg)](https://agentmods.dev/skills/runxhq/runx/github-sync)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/github-sync"><img src="https://agentmods.dev/badge/skills/runxhq/runx/github-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,232 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.00035 $0.01232
Opus 5 $0.00017 $0.00616
Sonnet 5 $0.00007 $0.00246
Haiku 4.5 $0.00003 $0.00123

Measured 3d ago against content hash 04fc87e6c6fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (github-sync.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/github-sync/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Sync

Define one bounded synchronization between local Runx state and a GitHub repository. The skill makes direction, resource set, filters, content identity, scope, cursor, and authority posture explicit before the selected GitHub transport is allowed to read or mutate GitHub.

The default github-sync runner performs the requested pull or push. plan is the explicit no-effect runner; pull and push remain explicit execution lanes for compatible callers. Pulls are bounded reads. A push carries one to eight typed mutations under the admitted repository grant and returns an individual status, sync reference, and mutation digest for every item. It closes only on independent GitHub readback for every applied item. A partial or unknown item is deferred for reconciliation and is never silently retried. No GitHub token enters this package.

Composes

  • data-store#append_event
  • data-store#read_projection

When to use it

Use github-sync when an operator needs a reproducible pull or push contract for issues, pull requests, threads, or a mixed batch—especially when cursor state must survive across runs. Use plan only when the requested outcome is a plan. Use pull for an explicitly selected read lane. Use push for one already-decided issue, pull-request, or thread mutation. Batches are bounded and best-effort, not atomic: if one item fails, the result identifies each item and the operator must reconcile before retrying. Use issue-triage to decide what an issue means and issue-to-pr to govern an implementation lane.

Do not use a plan as evidence that remote state was read or changed. Only the native runx.provider.operation.v1 result from pull or push is provider evidence. Do not silently turn a denied push into a pull.

How it works

  1. Validate the exact owner/name repository, direction, resource kind, bounded filters, maximum result count, and requested scope.
  2. A pull plan requires read scope and records the exact resources a provider may fetch.
  3. A push plan requires write scope and one to eight typed mutations. It rejects unknown fields and oversized content, then returns ready_for_execution; planning itself does not grant provider authority.
  4. Optional plan_and_append_cursor composes the canonical data-store skill to append the bounded plan and read the projection back. That proves local cursor persistence, not GitHub synchronization; this package does not own a second cursor database or storage adapter.
  5. The default runner selects the same bounded read or write path from the validated direction. pull executes the plan with repo.read. push hashes the exact mutation set with the native digest tool, executes it under the admitted repo.write scope, verifies the returned digest, and reads the resource back. Both runners use the native provider lane.

Read the full file on GitHub · 110 lines

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. 3d ago First seen · 110 lines · 35 tokens per session scan A 04fc87e6c6fa

Subscribe to this mod's changes

github-sync is a skill published in the GitHub repository runxhq/runx (84 stars, last pushed 3d ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,232 once invoked, about $0.0002 per session on Opus 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-09-03.