/farty-bobo:installfrom farty-bobo
Selectively install skills, hooks, and commands from the Farty Bobo config repo (fartybobo/farty-bobo) onto this machine — without forking or cloning the whole repo. Trigger on: "install farty bobo", "install skills from farty bobo", "get the farty bobo skills", "install hooks", "install commands from config repo".
Ships in farty-bobo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch the live catalog from fartybobo/farty-bobo, let the user pick what they want,
and install it to the right places on this machine.
Run all three in parallel:
# Skills (folders only; "_"-prefixed folders are shared support code, not skills)
gh api "repos/fartybobo/farty-bobo/contents/skills" \
--jq '[.[] | select(.type == "dir" and (.name | startswith("_") | not)) | .name]'
# Hooks (.sh files only)
gh api "repos/fartybobo/farty-bobo/contents/hooks" \
--jq '[.[] | select(.name | endswith(".sh")) | .name]'
# Commands
gh api "repos/fartybobo/farty-bobo/contents/commands" --jq '.[].name'
For each skill, fetch its description from the frontmatter:
gh api "repos/fartybobo/farty-bobo/contents/skills/<name>/SKILL.md" \
--jq '.content' | base64 -d | head -6
For each hook, fetch its purpose from the file header:
gh api "repos/fartybobo/farty-bobo/contents/hooks/<name>" \
--jq '.content' | base64 -d | head -5
Fetch all descriptions in parallel — do not loop sequentially.
Display a categorized list:
Available from fartybobo/farty-bobo:
SKILLS
• <name> — <description from frontmatter>
...
HOOKS
• <name> — <purpose from header comment>
...
COMMANDS
• <name>
...
Ask the user:
"Which would you like to install? Type 'all', a category name (skills / hooks / commands), or a space-separated list of names."
Parse the response. If ambiguous, ask for clarification.
Pin one commit. Resolve the default branch's commit once, and use that SHA for every call below, so the file list and the file contents come from the same commit:
SHA=$(gh api "repos/fartybobo/farty-bobo/commits/HEAD" --jq '.sha')
List every file once. Skills can have subfolders (e.g. scripts/), so list the whole repo
tree in one call, and keep each file's path and mode:
gh api "repos/fartybobo/farty-bobo/git/trees/$SHA?recursive=1" \
--jq '{truncated, files: [.tree[] | select(.type == "blob") | {path, mode}]}'
If truncated is true, stop and tell the user: "The repo tree is too big to list in one call.
Nothing was installed." Never install from a partial list.
Make that call once and filter it for every selected skill (path starts with skills/<name>/).
Don't call it once per skill.
Ask before touching an existing skill. Before downloading anything for a skill, check whether
~/.claude/skills/<name>/ exists. If it does, ask the user:
"~/.claude/skills// already exists — overwrite, skip, or merge?"
Download. For each file to download, save it to the same relative path under ~/.claude/.
Create parent folders first. Make the file executable only if its tree mode is 100755:
mkdir -p "$(dirname ~/.claude/<path>)"
gh api -H "Accept: application/vnd.github.raw" \
"repos/fartybobo/farty-bobo/contents/<path>?ref=$SHA" > ~/.claude/<path>.part \
&& mv ~/.claude/<path>.part ~/.claude/<path>
# only when mode == "100755":
chmod +x ~/.claude/<path>
The raw Accept header returns the file bytes directly, so files over 1 MB work too. Writing to
.part first means a failed call never replaces a good file with an empty one. If a call fails,
delete the .part file, stop, and report the path.
Shared support code. Folders under skills/ whose names start with _ (e.g.
skills/_shared/) hold code that several skills use. They never appear in the menu, but skills
break without them. Work out which ones are needed from the tree you already have, not from local
files:
_ folders: the distinct skills/_<x>/ prefixes.SHA, raw header) and look for /_<x>/, with the leading slash, for each
_ folder name. A match (e.g. ../../_shared/transcripts.sh) means the skill needs _<x>.
The leading slash stops foo_shared/ from matching._ folder you just added, and repeat until no new
folder turns up. A shared folder can need another one.Before installing a needed _<x>:
grep -rl '/_<x>/' ~/.claude/skills/*/ (leave out
_<x> itself and the skills being installed now).~/.claude/skills/_<x>/ exists and any file differs from the remote copy, ask:
"~/.claude/skills/_/ will be updated. It's also used by , which will run against
the new version. Update those skills too (recommended), update only _, or skip _?"
_<x> and overwrite each listed skill._<x> and warn that the listed skills may break until updated.Install a _ folder by downloading all of its files with the same download steps, replacing
local copies. Tell the user: "Also installed skills/_/ (used by )."
For each selected hook, download the script:
gh api "repos/fartybobo/farty-bobo/contents/hooks/<name>" \
--jq '.content' | base64 -d > ~/.claude/hooks/<name>
chmod +x ~/.claude/hooks/<name>
Create ~/.claude/hooks/ if it doesn't exist.
If a hook file already exists, ask: "~/.claude/hooks/ already exists — overwrite or skip?"
After downloading, go to Step 4 (hook registration) for each hook installed.
For each selected command, download it:
gh api "repos/fartybobo/farty-bobo/contents/commands/<name>" \
--jq '.content' | base64 -d > ~/.claude/commands/<name>
chmod +x ~/.claude/commands/<name>
Create ~/.claude/commands/ if it doesn't exist.
This step only applies if one or more hooks were installed.
First, fetch the hook registration config from the source repo's settings.json to know
exactly how each hook should be wired up (event type, matcher, command path):
gh api "repos/fartybobo/farty-bobo/contents/settings.json" \
--jq '.content' | base64 -d
Extract the hooks entries that correspond to each installed hook script.
Then ask the user:
"Where should the hooks be registered?
- Globally —
~/.claude/settings.json(fires in every project)- This project only —
.claude/settings.jsonin the current directory"
Based on their choice, read the target settings.json (create it with {} if it doesn't exist),
merge in the new hook entries under the correct event keys (PreToolUse, PostToolUse,
SessionStart, etc.), and write it back. Do not overwrite existing hook entries for other scripts —
append only.
If a hook entry for the same script path already exists in the target settings.json, skip it and tell the user it was already registered.
Print a summary:
Installed:
✓ skills/ <name>, <name>, ...
✓ hooks/ <name> (registered in ~/.claude/settings.json)
✓ commands/ <name>, ...
Skipped (already existed):
- <name>
Done. Restart Claude Code for hook changes to take effect.
What SKILL.md sets; muted values are Claude Code's defaults
sonnetOther plugins' skills for the same job
npx claudepluginhub luney-industries/farty-bobo --plugin farty-bobo31 skills in this plugin
/add-mcp-serverAdd an MCP server to the current project by creating or updating a project-level .mcp.json, .env, and .gitignore/address-pr-commentsUsed to read PR comments on github and act on them. Takes an optional PR URL or number; without one, uses the open PR for the current branch./audit-securityUse when reviewing code for security vulnerabilities, implementing authentication/authorization, handling user input, or discussing web application security. Covers OWASP Top 10:2025, ASVS 5.0, and Agentic AI security (2026)./buildUsed to build and execute an approved implementation plan by spinning up agents/code-reviewCode review a pull request or a set of related PRs created by someone else. Reads diffs, comments inline, and posts a consolidated review summary./comment-confluencePost a footer or inline comment on a Confluence page using the Atlassian MCP server. Accepts a Confluence page URL or a direct comment URL. The comment is attributed to your identity as defined in CLAUDE.md.