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-modsReview the source before installing. Installation guide →
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
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
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
on('prompt.submit', async ($, e, next) => {const use = (name: string) => () => void $.prompt.fill({ text: `/${name} ` })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