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.

Skills เพิ่มเติมจาก 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
ใช้เมื่อผู้ใช้ต้องการแปล README ของ repository, ทำให้ repo รองรับหลายภาษา, แปลเอกสาร, เพิ่มตัวสลับภาษา, ทำให้ README เป็นสากล, หรืออัปเดต README เวอร์ชันภาษาต่างๆ ใน repository แบบ GitHub
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
ใช้เมื่อโฮสต์ OpenClaw ด้วยตนเองบนเซิร์ฟเวอร์คลาวด์, ปรับปรุงความปลอดภัยของเกตเวย์ OpenClaw ระยะไกล, เลือกระหว่าง SSH tunneling, Tailscale, หรือการเปิดเผยผ่าน reverse-proxy, หรือตรวจสอบ Podman, การจับคู่, การแซนด์บ็อกซ์, การยืนยันตัวตนด้วยโทเค็น, และค่าเริ่มต้นการอนุญาตเครื่องมือสำหรับการปรับใช้ส่วนบุคคลที่ปลอดภัย
devopssecurity
develop-userscripts
xixu-me
ใช้เมื่อสร้าง, ดีบัก, แพ็กเกจ หรือเผยแพร่ userscripts สำหรับเบราว์เซอร์สำหรับ Tampermonkey หรือ ScriptCat รวมถึง GM APIs, metadata blocks, ปัญหาการอนุญาต, การตั้งค่า @match/@grant/@connect, สคริปต์พื้นหลังหรือตามกำหนดเวลาของ ScriptCat, UserConfig blocks หรือขั้นตอนการทำงานแบบสมัครสมาชิก
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
ใช้เมื่อตั้งค่า ปรับปรุงความปลอดภัย หรือตรวจสอบเซิร์ฟเวอร์คลาวด์สำหรับการโฮสต์ด้วยตนเอง รวมถึง DNS, SSH, ไฟร์วอลล์, Nginx, การโฮสต์เว็บไซต์แบบคงที่, การทำ reverse proxy สำหรับแอปพลิเคชัน, HTTPS ด้วย Let's Encrypt หรือไคลเอนต์ ACME, การเปลี่ยนเส้นทาง HTTP ไปยัง HTTPS อย่างปลอดภัย หรือการปรับแต่งเครือข่ายหลังการเปิดตัว เช่น BBR
devopssecurityaws
opensource-guide-coach
xixu-me
ใช้เมื่อผู้ใช้ต้องการคำแนะนำเกี่ยวกับการเริ่มต้น การมีส่วนร่วม การเติบโต การกำกับดูแล การระดมทุน การรักษาความปลอดภัย หรือการดำรงอยู่ของโครงการโอเพนซอร์ส หรือถามเกี่ยวกับการปฐมนิเทศผู้มีส่วนร่วม สุขภาพของชุมชน ความเหนื่อยล้าของผู้ดูแล จรรยาบรรณ ตัวชี้วัด พื้นฐานทางกฎหมาย หรือการนำโครงการโอเพนซอร์สไปใช้
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
ใช้เมื่อต้องการกำหนดเส้นทาง Claude Code ผ่านพร็อกซี LiteLLM ในเครื่องไปยัง GitHub Copilot เพื่อลดค่าใช้จ่ายโดยตรงจาก Anthropic กำหนดค่า ANTHROPIC_BASE_URL หรือ ANTHROPIC_MODEL ที่ต้องการแทนที่ หรือแก้ไขปัญหาการตั้งค่าพร็อกซี Copilot ที่ล้มเหลว เช่น model-not-found, ไม่มีการรับส่งข้อมูล localhost, หรือข้อผิดพลาดการตรวจสอบสิทธิ์ GitHub 401/403
developmentapidevops