Checks for and installs released Bricks skills-pack updates when the update checker reports an available version.
Ships in bricks. 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.
Use this skill when the update check prints:
BRICKS_SKILLS_UPDATE_AVAILABLE <old> <new> <tag>
_BS_UPDATE_CHECK=""
for _CAND in "$HOME/.bricks/skills/bricks-skills/scripts/bricks-skills-update-check" "$PWD/scripts/bricks-skills-update-check" "$HOME/.claude/skills/bricks-skills/scripts/bricks-skills-update-check" "$HOME/.codex/skills/bricks-skills/scripts/bricks-skills-update-check"; do
[ -f "$_CAND" ] && _BS_UPDATE_CHECK="$_CAND" && break
done
echo "$_BS_UPDATE_CHECK"
If no path is found, tell the user the update checker is not available in this install and point them to the README install section.
Force a fresh check:
sh "$_BS_UPDATE_CHECK" --force || true
If it reports BRICKS_SKILLS_UPDATE_CHECK_FAILED, the release service was unreachable. Keep the installed version and retry later; do not describe the result as up to date.
_BS_ROOT=$(cd "$(dirname "$_BS_UPDATE_CHECK")/.." && pwd)
sh "$_BS_ROOT/scripts/bricks-skills-upgrade" "<tag>"
If the update check did not include a tag, omit the argument. The script will discover the latest eligible published release. Stable installs exclude drafts and prereleases; an existing prerelease install can receive prereleases or stable releases. An explicitly requested prerelease tag remains supported.
BRICKS_SKILLS_NOT_GIT_INSTALL, this install is managed by the host client rather than by a Bricks-owned git checkout. Tell the user to either:/plugin marketplace update bricks-skills in Claude Code.BRICKS_SKILLS_NO_RELEASE_FOUND, no published GitHub Release is available yet. Tell the user to keep the current version.If it prints BRICKS_SKILLS_RELEASE_CHECK_FAILED, the release service was unreachable or returned malformed data. No checkout was attempted; keep the current version and retry later.
If it prints BRICKS_SKILLS_DOWNGRADE_REFUSED, stop. The requested release is older than the installed version. Never add --allow-downgrade unless the user explicitly asks to install that older version after seeing the warning.
If it prints BRICKS_SKILLS_PINNED, the checkout already reported the release version but was still following another branch. The script successfully pinned it to the published release tag; treat this as a successful upgrade and reload the client if required.
/plugin marketplace update bricks-skills
/reload-plugins
This refreshes Claude Code's installed plugin cache from the updated git checkout.
If the upgrade succeeds, read CHANGELOG.md and summarize the changes between the old and new versions in 3-5 bullets.
If the upgrade script prints BRICKS_SKILLS_LOCAL_CHANGES_STASHED, tell the user local changes were stashed in the skills repo and can be restored manually from that repo with git stash pop.
If the upgrade script prints BRICKS_SKILLS_STASH_FAILED, stop. Release metadata may already have been fetched and validated, but no checkout was attempted; inspect the reported git error before retrying.
If it prints BRICKS_SKILLS_WORKTREE_NOT_CLEAN, stop. The script refused to check out a release because changes remained after the stash attempt; release metadata/tags may already have been fetched. Inspect both git status and git stash list before retrying.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bricks:bricks-skills-updatefrom bricks
npx claudepluginhub codeerhq/bricks-skills --plugin bricks46 skills in this plugin
/bricks-agent-repositoryHandle complex existing-site Bricks edits through advertised repository/workspace workflows when focused abilities cannot express the change./bricks-ai-tabDiagnose Bricks AI connection setup, ability toggles, dispatcher availability and disabled actions. Use for connection/availability problems./bricks-audit-design-systemAudit Bricks classes, variables, palettes and components, or carry out requested cleanup. Report-only audits do not authorize fixes.Other plugins' skills for the same job