Search and write the company knowledge brain. Use for any question about the org, people, projects, decisions, or history, and to persist durable knowledge beyond this scope's notebook.
Capabilities
Reading (do this liberally)
When to reach for the brain
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.1
gbrain — the company brain
This sandbox has the gbrain CLI connected (thin-client) to the org's central
brain. It is the deep, indexed, cross-source memory: org docs, shared channel
knowledge, and every agent's durable notes. Your scope's own notebook stays the
fast per-turn memory; the brain is where knowledge outlives a scope and becomes
searchable by everyone entitled to it.
First-run setup (once per sandbox — skip if gbrain remote doctor passes)
Your scope's brain credentials arrive via the deployment's secret handoff
(keychain entry or one-time secret drop named gbrain). Then:
gbrain init --mcp-only \
--issuer-url "https://brain.<org>.com" \
--mcp-url "https://brain.<org>.com/mcp" \
--oauth-client-id "<client id from the handoff>" \
--oauth-client-secret "<client secret from the handoff>"
gbrain whoami # must succeed before using any other command
Pass the secret with --oauth-client-secret, not via GBRAIN_REMOTE_CLIENT_SECRET:
an env-sourced secret is deliberately NOT written to ~/.gbrain/config.json, so
every later command would fail with "No client_secret available" once the
variable is out of scope. The flag persists it to the config file on this
sandbox's durable disk, which is what the tool's credential capture expects.
Do not run gbrain remote doctor — it needs admin scope, which your client
does not have (by design). gbrain whoami is the read-scope health check.
Reading (do this liberally)
gbrain search "who decided X and why" # hybrid semantic + keyword search
gbrain get <slug> # read one page
gbrain query "question" --json # search tuned for agent consumption
You can read: the shared agent-memory source, org read-only sources (wiki,
handbook), and everything under them. Reads are isolation-enforced server-side;
you only ever see sources your client is entitled to.
Writing (durable knowledge only, under YOUR prefixes)
Your client is write-fenced to slug prefixes — your own namespace plus the
channels you belong to. Writes outside them are rejected server-side.
# personal durable memory (your namespace):
gbrain put emp-<your-slug>/people/jane-example --content "..."
# shared channel knowledge (channels you are in):
gbrain put chan-eng/decisions/2026-08-database-choice --content "..."
Conventions:
- Write conclusions and durable facts, not chat transcripts. One page per
entity/decision/topic; update the page rather than appending near-duplicates. - Markdown with YAML frontmatter; the brain chunks, embeds, and links it.
- Cross-reference liberally:
gbrain link <from> <to>(from must be in your
namespace; linking TO any readable page is fine). - When you learn something channel-relevant in personal work, mirror the
conclusion into the channel prefix with a(said in <where>)provenance
note.
When to reach for the brain
- Any question about the org, a person, a project, a decision, or history →
gbrain searchFIRST, then answer. - You produced knowledge with value beyond this conversation →
gbrain put. - Something looks wrong (auth errors, empty results you don't expect) →
gbrain whoamito confirm which client and scopes you're using, and report
its output.
Explore more skills
Browse all- Article EnrichmentTransform raw article text dumps in the brain into structured pages with executive summary, verbatim quotes, key…
- Brain OpsBrain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source…
- Functional Area ResolverCompress an agent's routing file (RESOLVER.md or AGENTS.md) by converting granular skill-per-row tables into…
- Company BrainifyExtract a sanitized shared team/company brain from a personal brain. Strips internal ratings, compensation, performance…
- Ask UserReusable pattern for presenting the user with explicit choices and gating execution until they respond. Used by other…
- enrichEnrich brain pages with tiered enrichment protocol. Creates and updates person/company pages with compiled truth,…
Security
Reviews (0)
More from gbrain
View source →Frequently asked questions about gbrain
What does the gbrain skill do?
Search and write the company knowledge brain. Use for any question about the org, people, projects, decisions, or history, and to persist durable knowledge beyond this scope's notebook. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the gbrain skill?
Run `npx @skills-hub-ai/cli install gbrain` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/gbrain/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does gbrain work with?
gbrain runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the gbrain skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use gbrain after installing it?
In Claude Code, type `/gbrain` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the gbrain skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/gbrain)<a href="https://skills-hub.ai/skills/gbrain"><img src="https://skills-hub.ai/api/badges/skill/gbrain" alt="Install on Skills Hub"></a>More options in the badge docs.