update

Solid

Update OneBrain system files from GitHub to the latest version. Use when the user wants to pull the latest OneBrain skills, hooks, and agents — 'update OneBrain', 'pull latest version'. Do NOT use for: updating vault notes (edit directly), teaching memory (use learn), or vault health checks (use doctor).

AI & Automation 20 stars 2 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
44
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Update Update OneBrain system files from GitHub to the latest version. > **Fetching raw GitHub content (cross-shell).** Every raw fetch in this skill — `plugin.json`, `CHANGELOG.md`, `SKILL.md`, `settings.json` — uses `curl -fsSL <url>` via the Bash tool, **not** `WebFetch`. WebFetch can summarize or paraphrase content even on `raw.githubusercontent.com` URLs, silently corrupting JSON parsing and verbatim file writes (see Known Gotchas). Never use `git` either (it hangs on Windows waiting for credentials). > - **Bash / zsh / Git Bash / cmd:** `curl -fsSL <url>` (Windows 10+ ships real `curl.exe`). To download straight to a file (e.g. the self-update bootstrap) add `-o <dest>`. > - **PowerShell:** `curl` is an alias for `Invoke-WebRequest` with incompatible flags. Read to stdout with `Invoke-WebRequest -UseBasicParsing <url> | Select-Object -ExpandProperty Content`, or download to a file with `Invoke-WebRequest -UseBasicParsing <url> -OutFile <dest>`. ## Version Check 1. Read current version from vault's `plugin.json` (`[agent_folder]/../../.claude-plugin/plugin.json` or `.claude/plugins/onebrain/.claude-plugin/plugin.json`) 2. Read `update_channel` from `onebrain.yml` (default: `stable` if field absent). Map to GitHub branch: - `stable` → `main` - `next` → `next` - `N.x` (e.g. `1.x`, `2.x`) → `N.x` 3. Read new version from repo's `plugin.json` on the mapped branch with `curl -fsSL` (see **Fetching raw GitHub content** above for the cross-shell form) — never ...

Details

Author
onebrain-ai
Repository
onebrain-ai/onebrain
Created
4 months ago
Last Updated
5 days ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category