Skip to content
Back to skills

Sync Skill Upstreams

ASecurity

Check upstream revisions or import reviewed changes into agent-skills hard forks. Preserve local changes, licenses, and invocation policy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add bolens/agent-skills --skill sync-skill-upstreams --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sync Skill Upstreams?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sync Skill Upstreams
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bolens-sync-skill-upstreams/badge)](https://www.skillsdirectory.com/skills/bolens-sync-skill-upstreams)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sync-skill-upstreams
description: Check upstream revisions or import reviewed changes into agent-skills hard forks. Preserve local changes, licenses, and invocation policy.
---

# Sync skill upstreams

Work in the canonical `agent-skills` repository. Read `UPSTREAMS.json`, the target `UPSTREAM.md`, its `SKILL.md`, repository guidance, and commits since its last audited upstream update.

## Audit

Run `python3 scripts/audit-upstreams.py` to compare exact audited commits with tracked branches. An advanced branch is only an update candidate. Do not change the audited reference until its subtree has been reviewed and imported.

Clone or fetch the candidate into an isolated temporary directory. Review the complete old-upstream-to-new-upstream diff, then compare the candidate subtree with the maintained fork. Check executable code, dependencies, permissions, network access, destructive behavior, trigger expansion, host assumptions, licenses, generated artifacts, and renamed or removed paths. Use `sensitive-info-audit` on imported content.

## Import

Update only the upstream-owned subtree. Preserve every `preserve_paths` entry and reapply each documented `local_changes` item from `UPSTREAMS.json`. Treat conflicts as review work, not permission to discard either side. Keep `UPSTREAM.md` generated by this repository.

Before copying a subtree, read its license and the applicable ancestor licenses
at the exact candidate revision. Check exceptions for bundled code and assets.
Retain the full license, copyright, and applicable NOTICE text inside the copied
skill, even when upstream stores them at its repository root. Preserve the
recorded `license.path` across imports and verify its bytes against
`license.upstream_path` at the audited revision. Update the SPDX identifier and
SHA-256 only after reviewing changed terms. A provenance link or hard-fork label
does not replace a required license copy. Keep modification notices in changed
files when required, including Apache-2.0 files. If the source has no applicable
license or its terms do not permit the intended use, leave that import pending.

For independently bundled material, retain its own notices and record the scope
in the skill's third-party notices. Check generated artifacts as well as source
files. Do not assume the parent project's license grants rights to brand marks
or overrides share-alike, non-commercial, or source-distribution conditions.

Run the upstream skill's focused checks when they are self-contained, followed by `make check`. Record unavailable monorepo-only checks precisely. After the candidate passes, update `audited_ref`, regenerate provenance, inspect the complete repository diff, and commit the upstream import separately from unrelated local changes.

Never let the scheduled audit or a dependency bot merge upstream skill content automatically. Publishing, pushing, or changing installed links still requires the authority granted by the user's request.

When the requested import also includes PR follow-through or release preparation or publication, automatically use [babysit](../babysit/SKILL.md) once the PR exists or release preparation begins. Carry the reviewed upstream diff, preserved local changes, and check evidence into that workflow. A drift audit or local import alone does not start delivery.

Files in this skill

  • SKILL.md3.5 KB
  • UPSTREAM.md436 B
  • agents/openai.yaml253 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.