[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M799X9885DHDHXSA3WPNP9ET":3,"skill-same:01M799X9885DHDHXSA3WPNP9ET":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M799X9885DHDHXSA3WPNP9ET","github-sync",null,"Plan a scoped pull or push of GitHub issues, threads, or PRs, gating any write behind human approval.","ZachDreamZ\u002Frunx","ZachDreamZ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22769595?v=4","01M799NTP9N5VYWB4JY50MC7Y3","NexusCore","01M799NTQ1AYT8TZC0XTSEZXDJ",0,"MIT","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: github-sync\ndescription: Plan a scoped pull or push of GitHub issues, threads, or PRs, gating any write behind human approval.\nrunx:\n  category: ops\n---\n\n# GitHub Sync\n\nDecide exactly what state to move between a GitHub repo and the local graph, in\nwhich direction, and whether the agent is even allowed to write.\n\n`github-sync` is the generic repo state connector. It turns a loose request like\n\"sync the open issues\" into a bounded plan that names the resources, the\ndirection, the scope, the records it will touch, and the point where the run\nmust stop for a human. A pull is observation and stays inside `repo:read`. A\npush is mutation and never proceeds without an explicit `repo:write` grant and\nhuman approval.\n\n## What this skill does\n\n`github-sync` produces a sealed `sync_plan`: a scoped record of which GitHub\nresources the run will pull or push, the scope it will use, the gates a write\nmust clear, and any blockers that stop the run cleanly. For a push it carries a\n`diff_summary` described by digest and ref, never by raw body text, so a\nreviewer can approve the shape of a change without leaking issue contents,\ntokens, or PII into the plan or the receipt.\n\nThe plan binds direction to scope. `pull` is read-only and lists the resources\nit will fetch. `push` enumerates the mutations by ref and digest, marks\n`approval_required: true`, and refuses to proceed past planning when the run\nlacks a `repo:write` grant.\n\nThis skill plans the sync; it does not perform the GitHub mutation itself. The\nplan is the artifact a downstream adapter executes after the approval gate\nclears. Planning and mutation stay on opposite sides of the gate so a review can\nread intent before anything changes on the remote.\n\nWhen a sync loop needs a durable cursor, use `plan_and_append_cursor`. That\nrunner reads the cursor projection through `data-store`, plans the bounded sync,\nappends the plan as a cursor event, and reads back the projection. The storage\nprovider is selected by `data_source_ref`, not by GitHub-specific code.\n\n## When to use this skill\n\n- An agent needs to fetch a bounded set of issues, threads, or PRs into the\n  local graph for triage or analysis.\n- An agent needs to mirror local state back to GitHub (reopen, label, comment,\n  close) and the operator wants the write shape reviewed before it lands.\n- A workflow must prove which repo, direction, and scope a sync used, with a\n  receipt that names the resources touched.\n- A review needs to distinguish a read-only pull from a write that crossed an\n  approval gate.\n\n## When not to use this skill\n\n`github-sync` is the generic repo state connector. Reach for it when the job is\nmoving issue, thread, or PR state in or out, not authoring a change or composing\none comment.\n\n- To drive a thread through spec, build, review, and a draft PR. Use\n  `issue-to-pr`, which governs the full issue-to-PR lane.\n- To draft one review comment on one PR. Use `pr-review-note`.\n- To push without a named repo and direction.\n- To carry raw issue bodies, comment text, access tokens, or contributor PII in\n  the plan or receipt. Reference them by digest, span, or ref only.\n- To bypass the human approval gate on any write.\n\n## Procedure\n\n1. Resolve the target repo and confirm the run holds at least `repo:read`.\n2. Read `direction`. `pull` is observation; `push` is mutation and changes the\n   gate posture.\n3. Read `resources`. Bind the concrete set: issues, PRs, or threads, plus the\n   filters that bound it (state, label, author, range). An unbounded \"all\"\n   becomes a blocker until reconfirmed.\n4. Read `scope`. A `push` requires `scope: write` backed by a real `repo:write`\n   grant. If a write is requested without that grant, stop and refuse rather\n   than downgrade to a silent pull.\n5. For a `pull`, list `resources_touched` by ref and leave `diff_summary` empty.\n6. For a `push`, build `diff_summary` as a list of intended mutations described\n   by ref and content digest, set `gates.approval_required: true`, and record\n   the approval reference once granted.\n7. Record `scope_used` as the narrowest scope the plan actually needs.\n8. Emit the smallest `sync_plan` an adapter can execute without widening\n   authority, and stop at the approval gate for any write.\n9. For cursor-backed loops, read the cursor projection first, append one sync\n   plan event with an idempotency key and expected version, and read back the\n   projection before the next turn.\n\n## Edge cases and stop conditions\n\n- **Missing repo or direction:** return `needs_agent`; the sync target is\n  undefined.\n- **Write requested without `repo:write`:** the request is `refused`; never\n  downgrade it to a silent pull. The plan stays unexecutable.\n- **Unbounded resource set:** mark a blocker and require an explicit filter\n  before a push.\n- **Approval absent or denied on a push:** keep the decision blocked and the\n  plan unexecutable; do not emit an executable mutation plan.\n- **Raw bodies, tokens, or PII in the resource payload:** reference by digest\n  and ref; if redaction would remove the evidence needed to plan, return\n  `needs_agent`.\n\n## Output schema\n\n```yaml\nsync_plan:\n  decision: ready | blocked | refused | needs_agent\n  repo: string                       # resolved owner\u002Fname target\n  direction: pull | push\n  resources_touched:                 # resources by ref; no raw bodies\n    - kind: issue | pr | thread\n      ref: string\n      selected_by: string            # the filter that selected it\n  diff_summary:                      # push only; empty for a pull\n    - ref: string\n      op: string\n      digest: string\n  scope_used: string                 # narrowest scope, e.g. repo:read or repo:write\n  gates:\n    approval_required: boolean       # true for any push\n    approval_ref: string             # set once the write is approved\n  blockers: array                    # conditions that must clear before execution\n```\n\n`sync_plan` is a composable object. Downstream skills read it as arbitrary JSON;\nthe fields above are the contract a reviewer and adapter rely on.\n\nThe receipt (`runx.receipt.v1`) carries the repo, direction, `scope_used`, the\nresource refs touched, and the approval reference for a write. It carries no\nissue bodies, comment text, tokens, or contributor PII; mutations appear as refs\nand digests only. Default scope is `repo:read` and a `pull` never escalates; a\n`push` needs an explicit `repo:write` grant plus human approval, so missing the\ngrant is a refusal and missing the approval keeps the plan blocked.\n\n## Worked example\n\nInput: \"Sync the open triage issues into the graph\" on `runxhq\u002Frunx`, with\n`direction: pull`, `scope: read`, and a filter of `state:open label:triage`.\n\nOutput: `decision: ready`; `direction: pull`; `scope_used: repo:read`;\n`resources_touched` lists the two matched issues by ref and the filter that\nselected each; `diff_summary` is empty and `gates.approval_required` is false.\nNo write grant is exercised and no approval gate is opened, because a pull is\npure observation. Had the same request asked to `push` labels without a\n`repo:write` grant, the run would refuse instead of reading.\n\nCursor-backed loop:\n\n```text\nread cursor -> plan bounded pull\u002Fpush -> append sync plan event -> read cursor\n```\n\nThe cursor event stores refs, filters, digests, and gate status. It does not\nstore raw issue bodies, OAuth tokens, or write payload secrets.\n\n## Inputs\n\n- `repo` (required): target repository as `owner\u002Fname`.\n- `direction` (required): `pull` or `push`.\n- `resources` (required): structured selector for `issues`, `prs`, or `threads`\n  plus filters (state, label, author, range).\n- `scope` (required): `read` or `write`. A `push` needs `write` backed by a real\n  `repo:write` grant.\n","# GitHub Sync\n\nDecide exactly what state to move between a GitHub repo and the local graph, in\nwhich direction, and whether the agent is even allowed to write.\n\n`github-sync` is the generic repo state connector. It turns a loose request like\n\"sync the open issues\" into a bounded plan that names the resources, the\ndirection, the scope, the records it will touch, and the point where the run\nmust stop for a human. A pull is observation and stays inside `repo:read`. A\npush is mutation and never proceeds without an explicit `repo:write` grant and\nhuman approval.\n\n## What this skill does\n\n`github-sync` produces a sealed `sync_plan`: a scoped record of which GitHub\nresources the run will pull or push, the scope it will use, the gates a write\nmust clear, and any blockers that stop the run cleanly. For a push it carries a\n`diff_summary` described by digest and ref, never by raw body text, so a\nreviewer can approve the shape of a change without leaking issue contents,\ntokens, or PII into the plan or the receipt.\n\nThe plan binds direction to scope. `pull` is read-only and lists the resources\nit will fetch. `push` enumerates the mutations by ref and digest, marks\n`approval_required: true`, and refuses to proceed past planning when the run\nlacks a `repo:write` grant.\n\nThis skill plans the sync; it does not perform the GitHub mutation itself. The\nplan is the artifact a downstream adapter executes after the approval gate\nclears. Planning and mutation stay on opposite sides of the gate so a review can\nread intent before anything changes on the remote.\n\nWhen a sync loop needs a durable cursor, use `plan_and_append_cursor`. That\nrunner reads the cursor projection through `data-store`, plans the bounded sync,\nappends the plan as a cursor event, and reads back the projection. The storage\nprovider is selected by `data_source_ref`, not by GitHub-specific code.\n\n## When to use this skill\n\n- An agent needs to fetch a bounded set of issues, threads, or PRs into the\n  local graph for triage or analysis.\n- An agent needs to mirror local state back to GitHub (reopen, label, comment,\n  close) and the operator wants the write shape reviewed before it lands.\n- A workflow must prove which repo, direction, and scope a sync used, with a\n  receipt that names the resources touched.\n- A review needs to distinguish a read-only pull from a write that crossed an\n  approval gate.\n\n## When not to use this skill\n\n`github-sync` is the generic repo state connector. Reach for it when the job is\nmoving issue, thread, or PR state in or out, not authoring a change or composing\none comment.\n\n- To drive a thread through spec, build, review, and a draft PR. Use\n  `issue-to-pr`, which governs the full issue-to-PR lane.\n- To draft one review comment on one PR. Use `pr-review-note`.\n- To push without a named repo and direction.\n- To carry raw issue bodies, comment text, access tokens, or contributor PII in\n  the plan or receipt. Reference them by digest, span, or ref only.\n- To bypass the human approval gate on any write.\n\n## Procedure\n\n1. Resolve the target repo and confirm the run holds at least `repo:read`.\n2. Read `direction`. `pull` is observation; `push` is mutation and changes the\n   gate posture.\n3. Read `resources`. Bind the concrete set: issues, PRs, or threads, plus the\n   filters that bound it (state, label, author, range). An unbounded \"all\"\n   becomes a blocker until reconfirmed.\n4. Read `scope`. A `push` requires `scope: write` backed by a real `repo:write`\n   grant. If a write is requested without that grant, stop and refuse rather\n   than downgrade to a silent pull.\n5. For a `pull`, list `resources_touched` by ref and leave `diff_summary` empty.\n6. For a `push`, build `diff_summary` as a list of intended mutations described\n   by ref and content digest, set `gates.approval_required: true`, and record\n   the approval reference once granted.\n7. Record `scope_used` as the narrowest scope the plan actually needs.\n8. Emit the smallest `sync_plan` an adapter can execute without widening\n   authority, and stop at the approval gate for any write.\n9. For cursor-backed loops, read the cursor projection first, append one sync\n   plan event with an idempotency key and expected version, and read back the\n   projection before the next turn.\n\n## Edge cases and stop conditions\n\n- **Missing repo or direction:** return `needs_agent`; the sync target is\n  undefined.\n- **Write requested without `repo:write`:** the request is `refused`; never\n  downgrade it to a silent pull. The plan stays unexecutable.\n- **Unbounded resource set:** mark a blocker and require an explicit filter\n  before a push.\n- **Approval absent or denied on a push:** keep the decision blocked and the\n  plan unexecutable; do not emit an executable mutation plan.\n- **Raw bodies, tokens, or PII in the resource payload:** reference by digest\n  and ref; if redaction would remove the evidence needed to plan, return\n  `needs_agent`.\n\n## Output schema\n\n```yaml\nsync_plan:\n  decision: ready | blocked | refused | needs_agent\n  repo: string                       # resolved owner\u002Fname target\n  direction: pull | push\n  resources_touched:                 # resources by ref; no raw bodies\n    - kind: issue | pr | thread\n      ref: string\n      selected_by: string            # the filter that selected it\n  diff_summary:                      # push only; empty for a pull\n    - ref: string\n      op: string\n      digest: string\n  scope_used: string                 # narrowest scope, e.g. repo:read or repo:write\n  gates:\n    approval_required: boolean       # true for any push\n    approval_ref: string             # set once the write is approved\n  blockers: array                    # conditions that must clear before execution\n```\n\n`sync_plan` is a composable object. Downstream skills read it as arbitrary JSON;\nthe fields above are the contract a reviewer and adapter rely on.\n\nThe receipt (`runx.receipt.v1`) carries the repo, direction, `scope_used`, the\nresource refs touched, and the approval reference for a write. It carries no\nissue bodies, comment text, tokens, or contributor PII; mutations appear as refs\nand digests only. Default scope is `repo:read` and a `pull` never escalates; a\n`push` needs an explicit `repo:write` grant plus human approval, so missing the\ngrant is a refusal and missing the approval keeps the plan blocked.\n\n## Worked example\n\nInput: \"Sync the open triage issues into the graph\" on `runxhq\u002Frunx`, with\n`direction: pull`, `scope: read`, and a filter of `state:open label:triage`.\n\nOutput: `decision: ready`; `direction: pull`; `scope_used: repo:read`;\n`resources_touched` lists the two matched issues by ref and the filter that\nselected each; `diff_summary` is empty and `gates.approval_required` is false.\nNo write grant is exercised and no approval gate is opened, because a pull is\npure observation. Had the same request asked to `push` labels without a\n`repo:write` grant, the run would refuse instead of reading.\n\nCursor-backed loop:\n\n```text\nread cursor -> plan bounded pull\u002Fpush -> append sync plan event -> read cursor\n```\n\nThe cursor event stores refs, filters, digests, and gate status. It does not\nstore raw issue bodies, OAuth tokens, or write payload secrets.\n\n## Inputs\n\n- `repo` (required): target repository as `owner\u002Fname`.\n- `direction` (required): `pull` or `push`.\n- `resources` (required): structured selector for `issues`, `prs`, or `threads`\n  plus filters (state, label, author, range).\n- `scope` (required): `read` or `write`. A `push` needs `write` backed by a real\n  `repo:write` grant.\n",{"name":5,"runx":24,"description":7},{"category":25},"ops","main","fe90232960df6d9653e72e8d024a9d859e1ae524","skills\u002Fgithub-sync","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx","https:\u002F\u002Frunx.ai","https:\u002F\u002Fgithub.com\u002FZachDreamZ","https:\u002F\u002Fagentapigw.dpdns.org","Building Agent API Gateway — structured web data for AI agents. Consistent until I make it.","2026-07-17 04:21:10",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ZachDreamZ\u002Frunx --skill github-sync",{"tool":41,"command":42},"bunx","bunx skills add ZachDreamZ\u002Frunx --skill github-sync",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ZachDreamZ\u002Frunx --skill github-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002FSKILL.md",true,[49,55,59,63,67,71],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"fixtures\u002Fmissing-direction-needs-agent.yaml","REFERENCE","参考文档",239,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002Ffixtures\u002Fmissing-direction-needs-agent.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"fixtures\u002Fplan-and-append-cursor-sqlite.yaml",1460,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002Ffixtures\u002Fplan-and-append-cursor-sqlite.yaml",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"fixtures\u002Fpull-open-issues-read-only.yaml",900,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002Ffixtures\u002Fpull-open-issues-read-only.yaml",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"fixtures\u002Fpush-labels-gated-on-approval.yaml",1069,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002Ffixtures\u002Fpush-labels-gated-on-approval.yaml",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"fixtures\u002Fwrite-without-grant-refused.yaml",797,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002Ffixtures\u002Fwrite-without-grant-refused.yaml",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"X.yaml",3801,"https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-sync\u002FX.yaml",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79A3PCWPN0YG6XG3X2YWGY4","zapier-handoff","Validate a runx execution context and hand off a governed payload to a Zapier Catch Hook with scoped auth, idempotency, and receipt expectations.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-handoff\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79A3JPAJVDGX5AGXKHB6M58","x402-pay","Execute a governed x402 payment by delegating to the canonical spend flow with the x402 runtime path selected.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fx402-pay\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79A3H7HHAQ5B4QCA0S2PPA3","work-plan","Decompose a build objective into governed runx execution steps.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fwork-plan\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M79A3ESQDZ6AQ3QASKYGYTNB","web-fetch","Fetch and extract one web source within an explicit allowlist, returning the content by digest with full provenance.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweb-fetch\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M79A3C9NE99P24Q2QGG5236D","weather-forecast","Normalize provider weather evidence into an action-safe forecast packet with provenance, uncertainty, and stop conditions for downstream agents.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweather-forecast\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M79A38RWEA5NHMYBQZPCVPQP","vuln-triage","Triage dependency or ecosystem vulnerability risk into remediation and advisory packets, grounding on verified CVE evidence when it is supplied.","https:\u002F\u002Fgithub.com\u002FZachDreamZ\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fvuln-triage\u002FSKILL.md",[],[]]