Clira: Skill for Claude Code

.claude/skills/nia/SKILL.md

Nia is a skill for Claude Code from Rushik-B/Clira. It costs 53 tokens per session (4,650 once invoked), scanned B, original, MIT.

A research and code-search service for repositories, documentation, papers, datasets, local folders, Slack workspaces, and software packages. Hugging Face datasets are public machine-learning data collections, while Slack is a team messaging platform.

In plain words
What is it for?
Indexing and searching technical sources, researching papers and packages, searching Slack and code, checking dependencies, and sharing context with an agent.
Why use it?
It supplies indexed, current context to AI agents, which can reduce answers based on guesses or outdated knowledge. It can also analyse dependencies and support longer research tasks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Rushik-B/Clira's own configuration. It tells Claude Code how to work on Clira itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Clira configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Rushik-B/Clira. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Rushik-B/Clira/main/.claude/skills/nia/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Rushik-B/Clira

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Nia

README.md
[![agentmods](https://agentmods.dev/badge/skills/rushik-b/clira/nia/github.svg)](https://agentmods.dev/skills/rushik-b/clira/nia)
Your own site
<a href="https://agentmods.dev/skills/rushik-b/clira/nia"><img src="https://agentmods.dev/badge/skills/rushik-b/clira/nia/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Nia

Your own site · 80×15
<a href="https://agentmods.dev/skills/rushik-b/clira/nia"><img src="https://agentmods.dev/badge/skills/rushik-b/clira/nia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,650 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.04650
Opus 5 $0.00026 $0.02325
Sonnet 5 $0.00011 $0.00930
Haiku 4.5 $0.00005 $0.00465

Measured 9d ago against content hash fca76308a1e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

Nia scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/advisor.sh, scripts/categories.sh, scripts/contexts.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

Run any script without arguments to see available commands and usage.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl`
.claude/skills/nia/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nia Skill

Direct API access to Nia for indexing and searching code repositories, documentation, research papers, HuggingFace datasets, local folders, Slack workspaces, and packages.

Nia provides tools for indexing and searching external repositories, research papers, documentation, packages, 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

Either:

  • Run npx nia-wizard@latest (guided setup)
  • Or sign up at trynia.ai to get your key

Store the key

Set the NIA_API_KEY environment variable:

export NIA_API_KEY="your-api-key-here"

Or store it in a config file:

mkdir -p ~/.config/nia
echo "your-api-key-here" > ~/.config/nia/api_key

Note: NIA_API_KEY environment variable takes precedence over the config file.

Requirements

  • curl
  • jq

Nia-First Workflow

BEFORE using web fetch or web search, you MUST:

  1. Check ALL indexed sources first: ./scripts/repos.sh list, ./scripts/sources.sh list, and ./scripts/slack.sh list
  2. If source exists: Use search.sh query (with SLACK_WORKSPACES env for Slack), repos.sh grep, sources.sh read for targeted queries
  3. If Slack workspace is connected: Use SLACK_WORKSPACES=<installation_id> ./scripts/search.sh query "question" to search Slack messages, or slack.sh grep / slack.sh messages for direct access
  4. If source doesn't exist but you know the URL: Index it with repos.sh index or sources.sh index, then search
  5. Only if source unknown: Use search.sh web or search.sh deep to discover URLs, then index

Why this matters: Indexed sources provide more accurate, complete context than web fetches. Web fetch returns truncated/summarized content while Nia provides full source code and documentation.

IMPORTANT: search.sh universal does NOT search Slack workspaces. To search Slack, you MUST use search.sh query with the SLACK_WORKSPACES env var, or use slack.sh grep / slack.sh messages directly.

Read the full file on GitHub · 355 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 355 lines · 53 tokens per session scan B fca76308a1e4

Subscribe to this mod's changes

Nia is a skill published in the GitHub repository Rushik-B/Clira (18 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 4,650 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories