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.

study8677 fbb58dd 3 files · 4.0 KB Updated

File contents

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.

study8677/antigravity-workspace-template/tree/main/engine/repobrain_engine/skills/knowledge-layer commit fbb58dd5b3

Frequently asked questions

npx skillmds@latest add study8677/knowledge-layer