blramsarkar

NIT Rkl Bot — Development skill for Claude Code

Development community

This repository houses the full modular production architecture for the NIT Rourkela Website Chatbot (NIT RKL Bot), moving beyond monolithic prototypes into a clean, decoupled system built with Fa.

How to install NIT Rkl Bot

This entry records only its repository, not the path inside it, so there is no exact command to give. Open blramsarkar/NIT-Rkl-Bot and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What NIT Rkl Bot does

This repository houses the full modular production architecture for the **NIT Rourkela Website Chatbot (NIT RKL Bot)**, moving beyond monolithic prototypes into a clean, decoupled system built with FastAPI, PostgreSQL/pgvector, Native Tool-Calling LLM Agents (Anthropic Claude 3.5 / Groq), and an embeddable vanilla JavaScript chat widget.

Alternatives in Development

  • SOUL — You're not a chatbot 1.3k ★
  • Layered Rails Skills — Skills based on the Layered Rails book and beyond 425 ★
  • Scaling Prompts — Scaling Prompts — Road to 1M+ Users & Beyond CoinGecko 313 ★

README

Production Architecture & Implementation: NIT Rkl Bot

This repository houses the full modular production architecture for the **NIT Rourkela Website Chatbot (NIT RKL Bot)**, moving beyond monolithic prototypes into a clean, decoupled system built with FastAPI, PostgreSQL/pgvector, Native Tool-Calling LLM Agents (Anthropic Claude 3.5 / Groq), and an embeddable vanilla JavaScript chat widget.


1. File Structure & Purpose Annotations

nitrkl_bot/
├── backend/
│   ├── app/
│   │   ├── main.py              # FastAPI: /chat, /chat/stream (SSE), /feedback, /health, /admin/*
│   │   ├── config.py            # Settings (.env): LLM keys, DB, CORS, limits, budget, admin key, scraper allowlist
│   │   ├── security.py          # PII redaction, SSRF allowlist, LLM budget, admin auth, untrusted-data wrapper, cache
│   │   ├── db/                  # SQLAlchemy engine/session, models (incl. Feedback, VerifiedAnswer, IngestionRun), seed
│   │   ├── pipeline/
│   │   │   ├── agent_router.py  # Guardrail -> verified answers -> cache -> LLM tool calling -> deterministic router
│   │   │   ├── source_pages.py  # Official nitrkl.ac.in page per topic + "contact this office" fallback (URLs checked 2026-11-15)
│   │   │   ├── structured_tools.py # ORM (parameterised) queries: departments & programmes, faculty, notices, calendar, events, hostels
│   │   │   ├── rag_retrieval.py # Vector + keyword search over document chunks
│   │   │   ├── ingestion.py     # PDF/text ingestion + sc