Files
Skills/chromy/SKILL.md
T

44 lines
1.6 KiB
Markdown
Raw Normal View History

2026-04-22 10:12:00 +02:00
---
name: chromy
description: This skill provides access to a RAG-like context enhancer that uses Chromadb locally.
---
# Chromy
Whenever the user asks to "use chromy", you should invoke `chromy`, which is a cli tool to perform RAG search.
The tool should be available in the `$PATH` as `chromy`.
You have access to these commands:
2026-05-01 15:44:01 +02:00
- `$ chromy list-collections` -> Lists the existing collections.
- `$ chromy query <collection> <query>` -> Performs a query. Be sure to quote the `<query>` if this is composed by multiple words.
2026-04-22 10:12:00 +02:00
Then use the response from Chromy to enhance the context and give the user a refined response.
## A note on file sources
The Chromy response returns the metadatas for the chunks it finds. Among these metadatas, there is `file_name`, which refers to the original file that was chunked and imported. **DO NOT ATTEMPT** to find or fetch these files. They most likely do not exist in the filesystem. You **SHOULD ALWAYS** however cite correctly from which files (**ONLY** from Chromy's metadatas) the information is coming.
## Example use case
**START**
User query:
> Search in Chromy information about lovecraft's Dunwich horror.
2026-05-01 15:44:01 +02:00
Step 1: Get the available collections with `chromy list-collections`. The output is:
2026-04-22 10:12:00 +02:00
```
lovecraft
documents
```
Most likely our information is in the `lovecraft` collection. We will use that for the query.
2026-05-01 15:44:01 +02:00
Step 2: Query using `chromy query lovecraft <query>`. The query _is up to you_, create one keeping into account that this is a raw query on a vector DB. Be concise, extract keywords, avoid noise.
2026-04-22 10:12:00 +02:00
Step 3: Get the results, enhance the context, and respond to the user.
**END**