audit-config
Audit Antigravity project configuration and documentation for drift, staleness, and broken references. Use when user asks for…
Load relevant knowledge by topic. Queries the tag index and presents matching promoted files for selective loading into context. Use when user says '/context stripe', '/context api pagination', '/context ss', 'load knowledge about...', 'what do we know about...'. (Code port —
Claude Code
$ npx -y skills add mikeprasad/aria-knowledge --skill context --agent claude-code
Codex
$ npx skills add mikeprasad/aria-knowledge --skill context -a codex -y
Cursor
$ npx skills add mikeprasad/aria-knowledge --skill context -a cursor -y
Gemini CLI
$ npx skills add mikeprasad/aria-knowledge --skill context -a gemini-cli -y
GitHub Copilot
$ npx skills add mikeprasad/aria-knowledge --skill context -a github-copilot -y
OpenCode
$ npx skills add mikeprasad/aria-knowledge --skill context -a opencode -y
Windsurf
$ npx skills add mikeprasad/aria-knowledge --skill context -a windsurf -y
description: "Load relevant knowledge by topic. Queries the tag index and presents matching promoted files for selective loading into context. Use when user says '/context stripe', '/context api pagination', '/context ss', 'load knowledge about...', 'what do we know about...'. (Code port — ADR-094.)"
Query the knowledge tag index and load relevant promoted files into the conversation context.
Read `~/.gemini/antigravity/aria-knowledge.local.md` and extract:
Parse `projects_list` into a tag→path map. The format is comma-separated `tag:path` pairs (e.g., `proj-a:path/to/proj-a,proj-b:proj-b`). Tags are used to identify project-specific files; paths are not used by `/context` (they're for CWD detection in other skills).
If the config file doesn't exist, stop: "aria-knowledge is not configured. Run /setup to get started."
Read `{knowledge_folder}/index.md`.
If the file doesn't exist, stop: "No knowledge index found. Run `/index` to build it."
Parse the index to extract:
The user's argument is a space-separated list of tags with optional `AND` keyword.
**Parsing rules:**
Examples:
If no argument provided, stop: "Usage: `/context <tag1> [tag2] [AND tag3]`. Run `/index` to see available tags."
After parsing the query into tokens (Step 2) but BEFORE project expansion (Step 3), resolve any aliases.
**Source:** the alias map is encoded in `index.md`'s `## Known Tags` section as `[aliases: ...]` annotations on canonical tag entries. Parse that section to build a flat `alias → canonical` map. If no aliases are declared (no `[aliases: ...]` annotations exist), skip this step entirely.
**Resolution:** for each token `t` in the parsed query, look up `t` in the alias→canonical map. If matched, replace `t` with its canonical form. Record the resolution.
**Notification:** for each resolution, emit one line BEFORE the Step 3 "Expanded …" notification:
Resolved `rn` → `react-native`
**Order matters:** alias resolution runs BEFORE project expansion. If `seer → ss` is an alias and `ss` is a project tag, querying `/context seer` resolves to `ss` first; Step 3 then expands `ss` to its relevant tags.
**Unidirectional:** resolution is alias → canonical only. Querying the canonical does NOT match alias-only declarations (i.e., querying `react-native` won't surface files that only declare alias `rn`).
For each tag in the query, check if it matches a project key in the `## Projects` section (e.g., `ss`, `cs`, `df`, `aria`).
If a tag matches a project: 1. Keep the project tag itself in the search 2. Also add all of that project's "Relevant tags" to the search 3. Notify the user:
Expanded `ss` to include: api, django, nextjs, stripe, supabase, database, deployment
Project expansion only applies in union (OR) mode. In AND mode, project tags are treated as literal tags (a file must be tagged `ss` specifically).
File discovery has three sources: the index `## Tag Index` and `## Other Tags` sections (cross-project tagged files), the filesystem (project-specific files under `projects/{tag}/**`), and the index `## Team-Shared Tag Index` section (team-shared files in code repos under `_project-knowledge/`). All three contribute to the result set; results are categorized so Step 5 can present them grouped.
**Matching rule (extended 2.16.0):** for any source, a query token `t` matches a file `f` if either: 1. `t` equals a tag declared by `f` (existing behavior), OR 2. `t.lower()` (with hyphens stripped) appears as a substring of any phrase in `f`'s `semantic-hints:` frontmatter (also lowercased + hyphen-stripped).
The `## Semantic Hints Index` in `index.md` is the discovery surface for hint matches — Step 4a scans both `## Tag Index` / `## Other Tags` AND `## Semantic Hints Index` for query-token matches. AND/OR mode applies per-token: each token can satisfy independently via tag OR hint.
When a file matches via hint rather than tag, append `[hint: <phrase>]` to the Step 5 result render so the user can see why the file was surfaced.
Scan the `## Tag Index` and `## Other Tags` sections for entries matching the query tags.
**Exclude files whose path starts with `projects/`** — those are project-tier files, handled by Step 4b
Agent Memory · Context Engineering · Planning & Reasoning · Human-in-the-Loop Governance ARIA is the missing infrastructure layer for production AI coding agents: persistent memory that survives context compaction, deliberate context engineering that loads
Audit Antigravity project configuration and documentation for drift, staleness, and broken references. Use when user asks for…
Scan Antigravity conversation transcript + artifact directory for extractable knowledge. Use when user asks for 'knowledge…
Save the current Antigravity transcript to the knowledge intake on demand. Use when user says '/snapshot', 'snapshot the…
Morning product-management review across all your projects. Use when the user runs /aria-assist, asks for a morning review /…
Research a question, check existing knowledge first, draft a knowledge doc from the answer, and save directly to the appropriate…
Mine your distilled knowledge corpus — memory feedback rows, rules backlogs, always-on indexes — for recurring corrections that…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.