ggozad/haiku.rag/haiku-rag
Claude Code and agent skill by ggozad/haiku.rag
- community
Checking that the SKILL.md file is still in the repository.
Search, read and compute over the user's haiku.rag knowledge base
Install
npx vskill@latest install ggozad/haiku.rag/haiku-ragSKILL.md
Working with the knowledge base
Check the knowledge base before answering from memory whenever the question could be about the user's documents. Say so when it has nothing relevant.
Find
search_documents is the first call. Results come best first with the document title, section headings, the matched chunk's metadata when it has any, and the passage in its section. Pictures in the results arrive as images: answer figure questions from them. filter restricts which documents are searched, limit how many results come back. If it misses, rephrase once or narrow with a filter before concluding the material is not there. When the question is about an image rather than words and the server offers search_documents_by_image, it takes the image as the query.
Read
Every search result shows its Document ID (and Collection when there are several); pass them to the read tools. get_document returns a document's whole text in reading order. For a long one, get_document_outline gives the heading tree with page numbers and get_document_section the text of one section, subsections included.
Compute
execute_code runs a Python program on the server over the same documents. Under /documents/{id}/ each has metadata.json, content.txt, items.jsonl, chunks.jsonl and toc.json, and the program can await search(query) and await list_documents(). Write code when the answer is a count, an aggregate, a comparison across many documents, a lookup by document or chunk metadata, or a pattern over whole documents: whatever search cannot rank. Each call is one program and variables do not carry over, so gather, compute and print a compact result in the same program. filter and sources select the documents it sees. For a known document's structure read its toc.json first; search() ranks across every document. Map a title or URI to an id with one list_documents() call rather than reading every metadata.json; the files carry no source, so over several collections group by its rows. Answer and cite from what it printed.
Explore
list_documents shows what is stored: titles, URIs and metadata. It is how you learn what a filter can match.
Filters
A SQL WHERE clause over the document columns id, uri, title, created_at, updated_at, metadata. metadata is a JSON string, so match it with LIKE: metadata LIKE '%"author": "Smith"%'. Also uri LIKE '%.pdf', title = 'Q3 report'.
Results and citations
Rank is the signal; scores are not comparable across queries and are never confidence. Cite the document title or URI, the section heading and page numbers when present, and the matched chunk's metadata when it carries locators such as paragraph or footnote numbers. When results carry source, the server covers several collections: name it, and pass sources to search a subset.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/haiku-rag/skills/haiku-rag/SKILL.md
Popularity
- Repository stars
- 619
- Repository forks
- 51
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ggozad/haiku.rag/haiku-rag)