brewcode:install

SKILL.md

brewcode Install

Interactive installer for brewcode prerequisites.

Components

Component Type Purpose
brew required Package manager
coreutils+timeout required Command timeout for scripts
jq required JSON processor for hooks
ollama optional Local embedding server
bge-m3 optional Multilingual embedding model (~1.2GB)
grepai optional Semantic code search CLI

Workflow

Phase 1: State Check

EXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" state


Phase 2: Updates Check

EXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" check-updates

If UPDATES_AVAILABLE=trueASK (AskUserQuestion):

  • Header: "Updates"
  • Question: "Updates available: [list from output]. Update now?"
  • Options: "Yes, update all" | "Skip"

If YesEXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" update-all


Phase 3: Timeout Check

EXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" check-timeout

If TIMEOUT_EXISTS=falseASK:

  • Header: "Timeout Symlink"
  • Question: "Create 'timeout' symlink? REQUIRED for brewcode."
  • Options: "Yes, create" | "No, cancel"

If cancel → STOP: "Installation cancelled. timeout command required."


Phase 4: Required Components

EXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" required

If timeout still missingEXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" timeout

STOP if any required failed.


Phase 5: Semantic Search (Optional)

If not installedASK:

  • Header: "grepai"
  • Question: "Install semantic search? Enables AI-powered code search."
  • Options: "Yes, install (~1.5GB)" | "Skip"

If YesEXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" grepai


Phase 6: Summary

EXECUTE: bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" summary

Weekly Installs
12
GitHub Stars
16
First Seen
14 days ago
Installed on
claude-code12
opencode10
gemini-cli10
github-copilot10
codex10
kimi-cli10