Search skills

From danielvm-git/bigpowers · View interactive version

Search skills is an AI agent skill from the GitHub repository danielvm-git/bigpowers. Find the right bigpowers skill from natural-language intent using a local lexical index over SKILL.md frontmatter. Use when unsure which skill to invoke, or at start of research-first.

How to use this skill

Skill file

<!-- story: e09s01 -->

<!-- story: e21s01 -->

Search Skills

HARD GATE — Search results must be ranked by relevance. Do NOT return all matches without prioritization. Use skill metadata (phase, purpose, frequency) to rank.

HARD GATE — Do NOT use external embedding APIs or AI-based semantic search. This is a lexical-only index (ADR: zero external dependency).

Lexical search only — no embedding service (ADR: zero external dependency). The index is a flat markdown file (specs/SKILL-SEARCH-INDEX_LATEST.md) built from every SKILL.md's YAML frontmatter — name, description, and key phrases. No vector DB, no API calls, no network dependency.

When to use

Pre-flight

Process

  1. Refresh index if stale — Run bash scripts/build-skill-index.sh if specs/SKILL-SEARCH-INDEX_LATEST.md doesn't exist or was modified before the last SKILL.md change.
  1. Search the index — Use ripgrep on the lexical index:

```

rg -i "<keywords>" specs/SKILL-SEARCH-INDEX_LATEST.md

```

The index contains each skill's name, description, phase, and key use-case phrases, so natural language queries work well even without embeddings.

  1. Rank results — Read the top 3 matches. Evaluate by:
  1. Recommend one skill — Select the single best-matching skill. Provide:
  1. Invoke — Call the skill directly or through the orchestrator. If no match found, suggest the closest phase-appropriate skill or using-bigpowers as a general entry point.

Index Format

specs/SKILL-SEARCH-INDEX_LATEST.md contains one section per skill:

## <skill-name>
- **Description:** <from frontmatter>
- **Phase:** <lifecycle phase>
- **Triggers:** <key phrases from description>
- **Keywords:** <extracted terms>

Why Not Semantic Search?

Verify

→ verify: test -f specs/SKILL-SEARCH-INDEX_LATEST.md || (bash scripts/build-skill-index.sh && test -f specs/SKILL-SEARCH-INDEX_LATEST.md)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.