Knowledge Layer
Agent Buildingknowledge-layerKnowledge Layer is an Agent Skill for agent building published in the study8677/repobrain repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/study8677/repobrain/blob/HEAD/engine/repobrain_engine/skills/knowledge-layer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/knowledge-layer, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.jsonknowledge_graph.mdknowledge_graph.mmddocument_index.mddata_overview.mdmedia_manifest.md- plus existing
conventions.mdandstructure.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.mdandconventions.mdcontext.