Back to Skills

xget

Use when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container builds, AI SDKs, CI/CD, deployment, self-hosting, or adapting commands and config from the live README `Use Cases` section into files, environments, shells, or base URLs.

31stars1forksUpdated 4/9/2026

Security Assessment

High Risk(30/100)

Detected risks:

Persistence([references/REFERENCE.md] .bashrc, [references/REFERENCE.md] .zshrc)
Sensitive File Access([SKILL.md] .env, [references/REFERENCE.md] .npmrc, [references/REFERENCE.md] .env)
Security Score30/100

About xget

The xget skill is designed to streamline and automate tasks involving URL rewriting, package and container acceleration, and integration of Xget into development workflows. It addresses the challenge of manually configuring base URLs, setting up environment variables, and adapting commands or configuration from live README documentation. By prioritizing execution over mere instruction, xget ensures that setup, configuration, and deployment tasks are applied directly and accurately, reducing the potential for human error and saving developers significant time in repetitive tasks.

Key features of xget include automated resolution of base URLs, integration with Git, download tools, package managers, container builds, AI SDKs, and CI/CD pipelines. The skill leverages scripts such as `scripts/xget.mjs` to fetch live platform data, convert URLs, and extract relevant README guidance efficiently. It distinguishes between execution intent and guidance intent, allowing it to either perform changes directly or provide templates and examples depending on the user's needs. Additionally, xget supports OS- and shell-specific command execution and maintains project conventions while offering lightweight verification after changes.

Typical use cases for xget include accelerating package downloads, configuring container images, wiring AI SDKs to specific endpoints, deploying or self-hosting Xget, and adapting commands from documentation to local environments. Target users are developers, DevOps engineers, and technical teams who need to manage complex environment configurations, integrate multiple tools with Xget, and automate repetitive setup and deployment processes. It is particularly valuable for teams looking to standardize workflows and ensure consistency across development and production environments.

FAQ

How does xget determine the base URL for operations?

xget first uses any domain explicitly provided by the user, then checks the `XGET_BASE_URL` environment variable. If neither is available, it prompts the user for a base URL and whether it should be set temporarily or persistently. A placeholder URL is used only for documentation or templates without a live deployment.

Can xget integrate with different package managers and container tools?

Yes, xget can be integrated with Git, various download tools, package managers, container builds, Dockerfiles, Kubernetes setups, and CI/CD pipelines to accelerate downloads and configure base URLs automatically.

Does xget apply changes automatically or just provide examples?

By default, xget applies changes directly when the user's intent is execution-oriented, such as configuring, deploying, or running commands. It only provides examples or templates when the user explicitly requests guidance instead of execution.

Are there any limitations on which environments xget can run in?

xget is designed to work in standard shell environments where the user has permissions to run commands and modify configuration files. Certain operations may require explicit user input if critical details, like a live base URL, are missing.

How does xget handle live README guidance for tasks?

xget fetches live README sections selectively using its scripts to list candidate headings and extract specific subsections. This ensures minimal data load while providing relevant instructions, which are then adapted to the user's real task.

All Files

3 files
SKILL.md4.7 KB
View
references/REFERENCE.md4.0 KB
View
scripts/xget.mjs25.0 KB
View

Install xget

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

xixu-me/skills