Skip to content
Back to skills

Knowledge Layer

ASecurity

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.

  • 1,363 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgit

Works with

  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Knowledge Layer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Layer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/study8677-knowledge-layer-repobrain/badge)](https://www.skillsdirectory.com/skills/study8677-knowledge-layer-repobrain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Files in this skill

  • SKILL.md1.3 KB
  • __init__.py37 B
  • tools.py2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.