Skip to content

v0.3.2 — /sages short command works out of the box

Latest

Choose a tag to compare

@hyhmrright hyhmrright released this 18 Apr 05:42

Market Sages v0.3.2

Patch release. No changes to skill behavior — pure quality-of-life fix for plugin users.

Fixes

/sages slash command now works without the namespace prefix

Previously, after installing the plugin via the marketplace, typing /sages AAPL produced:

Unknown command: /sages. Did you mean /usage?

Users had to type the full namespaced form /market-sages:sages AAPL, which contradicted every example in the README.

A new SessionStart hook (hooks/session-start) now registers the short-form /sages command into ~/.claude/commands/ the first time a Claude Code session loads with the plugin installed. From then on:

/sages AAPL           # Full council
/sages TSLA --value   # Value sages only
/sages compare AAPL MSFT GOOG

all work as documented.

Hot-path friendly

The hook uses an mtime-based sentinel (.market-sages-installed) so after the first install it short-circuits to a no-op on every subsequent session start, /clear, and /compact. When the plugin is upgraded, the source commands/sages.md gets a newer mtime and the hook automatically refreshes the registered command.

Added

File Purpose
hooks/hooks.json Declares the SessionStart hook
hooks/session-start Copies commands/sages.md~/.claude/commands/ on first run

Version Sync

All 5 plugin manifests bumped to 0.3.2:

  • skill.md
  • .claude-plugin/plugin.json
  • .claude-plugin/marketplace.json
  • .codex-plugin/plugin.json
  • gemini-extension.json

Upgrading from v0.3.1

Via plugin marketplace (recommended):

/plugin marketplace update hyhmrright/market-sages

Then restart Claude Code (or /clear) once to let the SessionStart hook register /sages.

Or manual install:

cp skill.md ~/.claude/skills/market-sages.md

(Manual install still needs users to type /market-sages:sages since there's no hook execution; use the marketplace path for the short command.)


Full changelog: v0.3.1...v0.3.2