Skip to content

denser-org/claude-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

denser-retriever

A Claude Code skill that lets you build and query knowledge bases through natural conversation using the Denser Retriever API.

No code required - just chat to upload documents, create knowledge bases, and search them with semantic search.

Install

npx skills add denser-org/claude-skills@denser-retriever -g -y

What It Does

Talk to Claude Code to perform any Denser Retriever operation:

  • Create knowledge bases - organize your documents into searchable collections
  • Upload files - PDF, DOCX, PPTX, XLSX, HTML, CSV, TXT, XML, Markdown (up to 512MB)
  • Import text - add raw text content directly
  • Semantic search - find relevant passages across all your documents
  • Manage everything - list, update, delete knowledge bases and documents
  • Check account - view usage stats and credit balance

Demo

You: Upload all PDFs from ~/documents/ to a new knowledge base called "Research Papers"

Claude: I'll create the knowledge base and upload your files...
        ✓ Created KB "Research Papers" (id: abc-123)
        ✓ Uploaded paper1.pdf (processing...)
        ✓ Uploaded paper2.pdf (processing...)
        ✓ All documents processed and ready to search.

You: Search for "attention mechanism in transformers"

Claude: Found 5 results:
        [Score: 4.2] "The attention mechanism allows the model to focus on
        different parts of the input sequence..." - paper1.pdf
        ...

Setup

  1. Get an API key from retriever.denser.ai (Organization Settings > API Keys)
  2. Set the environment variable:
    export DENSER_API_KEY="dr-your-key-here"
  3. Start chatting - the skill triggers automatically when you mention knowledge bases, document search, or semantic search

Example Commands

What you say What happens
"Create a knowledge base for HR docs" Creates a new KB via API
"Upload employee-handbook.pdf to my KB" Presigns, uploads, imports, polls until ready
"How many vacation days do I get?" Semantic search across your KB
"List all my knowledge bases" Lists KBs with IDs and dates
"Delete the test knowledge base" Removes KB and all documents
"What's my credit balance?" Shows remaining search credits

API Coverage

All 13 endpoints of the Denser Retriever API:

Category Operations
Knowledge Bases Create, List, Update, Delete
Documents Presign Upload, Import File, Import Text, List, Delete, Check Status
Search Query (with optional KB filtering, limit 1-50)
Account Get Usage, Get Balance

How It Works

The skill provides Claude Code with the complete API reference so it can construct and execute curl commands on your behalf. It handles:

  • Multi-step file uploads (presign URL > S3 PUT > import trigger)
  • Polling for async document processing
  • Batch operations for directories of files
  • Error handling and status reporting

Requirements

  • Claude Code CLI
  • A Denser Retriever account with API key
  • curl and python3 (for JSON formatting)

Links

License

MIT

About

Claude Code skills for Denser.ai products

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages