name: knowledge-layer
description: High-level deployment wrapper over Antigravity 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 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.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 (
ag-refresh,ag-ask,ag-mcp) remain valid. - High-level aliases can be disabled with
AG_ENABLE_LAYER_ALIASES=0.
Degrade Strategy
- If graph artifacts are unavailable, ask falls back to
structure.mdandconventions.mdcontext.