One-click install
npx skills add https://github.com/onebrain-ai/onebrain --skill update-onebrain-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update
Source: https://github.com/onebrain-ai/onebrain/tree/main/.claude/plugins/onebrain/skills/update
Command: npx skills add https://github.com/onebrain-ai/onebrain --skill update-onebrain-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of updating the OneBrain system files (skills, hooks, and agents) to the latest GitHub release without manually copying or risking breaking changes.

Core Features & Use Cases

  • Version-aware updates: Detects your current vault version, checks the correct GitHub branch from your update_channel, and shows the changelog before proceeding.
  • Migration-aware syncing: Boots with the latest SKILL.md, updates plugins via the CLI, merges settings additively, runs required vault migrations, and bumps plugin.json only at the end.
  • Rollback-minded idempotency: Uses safe re-runs and ordered migration steps, with clear guardrails for major version bumps and failure recovery.

Quick Start

Use the command "update OneBrain" to pull the newest OneBrain skills, hooks, and agents from GitHub and migrate your vault as needed.

Frequently Asked Questions about update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update OneBrain skills and vault hooks to the latest version?

You can update OneBrain skills and vault hooks by running the "update OneBrain" command. It fetches raw files from GitHub, displays the changelog verbatim, and applies ordered migrations with confirmation prompts for major version bumps.

Can I sync OneBrain plugins without manually editing files or using git?

Yes, you can sync OneBrain plugins without manual file editing or git. The update process uses WebFetch-based raw GitHub reads to pull the latest compatible version from your update_channel branch and merges settings additively via the CLI.

What happens during a major version bump when updating OneBrain?

During a major version bump, the system displays the changelog verbatim and triggers confirmation prompts before proceeding. This ensures you review breaking changes before the update execution and plugin.json version bump occur.

How does OneBrain handle settings merge and vault migrations during an update?

OneBrain handles settings merge additively and runs required vault migrations in a specific order. It boots with the latest SKILL.md, updates plugins via the CLI, and only bumps the plugin.json version after migrations complete.

Is it safe to re-run the OneBrain update process if a previous attempt failed?

Yes, it is safe to re-run the OneBrain update process. The update mechanism uses rollback-minded idempotency with safe re-runs and ordered migration steps, providing clear guardrails for failure recovery.