Provide a high-level deployment wrapper over Antigravity 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 .antigravity/:
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.
High-level aliases can be disabled with AG_ENABLE_LAYER_ALIASES=0.
Degrade Strategy
If graph artifacts are unavailable, ask falls back to structure.md and
conventions.md context.
1---2name: knowledge-layer3description: Knowledge Layer Skill4---5# Knowledge Layer Skill67## Purpose8Provide a high-level deployment wrapper over Antigravity core, with graph-first9knowledge injection and all-file support (code, docs, data, media metadata).1011## Inputs12- `refresh_filesystem(workspace=".", quick=False)`13- `ask_filesystem(question, workspace=".")`1415## Outputs16- Refresh writes graph-first artifacts under `.antigravity/`:17 - `knowledge_graph.json`18 - `knowledge_graph.md`19 - `knowledge_graph.mmd`20 - `document_index.md`21 - `data_overview.md`22 - `media_manifest.md`23 - plus existing `conventions.md` and `structure.md`24- Ask returns a grounded answer with source paths.2526## Boundaries27- Skill is a wrapper layer only; no standalone runtime.28- Core Hub/Agent/Pipeline architecture remains the source of truth.2930## Compatibility31- Existing commands (`ag-refresh`, `ag-ask`, `ag-mcp`) remain valid.32- High-level aliases can be disabled with `AG_ENABLE_LAYER_ALIASES=0`.3334## Degrade Strategy35- If graph artifacts are unavailable, ask falls back to `structure.md` and36 `conventions.md` context.
Run npx skillmds@latest add xiaolai/knowledge-layer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Knowledge Layer Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
xiaolai (@xiaolai) published this skill. Their other Agent Skills are listed on their SkillMD profile.