sancho-fetch: Skill for Claude Code

.agents/skills/sancho-update/SKILL.md

sancho-update is a skill for Claude Code from panth-net/sancho-fetch. It costs 25 tokens per session (1,390 once invoked), scanned A, original, MPL-2.0.

A skill guide for Sancho Fetch, a local tool that checks, previews, applies, and rolls back managed updates.

In plain words
What is it for?
Use it to inspect available updates, review them, apply them, roll them back, and handle files customised by the user.
Why use it?
It provides a defined update process that protects personal workspace changes and explains what will change.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is panth-net/sancho-fetch's own configuration. It tells Claude Code how to work on sancho-fetch 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 sancho-fetch configures →

Reuse

Borrowing it

Nothing to install: this file belongs to panth-net/sancho-fetch. 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/panth-net/sancho-fetch/master/.agents/skills/sancho-update/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/panth-net/sancho-fetch

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 sancho-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/panth-net/sancho-fetch/sancho-update/github.svg)](https://agentmods.dev/skills/panth-net/sancho-fetch/sancho-update)
Your own site
<a href="https://agentmods.dev/skills/panth-net/sancho-fetch/sancho-update"><img src="https://agentmods.dev/badge/skills/panth-net/sancho-fetch/sancho-update/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 sancho-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/panth-net/sancho-fetch/sancho-update"><img src="https://agentmods.dev/badge/skills/panth-net/sancho-fetch/sancho-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,390 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.00025 $0.01390
Opus 5.5 $0.00010 $0.00556
Sonnet 5.5 $0.00005 $0.00278
Haiku 4.5 $0.00003 $0.00139

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

Security

Grade A, and why

sancho-update 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 2mo 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.

.agents/skills/sancho-update/SKILL.md · 104 lines

How it starts

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

Sancho Fetch update skill

You are operating the Sancho update flow. Sancho provides deterministic check, preview, apply, and rollback primitives. The agent explains changes, preserves user work, and migrates deliberate managed-file edits into custom/<type>/<module>/ before applying upstream updates.

Read CLAUDE.md or AGENTS.md before doing anything. Sancho never requires raw Git commands. How new versions arrive depends on package.install_source from sancho update check:

  • "package" (the normal case -- installed from PyPI): you run uv tool upgrade sancho-fetch, which pulls the newest release. No folder, no Git, nothing for the user to download.
  • "checkout" (developers working from the repository): the user pulls new commits with GitHub Desktop, then you reinstall the sancho command from that checkout when update check says so.

Either way, sancho update apply migrates the workspace afterwards.

Required Flow

  1. Check mode before replying with sancho mode --json. If the command is missing or fails during first setup, default to developer mode off and use plain English. Do not open or read .env just to determine mode.
  2. Run sancho paths --json to confirm the active workspace. If the payload contains update_hint, relay it to the user in one plain sentence before continuing. If the sancho command is missing, fails, or lacks current commands such as setup, paths, ready, or mode, and terminal access is available, do the setup work yourself: run uv tool install sancho-fetch, then sancho setup --json. Use --path <folder> --switch-workspace only when the user explicitly wants to change an existing registered workspace. (Working from a source checkout instead? Run installers\setup.bat on Windows or bash installers/setup.sh on macOS/Linux from the repo root.) Then run sancho ready --json and retry sancho paths --json. If workspace_source == "none", run setup or sancho library register <path-to-workspace-folder> yourself. Only ask the user for help when the OS blocks execution, permissions fail, or an installer window requires human approval.
  3. Run sancho update check --workspace <ws> --json. Read every relevant field: package.install_source, package.reinstall_needed, modules[].status, files_with_local_edits, custom_override_active, env_present, gitignore_covers_generated, is_git_repo, git_dirty, and personal_paths_touched_by_update.
  4. If package.reinstall_needed is true, the installed sancho command is out of date. Run the exact package.reinstall_command yourself -- for install_source == "package" that is uv tool upgrade sancho-fetch; for "checkout" it is an uv tool install --force ... on the checkout path. Then re-run sancho update check and continue with the fresh output.
  5. Run sancho update preview --workspace <ws> --json before any apply. For a single module, pass the module ID after preview. Inspect risk_level, recommended_action, files_to_replace, files_with_local_edits, and personal_paths_touched.
  6. Optionally run git status for read-only context. Never run git pull, git fetch, git reset, git clean, git checkout --, force-push, or any destructive Git command.
  7. For each module with files_with_local_edits, inspect the edited files. If the edit looks intentional, propose moving it into custom/<type>/<module>/ before applying and record that with sancho repair note --module <id> --summary "Migrated <file> into custom override before update". If it looks accidental, ask the user before discarding it.
  8. Explain what will change in module-level language. Include updated modules, skipped modules, local edits, active custom overrides, and any risk.
  9. Ask before applying unless the user explicitly requested a safe apply.
  10. Run sancho update apply --workspace <ws> --json. Use --allow-local-edits only when the user approved. Record backup_id, backup_dir, applied/skipped modules, changed paths, and rollback_command.
  11. Run sancho doctor --workspace <ws> --json after apply.
  12. Read logs/update-log.jsonl and update-backups/<backup_id>/update-result.md before claiming success.
  13. Summarize updated, skipped, and preserved items. Include the rollback command.

Read the full file on GitHub · 104 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. 2mo ago First seen · 104 lines · 25 tokens per session scan A 530f453da836

Subscribe to this mod's changes

sancho-update is a skill published in the GitHub repository panth-net/sancho-fetch (0 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 25 tokens to every session and 1,390 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

sancho-update compared with skills from other repositories

sancho-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sancho-updatepanth-net/sancho-fetchSkill01mo agoMPL-2.0A25Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k5d 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