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.4k4 skills4 commands1 hook

Claude Code

$ npx -y skills add study8677/repobrain --skill knowledge-layer --agent claude-code

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=".", full=False)`
  • `ask_filesystem(question, workspace=".")`

Refresh automatically chooses a first complete build, matching interrupted-task resume, committed-diff update, or no-op. `full=True` always starts a new complete build. The workspace defaults to the current directory and must be a clean Git worktree. Ask stays read-only and only suggests `rb-refresh` when knowledge is stale. Both refresh surfaces report failures without replacing usable knowledge.

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.

Read more
@study8677
Ships withrepobrain

Cross-IDE repository knowledge engine for grounded codebase Q&A. Formerly known as Antigravity Workspace Template — same project, new name.

Stars on GitHub

Momentum

stars in total
1.4k
Star history of study8677/repobrain on GitHub, a chart by star-history.com

Other skills on repobrain.

agent-repo-init

agent-repo-init

One-click initialization of a multi-agent repository from the RepoBrain template. Use this skill when users want to scaffold a…

@study8677@study8677Install Skill
graph-retrieval

graph-retrieval

Exposes graph-based retrieval as a tool capability via `query_graph`. Reads normalized graph store files, builds a query-relevant…

@study8677@study8677Install Skill
research

research

Performs deep research on a topic via `deep_research`. Simulates a multi-step research process and returns a comprehensive…

@study8677@study8677Install Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about knowledge-layer.

Which coding agents can use knowledge-layer?
knowledge-layer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.