Nia Skill
Description
Skill for Nia AI - index and search repos, docs, papers, datasets
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Nia Skill
AI agent skill for [Nia](https://trynia.ai) - index and search code repositories, documentation, research papers, HuggingFace datasets, local folders, Slack workspaces, Google Drive, and packages.
What is Nia?
Nia provides tools for indexing and searching external repositories, research papers, documentation, packages, local folders, Slack workspaces, Google Drive, and performing AI-powered research. Its primary goal is to reduce hallucinations in LLMs and provide up-to-date context for AI agents.
Setup
Get your API key:
- Use
./scripts/auth.sh signup ...then./scripts/auth.sh bootstrap-key ... - Or use
./scripts/auth.sh login-key - Run
npx nia-wizard@latest(guided setup) - Or sign up at trynia.ai
- Use
Store the key:
Set the `NIA_API_KEY` environment variable:
export NIA_API_KEY="your-api-key"Or use a config file:
mkdir -p ~/.config/nia echo "your-api-key" > ~/.config/nia/api_key`NIA_API_KEY` takes precedence over the config file.
Requirements: `curl`, `jq`
Usage
# Index a repository
./scripts/repos.sh index "owner/repo"
# List indexed repositories
./scripts/repos.sh list
# Search all indexed sources
./scripts/search.sh universal "how does auth work?"
# Index documentation
./scripts/sources.sh index "https://docs.stripe.com"
# Grep repository code
./scripts/repos.sh grep "vercel/ai" "streamText"
# Connect Slack workspace
./scripts/slack.sh register-token xoxb-your-token "My Workspace"
# Search Slack messages
SLACK_WORKSPACES= ./scripts/search.sh query "question"
# Connect Google Drive
./scripts/google-drive.sh install
# Browse Drive items before indexing
./scripts/google-drive.sh browse
Scripts
All scripts are in `./scripts/` and use subcommands: `./scripts/.sh [args...]`
| Script | Description |
|---|---|
auth.sh |
Programmatic |
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI