daodan: Skill for Claude Code

.agents/skills/upstream-sync/SKILL.md

upstream-sync is a skill for Claude Code, Codex from acaprino/daodan. It costs 155 tokens per session (5,368 once invoked), scanned A, original, MIT.

A maintenance guide for plugins copied from other code repositories, including how to compare local files with their upstream versions.

In plain words
What is it for?
Use it when checking upstream updates, classifying file differences, fetching repository content, and merging selected changes.
Why use it?
It reduces the risk of overwriting useful local changes or missing important updates from the original repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is acaprino/daodan's own configuration. It tells Claude Code and Codex how to work on daodan itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything daodan configures →

Reuse

Borrowing it

Nothing to install: this file belongs to acaprino/daodan. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/acaprino/daodan/master/.agents/skills/upstream-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/acaprino/daodan

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 upstream-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/acaprino/daodan/upstream-sync/github.svg)](https://agentmods.dev/skills/acaprino/daodan/upstream-sync)
Your own site
<a href="https://agentmods.dev/skills/acaprino/daodan/upstream-sync"><img src="https://agentmods.dev/badge/skills/acaprino/daodan/upstream-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 upstream-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/acaprino/daodan/upstream-sync"><img src="https://agentmods.dev/badge/skills/acaprino/daodan/upstream-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 56
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 57
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 58
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 60
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 61
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 62
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00155 $0.05368
Opus 5.5 $0.00062 $0.02147
Sonnet 5.5 $0.00031 $0.01074
Haiku 4.5 $0.00015 $0.00537

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

Security

Grade A, and why

upstream-sync scanned grade A with 1 finding 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- `render-graphs.js` was converted to ESM upstream, which is correct there (`"type": "module"` in the upstream `package.json`) and broken here: the export ships no `package.json` next to it, so `.js` is CommonJS and `imp
.agents/skills/upstream-sync/SKILL.md · 140 lines

How it starts

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

Upstream-synced plugins

Some plugins are ported from external repositories and should be kept in sync with their upstream source. When asked to update one of these plugins, fetch the latest content from the upstream URL using gh api and apply any changes, then follow the standard marketplace update workflow in AGENTS.md.

Local sync targets are neutral kernels: plugin.toml, roles/, workflows/ with TOML sidecars, skills/, contracts/ and policies/. Host-specific mechanisms belong in adapters/; exports/ and root catalogs are generated. Upstream agents/ and commands/ paths describe that upstream's layout, not local source.

Nothing listed under "Deliberately not vendored" in AGENTS.md belongs in the table below. Those areas were removed and delegated on purpose; do not add rows for them on a future pass. The former obra/superpowers export row was retired with the VS Code extension and stays retired.

Default upstream-update strategy

Delegated executable updates

Worktrunk is maintained as an external executable through worktree-manager:worktree-method, references/upstream.md. Include Worktrunk in generic upstream-update requests and requests naming it. Run its bundled worktrunk_runtime.py upstream-check, compare the pinned release with upstream, and follow that method's isolated compatibility probes before advancing references/upstream.json or activating a binary. Preserve original Daodan catalog, review and authorization behavior. Report discovered, supported and installed versions separately. No Worktrunk source is copied and no copied-source sync-table row is added; a new release alone never authorizes bypassing tests or silently replacing the supported runtime. This is on-demand dependency maintenance, not a scheduled monitor.

Copied-source updates

When the user asks for "upstream updates" (or similar), this is the default workflow. Do not blindly overwrite local files - most syncs need targeted merging because local has legitimate customizations.

Read the full file on GitHub · 140 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. 9d ago Changed · +2 lines a743323b7900
  2. 10d ago Changed · +4 lines fccdf9c1d4a1
  3. 11d ago Changed · +23 lines f2220cc36a20
  4. 13d ago Changed 43f0f35b826f
  5. 18d ago Changed a7dba6947aba
  6. 20d ago Changed · -1 lines bce9df670ffd
  7. 23d ago Changed 205c7fcb0a59
  8. 24d ago Changed · +9 lines 910dd89a794a
  9. 1mo ago Changed · +8 lines 8c48140f6847
  10. 2mo ago First seen · 95 lines · 155 tokens per session scan A 40d069f7a6d5

Subscribe to this mod's changes

upstream-sync is a skill published in the GitHub repository acaprino/daodan (9 stars, last pushed 4d ago), licensed MIT. It adds 155 tokens to every session and 5,368 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

upstream-sync compared with skills from other repositories

upstream-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upstream-syncacaprino/daodanSkill94d agoMITA155Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6kyesterdayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code