7 個 Claude 驅動的部門、1 個公司大腦、16 個顧問案例與 NPV、IRR、龍捲風計算機。由 Ayman Khayat 設計與建置。
AI 翻譯
7 Claude-powered departments, 1 Company Brain, 16 consulting cases and an NPV, IRR and tornado calculator. Designed and built by Ayman Khayat.
金融JavaScript · CSSGitHub @aymankhayat上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證透過由七個 Claude 驅動的部門組成的模擬投資委員會,執行資本決策,使用 NPV、IRR、龍捲風敏感度模型,並演練顧問案例面試。
AI 翻譯
Run a capital decision through a simulated investment committee of seven Claude-powered departments, model it with NPV/IRR/tornado sensitivity, and drill consulting case interviews.
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Engineering economics & case practice. Put a capital decision in front of a simulated investment committee of seven Claude-powered departments, model it with NPV / IRR / tornado sensitivity, and drill consulting case interviews, all grounded in sourced GCC and industry figures.
Live demo · Case study · Designed & built by Ayman Khayat檢視完整 README ↗Engineering economics & case practice. Put a capital decision in front of a simulated investment committee of seven Claude-powered departments, model it with NPV / IRR / tornado sensitivity, and drill consulting case interviews, all grounded in sourced GCC and industry figures.
Live demo · Case study · Designed & built by Ayman Khayat
The live demo runs in demo mode on GitHub Pages: sample committees replay, and the calculator and case practice work fully. Live AI runs need the serverless API on Vercel with an
ANTHROPIC_API_KEY(see Deploy). The hero and boardroom images are concept images made with Higgsfield from the project's real renders, and are labelled as such on the site. Prompts are logged indocs/higgsfield_prompts.md.
The page opens on a rounded hero panel, followed by a Live Committee section holding the real app: a 3D committee map (three.js) of metallic department hubs orbiting the Company Brain, with a live particle core, drifting dust and beads of light flowing along each department's link. Hovering a department flies the camera in and sets off a burst of its colour. Clicking zooms further and reveals that department's four specialist agents; once a verdict is in, the panel shows what each agent contributed. Without WebGL, or with reduced motion requested, it falls back to the flat SVG map. The render loop pauses while the scene is off-screen.
A decision runs through seven department agents, in parallel, each a separate Claude call with its own persona:
| Department | Argues from | Characteristic bias (kept on purpose) |
|---|---|---|
| Finance | NPV/IRR vs hurdle, payback, covenant headroom | Underweights option value and long horizons |
| Strategy & Corp Dev | Right to win, timing, build/borrow/buy | Optimistic about upside; treats execution as detail |
| Legal & Risk | Exposure, conditions precedent, RAPID "Agree" veto | Defensibility over expected value |
| Operations & Engineering | FEL stage, AACE estimate class, HSE, critical path | Wants one more stage of definition |
| Marketing & Sales | Bottom-up SOM, win rates, LTV:CAC | Optimistic demand, light on cost-to-serve |
| Sustainability & ESG | GHG scopes, SBTi / SGI / UAE Net Zero, IFRS S2 | Underweights near-term cash |
| HR & Talent | Capability gaps, Nitaqat / Emiratisation, ADKAR | "The organisation isn't ready" |
Each returns a schema-validated verdict (stance, confidence, 2–3 reasons, one risk flag, conditions, key metric). Only after all seven settle does the Company Brain rule. It acts as the RAPID "D", honours Legal and safety vetoes, corrects for each function's known bias, names the single hinge trade-off, and sets owned conditions and kill criteria.
An assumptions sheet (blue = input, financial-model convention), a live WACC slider with GCC reference bands, and NPV, IRR, MIRR, simple and discounted payback, PI and LCOE. Four exhibits in consulting style, each with a "so what" action title, footnotes and a source line:
Presets: 10 MWp factory solar (KSA), 5 MWe waste-heat-to-power (cement), SWRO energy-recovery retrofit (UAE), and a deliberately negative battery-arbitrage case. Send to the committee attaches the results as a committee pack, so Finance argues from your numbers.
16 original cases: 8 strategy (market sizing, profitability, breakeven, pricing, market entry, M&A) and 8 technical (energy go/no-go, LCOE/LCOW, debottlenecking, district cooling, plant efficiency). 12 are set in the Gulf.
flowchart LR
B[Browser] -- 7 parallel POST /api/department --> F1[Serverless fn × 7]
F1 -- Claude API --> C[(claude-opus-5 / claude-sonnet-5)]
B -- after all settle: POST /api/brain --> F2[Serverless fn]
F2 -- Claude API --> C
B -. static .-> S[index.html + ES modules]
/api hold ANTHROPIC_API_KEY and proxy every call. An optional APP_PASSCODE protects your budget on a public URL, and a best-effort per-IP limiter caps abuse.output_config.format with JSON Schema) guarantee parseable verdicts; adaptive thinking; server-side refusal fallback on Opus 5; the persona system prompts are prompt-cached.@anthropic-ai/sdk).| Tier | Departments | Brain | Typical full run |
|---|---|---|---|
| Standard | Opus 5 ($5 / $25 per M tokens) | Opus 5 | ≈ $0.40 |
| Economy | Sonnet 5 ($2 / $10) | Opus 5 | ≈ $0.20 |
Roughly 1.3K input and 1.5K output tokens per department (including adaptive thinking) and about 5K / 2.5K for the Brain. The header shows the actual spend from each response's usage.
npm install
echo "ANTHROPIC_API_KEY=sk-ant-..." > .env.local
npm run dev # http://localhost:5173
npm test # finance engine checks against the research sanity figures
Import the repo in Vercel, add ANTHROPIC_API_KEY (and optionally APP_PASSCODE) under Environment Variables, and deploy. No build settings are needed.
Every default is sourced in docs/research:
npm run build:cases)GCC tariffs and regulations change often; figures marked as estimates are triangulated, not published. Not investment advice.
api/ serverless functions: department, brain, coach, health
api/_lib/ Claude client, personas + JSON schemas
js/ app shell, simulation, constellation map, calculator, practice, finance engine
docs/research/ sourced research behind every default
scripts/ case-bank generator
tests/ finance engine tests
MIT licensed. Built with the Claude API.