Skip to content

Feature: TUI hotkey to toggle disable-model-invocation in SKILL.md frontmatter #283

Closed

Description

@danscheer

Problem

skillshare list already has one on/off axis: E toggles a skill via .skillignore / .agentignore, which makes it completely invisible to every harness. That is the right tool when I want a skill gone.

It is the wrong tool for the case I actually hit most often: I want the skill installed and available, but I don't want the model to auto-load it. In Claude Code that is the disable-model-invocation: true frontmatter key — skill stays user-invocable via /name, model just stops pulling it into context on its own.

Today the only ways to flip that are the Web UI frontmatter editor (ui/src/components/skill-editor/FrontmatterEditor.tsx already exposes the field) or opening SKILL.md in an editor. Both mean leaving the TUI I'm already standing in with the skill selected.

Result: because the cheap gesture in the TUI is the nuclear one, I end up fully disabling skills that I only wanted to make manual-invocation-only.

Desired capability

A new hotkey in the skillshare list TUI that toggles disable-model-invocation in the selected skill's SKILL.md frontmatter, in place, staying in the TUI — exactly like E does for the ignore files.

Suggested key: M (model invocation). Normal-mode keys currently taken in cmd/skillshare/list_tui.go are q ctrl+c tab shift+tab s ctrl+d ctrl+u / enter D A U X E; capitals are the established action convention, M is free.

Semantics (tri-state, this is the one real ambiguity — please sanity-check):

current frontmatter after M
key absent disable-model-invocation: true added
true false
false true

Also needed for this to be usable:

  • A visible state indicator. A hotkey flipping a field nobody can see is a blind toggle. The detail panel already renders a disabled chip (list_tui.go ~L1125) — the model-invocation state needs an equivalent chip, otherwise "flip it if it's already there" is unverifiable.
  • The help line lists every key and is duplicated at list_tui.go:804 and :845 — both need the new entry.

Hard problems to expect

Alternatives Considered

  1. Write nothing instead of false — absent ≡ false, so the toggle could remove the key rather than set it to false. Cleaner files, but it loses the explicit "I decided this" signal and makes the state indistinguishable from "never touched". I'd take the explicit false, but either works.
  2. Do it in the Web UI only — already possible today; the whole point is not having to leave the TUI for a one-keystroke decision.
  3. A skillshare disable-model-invocation <name> CLI command instead — more composable, but doesn't solve the in-TUI flow, and the TUI toggle is the smaller change.

Scope

  • Small (1-3 files, < 200 lines)
  • Medium (3-10 files, 200-500 lines)
  • Large (10+ files, 500+ lines)

Likely touches: cmd/skillshare/list_tui.go (key handler + two help strings), cmd/skillshare/list_tui_content.go or list_tui_item.go (state chip), internal/utils/frontmatter_write.go (scalar/bool setter).

Open Questions

Activity

  1. self-assigned this
    on Sep 18, 2026
  2. added
    feature
    on Sep 18, 2026
  3. runkids commented on Sep 19, 2026

    @runkids
    Owner

    Thanks for the detailed write-up. This shipped in v0.21.0:
    https://github.com/runkids/skillshare/releases/tag/v0.21.0

    In skillshare list, press M on a skill. It toggles disable-model-invocation
    in that skill's SKILL.md, and the detail panel shows a manual only badge so
    the state is visible.

    On your open questions:

    user-invocable, a CLI equivalent and batch toggling are not included. If you
    still want any of them after trying this, a separate issue is welcome.

    The dashboard (skillshare ui) has the same switch in the skill editor, next to
    user-invocable, if you prefer editing there.

    Could you upgrade and tell me whether it fits your workflow?

  4. added
    unreleased
    on Sep 19, 2026
  5. added
    awaiting-reply
    and removed
    unreleased
    on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

awaiting-replyfeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions