Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Mar 18:56
· 183 commits to master since this release

Added

  • One-line installer - curl -fsSL .../install.sh | sh detects OS and architecture, downloads the right binary to ~/.local/bin/, and prints a PATH hint if needed. Supports SKILLFILE_VERSION and SKILLFILE_INSTALL_DIR overrides. Served as a release asset so it never reflects in-progress work on master.
  • cargo-binstall support - cargo binstall skillfile now downloads the pre-built binary in seconds instead of compiling from source. Zero config needed, piggybacks on existing release assets.
  • Windows support - pre-built x86_64-pc-windows-msvc binary in releases. Path separators normalized to forward slashes in deploy keys. CRLF line endings handled in patch application. Windows CI test job added.
  • Local path drift in status - skillfile status now shows ✗ path missing: <path> for local entries whose file or directory no longer exists on disk. Previously all local entries showed local regardless of path validity.
  • GitHub token config + init wizard - skillfile init now walks you through GitHub token setup after platform selection. Detects existing tokens from env vars, gh CLI, or config file. Offers paste-and-validate or skip. Token is saved to ~/.config/skillfile/config.toml with 0o600 permissions. The token discovery chain now checks: GITHUB_TOKEN env → GH_TOKEN env → config file → gh auth token.
  • SKILL.md preview in search TUI - the search TUI preview pane now shows rendered SKILL.md content. Each registry fetches content through its own strategy: agentskill.sh extracts from Nuxt hydration data, skills.sh tries raw GitHub URLs with page-scrape fallback. Frontmatter fields (name, description, risk, source) render as a metadata header above the body.

Changed

  • HTML entity decoding - replaced hand-rolled 8-entity decoder with the html-escape crate, covering all 2,231+ named, numeric, and hex HTML entities. Fixes garbled characters in skills.sh preview content.
  • Shell completions - skillfile completions <shell> generates static completion scripts for bash, zsh, fish, and PowerShell. Dynamic completions via eval "$(COMPLETE=bash skillfile)" add entry name completion for remove, pin, unpin, diff, and resolve by reading the Skillfile at tab-press time.

Fixed

  • Update notice missing on remaining commands - clap's parse() called process::exit(0) internally, bypassing the update notification at the end of main(). Replaced with try_parse() so that the update notice always prints.
  • Search-to-add broken for agentskill.sh monorepo entries - registry slugs (e.g. openclaw/k8s-config-gen) were leaking into source_repo and being treated as GitHub owner/repo values. The Tree API would fail, leading to a confusing "Path in repo:" prompt. Now source_repo is only set when real GitHub coordinates exist.
  • Coordinate resolution for agentskill.sh skills - when the detail API can't find a skill by name (common for large registries), the system now scrapes the skill page HTML for GitHub coordinates as a fallback. Resolves repo and path without user intervention.
  • Directory sync fails silently on massive repos - list_github_dir_recursive used the recursive Tree API which truncates at ~7000 entries. Skills deep in the alphabet (e.g. skills/ivangdavila/k8s in openclaw/skills) would silently get zero content. Now falls back to the GitHub Contents API for the specific directory when the tree returns empty.