vault-query
Search and analyze the vault knowledge base. Query learnings by type, status, tags, or pattern-key. Show promotion candidates and recurring patterns.
Profile →npx skills add majiayu000/claude-skill-registry --skill vault-query --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Vault Query Search and analyze the vault knowledge base from the CLI. ## Subcommands Parse `$ARGUMENTS` to determine which subcommand to run: ### `stats` Count learnings by status and type, show promotion candidates: 1. `Glob` for `vault/learnings/*.md` 2. Read each file's frontmatter 3. Aggregate counts by `type` (learning/error/feature), `status`, `area`, and `project` 4. List any entries with `recurrence-count >= 3` as promotion candidates 5. Output a summary table ### `promotions` List learnings eligible for promotion: 1. `Grep` for `recurrence-count:` in `vault/learnings/*.md` 2. Read files where `recurrence-count >= 3` 3. For each, show: id, title, recurrence-count, first-seen, last-seen, pattern-key 4. Sort by recurrence-count descending ### `recent` (or `recent N`) Show the last N learnings (default 10): 1. `Glob` for `vault/learnings/*.md` 2. Sort by filename (date-based naming gives chronological order) 3. Read the last N files 4. Show: id, type, title, status, tags ### `by-tag <tag>` Filter learnings by tag: 1. `Grep` for the tag in `vault/learnings/*.md` frontmatter `tags:` lines 2. Read matching files 3. Show: id, type, title, status ### Free-form query For any other
- Subcommands
- stats
- promotions
- recent (or recent N)
- by-tag <tag>
- Free-form query
- Output Format
What does the vault-query skill do?
Search and analyze the vault knowledge base. Query learnings by type, status, tags, or pattern-key. Show promotion candidates and recurring patterns.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill vault-query --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.