[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EEJDF3JTJ4PD9JYPC4G2HA":3,"skill-same:01M7EEJDF3JTJ4PD9JYPC4G2HA":110},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EEJDF3JTJ4PD9JYPC4G2HA","create-scoop-manifest",null,"Create and maintain Scoop bucket manifests (appname.json inside a bucket directory) for Windows apps, plus the install, verification, health-check and troubleshooting work that surrounds them. Use this skill whenever the user says \"create a scoop manifest\", \"write a manifest for that app\", \"add this to my bucket\", \"submit a PR to scoop-extras \u002F main \u002F versions\", \"write checkver \u002F autoupdate\", \"is this app packaged yet \u002F how do I install it\", \"the packages in my bucket are outdated \u002F the hash is wrong \u002F audit this bucket\", \"sync with BucketTemplate \u002F bump GitHub Actions\", or \"scoop errors out \u002F won't install \u002F extraction fails \u002F missing hash \u002F package not found \u002F downloads are slow\" - even if they never say the word \"scoop\". Trigger on anything involving Windows app manifests (NSIS .exe \u002F MSI \u002F portable .zip), bucket repositories, portable software installation, or Scoop's own configuration and troubleshooting. Projects that only ship macOS\u002FLinux artifacts are out of scope.","luestr\u002Fskills","luestr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F152216177?v=4","01M7EEH85TQXC26ZZTNFPWV5E9","可莉","01M7EEH86EYXTVTCERP22VMFXX",94,"MIT","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: create-scoop-manifest\ndescription: >\n  Create and maintain Scoop bucket manifests (appname.json inside a bucket directory) for Windows apps, plus the\n  install, verification, health-check and troubleshooting work that surrounds them.\n  Use this skill whenever the user says \"create a scoop manifest\", \"write a manifest for that app\",\n  \"add this to my bucket\", \"submit a PR to scoop-extras \u002F main \u002F versions\", \"write checkver \u002F\n  autoupdate\", \"is this app packaged yet \u002F how do I install it\", \"the packages in my bucket are\n  outdated \u002F the hash is wrong \u002F audit this bucket\", \"sync with BucketTemplate \u002F bump GitHub\n  Actions\", or \"scoop errors out \u002F won't install \u002F extraction fails \u002F missing hash \u002F package not\n  found \u002F downloads are slow\" - even if they never say the word \"scoop\".\n  Trigger on anything involving Windows app manifests (NSIS .exe \u002F MSI \u002F portable .zip), bucket\n  repositories, portable software installation, or Scoop's own configuration and troubleshooting.\n  Projects that only ship macOS\u002FLinux artifacts are out of scope.\nmetadata:\n  language: en-US\n---\n\n# Scoop Manifest\n\nScoop is the command-line package manager for Windows: it installs into your user directory, needs\nno admin rights, leaves no registry debris, keeps PATH clean, and resolves dependencies. Scoop\nitself is a pile of PowerShell scripts - **what gets installed and how is entirely described by the\nJSON manifest in a bucket**, which is why manifest authoring and maintenance are this skill's centre\nof gravity.\n\n**Core mental model:** Linux-style package management (the `apt-get` \u002F `brew` equivalent), except the\npackage definition is plain JSON that you can write, host and maintain yourself.\n\n## Three tracks - decide which one you're on first\n\n| What the user wants | Track | Entry point |\n|---|---|---|\n| **Write a manifest for an app, add it to a bucket, submit a PR** | **B - authoring (primary)** | §B below |\n| **Audit, repair, or template-sync an existing bucket** | **C - maintenance (primary)** | §C below |\n| Install software, set up an environment, update, uninstall, switch versions, proxy, global install | A - using Scoop (supporting) | §A below |\n\n§B and §C are the body of this skill. §A carries only the usage knowledge you need while authoring\nand maintaining manifests - you cannot verify a manifest you wrote without being able to\n`scoop install` it, `scoop update`, and read what `scoop info` prints.\n\nDecide by asking whether the user has a bucket repository. Yes → B or C. No, they just want software\ninstalled → A.\n\n---\n\n# §A Using Scoop: install and daily management\n\n## A1 Prerequisites (fix these before installing anything)\n\n- PowerShell 5.1+ (`$PSVersionTable.PSVersion` at least 5.1). PowerShell 7 is better and also works\n  around the antivirus false positive on `get.scoop.sh` under 5.1.\n- Language Mode must be `FullLanguage`; ExecutionPolicy must be `RemoteSigned`, `Unrestricted` or\n  `ByPass`.\n- **Install from a non-admin PowerShell.** Installation from an elevated console is disabled by\n  default for security; you must opt in with `-RunAsAdmin`.\n\n```powershell\nSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser\nirm get.scoop.sh | iex\n```\n\nDefault location is `C:\\Users\\\u003Cusername>\\scoop`. Custom directories, global directory, cache\ndirectory, proxy, CI, silent install and admin install are all covered in\n`references\u002Finstall-and-setup.md`.\n\n## A2 First thing after installing\n\n```powershell\nscoop install git 7zip\nscoop bucket add extras\n```\n\n`git` is a hard dependency for adding buckets (without it `scoop bucket add` fails outright); `7zip`\nunpacks the vast majority of packages; `innounp` and `dark` handle InnoSetup and WiX installers.\n`scoop checkup` verifies these plus NTFS, long paths and Developer Mode for you.\n\n## A3 Everyday commands (full option list in `references\u002Fcli-reference.md`)\n\n| Task | Command |\n|---|---|\n| Install | `scoop install \u003Capp>` (`-g` global, `-i` skip dependencies, `-k` bypass cache, `-s` skip hash check, `-a \u003Carch>` pick architecture) |\n| Install a specific version | `scoop install \u003Capp>@\u003Cversion>` |\n| Install from a URL or local file | `scoop install \u003Curl-or-path>.json` |\n| Uninstall | `scoop uninstall \u003Capp>` (`-p` also removes persisted data) |\n| Update Scoop itself + manifests | `scoop update` |\n| Update one \u002F all apps | `scoop update \u003Capp>` \u002F `scoop update *` |\n| List installed | `scoop list [query]` |\n| Search | `scoop search \u003Ckeyword>` (no argument lists everything; the query is a regex unless the sqlite cache is on) |\n| Show details | `scoop info \u003Capp>` (`-v` shows full paths and URLs) |\n| See what's outdated | `scoop status` (`-l` local only, no network) |\n| Remove old versions | `scoop cleanup *` (`-k` also clears stale downloads) |\n| Clear the download cache | `scoop cache rm *` |\n| Pin a version | `scoop hold \u003Capp>` \u002F `scoop unhold \u003Capp>` |\n| Switch versions | `scoop reset \u003Capp>@\u003Cversion>` (only between **already installed** versions) |\n| Backup \u002F restore | `scoop export > scoopfile.json` (`-c` includes config) \u002F `scoop import scoopfile.json` |\n| Find a shim's real path | `scoop which \u003Ccmd>` |\n| Open the homepage | `scoop home \u003Capp>` |\n| Show dependency order | `scoop depends \u003Capp>` |\n\nAlso available: `alias` (custom subcommands), `cat` (print a manifest), `create` (interactive manifest\ngeneration), `download` (download into the cache and verify hashes without installing), `prefix`\n(print the install path), `shim` (add\u002Frm\u002Flist\u002Finfo\u002Falter), `virustotal` (look up a hash or URL),\n`cache show|rm`, `checkup`.\n\n## A4 Three user-level rules that keep biting people\n\n1. **`scoop status` is only as fresh as your local buckets.** It compares the installed version\n   against the *local* manifest, so without `scoop update` it reports stale information. `scoop\n   update` is also auto-triggered every 3 hours during install\u002Fupdate\u002Fdownload\u002Fvirustotal.\n2. **Multiple versions coexist via `reset`, not reinstall.** `scoop install python python27` then\n   `scoop reset python27` switches; `scoop reset python` returns to the newest installed version.\n   `scoop list` only shows the newest version - `scoop info \u003Capp>` is what lists them all.\n3. **`current` is a directory junction, not a real directory.** Every external tool (file\n   associations, IDEs, shortcuts) must point at `apps\\\u003Capp>\\current\\...` - never at a version\n   directory, and never at a shim (see the Open With section of `references\u002Ftroubleshooting.md`).\n\n## A5 Common configuration (`scoop config`, stored in `~\u002F.config\u002Fscoop\u002Fconfig.json`)\n\n```powershell\nscoop config proxy currentuser@default          # system proxy with the current Windows credentials\nscoop config proxy 127.0.0.1:7890               # anonymous, explicit proxy\nscoop config rm proxy                           # bypass the system proxy\nscoop install aria2; scoop config aria2-enabled true\nscoop config aria2-warning-enabled false        # silence the aria2 nag\nscoop config use_sqlite_cache true              # speeds up search\u002Fshim\nscoop config use_external_7zip true             # use the 7z on PATH\nscoop config no_junction true                   # stop using the current alias\nscoop config default_architecture 64bit\nscoop config gh_token \u003Ctoken>                   # avoids checkver rate limits, reaches private repos\nscoop config debug true                         # turn on when troubleshooting\n```\n\nEvery setting (`scoop_branch`, `root_path`, `global_path`, `private_hosts`, `use_isolated_path`,\n`ignore_running_processes`, and the rest) is documented in `references\u002Fcli-reference.md`.\n\n## A6 Bucket basics\n\nA bucket is a Git repository full of JSON manifests. `main` ships with Scoop. Known community\nbuckets: `extras` `versions` `nirsoft` `sysinternals` `php` `nerd-fonts` `nonportable` `java`\n`games`; run `scoop bucket known` for the authoritative list.\n\n```powershell\nscoop bucket add extras                                          # known bucket, no URL needed\nscoop bucket add my-bucket https:\u002F\u002Fgithub.com\u002F\u003Cuser>\u002Fmy-bucket    # custom bucket\nscoop bucket list\nscoop bucket rm \u003Cname>\n```\n\n---\n\n# §B Authoring: write a manifest\n\nScoop installs apps from `bucket\u002F\u003Cappname>.json`. The goal is a version-pinned manifest with working\n`checkver` + `autoupdate`, so Scoop tracks new releases forever after without anyone hand-editing\n`version`\u002F`url`\u002F`hash`.\n\n**Decide whether this is even possible first.** The project must publish a Windows binary (NSIS\n`.exe`, MSI, portable `.zip`\u002F`.7z`) behind a stable URL (usually GitHub Releases). Projects that only\nship macOS\u002FLinux artifacts are not a Scoop candidate - say so and stop.\n\nComplete field reference (license forms, architecture blocks, persist, psmodule, shortcuts,\ninstaller): `references\u002Fmanifest-reference.md`. Every checkver strategy, every hash extraction mode,\nevery substitutable variable: `references\u002Fautoupdate-reference.md`.\n\n## B1 Probe the source - never guess URLs\n\n```bash\ngh repo view \u003Cowner>\u002F\u003Crepo> --json url,description,licenseInfo -q '{homepage:.url, description:.description, license:.licenseInfo.spdxId}'\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Freleases\u002Flatest --jq '{version:.tag_name, assets:[.assets[]|{name,size,browser_download_url,digest}]}'\n```\n\nFor non-GitHub sources: `curl ... | jq` for JSON endpoints, `curl ... | htmlq \"a[href*='.exe']\"\n--attribute href` for download pages. You need the version (**strip any leading `v`**), the Windows\nasset names (split by 64bit\u002Farm64\u002F32bit), the homepage, the description, and the license.\n\nFor Node\u002FElectron projects also read `package.json`: `build.productName`,\n`build.win.executableName`, and the `build.win.artifactName` template. Other ecosystems: look at\n`Cargo.toml`, `pyproject.toml`, `*.spec`, `installer\u002F`.\n\n## B2 Get version \u002F URL \u002F sha256 - without downloading the artifact\n\nEvery GitHub release asset carries a `digest: sha256:\u003Chex>` field, and **that is the hash Scoop\nwants**. Downloading a 500 MB installer just to hash it is the single biggest waste of time in this\nworkflow.\n\n```bash\nnode \u003Cskill>\u002Fscripts\u002Ffetch-windows-assets.mjs \u003Cowner>\u002F\u003Crepo> [tag]\n# equivalent implementation when node is not installed\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Ffetch-windows-assets.ps1 \u003Cowner>\u002F\u003Crepo> [tag]\n```\n\nIt prints the tag, the version with `v` stripped, and each Windows asset's URL \u002F size \u002F sha256.\nNon-GitHub sources have no digest, so download once and hash it:\n`\u003Cskill>\u002Fscripts\u002Fhashurl.ps1 \u003Curl>`.\n\n## B3 Pick the install shape (this decides the manifest)\n\n```text\nportable .zip\u002F.7z only        -> use it directly, add extract_dir if needed   (preferred)\nboth .zip and NSIS .exe       -> pick the .zip\nNSIS .exe only                -> two routes:\n   a) silent install works    -> set installer.file + args, let Scoop run it\n   b) \u002FS pops a GUI or fails   -> pre_install + two-stage 7z extraction (see references\u002Finstallers-and-extraction.md)\nMSI                           -> do not write an msi block (deprecated); extract it like a zip\nInnoSetup                     -> \"innosetup\": true, Scoop unpacks it with innounp\nWiX \u002F dark                    -> unpacked via the dark helper\n```\n\nInspect an NSIS payload with `7z l \u003Cfile>.exe`; electron-builder output reveals\n`$PLUGINSDIR\\app-64.7z` (the real application lives inside). A `Type = PE` report from `7z l` does\nnot mean it is unextractable - the embedded 7z stream is often right there in the same listing.\n\nThe `#\u002Fdl.7z` URL suffix is the cheapest escape hatch: it makes Scoop treat the installer as a 7z\narchive, skipping execution and UAC entirely. The full recovery procedure for NSIS silent-install\nfailures (including the `$PLUGINSDIR` quoting trap, `$dir`\u002F`$fname` scoping, and a local reproduction\nharness) is in `references\u002Finstallers-and-extraction.md`.\n\n## B4 Write the JSON\n\nRequired: `version` `description` `homepage` `license` `url` `hash`. Field order, 4-space indent and\nthe single-element-array style rule are in `references\u002Fmanifest-reference.md`.\n\n**The one mistake that hurts most:** the static `url` uses a **literal version**, while\n`autoupdate.url` uses `$version`. Get it backwards and every install 404s.\n\n```json\n{\n    \"version\": \"1.2.3\",\n    \"description\": \"One-line description without the app name\",\n    \"homepage\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\",\n    \"license\": \"MIT\",\n    \"architecture\": {\n        \"64bit\": {\n            \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv1.2.3\u002Fapp-x64.exe#\u002Fapp.exe\",\n            \"hash\": \"\u003Csha256>\"\n        },\n        \"arm64\": {\n            \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv1.2.3\u002Fapp-arm64.exe#\u002Fapp.exe\",\n            \"hash\": \"\u003Csha256>\"\n        }\n    },\n    \"bin\": \"app.exe\",\n    \"checkver\": \"github\",\n    \"autoupdate\": {\n        \"architecture\": {\n            \"64bit\": { \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv$version\u002Fapp-x64.exe#\u002Fapp.exe\" },\n            \"arm64\": { \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv$version\u002Fapp-arm64.exe#\u002Fapp.exe\" }\n        }\n    }\n}\n```\n\nThe four source patterns (GitHub release \u002F CDN with tokens \u002F mirror-derived URL \u002F signed rotating\nlink) each have a template in `references\u002Fautoupdate-reference.md`.\n\n**`checkver` is bound to `homepage`.** `\"checkver\": \"github\"` reads the repository out of `homepage`,\nso homepage must be the GitHub repo URL - or, when the homepage is a product site, use\n`\"checkver\": { \"github\": \"\u003Crepo url>\" }`. Pairing a product page with `\"github\"` makes checkver fail\noutright.\n\n## B5 Verify - run these in order, do not skip ahead\n\n```bash\n# 0. Offline static checks: fields, hash shape, whether autoupdate.url reproduces the static url\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Fmanifest-lint.ps1 bucket\u002F\u003Cappname>.json\n\n# 1. Version detection\npwsh -NoProfile -Command \"cd '\u003Cbucket>'; .\\bin\\checkver.ps1 \u003Cappname>\"\n\n# 2. Install test\nscoop install '\u003Cbucket>\\bucket\\\u003Cappname>.json'\n\u003Cappname> --version\nscoop uninstall \u003Cappname>\n```\n\nWithout Scoop installed, at minimum: `node -e \"require('.\u002Fbucket\u002F\u003Cappname>.json')\"` plus a `curl -I`\nthat returns 200 on the `url`.\n\n`checkver -u` (forced update) proves autoupdate can write back `version`\u002F`url`\u002F`hash`. Whether the\n**hash was actually computed** is a separate question: set the hash to 64 zeros, run `checkver -f`,\nand see whether it comes back as your committed value. `checkver -f` alone proves nothing - with a\ncorrect hash it just rewrites the same value in place.\n\n## B6 Commit\n\nCommit message for a new manifest: `Add \u003Cappname>`. PR title formats for the public buckets, the\n`\u002Fverify` comment, field ordering, and the rule that Excavator rejects version-bump-only PRs are all\nin `references\u002Fbucket-workflows.md`.\n\n---\n\n# §C Maintenance: audit, repair, template sync\n\n## C1 Audit (read-only, report before touching anything)\n\n```bash\npwsh -NoProfile -File tools\u002Faudit.ps1            # full: checkver -s + checkhashes + lint + autoupdate + sources\npwsh -NoProfile -File tools\u002Faudit.ps1 -Offline   # seconds: lint + static autoupdate checks only\n```\n\nWithout a local `audit.ps1`, use the equivalent combination: `checkver * -s` (outdated),\n`checkhashes` (mismatches, really downloads, slow), static lint (this skill's\n`scripts\u002Fmanifest-lint.ps1`), and `checkver` (is the source still alive).\n\n**Process:** run it → group the findings by check (outdated \u002F hash mismatch \u002F lint \u002F autoupdate \u002F\nsource) → **list the affected apps and ask before fixing** → only change anything after explicit\napproval. Omit empty sections; put `warn` level rows after the errors.\n\n## C2 Repair (the fixes are not interchangeable)\n\n| Check | Fix |\n|---|---|\n| `outdated` | `bin\u002Fcheckver.ps1 \u003Capp> -u` (rewrites version\u002Furl\u002Fhash) |\n| `hash` mismatch | `bin\u002Fcheckhashes.ps1 \u003Capp> -Update`, or `checkver \u003Capp> -u -f` |\n| hash missing \u002F empty | compute with `\u003Cskill>\u002Fscripts\u002Fhashurl.ps1 \u003Curl>` and write it by hand |\n| other lint, `autoupdate:mismatch` | edit the manifest per the rules |\n| `source:*` \u002F checkver no longer matches | upstream changed; report it and let a human decide |\n\nThree hard rules (all confirmed by experiment):\n\n- **A hash error at the current version cannot be fixed by `checkver -u`** - it prints the version,\n  sees no change, and `continue`s before ever reaching autoupdate.\n- **An empty hash cannot be repaired automatically** - `checkver -u` falls into a branch that\n  requires an `architecture` block, and `checkhashes -Update` hits `Get-Member` on `$null` when that\n  block is absent. Compute it with `hashurl.ps1` instead.\n- **Writing only `hash` and no `url` inside `autoupdate` makes `checkver -u` overwrite a correct\n  hash with `\"\"` and exit 0.** This actively destroys data, which makes it worse than an empty hash.\n\nWhen an app is both outdated and mismatched: `checkver -u` first, then `checkhashes -Update` for\nwhatever is still wrong.\n\nRe-run the checks for each app after fixing it. If `checkver -u` fails (regex no longer matches, say),\nstop and report instead of working around it. Once everything passes, ask whether to normalise with\n`formatjson.ps1` and whether to stage + commit.\n\n## C3 Sync with BucketTemplate\n\n```powershell\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Ftemplate-drift.ps1 -RepoRoot \u003Cbucket>\n# a repo that carries its own copy can use that instead\npwsh -NoProfile -File .claude\u002Fskills\u002Fscoop-bucket-sync\u002Fscripts\u002Ftemplate-drift.ps1\n```\n\nIt reports the template's HEAD commit (which states upstream's current policy, e.g.\n`ci: use pinned actions`), the files that are missing or differ, and the files this repo has that the\ntemplate lacks. **`bucket\u002F` and `deprecated\u002F` belong to this repo and are not drift**; neither are\n`CLAUDE.md`, `README`, `.gitignore`, `docs\u002F`, `.claude\u002F` or `tools\u002F`.\n\nClassify before touching anything: pinned vs floating action refs, stale action versions, workflow\nstructure (an `if:` that decides whether the whole job runs belongs on the job, not on a step), and\nscaffolding files. Prefer copying whole files, then re-apply repo-specific values. Verify with\n`actionlint`, a YAML parse, and `gh api repos\u002F\u003Co>\u002F\u003Cr>\u002Fcommits\u002F\u003Ctag> --jq .sha` against the digest you\npinned. Commit with `ci: Sync workflows and tooling with BucketTemplate`, stage only the tooling\npaths, and do not push.\n\nFull rules and the \"these differences must be preserved\" list: `references\u002Fbucket-audit-and-sync.md`.\n\n---\n\n# Troubleshooting entry point\n\nRun `scoop checkup` first, then consult `references\u002Ftroubleshooting.md` (execution policy, package\nnot found, missing hash, extraction failures, NSIS stuck on a GUI, slow downloads, proxy auth, NTFS\nrequirement, long paths, Developer Mode, antivirus real-time scanning, install failures and version\nconflicts, broken `current` links). Always diagnose in the order environment → package → upstream\nsource; never start by editing the manifest.\n\n## Scripts and references\n\n| File | Purpose |\n|---|---|\n| `scripts\u002Ffetch-windows-assets.ps1` | Version, URLs and sha256 from the GitHub Release API (no download); use this when node is unavailable |\n| `scripts\u002Ffetch-windows-assets.mjs` | The same thing, Node implementation |\n| `scripts\u002Fhashurl.ps1` | SHA256 for one or more URLs (strips the `#\u002F...` fragment, sends Scoop's UA) |\n| `scripts\u002Fmanifest-lint.ps1` | Offline static checks: fields, hash shape, architecture pairing, autoupdate.url reproduction, named-group casing; `-Strict` promotes field ordering to errors |\n| `scripts\u002Ftemplate-drift.ps1` | Compare against ScoopInstaller\u002FBucketTemplate |\n| `assets\u002Fapp-name.json.template` | Starting point for a new manifest (official field order) |\n| `references\u002Finstall-and-setup.md` | Every installer parameter, env vars, CI, silent install, admin install, mirrors, proxy |\n| `references\u002Fcli-reference.md` | Full options for every command plus every config key |\n| `references\u002Fmanifest-reference.md` | Every manifest field, license forms, architecture, persist, psmodule, shortcuts |\n| `references\u002Fautoupdate-reference.md` | checkver strategies, autoupdate, hash extraction modes, all variables, named-group trap |\n| `references\u002Finstallers-and-extraction.md` | Extraction and installer dispatch, NSIS recovery, two-stage 7z, local reproduction |\n| `references\u002Fbucket-workflows.md` | Bucket creation, template CI\u002FExcavator, PR and commit conventions |\n| `references\u002Fbucket-audit-and-sync.md` | Audit report format, repair matrix, template sync details |\n| `references\u002Ftroubleshooting.md` | Every known failure and its fix |\n","# Scoop Manifest\n\nScoop is the command-line package manager for Windows: it installs into your user directory, needs\nno admin rights, leaves no registry debris, keeps PATH clean, and resolves dependencies. Scoop\nitself is a pile of PowerShell scripts - **what gets installed and how is entirely described by the\nJSON manifest in a bucket**, which is why manifest authoring and maintenance are this skill's centre\nof gravity.\n\n**Core mental model:** Linux-style package management (the `apt-get` \u002F `brew` equivalent), except the\npackage definition is plain JSON that you can write, host and maintain yourself.\n\n## Three tracks - decide which one you're on first\n\n| What the user wants | Track | Entry point |\n|---|---|---|\n| **Write a manifest for an app, add it to a bucket, submit a PR** | **B - authoring (primary)** | §B below |\n| **Audit, repair, or template-sync an existing bucket** | **C - maintenance (primary)** | §C below |\n| Install software, set up an environment, update, uninstall, switch versions, proxy, global install | A - using Scoop (supporting) | §A below |\n\n§B and §C are the body of this skill. §A carries only the usage knowledge you need while authoring\nand maintaining manifests - you cannot verify a manifest you wrote without being able to\n`scoop install` it, `scoop update`, and read what `scoop info` prints.\n\nDecide by asking whether the user has a bucket repository. Yes → B or C. No, they just want software\ninstalled → A.\n\n---\n\n# §A Using Scoop: install and daily management\n\n## A1 Prerequisites (fix these before installing anything)\n\n- PowerShell 5.1+ (`$PSVersionTable.PSVersion` at least 5.1). PowerShell 7 is better and also works\n  around the antivirus false positive on `get.scoop.sh` under 5.1.\n- Language Mode must be `FullLanguage`; ExecutionPolicy must be `RemoteSigned`, `Unrestricted` or\n  `ByPass`.\n- **Install from a non-admin PowerShell.** Installation from an elevated console is disabled by\n  default for security; you must opt in with `-RunAsAdmin`.\n\n```powershell\nSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser\nirm get.scoop.sh | iex\n```\n\nDefault location is `C:\\Users\\\u003Cusername>\\scoop`. Custom directories, global directory, cache\ndirectory, proxy, CI, silent install and admin install are all covered in\n`references\u002Finstall-and-setup.md`.\n\n## A2 First thing after installing\n\n```powershell\nscoop install git 7zip\nscoop bucket add extras\n```\n\n`git` is a hard dependency for adding buckets (without it `scoop bucket add` fails outright); `7zip`\nunpacks the vast majority of packages; `innounp` and `dark` handle InnoSetup and WiX installers.\n`scoop checkup` verifies these plus NTFS, long paths and Developer Mode for you.\n\n## A3 Everyday commands (full option list in `references\u002Fcli-reference.md`)\n\n| Task | Command |\n|---|---|\n| Install | `scoop install \u003Capp>` (`-g` global, `-i` skip dependencies, `-k` bypass cache, `-s` skip hash check, `-a \u003Carch>` pick architecture) |\n| Install a specific version | `scoop install \u003Capp>@\u003Cversion>` |\n| Install from a URL or local file | `scoop install \u003Curl-or-path>.json` |\n| Uninstall | `scoop uninstall \u003Capp>` (`-p` also removes persisted data) |\n| Update Scoop itself + manifests | `scoop update` |\n| Update one \u002F all apps | `scoop update \u003Capp>` \u002F `scoop update *` |\n| List installed | `scoop list [query]` |\n| Search | `scoop search \u003Ckeyword>` (no argument lists everything; the query is a regex unless the sqlite cache is on) |\n| Show details | `scoop info \u003Capp>` (`-v` shows full paths and URLs) |\n| See what's outdated | `scoop status` (`-l` local only, no network) |\n| Remove old versions | `scoop cleanup *` (`-k` also clears stale downloads) |\n| Clear the download cache | `scoop cache rm *` |\n| Pin a version | `scoop hold \u003Capp>` \u002F `scoop unhold \u003Capp>` |\n| Switch versions | `scoop reset \u003Capp>@\u003Cversion>` (only between **already installed** versions) |\n| Backup \u002F restore | `scoop export > scoopfile.json` (`-c` includes config) \u002F `scoop import scoopfile.json` |\n| Find a shim's real path | `scoop which \u003Ccmd>` |\n| Open the homepage | `scoop home \u003Capp>` |\n| Show dependency order | `scoop depends \u003Capp>` |\n\nAlso available: `alias` (custom subcommands), `cat` (print a manifest), `create` (interactive manifest\ngeneration), `download` (download into the cache and verify hashes without installing), `prefix`\n(print the install path), `shim` (add\u002Frm\u002Flist\u002Finfo\u002Falter), `virustotal` (look up a hash or URL),\n`cache show|rm`, `checkup`.\n\n## A4 Three user-level rules that keep biting people\n\n1. **`scoop status` is only as fresh as your local buckets.** It compares the installed version\n   against the *local* manifest, so without `scoop update` it reports stale information. `scoop\n   update` is also auto-triggered every 3 hours during install\u002Fupdate\u002Fdownload\u002Fvirustotal.\n2. **Multiple versions coexist via `reset`, not reinstall.** `scoop install python python27` then\n   `scoop reset python27` switches; `scoop reset python` returns to the newest installed version.\n   `scoop list` only shows the newest version - `scoop info \u003Capp>` is what lists them all.\n3. **`current` is a directory junction, not a real directory.** Every external tool (file\n   associations, IDEs, shortcuts) must point at `apps\\\u003Capp>\\current\\...` - never at a version\n   directory, and never at a shim (see the Open With section of `references\u002Ftroubleshooting.md`).\n\n## A5 Common configuration (`scoop config`, stored in `~\u002F.config\u002Fscoop\u002Fconfig.json`)\n\n```powershell\nscoop config proxy currentuser@default          # system proxy with the current Windows credentials\nscoop config proxy 127.0.0.1:7890               # anonymous, explicit proxy\nscoop config rm proxy                           # bypass the system proxy\nscoop install aria2; scoop config aria2-enabled true\nscoop config aria2-warning-enabled false        # silence the aria2 nag\nscoop config use_sqlite_cache true              # speeds up search\u002Fshim\nscoop config use_external_7zip true             # use the 7z on PATH\nscoop config no_junction true                   # stop using the current alias\nscoop config default_architecture 64bit\nscoop config gh_token \u003Ctoken>                   # avoids checkver rate limits, reaches private repos\nscoop config debug true                         # turn on when troubleshooting\n```\n\nEvery setting (`scoop_branch`, `root_path`, `global_path`, `private_hosts`, `use_isolated_path`,\n`ignore_running_processes`, and the rest) is documented in `references\u002Fcli-reference.md`.\n\n## A6 Bucket basics\n\nA bucket is a Git repository full of JSON manifests. `main` ships with Scoop. Known community\nbuckets: `extras` `versions` `nirsoft` `sysinternals` `php` `nerd-fonts` `nonportable` `java`\n`games`; run `scoop bucket known` for the authoritative list.\n\n```powershell\nscoop bucket add extras                                          # known bucket, no URL needed\nscoop bucket add my-bucket https:\u002F\u002Fgithub.com\u002F\u003Cuser>\u002Fmy-bucket    # custom bucket\nscoop bucket list\nscoop bucket rm \u003Cname>\n```\n\n---\n\n# §B Authoring: write a manifest\n\nScoop installs apps from `bucket\u002F\u003Cappname>.json`. The goal is a version-pinned manifest with working\n`checkver` + `autoupdate`, so Scoop tracks new releases forever after without anyone hand-editing\n`version`\u002F`url`\u002F`hash`.\n\n**Decide whether this is even possible first.** The project must publish a Windows binary (NSIS\n`.exe`, MSI, portable `.zip`\u002F`.7z`) behind a stable URL (usually GitHub Releases). Projects that only\nship macOS\u002FLinux artifacts are not a Scoop candidate - say so and stop.\n\nComplete field reference (license forms, architecture blocks, persist, psmodule, shortcuts,\ninstaller): `references\u002Fmanifest-reference.md`. Every checkver strategy, every hash extraction mode,\nevery substitutable variable: `references\u002Fautoupdate-reference.md`.\n\n## B1 Probe the source - never guess URLs\n\n```bash\ngh repo view \u003Cowner>\u002F\u003Crepo> --json url,description,licenseInfo -q '{homepage:.url, description:.description, license:.licenseInfo.spdxId}'\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Freleases\u002Flatest --jq '{version:.tag_name, assets:[.assets[]|{name,size,browser_download_url,digest}]}'\n```\n\nFor non-GitHub sources: `curl ... | jq` for JSON endpoints, `curl ... | htmlq \"a[href*='.exe']\"\n--attribute href` for download pages. You need the version (**strip any leading `v`**), the Windows\nasset names (split by 64bit\u002Farm64\u002F32bit), the homepage, the description, and the license.\n\nFor Node\u002FElectron projects also read `package.json`: `build.productName`,\n`build.win.executableName`, and the `build.win.artifactName` template. Other ecosystems: look at\n`Cargo.toml`, `pyproject.toml`, `*.spec`, `installer\u002F`.\n\n## B2 Get version \u002F URL \u002F sha256 - without downloading the artifact\n\nEvery GitHub release asset carries a `digest: sha256:\u003Chex>` field, and **that is the hash Scoop\nwants**. Downloading a 500 MB installer just to hash it is the single biggest waste of time in this\nworkflow.\n\n```bash\nnode \u003Cskill>\u002Fscripts\u002Ffetch-windows-assets.mjs \u003Cowner>\u002F\u003Crepo> [tag]\n# equivalent implementation when node is not installed\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Ffetch-windows-assets.ps1 \u003Cowner>\u002F\u003Crepo> [tag]\n```\n\nIt prints the tag, the version with `v` stripped, and each Windows asset's URL \u002F size \u002F sha256.\nNon-GitHub sources have no digest, so download once and hash it:\n`\u003Cskill>\u002Fscripts\u002Fhashurl.ps1 \u003Curl>`.\n\n## B3 Pick the install shape (this decides the manifest)\n\n```text\nportable .zip\u002F.7z only        -> use it directly, add extract_dir if needed   (preferred)\nboth .zip and NSIS .exe       -> pick the .zip\nNSIS .exe only                -> two routes:\n   a) silent install works    -> set installer.file + args, let Scoop run it\n   b) \u002FS pops a GUI or fails   -> pre_install + two-stage 7z extraction (see references\u002Finstallers-and-extraction.md)\nMSI                           -> do not write an msi block (deprecated); extract it like a zip\nInnoSetup                     -> \"innosetup\": true, Scoop unpacks it with innounp\nWiX \u002F dark                    -> unpacked via the dark helper\n```\n\nInspect an NSIS payload with `7z l \u003Cfile>.exe`; electron-builder output reveals\n`$PLUGINSDIR\\app-64.7z` (the real application lives inside). A `Type = PE` report from `7z l` does\nnot mean it is unextractable - the embedded 7z stream is often right there in the same listing.\n\nThe `#\u002Fdl.7z` URL suffix is the cheapest escape hatch: it makes Scoop treat the installer as a 7z\narchive, skipping execution and UAC entirely. The full recovery procedure for NSIS silent-install\nfailures (including the `$PLUGINSDIR` quoting trap, `$dir`\u002F`$fname` scoping, and a local reproduction\nharness) is in `references\u002Finstallers-and-extraction.md`.\n\n## B4 Write the JSON\n\nRequired: `version` `description` `homepage` `license` `url` `hash`. Field order, 4-space indent and\nthe single-element-array style rule are in `references\u002Fmanifest-reference.md`.\n\n**The one mistake that hurts most:** the static `url` uses a **literal version**, while\n`autoupdate.url` uses `$version`. Get it backwards and every install 404s.\n\n```json\n{\n    \"version\": \"1.2.3\",\n    \"description\": \"One-line description without the app name\",\n    \"homepage\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\",\n    \"license\": \"MIT\",\n    \"architecture\": {\n        \"64bit\": {\n            \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv1.2.3\u002Fapp-x64.exe#\u002Fapp.exe\",\n            \"hash\": \"\u003Csha256>\"\n        },\n        \"arm64\": {\n            \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv1.2.3\u002Fapp-arm64.exe#\u002Fapp.exe\",\n            \"hash\": \"\u003Csha256>\"\n        }\n    },\n    \"bin\": \"app.exe\",\n    \"checkver\": \"github\",\n    \"autoupdate\": {\n        \"architecture\": {\n            \"64bit\": { \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv$version\u002Fapp-x64.exe#\u002Fapp.exe\" },\n            \"arm64\": { \"url\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Freleases\u002Fdownload\u002Fv$version\u002Fapp-arm64.exe#\u002Fapp.exe\" }\n        }\n    }\n}\n```\n\nThe four source patterns (GitHub release \u002F CDN with tokens \u002F mirror-derived URL \u002F signed rotating\nlink) each have a template in `references\u002Fautoupdate-reference.md`.\n\n**`checkver` is bound to `homepage`.** `\"checkver\": \"github\"` reads the repository out of `homepage`,\nso homepage must be the GitHub repo URL - or, when the homepage is a product site, use\n`\"checkver\": { \"github\": \"\u003Crepo url>\" }`. Pairing a product page with `\"github\"` makes checkver fail\noutright.\n\n## B5 Verify - run these in order, do not skip ahead\n\n```bash\n# 0. Offline static checks: fields, hash shape, whether autoupdate.url reproduces the static url\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Fmanifest-lint.ps1 bucket\u002F\u003Cappname>.json\n\n# 1. Version detection\npwsh -NoProfile -Command \"cd '\u003Cbucket>'; .\\bin\\checkver.ps1 \u003Cappname>\"\n\n# 2. Install test\nscoop install '\u003Cbucket>\\bucket\\\u003Cappname>.json'\n\u003Cappname> --version\nscoop uninstall \u003Cappname>\n```\n\nWithout Scoop installed, at minimum: `node -e \"require('.\u002Fbucket\u002F\u003Cappname>.json')\"` plus a `curl -I`\nthat returns 200 on the `url`.\n\n`checkver -u` (forced update) proves autoupdate can write back `version`\u002F`url`\u002F`hash`. Whether the\n**hash was actually computed** is a separate question: set the hash to 64 zeros, run `checkver -f`,\nand see whether it comes back as your committed value. `checkver -f` alone proves nothing - with a\ncorrect hash it just rewrites the same value in place.\n\n## B6 Commit\n\nCommit message for a new manifest: `Add \u003Cappname>`. PR title formats for the public buckets, the\n`\u002Fverify` comment, field ordering, and the rule that Excavator rejects version-bump-only PRs are all\nin `references\u002Fbucket-workflows.md`.\n\n---\n\n# §C Maintenance: audit, repair, template sync\n\n## C1 Audit (read-only, report before touching anything)\n\n```bash\npwsh -NoProfile -File tools\u002Faudit.ps1            # full: checkver -s + checkhashes + lint + autoupdate + sources\npwsh -NoProfile -File tools\u002Faudit.ps1 -Offline   # seconds: lint + static autoupdate checks only\n```\n\nWithout a local `audit.ps1`, use the equivalent combination: `checkver * -s` (outdated),\n`checkhashes` (mismatches, really downloads, slow), static lint (this skill's\n`scripts\u002Fmanifest-lint.ps1`), and `checkver` (is the source still alive).\n\n**Process:** run it → group the findings by check (outdated \u002F hash mismatch \u002F lint \u002F autoupdate \u002F\nsource) → **list the affected apps and ask before fixing** → only change anything after explicit\napproval. Omit empty sections; put `warn` level rows after the errors.\n\n## C2 Repair (the fixes are not interchangeable)\n\n| Check | Fix |\n|---|---|\n| `outdated` | `bin\u002Fcheckver.ps1 \u003Capp> -u` (rewrites version\u002Furl\u002Fhash) |\n| `hash` mismatch | `bin\u002Fcheckhashes.ps1 \u003Capp> -Update`, or `checkver \u003Capp> -u -f` |\n| hash missing \u002F empty | compute with `\u003Cskill>\u002Fscripts\u002Fhashurl.ps1 \u003Curl>` and write it by hand |\n| other lint, `autoupdate:mismatch` | edit the manifest per the rules |\n| `source:*` \u002F checkver no longer matches | upstream changed; report it and let a human decide |\n\nThree hard rules (all confirmed by experiment):\n\n- **A hash error at the current version cannot be fixed by `checkver -u`** - it prints the version,\n  sees no change, and `continue`s before ever reaching autoupdate.\n- **An empty hash cannot be repaired automatically** - `checkver -u` falls into a branch that\n  requires an `architecture` block, and `checkhashes -Update` hits `Get-Member` on `$null` when that\n  block is absent. Compute it with `hashurl.ps1` instead.\n- **Writing only `hash` and no `url` inside `autoupdate` makes `checkver -u` overwrite a correct\n  hash with `\"\"` and exit 0.** This actively destroys data, which makes it worse than an empty hash.\n\nWhen an app is both outdated and mismatched: `checkver -u` first, then `checkhashes -Update` for\nwhatever is still wrong.\n\nRe-run the checks for each app after fixing it. If `checkver -u` fails (regex no longer matches, say),\nstop and report instead of working around it. Once everything passes, ask whether to normalise with\n`formatjson.ps1` and whether to stage + commit.\n\n## C3 Sync with BucketTemplate\n\n```powershell\npwsh -NoProfile -File \u003Cskill>\u002Fscripts\u002Ftemplate-drift.ps1 -RepoRoot \u003Cbucket>\n# a repo that carries its own copy can use that instead\npwsh -NoProfile -File .claude\u002Fskills\u002Fscoop-bucket-sync\u002Fscripts\u002Ftemplate-drift.ps1\n```\n\nIt reports the template's HEAD commit (which states upstream's current policy, e.g.\n`ci: use pinned actions`), the files that are missing or differ, and the files this repo has that the\ntemplate lacks. **`bucket\u002F` and `deprecated\u002F` belong to this repo and are not drift**; neither are\n`CLAUDE.md`, `README`, `.gitignore`, `docs\u002F`, `.claude\u002F` or `tools\u002F`.\n\nClassify before touching anything: pinned vs floating action refs, stale action versions, workflow\nstructure (an `if:` that decides whether the whole job runs belongs on the job, not on a step), and\nscaffolding files. Prefer copying whole files, then re-apply repo-specific values. Verify with\n`actionlint`, a YAML parse, and `gh api repos\u002F\u003Co>\u002F\u003Cr>\u002Fcommits\u002F\u003Ctag> --jq .sha` against the digest you\npinned. Commit with `ci: Sync workflows and tooling with BucketTemplate`, stage only the tooling\npaths, and do not push.\n\nFull rules and the \"these differences must be preserved\" list: `references\u002Fbucket-audit-and-sync.md`.\n\n---\n\n# Troubleshooting entry point\n\nRun `scoop checkup` first, then consult `references\u002Ftroubleshooting.md` (execution policy, package\nnot found, missing hash, extraction failures, NSIS stuck on a GUI, slow downloads, proxy auth, NTFS\nrequirement, long paths, Developer Mode, antivirus real-time scanning, install failures and version\nconflicts, broken `current` links). Always diagnose in the order environment → package → upstream\nsource; never start by editing the manifest.\n\n## Scripts and references\n\n| File | Purpose |\n|---|---|\n| `scripts\u002Ffetch-windows-assets.ps1` | Version, URLs and sha256 from the GitHub Release API (no download); use this when node is unavailable |\n| `scripts\u002Ffetch-windows-assets.mjs` | The same thing, Node implementation |\n| `scripts\u002Fhashurl.ps1` | SHA256 for one or more URLs (strips the `#\u002F...` fragment, sends Scoop's UA) |\n| `scripts\u002Fmanifest-lint.ps1` | Offline static checks: fields, hash shape, architecture pairing, autoupdate.url reproduction, named-group casing; `-Strict` promotes field ordering to errors |\n| `scripts\u002Ftemplate-drift.ps1` | Compare against ScoopInstaller\u002FBucketTemplate |\n| `assets\u002Fapp-name.json.template` | Starting point for a new manifest (official field order) |\n| `references\u002Finstall-and-setup.md` | Every installer parameter, env vars, CI, silent install, admin install, mirrors, proxy |\n| `references\u002Fcli-reference.md` | Full options for every command plus every config key |\n| `references\u002Fmanifest-reference.md` | Every manifest field, license forms, architecture, persist, psmodule, shortcuts |\n| `references\u002Fautoupdate-reference.md` | checkver strategies, autoupdate, hash extraction modes, all variables, named-group trap |\n| `references\u002Finstallers-and-extraction.md` | Extraction and installer dispatch, NSIS recovery, two-stage 7z, local reproduction |\n| `references\u002Fbucket-workflows.md` | Bucket creation, template CI\u002FExcavator, PR and commit conventions |\n| `references\u002Fbucket-audit-and-sync.md` | Audit report format, repair matrix, template sync details |\n| `references\u002Ftroubleshooting.md` | Every known failure and its fix |\n",{"name":5,"metadata":24,"description":26},{"language":25},"en-US","Create and maintain Scoop bucket manifests (appname.json inside a bucket directory) for Windows apps, plus the install, verification, health-check and troubleshooting work that surrounds them. Use this skill whenever the user says \"create a scoop manifest\", \"write a manifest for that app\", \"add this to my bucket\", \"submit a PR to scoop-extras \u002F main \u002F versions\", \"write checkver \u002F autoupdate\", \"is this app packaged yet \u002F how do I install it\", \"the packages in my bucket are outdated \u002F the hash is wrong \u002F audit this bucket\", \"sync with BucketTemplate \u002F bump GitHub Actions\", or \"scoop errors out \u002F won't install \u002F extraction fails \u002F missing hash \u002F package not found \u002F downloads are slow\" - even if they never say the word \"scoop\". Trigger on anything involving Windows app manifests (NSIS .exe \u002F MSI \u002F portable .zip), bucket repositories, portable software installation, or Scoop's own configuration and troubleshooting. Projects that only ship macOS\u002FLinux artifacts are out of scope.\n","main","e755255990a0250bbae1a416cea9388f10b6bf6a","create-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest",1,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills","https:\u002F\u002Fgithub.com\u002Fluestr","2026-11-14 01:15:26",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add luestr\u002Fskills --skill create-scoop-manifest",{"tool":40,"command":41},"bunx","bunx skills add luestr\u002Fskills --skill create-scoop-manifest",{"tool":43,"command":44},"pnpm","pnpm dlx skills add luestr\u002Fskills --skill create-scoop-manifest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002FSKILL.md",true,[48,54,60,64,68,72,76,80,84,88,94,98,102,106],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fapp-name.json.template","ASSET","资产文件",1358,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fassets\u002Fapp-name.json.template",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fautoupdate-reference.md","REFERENCE","参考文档",26574,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Fautoupdate-reference.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fbucket-audit-and-sync.md",12143,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Fbucket-audit-and-sync.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fbucket-workflows.md",9624,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Fbucket-workflows.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcli-reference.md",13965,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Fcli-reference.md",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Finstall-and-setup.md",12519,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Finstall-and-setup.md",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Finstallers-and-extraction.md",14371,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Finstallers-and-extraction.md",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fmanifest-reference.md",16184,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Fmanifest-reference.md",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Ftroubleshooting.md",14862,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Freferences\u002Ftroubleshooting.md",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Ffetch-windows-assets.mjs","SCRIPT","脚本",3638,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fscripts\u002Ffetch-windows-assets.mjs",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Ffetch-windows-assets.ps1",6653,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fscripts\u002Ffetch-windows-assets.ps1",{"path":99,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fhashurl.ps1",4287,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fscripts\u002Fhashurl.ps1",{"path":103,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fmanifest-lint.ps1",32516,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fscripts\u002Fmanifest-lint.ps1",{"path":107,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Ftemplate-drift.ps1",4901,"https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fcreate-scoop-manifest\u002Fen-US\u002Fcreate-scoop-manifest\u002Fscripts\u002Ftemplate-drift.ps1",[111,118,124,131,137,144],{"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},"01M7EESZM2QJKA5M0QS4M0WNGA","write-ublock-origin-filters","完整的 uBlock Origin (uBO) 静态过滤语法参考。编写 uBlock Origin 自定义过滤规则时使用此技能，涵盖广告拦截、隐私保护或内容过滤。包含基础网络过滤模式（||、*、^、|）、所有网络过滤选项（$domain、$third-party、$important、$redirect、$removeparam、$csp、$replace、$header、$method、$denyallow、$badfilter、$all 等）、内容类型选项（$script、$image、$stylesheet、$font、$media、$xhr、$popup、$document、$frame 等）、元素隐藏规则（## 选择器、实体匹配、主机名正则）、过程式元素隐藏过滤器（:has、:has-text、:matches-css、:upward、:xpath、:matches-path、:watch-attr 等）、动作操作符（:remove、:style、:remove-attr、:remove-class）、HTML 过滤器（##^）、响应头过滤（##^responseheader）、脚本注入（##+js()）以及预处理指令（!#include、!#if）。当用户提到 uBlock Origin 过滤规则、uBO 语法、广告拦截规则、元素隐藏规则、过程式选择器、脚本注入或希望编写\u002F调试任何 uBO 兼容过滤列表时触发。即使用户只是在编写或调试 uBlock Origin 过滤规则、创建自定义过滤列表或从 AdBlock Plus\u002FAdGuard 迁移过滤规则到 uBO，也应使用此技能。","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-ublock-origin-filters\u002Fzh-CN\u002Fwrite-ublock-origin-filters\u002FSKILL.md",[],[],{"skillNo":119,"name":113,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7EESN8NBTRJE793B87NBGA5","Complete uBlock Origin (uBO) static filter reference. Use this skill when writing or debugging uBO custom filters or filter lists for ad blocking, privacy or content filtering, or when migrating filters from AdBlock Plus\u002FAdGuard. Covers network patterns (||, *, ^, |) and options ($domain, $third-party, $important, $redirect, $removeparam, $csp, $replace, $header, $method, $badfilter, $all), content-type options ($script, $image, $stylesheet, $font, $media, $xhr, $popup, $document, $frame), cosmetic filters (##, CSS selectors, entity matching), procedural filters (:has, :has-text, :matches-css, :upward, :xpath, :matches-path, :watch-attr), action operators (:remove, :style, :remove-attr), HTML filters (##^), response-header filtering (##^responseheader), scriptlet injection (##+js()), and pre-parsing directives (!#include, !#if). Trigger whenever the user mentions uBO syntax, ad blocking rules, element hiding, procedural selectors, scriptlet injection, or a uBO-compatible filter list.","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-ublock-origin-filters\u002Fen-US\u002Fwrite-ublock-origin-filters\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7EESH94GM6NWB3JAFRH7D8S","write-tampermonkey-scripts","引导 AI 代理规划、编写、调试、测试和维护 Tampermonkey 用户脚本。当用户请求用户脚本、浏览器页面自动化、DOM 增强、Tampermonkey 元数据、GM_* API、@match、@grant、@run-at、@connect、跨源请求、SPA 页面集成或脚本注入任务时使用此技能，即使用户没有明确提及 Tampermonkey。","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-tampermonkey-scripts\u002Fzh-CN\u002Fwrite-tampermonkey-scripts\u002FSKILL.md",[],[],{"skillNo":132,"name":126,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M7EESCKXFQ793C4TCKSV0GZ1","Guide an AI agent through planning, writing, debugging, testing, and maintaining Tampermonkey userscripts. Use this skill whenever a user asks for a userscript, browser-page automation, DOM enhancement, Tampermonkey metadata, GM_* API, @match, @grant, @run-at, @connect, cross-origin request, SPA page integration, or script injection task, even when Tampermonkey is not named explicitly.","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-tampermonkey-scripts\u002Fen-US\u002Fwrite-tampermonkey-scripts\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M7EES6SHP4F6DTQYRJ944KMR","write-adguard-filters","编写 AdGuard 自定义过滤规则时使用此技能。涵盖基本规则语法、所有修饰符（$domain\u002F$third-party\u002F$important\u002F$redirect\u002F$replace\u002F$removeparam\u002F$cookie\u002F$csp 等）、外观规则（元素隐藏\u002FCSS\u002FExtended CSS 选择器）、HTML 过滤、JavaScript\u002F脚本片段规则、非基本规则修饰符、预处理器指令和调试技巧。当用户提及 AdGuard 过滤规则、广告拦截规则语法、过滤器列表编写、ABP 语法兼容、元素隐藏规则、Extended CSS 选择器（:has\u002F:contains\u002F:matches-css 等）时触发。即使用户只是在编写或调试任何类型的广告过滤规则，也应使用此技能。","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-adguard-filters\u002Fzh-CN\u002Fwrite-adguard-filters\u002FSKILL.md",[],[],{"skillNo":145,"name":139,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7EERZ661557QAD511EBSCCK","Complete AdGuard filtering rules syntax reference. Use this skill when writing AdGuard custom filters. Covers basic rule syntax, all modifiers ($domain\u002F$third-party\u002F$important\u002F$redirect\u002F$replace\u002F$removeparam\u002F$cookie\u002F$csp etc.), cosmetic rules (element hiding\u002FCSS\u002FExtended CSS selectors), HTML filtering, JavaScript\u002Fscriptlet rules, non-basic rule modifiers, preprocessor directives, and debugging. Trigger when user mentions AdGuard filtering rules, ad blocking rule syntax, filter list authoring, ABP syntax compatibility, element hiding rules, Extended CSS selectors (:has\u002F:contains\u002F:matches-css etc.). Use this skill even when the user is just writing or debugging any type of ad filtering rules.","https:\u002F\u002Fgithub.com\u002Fluestr\u002Fskills\u002Fblob\u002Fmain\u002Fwrite-adguard-filters\u002Fen-US\u002Fwrite-adguard-filters\u002FSKILL.md",[],[]]