Index of every page on this site: llms.txt
All skills
Run it yourself

Refreshes the qmd search index (BM25 and embeddings) after notes change. Use for a search-index refresh, at the end of an ingest, or after bulk edits made outside the agent. Not for creating collections, changing qmd configuration or searching notes.

  • 1 file
  • 2 KB
  • MIT
  • Updated 2 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/goberomsu/secondbrain-skills/reindex

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈65 tokens for metadata: the name and description. ≈445 when used: this file.

Description uses 3.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈260 characters, or 3.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Reindex

Refresh the configured qmd index so new and changed notes are searchable. The index and its collections are whatever qmd is already configured with; this skill does not create, rename, or edit them.

Done means:

  • the changed notes are in the index and a search finds them;
  • no embedding the index needs is left pending, or the pending count is reported as unfinished;
  • the report names the collections refreshed, the document and vector counts from qmd's own status, and anything qmd reported as failed.

Run qmd update, qmd embed, qmd status over the registered collections, usually wiki, raw_sources and queries (Inbox excluded until ingest). Refresh only the collections the live qmd configuration already registers; confirm command names with qmd --help on this host. Do not change qmd models, the embedding model or its environment variable, network access, or the collections config without the owner's approval; live policy wins and anything unknown is reported as unknown. Force a full re-embed (qmd embed -f) only after an approved embedding-model change. A non-zero exit or a status you cannot read is unfinished, never zero pending. When qmd is not installed, report that and stop.

This procedure is the qmd CLI itself: run qmd update, then qmd embed, then qmd status, and read the counts and any Pending: N need embedding line from that status (qmd 2.8.3 prints the line only when N is above 0; vectors count embedded chunks, not files). A failed command or an empty or unrecognized status is unfinished.

There is no edit hook or background reindex: qmd has no file watcher, and this package does not wrap qmd to add one. Run the three commands above at the end of the workflow that changed notes, or when the owner asks.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at fe0f898. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago

README badge

README badge for goberomsu/secondbrain-skills/reindex