feat(skills-picker): show GitHub URL next to each skill in TUI#198
Merged
Conversation
Skills TUI picker now shows ` · <github-url>` after each row's description,
sourced from manifest.json:skills_pins[*].repo + .commit + .path. Lets the
user click through to the canonical upstream (in iTerm2 / modern terminals)
or eyeball the source repo before installing.
Changes:
- scripts/lib/skills.sh: add `_skills_default_manifest_path` and
`_skills_upstream_url <name>`. Constructs `${repo}/tree/${commit}/${path}`
(or shorter forms when commit/path missing). Returns empty for skills
with `_status: "no-upstream-found"` (memo-skill) or skills absent from
skills_pins (impeccable). Uses jq line-per-field output to dodge the
Bash IFS-whitespace tab-collapse trap.
- scripts/install.sh: populate `TUI_URLS[]` parallel to `TUI_LABELS[] /
TUI_DESCS[]` in the skills branch.
- scripts/lib/tui.sh: render ` · ${url}` after ` — ${desc}` when the
TUI_URLS[] array is set and the row's entry is non-empty. Guarded by
`${TUI_URLS[*]+x}` so MCP / TK pickers (which don't set the array) stay
unaffected.
No truncation policy in tui.sh — caller owns row width. Terminals that
wrap will wrap; iTerm2 / Kitty / WezTerm hyperlink-detect the URL.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 task
sergei-aronsen
added a commit
that referenced
this pull request
May 21, 2026
Lockstep bump: manifest.json (version/updated/build_date) + CHANGELOG.md + 9 installer scripts (TK_TOOLKIT_REF default). PR #198 merged the feature; this release marks the version cutover so end users on the v6.52.0 pinned ref get the new picker behavior. Co-authored-by: Sergei Aronsen <sergei@digitalplanet.no> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
· <github-url>after each row's descriptionmanifest.json:skills_pins[*].repo + .commit + .path_status: \"no-upstream-found\"(memo-skill) and skills absent fromskills_pins(impeccable)TUI_URLS[]is opt-in via${TUI_URLS[*]+x}guardBefore
After
Implementation
scripts/lib/skills.sh_skills_default_manifest_path+_skills_upstream_url <name>scripts/install.shTUI_URLS[]in skills branchscripts/lib/tui.sh· \${url}after desc whenTUI_URLS[]is setHelper sidesteps the Bash IFS-whitespace tab-collapse trap (consecutive
\tcollapse + leading\tskipped because\tis in default-IFS-whitespace) by reading jq output line-per-field instead of@tsv.Test plan
bash scripts/tests/test-install-skills.sh— 27 PASSbash scripts/tests/test-install-tui.sh— 60 PASSmake check— manifest validation + commands + integrations + shellcheck + markdownlint all PASS_skills_upstream_urlagainst 7 skills (full URL / path-less URL / no-upstream / not-in-pins / nonexistent) — all return correct value🤖 Generated with Claude Code