gbrain-upgrade
Skill4 starsChanged 4 months agoMITView on GitHub
Check and apply upstream gbrain upgrades safely, while keeping the Codex port's local substrate honest.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- academic-verifySkill
- accessibility-reviewSkill
- archive-crawlerSkill
- article-enrichmentSkill
- ask-userSkill
- autoplanSkill
- benchmark-modelsSkill
- benchmarkSkill
- book-mirrorSkill
- brain-opsSkill
- brain-pdfSkill
- brain-taxonomistSkill
- briefingSkill
- browseSkill
- canarySkill
- captureSkill
- carefulSkill
- checkpointSkill
- citation-fixerSkill
- codexSkill
- cold-startSkill
- concept-synthesisSkill
- connect-chromeSkill
- context-restoreSkill
- context-saveSkill
- cron-schedulerSkill
- cross-modal-reviewSkill
- csoSkill
- daily-task-managerSkill
- daily-task-prepSkill
- data-researchSkill
- design-consultationSkill
- design-htmlSkill
- design-leadership-reviewSkill
- design-qualitySkill
- design-reviewSkill
- design-shotgunSkill
- devex-reviewSkill
- diagramSkill
- document-generateSkill
- document-releaseSkill
- eiirpSkill
- enrichSkill
- freezeSkill
- frontmatter-guardSkill
- functional-area-resolverSkill
- gbrain-advisorSkill
- gstackSkill
- gstack-upgradeSkill
- guardSkill
- healthSkill
- idea-ingestSkill
- idea-lineageSkill
- ingestSkill
- installSkill
- investigateSkill
- ios-cleanSkill
- ios-design-reviewSkill
- ios-fixSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user asks to update, upgrade, or verify upstream GBrain availability.
- Distinctive: line 19
Check local state before mutation:
- Distinctive: line 27
If the upstream CLI exists, use read-only upgrade checks first:
- Distinctive: line 38
If the upstream CLI is absent, continue with this repo's file-backed GBrain port and report the absence plainly.
- Distinctive: line 39
Prefer current documented Codex capabilities over older Claude Code compatibility fallbacks.
- Distinctive: line 43
Do not block unrelated work on an optional upstream CLI upgrade.
- Very specific: line 44
Do not convert this repo's local brain/ corpus into another storage backend during an upgrade.
- Distinctive: line 45
Do not claim full upstream parity after only updating the Codex skill port.
- Distinctive: line 46
Do not rely on stale memory for Codex host behavior when the official manual can be refreshed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GBrain Upgrade
Use this skill when the user asks to update, upgrade, or verify upstream GBrain availability.
This port was reconciled against garrytan/gbrain at commit
0b47afbf402a4e27a648bb9d131ce584461461ea.
Workflow
- Determine which layer is being updated:
- upstream
gbrainCLI - this Codex port's GBrain skill files
- this repo's local
brain/substrate
- upstream
- Check local state before mutation:
git status --shortcodex --versioncommand -v gbrainpython3 scripts/brain_doctor.py
- Refresh the current official Codex manual before judging whether a local fallback is still necessary:
node "${CODEX_HOME:-$HOME/.codex}/skills/.system/openai-docs/scripts/fetch-codex-manual.mjs"- review the relevant skills, MCP, plugins, memories, automations, sandboxing, and local environment sections
- If the upstream CLI exists, use read-only upgrade checks first:
gbrain self-upgrade --check-only --jsonwhen availablegbrain --versiongbrain doctor
- Apply upgrades only after the user approves, unless they explicitly requested the upgrade.
- Re-run local validation after any update.
Codex Adaptation
- This skill never runs a command parsed out of an
UPGRADE_AVAILABLEmarker. - The only allowed upstream self-upgrade commands are hardcoded
gbrain self-upgradeorgbrain upgrade. - If the upstream CLI is absent, continue with this repo's file-backed GBrain port and report the absence plainly.
- Prefer current documented Codex capabilities over older Claude Code compatibility fallbacks; keep the file-backed brain and CLI/MCP fallbacks only where current host state requires them.
Guardrails
- Do not block unrelated work on an optional upstream CLI upgrade.
- Do not convert this repo's local
brain/corpus into another storage backend during an upgrade. - Do not claim full upstream parity after only updating the Codex skill port.
- Do not rely on stale memory for Codex host behavior when the official manual can be refreshed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

