extractlisted
Install: claude install-skill mikeprasad/aria-knowledge
# /extract — Pre-Compaction Knowledge Extraction
Scan the current conversation since the last extraction for uncaptured insights, decisions, feedback, project context, and references. Dump everything to backlogs for review at the next knowledge audit. No confirmation dialog — just scan, deduplicate, and append.
## Step 0: Resolve Config and Detect Project Context
Read `~/.gemini/antigravity/aria-knowledge.local.md` and extract:
- `knowledge_folder` — required
- `projects_enabled` — default `false`
- `projects_list` — default empty (only relevant if `projects_enabled: true`)
If the config file doesn't exist, stop: "aria-knowledge is not configured. Run /setup to get started."
Use `{knowledge_folder}` as the base path for all file operations in subsequent steps.
### Detect current project (only if `projects_enabled: true`)
Determine the current working directory and check if it matches a configured project path:
1. Get the current working directory (typically the user's primary working directory, e.g., `~/Projects/path/to/proj-a`).
2. Parse `projects_list` into `tag:path` pairs.
3. For each pair, check if the CWD contains the configured path as a substring. If so, set `current_project` to that tag and stop iterating (first match wins).
4. If no path-based match is found AND `projects_remotes` is configured AND git is available, fall back to git-remote matching: run `git config --get remote.origin.url` from the CWD; for each `tag:url-pattern` pair in `projects_remotes`,