Agent skill

Index

by softspark in softspark/ai-toolkit

Reindexes KB for semantic search via vector store (Qdrant). An agent skill from softspark/ai-toolkit.

Apache-2.0Auto-check: notesAI & LLM Engineering

Install Index

skills CLI
$ npx skills add softspark/ai-toolkit --skill index -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit index --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/index .claude/skills/index && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
index
GitHub stars
179
Token cost
~840 tokens
SKILL.md length
352 words
Files
1
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reindexes KB for semantic search via vector store (Qdrant). An agent skill from softspark/ai-toolkit.

  • Tasks that involve Vector databases
  • SKILL.md covers Usage, Execution, Change Detection and Frontmatter Validation, plus 4 more sections
  • Calls make and docker
  • Tasks that involve Embeddings

What it does

Index is an agent skill from softspark/ai-toolkit. Reindexes KB for semantic search via vector store (Qdrant). Triggers: reindex KB, rebuild index, vector reindex, refresh embeddings.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Vector databases and Embeddings. It works with Qdrant. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Vector databases
  • Tasks that involve Embeddings

Example prompts

  • “Use the index skill to reindex KB for semantic search via vector store (Qdrant). An agent skill from softspark/ai-toolkit”
  • “/index”

Requirements

  • Docker
  • Pre-approved tools (allowed-tools): Bash

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make
    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Index loads about 840 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 352 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~840

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 352 words, ~840 tokens.

