Behavior Notes
ClawHub CLI Commands
ClawHub is an npm-based CLI for discovering and installing agent skills. All commands use clawhub in the terminal:
- •Search:
clawhub search <query>— find skills by keyword - •Install:
clawhub install --dir ~/.macbot/skills <skill-name>— install a skill - •List installed:
clawhub list --dir ~/.macbot/skills— show installed skills - •Update:
clawhub update --dir ~/.macbot/skills— update all installed skills - •Info:
clawhub info <skill-name>— show skill details before installing
Important: Always use --dir ~/.macbot/skills
Son of Simon loads user skills from ~/.macbot/skills/. Always pass --dir ~/.macbot/skills to install/list/update commands so skills land in the right place.
If ClawHub Is Not Installed
If the clawhub command is not found, install it first:
code
npm install -g clawhub
URL Handling
When the user provides a ClawHub URL like https://clawhub.ai/steipete/slack, the slug is the last path segment only: slack (NOT steipete/slack — the first segment is the owner, not part of the slug). Use the short slug:
code
clawhub install --dir ~/.macbot/skills slack
Acting Autonomously
When the user asks to search for or install a skill, just do it. Don't ask for confirmation before searching. Only confirm before installing (since it writes to disk).
Install Workflow
- •If given a URL, extract the slug (e.g.,
https://clawhub.ai/steipete/slack→slack) - •
run_shell_command:clawhub install --dir ~/.macbot/skills <slug> - •Read the installed SKILL.md with
read_file(path="~/.macbot/skills/<slug>/SKILL.md")so you know what the skill does and can use it immediately in this conversation - •Tell the user the skill is installed and ready to use
- •Optionally, offer to enrich the skill with
enrich_skill(skill_id="<skill-id>")for better examples and behavior notes — but this is not required. Skills work immediately after install.