Borrowing it
Nothing to install: this file belongs to hoangsonww/AI-RAG-Assistant-Chatbot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hoangsonww/AI-RAG-Assistant-Chatbot/master/.agents/skills/lumina-backend-api/SKILL.mdgit clone --depth 1 https://github.com/hoangsonww/AI-RAG-Assistant-ChatbotWrote 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.
[](https://agentmods.dev/skills/hoangsonww/ai-rag-assistant-chatbot/lumina-backend-api)<a href="https://agentmods.dev/skills/hoangsonww/ai-rag-assistant-chatbot/lumina-backend-api"><img src="https://agentmods.dev/badge/skills/hoangsonww/ai-rag-assistant-chatbot/lumina-backend-api/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.
<a href="https://agentmods.dev/skills/hoangsonww/ai-rag-assistant-chatbot/lumina-backend-api"><img src="https://agentmods.dev/badge/skills/hoangsonww/ai-rag-assistant-chatbot/lumina-backend-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.00382 |
| Opus 5 | $0.00032 | $0.00191 |
| Sonnet 5 | $0.00013 | $0.00076 |
| Haiku 4.5 | $0.00006 | $0.00038 |
Grade A, and why
lumina-backend-api scanned grade A with 0 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 11d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Lumina Backend Api
Overview
Use this skill for HTTP and data-layer work in server/. Follow the existing route, middleware, model, and service split instead of collapsing logic into a single file.
Load The Right Reference
- Read
references/file-map.mdto locate the route, service, or model that owns a behavior. - Read
references/validation.mdbefore finishing when request contracts, persistence logic, or API docs changed.
Change Backend Behavior In The Existing Layers
- Start with the route that exposes the behavior, then trace into services, models, middleware, and utility functions.
- Keep authentication logic in auth routes or middleware rather than scattering token checks.
- Keep conversation and guest behavior separate when the repository already separates those flows.
- Keep request and response structures stable unless the task explicitly changes the API contract.
Handle Contract Changes Explicitly
- Update
openapi.yamlwhen endpoint behavior, payload fields, or response shapes change. - If the work is really about knowledge ingestion, Pinecone source lifecycle, or citation formatting, switch to
lumina-rag-knowledge. - If frontend callers depend on the changed contract, update the client in the same task when feasible.
Finish With Real Validation
- Run
npm run buildinserver/after meaningful backend changes. - Treat
npm testinserver/as a placeholder, not as evidence of correctness. - If live services or secrets were unavailable, state that clearly and separate compile-time validation from runtime confidence.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 35 lines · 64 tokens per session scan A 71bc81c591c4
lumina-backend-api is a skill published in the GitHub repository hoangsonww/AI-RAG-Assistant-Chatbot (47 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 382 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
knowject-api-to-types
A Knowject skill that generates TypeScript types from an OpenAPI document, which describes an API's available requests and data shapes, and connects them to a typed client.
client-setup
Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.
adapter-express
Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.
trpc-router
Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.
trpc
Skill "trpc" from ashish7802/awesome-api-skills, covering trpc skill, ecosystem graph, quick start, production patterns and input validation.
darto-add-route
Add or modify HTTP endpoints in a Darto (Dart) web app — verbs, path/query params, request-body reading, route groups, and Context response helpers. Use when building or changing API routes in a project that depends on the darto package (import 'package:darto/darto.dart'). Not for Express/Node — Darto handlers take a…