command-hub Claude Code mod

Provides a searchable interface for slash commands.

  • session.start
  • command.run
  • prompt.submit
  • ui.render

Install commands

Enter these two lines in the Claude Code prompt, in order.

1. Add marketplace   2. Install plugin
/plugin marketplace add mishgoldenberg/claude-mods
/plugin install command-hub@claude-mods

Review the source before installing. Installation guide →

Permissions Facts

Can read files
–
Can write files
Yes
Can access the network
–
Can read environment variables
Yes
Can change prompts
Yes
Can intercept tool calls
–

Capability evidence is not a security certification; “–” does not mean a capability is absent.

Source & updates

Last updated
2026-10-06
License
MIT
Plugin version
0.1.1
Claude Code
2.1.287+
Source
0954c97
Repository stars
5 · Repository contains 12 mods in this directory
Source files
Plugin manifest ↗Hooks configuration ↗Registered module ↗Marketplace manifest ↗

Source inventory

Declared events: session.start | command.run{command=cmds} | command.run{command=new-command} | prompt.submit | ui.render{component=Pane | requestId=command-hub}

Declared API calls: $.command.list (via loadCommands) | $.command.register | $.env.get (via saveDraft) | $.fs.exists (via saveDraft) | $.fs.write (via saveDraft) | $.prompt.fill | $.session.root (via saveDraft) | $.state.get | $.state.set | $.ui.open (via open) | $.ui.resolve | $.ui.toast

Can write files evidence

command-hub:127 ↗

await $.fs.write(path, `---\n${front}\n---\n\n${d.body.trim()}\n`)

Can read environment variables evidence

command-hub:118 ↗command-hub:118 ↗

const home = (await $.env.get('HOME')) ?? (await $.env.get('USERPROFILE')) ?? ''

Can change prompts evidence

command-hub:161 ↗

on('prompt.submit', async ($, e, next) => {

command-hub:184 ↗

const use = (name: string) => () => void $.prompt.fill({ text: `/${name} ` })

command-hub:290 ↗

onPress={() => void $.prompt.fill({ text: `Help me write a Claude Code slash command (a markdown file in .claude/commands) that ${d.description || d.body || '…'}. Ask me anything you need, then create it.` })}

Review methodology · Source and updates · Runtime limits · Function hooks guide