Skip to content
Development
Skill

/knowledge-layer

High-level deployment wrapper over RepoBrain core with graph-first knowledge injection and all-file support. Exposes `refresh_filesystem` and `ask_filesystem` for building and querying the knowledge graph.

From plugin
repobrain
1.3k5 skills4 commands1 hook
Install
$ npx -y skills add study8677/repobrain --skill knowledge-layer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/knowledge-layer

Context preview

The summary Claude sees to decide when to auto-load this skill.

High-level deployment wrapper over RepoBrain core with graph-first knowledge injection and all-file support. Exposes `refresh_filesystem` and `ask_filesystem` for building and querying the knowledge graph.

SKILL.md

knowledge-layer.SKILL.md
name: knowledge-layer
description: High-level deployment wrapper over RepoBrain core with graph-first knowledge injection and all-file support. Exposes `refresh_filesystem` and `ask_filesystem` for building and querying the knowledge graph.

Knowledge Layer Skill

Purpose

Provide a high-level deployment wrapper over RepoBrain core, with graph-first knowledge injection and all-file support (code, docs, data, media metadata).

Inputs

  • `refresh_filesystem(workspace=".", quick=False)`
  • `ask_filesystem(question, workspace=".")`

Outputs

  • Refresh writes graph-first artifacts under `.repobrain/`:
  • `knowledge_graph.json`
  • `knowledge_graph.md`
  • `knowledge_graph.mmd`
  • `document_index.md`
  • `data_overview.md`
  • `media_manifest.md`
  • plus existing `conventions.md` and `structure.md`
  • Ask returns a grounded answer with source paths.

Boundaries

  • Skill is a wrapper layer only; no standalone runtime.
  • Core Hub/Agent/Pipeline architecture remains the source of truth.

Compatibility

  • Existing commands (`rb-refresh`, `rb-ask`, `rb-mcp`) remain valid.
  • High-level aliases can be disabled with `RB_ENABLE_LAYER_ALIASES=0`.

Degrade Strategy

  • If graph artifacts are unavailable, ask falls back to `structure.md` and

`conventions.md` context.

Ships withrepobrain

🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.

Get the whole plugin
Stats
1,300
Stars
262
Forks
Active
Maintenance
Python
Language
MIT
License
9d ago
Last commit
8mo ago
Created

Repo: study8677/repobrain