Download SKILL.mdSave it as .claude/skills/index/SKILL.md (or your agent's skills folder).
name
index
description
Reindexes KB for semantic search via vector store (Qdrant). Triggers: reindex KB, rebuild index, vector reindex, refresh embeddings.
allowed-tools
Bash
effort
low
disable-model-invocation
true
argument-hint
[path or scope]

Knowledge Base Indexing

$ARGUMENTS

Reindex the knowledge base for semantic search.

Prerequisite: This command requires a vector store (e.g., Qdrant) and an indexing pipeline configured for your project. If not configured, this command provides guidance on setup.

Usage

/index              # Incremental index (detect changes)
/index --full       # Full rebuild

Execution

Direct Execution
bash
# Incremental index (auto-detects changes)
make index

# Full rebuild
make index-full
Docker Execution
bash
docker exec {app-container} make index
docker exec {app-container} make index-full

Change Detection

The indexer uses content hashing to detect changes:

ScenarioAction
New documentIndex
Changed contentReindex
No changesSkip
Deleted documentRemove from index

Frontmatter Validation

Before indexing, ensure all KB documents have valid frontmatter:

yaml
---
title: "Document Title"
service: {service-name}
category: reference|howto|procedures|troubleshooting|decisions|best-practices
tags: [tag1, tag2]
last_updated: "YYYY-MM-DD"
---

Troubleshooting

ProblemSolution
Index not updatingCheck file timestamps, run full rebuild
Missing documentsVerify frontmatter is valid
Slow indexingCheck embedding service performance
No vector storeSet up Qdrant or compatible vector DB

Rules

  • MUST require explicit user permission before running make index or make index-full — never self-trigger
  • NEVER trigger a full rebuild to "clean up" unless the user asked for it
  • CRITICAL: validate KB frontmatter before indexing — abort on invalid documents rather than indexing a broken state
  • MANDATORY: respect change-detection hashes; do not force reindexing of unchanged documents
Show full SKILL.md (182 more words)Show less

Gotchas

  • Content-hash change detection keys on the file's content AND path. A moved document (same content, new path) looks new to the indexer — both the old path vector and the new one will exist until a full rebuild. Plan a full rebuild after mass reorganizations.
  • Deleting a document on disk does not automatically remove its vectors from Qdrant; the indexer emits tombstones only if run with a directory scan. Without --delete-missing, orphan vectors stay for weeks.
  • Embedding providers rate-limit by requests-per-minute AND by tokens-per-minute. A reindex of 1000+ docs hits the token cap first and stalls silently — watch for 429s in the indexer log before concluding "slow indexing".
  • make index-full truncates the collection before re-embedding; if the embedding job crashes mid-way, the collection is left partially populated with no query-time indicator of the gap.

When NOT to Use

  • For searching the KB — use /research-mastery or call smart_query() via the rag-mcp tool
  • For fixing indexing bugs — use /debug on the indexer pipeline
  • To evaluate RAG quality after reindexing — use /evaluate
  • When no vector store is configured — document the gap, do not invent one

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/skills/index of softspark/ai-toolkit.

Open the folder on GitHubat commit d64db2b

Compare with similar skills

Index next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Index compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Index this skillsoftspark/ai-toolkit179—~840Automated safety check: NotesApache-2.0
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
RAG Implementationwshobson/agents40k9 repos~1.1kAutomated safety check: PassMIT
Qdrant Model Migrationqdrant/skills2532 repos~2.3kAutomated safety check: PassApache-2.0
Hunt RAG Vectorelementalsouls/Claude-BugHunter4.8k—~2.6kAutomated safety check: PassMIT
Qdrant Search Quality Diagnosisgithub/awesome-copilot40k1 repos~928Automated safety check: PassMIT

Similar skills

  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • RAG Implementation

    wshobson/agents

    Build retrieval-augmented generation systems: pick a vector database and embedding model, choose retrieval and reranking strategies, and start from a LangGraph pipeline.

    40k GitHub starsUsed in 9 repos~1.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Guides embedding model migration in Qdrant without downtime.

    253 GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Hunt RAG Vector

    elementalsouls/Claude-BugHunter

    Hunt vector-store / embedding-layer weaknesses in RAG pipelines (OWASP LLM08 Vector and Embedding Weaknesses) — persistent corpus poisoning that survives across sessions and users (distinct from…

    4.8k GitHub stars~2.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Qdrant Search Quality Diagnosis

    github/awesome-copilot

    Official

    Diagnoses Qdrant search quality issues. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 1 repo~928 tokens
    AI & LLM EngineeringAuto-check passed
  • Qdrant Search Quality

    github/awesome-copilot

    Official

    Diagnoses and improves Qdrant search relevance. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 1 repo~336 tokens
    AI & LLM EngineeringAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check: notes

Works with

Questions about Index

What does Index do?

Reindexes KB for semantic search via vector store (Qdrant). An agent skill from softspark/ai-toolkit. Index is an agent skill from softspark/ai-toolkit. Reindexes KB for semantic search via vector store (Qdrant).

When should I use Index?

Index fits situations like: tasks that involve Vector databases; tasks that involve Embeddings.

How do I install Index in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill index -a claude-code`. Or copy the skill folder (app/skills/index in softspark/ai-toolkit) into .claude/skills/index in your project. Claude Code loads it when a task matches its description.

How do I install Index in Codex?

Run `npx skills add softspark/ai-toolkit --skill index -a codex`. Or copy the skill folder (app/skills/index in softspark/ai-toolkit) into .agents/skills/index in your project. Codex loads it when a task matches its description.

Can I use Index in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill index -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/index, .gemini/skills/index, .github/skills/index and .opencode/skills/index in your project.

What does Index need to run?

Going by SKILL.md and its folder, Index needs the command-line tools its instructions call (make and docker). Our summary lists: Docker. Its frontmatter pre-approves these tools: Bash.

Does Index access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Index safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Index use?

Index is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Index use?

About 840 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Index?

Skills that share tags, products or a category with Index: Codebase Management (giancarloerra/SocratiCode, 3.3k stars), RAG Implementation (wshobson/agents, 40k stars), Qdrant Model Migration (qdrant/skills, 253 stars) and Hunt RAG Vector (elementalsouls/Claude-BugHunter, 4.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Index?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.