tzst

Use when the user needs to create, extract, flatten, list, test, install, script, or troubleshoot `tzst` CLI workflows for `.tzst` or `.tar.zst` archives, including compression levels, streaming mode, extraction filters, conflict resolution, JSON output, or standalone binary setup, even if they describe the archive task without naming `tzst`.

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

Use this skill for the tzst command-line interface. Default to execution when the user clearly wants a real archive action and the required paths or archive names are already known.

This skill is CLI-only. If the user is asking about Python code such as from tzst import ..., treat that as a general Python library or API documentation task instead of using this skill as the main guide.

When to Use

Use this skill when the user:

  • mentions .tzst or .tar.zst archives
  • wants to create, extract, flatten, list, or test a tzst archive
  • needs help installing tzst or choosing CLI flags
  • wants machine-readable tzst output for scripting or automation
  • needs safe conflict handling or extraction filter guidance

Do not use this skill for generic tar, zip, or Python API questions unless tzst is actually part of the request.

Preflight

  1. Check whether tzst is available with tzst --version or tzst --help.
  2. If it is missing, prefer one of these installation paths:
  3. Re-run tzst --version or tzst --help before doing real work.

Workflow

  1. Decide whether the request is execution or guidance. Requests like "archive these files", "extract this backup", "list what is inside", "test this archive", or "install tzst" are execution intent.
  2. Choose the command that matches the request:
    • a, add, create for archive creation
    • x, extract for normal extraction with directory structure preserved
    • e, extract-flat only when the user explicitly wants flattened output
    • l, list for archive inspection
    • t, test for integrity checks
  3. If the user wants to extract only a few members and the member names are uncertain, list first.
  4. Load references/cli-reference.md when you need the command matrix, exact flag names, or copy-paste examples.

Safe Defaults

  • Prefer x over e unless flattening is explicitly requested.
  • Keep --filter data as the default extraction mode.
  • Use --filter tar only when the user needs standard tar-style compatibility.
  • Use --filter fully_trusted only when the user explicitly says the archive source is completely trusted.
  • Keep atomic archive creation enabled. Only reach for --no-atomic when the user explicitly wants it.
  • Prefer --streaming for large archives or memory-constrained environments.
  • For automation or pipelines, prefer tzst --json --no-banner ....
  • For automated extraction, require an explicit non-interactive --conflict-resolution choice such as replace_all, skip_all, or auto_rename_all.
  • Do not combine --json with interactive conflict prompting.

Scripting Notes

  • Put global flags before the subcommand in examples, such as tzst --json --no-banner l archive.tzst.
  • Use exit codes in scripts: 0 for success, 1 for operation errors, 2 for argument parsing errors, and 130 for interruption.
  • When archive naming matters, tell the user that tzst may normalize a creation target to .tzst or .tar.zst.

Common Mistakes

  • Using e when the user expected the original directory structure to be preserved
  • Recommending fully_trusted for archives from an unknown or untrusted source
  • Forgetting an explicit conflict strategy for non-interactive extraction
  • Treating a Python API question as a CLI question
  • Guessing flags from tar habits instead of checking the bundled reference or the installed CLI help

Mais skills de xixu-me

github-actions-docs
xixu-me
Use quando os usuários perguntarem como escrever, explicar, personalizar, migrar, proteger ou solucionar problemas de workflows do GitHub Actions, sintaxe de workflows, gatilhos, matrizes, runners, workflows reutilizáveis, artefatos, cache, segredos, OIDC, implantações, ações personalizadas ou Actions Runner Controller, especialmente quando precisarem de documentação oficial do GitHub, links exatos ou orientação sobre YAML baseada na documentação.
developmentdevopsdocument
use-my-browser
xixu-me
Use quando o trabalho depende da sessão ativa do navegador do usuário ou do estado renderizado visível, em vez de buscas estáticas, especialmente para contextos de depuração de navegador ou elementos ou requisições selecionadas no DevTools, painéis logados ou fluxos de CMS, aplicativos localhost, formulários, uploads, downloads, inspeção de mídia, inspeção de DOM ou iframe, Shadow DOM, ou falhas do navegador que parecem soft 404s, muros de autenticação, verificações anti-bot ou limites de taxa.
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
Use ao auto-hospedar o OpenClaw em um servidor em nuvem, fortalecer um gateway remoto do OpenClaw, escolher entre tunelamento SSH, Tailscale ou exposição por proxy reverso, ou revisar as configurações padrão de Podman, pareamento, sandboxing, autenticação por token e permissões de ferramentas para uma implantação pessoal segura.
devopssecurity
develop-userscripts
xixu-me
Use ao construir, depurar, empacotar ou publicar userscripts de navegador para Tampermonkey ou ScriptCat, incluindo APIs GM, blocos de metadados, problemas de permissão, configuração de @match/@grant/@connect, scripts de fundo ou agendados do ScriptCat, blocos UserConfig ou fluxos de trabalho de assinatura.
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
Use ao configurar, endurecer ou revisar um servidor em nuvem para auto-hospedagem, incluindo DNS, SSH, firewalls, Nginx, hospedagem de sites estáticos, proxy reverso de um aplicativo, HTTPS com Let's Encrypt ou clientes ACME, redirecionamentos seguros de HTTP para HTTPS, ou ajuste opcional de rede pós-lançamento, como BBR.
devopssecurityaws
opensource-guide-coach
xixu-me
Use quando um usuário deseja orientação sobre como iniciar, contribuir, expandir, governar, financiar, proteger ou sustentar um projeto de código aberto, ou pergunta sobre integração de contribuidores, saúde da comunidade, esgotamento de mantenedores, código de conduta, métricas, noções básicas legais ou adoção de projetos de código aberto.
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
Use ao rotear o Claude Code por um proxy local LiteLLM para o GitHub Copilot, reduzindo gastos diretos com Anthropic, configurando substituições de ANTHROPIC_BASE_URL ou ANTHROPIC_MODEL, ou solucionando falhas na configuração do proxy Copilot, como modelo não encontrado, tráfego localhost ausente ou erros de autenticação GitHub 401/403.
developmentapidevops