PRISM-INSIGHT
These are 13 specialized AI agents that analyze Korean and US stocks in real-time, and this is open source and free to use.
AI translation
LossLens is an AI agent that finds why an online store's week lost money. A deterministic engine computes the numbers, an AI analyst reasons through 8 steps, and a verifier blocks anything it can't tr
FinanceTypeScript · CSSGitHub @suryanarayannnnOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
LossLens: automated profit troubleshooter for e-commerce & Shopify stores. Finds the root cause of a losing week (RTO, ad spend, COGS, cancels) with a ₹ action plan. Next.js + Claude.
Taken from the repository README
Loading the full README.
Read the full README ↗Live: https://ecom-ai-troubleshooter.vercel.app · Built by S Surya Narayan
When an online store has a losing week, LossLens finds out why. Answer four quick questions, then paste the store's weekly PnL and any supporting data you have (ad campaigns, gender, age, platform, state, product, fulfilment, catalogue changelog). LossLens runs a strict 8-step troubleshooting method and returns:
The troubleshooting framework is in
prompts/l3-diagnostic.md. I built it from 12+ live seller case studies.
Browser (Next.js page) ──POST /api/analyze──▶ Serverless function (Vercel)
paste data / sample ├─ system prompt = prompts/*.md
charts (Recharts) ◀── JSON ─────────────────── ├─ Gemini (free tier, JSON validated by zod)
markdown report └─ rate limit + input caps
lib/schema.ts.Stack: Next.js 15 · TypeScript · Tailwind CSS v4 · Recharts · Google Gemini (free tier) · Zod
GEMINI_API_KEY = your free keyhttps://<name>.vercel.app link.Every later commit to GitHub, including edits made in GitHub's web editor, redeploys automatically.
Two add-on features can be turned off or back on without changing any code. Set the variable in Vercel → Settings → Environment Variables, then Redeploy.
| Variable | off means | Default |
|---|---|---|
NEXT_PUBLIC_FEATURE_STUDIO | Section Studio page, API, nav link and home promo are removed (/studio returns 404) | on |
NEXT_PUBLIC_FEATURE_TOKENS | Set to on to bring back the demo token wallet, pricing page and per-use costs | off |
To turn a feature back on, delete the variable (or set it to on) and redeploy. Balances and saved sections live in visitors' browsers, so they come back too.
Studio code is self-contained, so you can also remove it from the repo entirely if you want:
app/studio/, app/api/studio/, components/studio/, lib/theme.ts.
| Variable | Used by |
|---|---|
GEMINI_API_KEY | Everything: troubleshooter, Section Studio, Ask Lens (free tier, aistudio.google.com/apikey) |
WALLET_SECRET | Optional: a long random string used to sign token balances |
ANALYZE_MODEL / THEME_FREE_MODEL / THEME_PRO_MODEL / CHAT_MODEL | Optional model overrides (default: free Gemini models) |
| What | Where |
|---|---|
| Your name and links in the header | lib/site.ts |
| The diagnostic framework | prompts/l3-diagnostic.md |
| Web-app output rules | prompts/web-app-addendum.md |
| Demo dataset (fictional) | lib/sampleData.ts |
| Dashboard fields | lib/schema.ts + components/Dashboard.tsx |
npm install
cp .env.example .env.local # add your key
npm run dev