xget

작성자: xixu-me

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.

npx skills add https://github.com/xixu-me/skills --skill xget

Default to execution, not instruction. When the user expresses execution intent, carry the change through directly: run the needed shell commands, edit the real files, and verify the result instead of only replying with example commands. Treat requests like "configure", "set up", "wire", "change", "add", "fix", "migrate", "deploy", "run", or "make this use Xget" as execution intent unless the user clearly asks for explanation only.

Resolve the base URL first:

  1. use a domain the user explicitly gave
  2. otherwise use XGET_BASE_URL from the environment
  3. if neither exists, ask for the user's Xget base URL and whether it should be set temporarily for the current shell/session or persistently for future shells
  4. use https://xget.example.com only as a clearly labeled placeholder for docs or templates that do not have a real deployment yet

Prefer scripts/xget.mjs over manual guessing for live platform data, URL conversion, and README Use Cases lookup.

Only stop to ask when a missing fact blocks safe execution, such as an unknown real base URL for a command that must run against a live deployment. If the user only needs docs or templates, use the placeholder path rules below.

Workflow

  1. Classify the task before reaching for examples:
    • execution intent: the user wants commands run, files changed, or config applied now
    • guidance intent: the user explicitly wants examples, explanation, or a template without applying it yet
    • then bucket the technical area: one-off URL conversion or prefix lookup; Git or download-tool acceleration; package-manager or language-ecosystem configuration; container image, Dockerfile, Kubernetes, or CI/CD acceleration; AI SDK / inference API base-URL configuration; deploying or self-hosting Xget itself
  2. Complete the base-URL preflight above. If the user wants help setting XGET_BASE_URL, open the reference guide and:
    • when the user asked you to set or wire it, run the shell-appropriate temporary or persistent commands directly when the environment allows it
    • when you cannot safely execute, ask the smallest blocking question or give the exact command with the missing value clearly called out
  3. Pull live README guidance in two steps instead of loading the whole section by default:
    • list candidate headings with node scripts/xget.mjs topics --format json
    • narrow with --match or fetch a specific section with node scripts/xget.mjs snippet --base-url https://xget.example.com --heading "Docker Compose Configuration" --format text
  4. Prefer the smallest relevant live subsection. If a repeated child heading like Use in Project is ambiguous, fetch its parent section instead.
  5. Adapt the live guidance to the user's real task:
    • for execution intent, apply the change end-to-end instead of stopping at example commands
    • run commands yourself when the request is to install, configure, rewrite, switch, migrate, test, or otherwise perform the change
    • edit the actual config or source files when the user wants implementation, not just explanation
    • keep shell commands aligned with the user's OS and shell
    • preserve existing project conventions unless the user asked for a broader rewrite
    • after changing files or running commands, perform a lightweight verification step when practical
  6. Refresh the live platform map with node scripts/xget.mjs platforms --format json when the answer depends on current prefixes, and use convert for exact URL rewrites.
  7. Combine multiple live sections when the workflow spans multiple layers. For example, pair a package-manager section with container, deployment, or .env guidance when the user's project needs more than one integration point.
  8. Before finishing, sanity-check that every command, file edit, or example uses the right Xget path shape:
    • repo/content: /{prefix}/...
    • crates.io HTTP URLs: /crates/... rather than /crates/api/v1/crates/...
    • inference APIs: /ip/{provider}/...
    • OCI registries: /cr/{registry}/...
  9. If the live platform fetch fails or an upstream URL does not match any known platform, say so explicitly and fall back to the stable guidance in references/REFERENCE.md instead of inventing a prefix.

xixu-me의 다른 스킬

github-actions-docs
xixu-me
사용자가 GitHub Actions 워크플로우, 워크플로우 구문, 트리거, 매트릭스, 러너, 재사용 가능한 워크플로우, 아티팩트, 캐싱, 시크릿, OIDC, 배포, 사용자 정의 액션 또는 Actions Runner Controller를 작성, 설명, 사용자 정의, 마이그레이션, 보안 설정 또는 문제 해결하는 방법을 묻고, 특히 공식 GitHub 문서, 정확한 링크 또는 문서 기반 YAML 지침이 필요할 때 사용합니다.
developmentdevopsdocument
use-my-browser
xixu-me
Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.
browser-automationweb-scrapingtesting
readme-i18n
xixu-me
Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
클라우드 서버에서 OpenClaw를 자체 호스팅하거나, 원격 OpenClaw 게이트웨이를 강화하거나, SSH 터널링, Tailscale, 리버스 프록시 노출 중에서 선택하거나, Podman, 페어링, 샌드박싱, 토큰 인증, 도구 권한 기본값을 검토하여 안전한 개인 배포를 구성할 때 사용합니다.
devopssecurity
develop-userscripts
xixu-me
Use when building, debugging, packaging, or publishing browser userscripts for Tampermonkey or ScriptCat, including GM APIs, metadata blocks, permission issues, @match/@grant/@connect setup, ScriptCat background or scheduled scripts, UserConfig blocks, or subscription workflows.
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
셀프 호스팅을 위한 클라우드 서버 설정, 강화 또는 검토 시 사용하며, DNS, SSH, 방화벽, Nginx, 정적 사이트 호스팅, 앱 리버스 프록시, Let's Encrypt 또는 ACME 클라이언트를 통한 HTTPS, 안전한 HTTP-to-HTTPS 리디렉션, 또는 BBR과 같은 선택적 출시 후 네트워크 튜닝을 포함합니다.
devopssecurityaws
opensource-guide-coach
xixu-me
Use when a user wants guidance on starting, contributing to, growing, governing, funding, securing, or sustaining an open source project, or asks about contributor onboarding, community health, maintainer burnout, code of conduct, metrics, legal basics, or open source project adoption.
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
developmentapidevops