ask-hamster

Installation
SKILL.md

Ask Hamster

Request: "$ARGUMENTS"

Use this skill for open-ended questions that need Hamster's judgment across the workspace. For direct reads or writes, use the matching named Hamster tool instead. Before either kind of call, run the account check below where it applies.

If this client has the Hamster MCP tools (hosted at https://tryhamster.com/mcp), point them at this repository's team before the first Hamster MCP call in this session (even get_task or search), and again before each ask_hamster call or any call that creates or changes Hamster data: if .hamster/.state.json exists at the repository root (git rev-parse --show-toplevel) and the tools include switch_account, call it with the file's account_slug, then compare the account_id it returns with the file's account_id. If the switch fails or the two ids differ, make no more Hamster MCP calls (not even list_accounts, or a switch to another team with the same name), don't fall back to hamster chat, and don't look the item up anywhere else (including the web): tell the user in one line that this repository's Hamster team (<account_slug>) isn't available to this MCP sign-in, and to run hamster init --force here or sign in to Hamster MCP as the right user, then stop. Read mcp-account for the reasons behind these rules.

Then call the routed tool; for open-ended questions, use ask_hamster (or the client's equivalent). Include local working context Hamster cannot see on its own: file paths, the current branch and diff, error messages, and the code under discussion.

If Hamster MCP tools are unavailable, use hamster chat when the CLI is installed and signed in — same ask path, different transport:

hamster chat "<request>"

For a genuine follow-up on that CLI path, use hamster chat --continue "<follow-up>". If MCP is unavailable and the CLI is not ready, tell the user to finish the client's Hamster sign-in prompt, or to run this plugin's setup skill, which installs the CLI and runs hamster auth login.

If $ARGUMENTS is empty, ask the user what they want to ask Hamster.

Installs
5
GitHub Stars
9
First Seen
7 days ago