Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

api-collections

FreeNo executable scriptsNot checked

Call nodetool.collections from a code action: list the user's knowledge collections and run a semantic search in one of them. Indexing is not available from…

nodetool-aiby nodetool-ai★ 674 GitHub stars

About this skill

nodetool.collections

The vector store behind retrieval. A collection holds document chunks with embeddings for semantic search. It is not an asset folder. How to chunk, index and build a RAG workflow is nodetool-rag-indexing.

Call Does
list() Lists the collections the user has.
query(collection, query, {n_results}) Semantic search in one named collection. n_results defaults to 5.

index, indexBatch, search and hybridSearch also exist on nodetool.collections, but their tools are on no tool belt this product ships, so each one throws "not in this toolbelt". Do not plan on them. To add documents to a collection, build an indexing workflow as nodetool-rag-indexing describes and run it with nodetool.workflows.run.

Rules

  • Call list() first when you do not know the collection name.
  • An empty result from a collection the user just made usually means nothing was indexed yet. Say so instead of retrying the query.
const { collections } = await nodetool.collections.list();
const hits = await nodetool.collections.query("manuals", "reset the device",
  { n_results: 8 });

Install api-collections in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the api-collections skill do?

Call nodetool.collections from a code action: list the user's knowledge collections and run a semantic search in one of them. Indexing is not available from code; build it with nodetool-rag-indexing. Load before the first call into nodetool.collections.

How do I install the api-collections skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the api-collections skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare api-collections with