Claude Code Skill
Use Denser Retriever directly from Claude Code with natural language. No SDK or coding required.
The Denser Retriever skill for Claude Code lets you manage knowledge bases and search documents through natural conversation in your terminal.
This skill requires Claude Code CLI and a Denser Retriever API key. No additional dependencies needed.
Installation
Install the skill
npx skills add denser-org/claude-skills@denser-retriever -g -ySet your API key
export DENSER_API_KEY="dr-your-api-key-here"Get your API key from Organization Settings.
Start using it
Launch Claude Code and describe what you want:
claudeYou: Create a knowledge base and upload my PDF files from ~/docs/What You Can Do
| Action | Example Prompt |
|---|---|
| Create a knowledge base | "Create a KB called Product Docs" |
| Upload files | "Upload report.pdf to my Product Docs KB" |
| Batch upload | "Upload all files from ~/documents/ to my KB" |
| Import text | "Add this text to my KB: ..." |
| Semantic search | "Search for how to reset a password" |
| List knowledge bases | "List all my knowledge bases" |
| List documents | "Show documents in my Product Docs KB" |
| Delete documents | "Delete the outdated policy document" |
| Delete knowledge base | "Remove the test KB" |
| Check balance | "What's my credit balance?" |
| Check usage | "How much storage am I using?" |
How It Works
The skill provides Claude Code with the complete Denser Retriever API reference. When you make a request in natural language, Claude:
- Determines which API endpoint(s) to call
- Constructs and executes
curlcommands - Handles multi-step workflows (e.g., presign, upload, import, poll)
- Presents results in a readable format
All 13 API endpoints are supported: knowledge base CRUD, document upload/import/management, semantic search, and account management.
Example: Build and Search a Knowledge Base
You: Create a knowledge base called "HR Policies" and upload
SampleEmployeeHandbook.pdf from my desktop
Claude: Creating KB and uploading file...
Created "HR Policies" (id: 8fe7f552-...)
Uploaded SampleEmployeeHandbook.pdf
Document processed and ready to search.
You: How many vacation days do I get in my first year?
Claude: Found relevant passage (score: 3.73):
"During the remaining nine months of first year employment,
a full-time employee will earn two weeks (10 days) of paid
Vacation."
Full-time employees earn 10 days of paid vacation in their
first year (after the initial 90-day period).Supported File Types
PDF, DOCX, PPTX, XLS, XLSX, HTML, TXT, CSV, XML, and Markdown. Maximum file size: 512MB.
Credits
Each search query costs 1 credit. Document uploads and knowledge base management are free. Ask "What's my credit balance?" to check remaining credits.
Next Steps
- Read the full tutorial: Turn Any PDF into a Searchable Knowledge Base in 5 Minutes
- Browse the API Reference for all available endpoints
- Check out the TypeScript SDK or Python SDK for programmatic access