Foundation

io.github.mamarexav1.0.0更新于 Oct 3, 2026

Feasibility studies with computed costs, break-even, NPV and IRR.

已验证Streamable HTTP可网页运行Business & CommerceFinanceProductivity & Workflow

概览

AI 生成的概览

让助手完成可行性研究:调研成本与竞争对手,通过 Foundation 引擎计算财务数据,并撰写商业计划和路演材料。

功能
五个智能体技能覆盖可行性研究流程:feasibility-analyst 构建研究输入并给出 go/no-go 备忘录,market-research 自下而上估算 TAM、SAM、SOM 并对标竞争对手,pricing-optimizer 测试定价方案,business-plan-writer 与 pitch-deck-writer 生成 Word 和 PowerPoint 文件(R30-R40)。连接 Foundation 后,所有财务数字都来自其计算引擎,而非模型自行计算(R21、R22)。没有账号时,助手仍会调研并结构化输入,并交给你一个 foundation-project.json 供导入(R24-R27)。
适用场景
当你需要可辩护的可行性研究、市场规模测算、定价分析,或面向银行和投资人的商业计划与路演材料,且每个输入都要标注来源时使用(R31、R38、R40、R42)。适合希望获得引擎计算的 NPV、IRR、回收期和盈亏平衡,而不是模型猜测数字的创业者和分析师(R10、R21)。
运行要求
远程 MCP 端点 Foundation 账号登录(R58、R59、R60)。技能本身可通过 npx 安装,或把文件夹复制到智能体的技能目录(R46、R48-R53)。Word 和 PowerPoint 技能需要 Python 及 python-docx、python-pptx、matplotlib(R54、R56)。
安装前请注意
连接远程端点需要用 Foundation 账号登录(R60),项目数据会发送给该第三方。这些技能会在你的环境中写入文件:Word、PowerPoint 和 JSON 输出(R26、R38、R40)。安装技能等于在你的智能体中运行第三方指令,文档类技能还需要安装 Python 包(R56)。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Foundation,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "foundation": {
      "type": "http",
      "url": "https://getfndtn.com/api/mcp"
    }
  }
}

README

Foundation Skills

Open-source agent skills that do a feasibility consultant's job: size the market, benchmark competitors, build the financial study, tune the pricing, then write the business plan and the pitch deck. They run in your own AI agent (Claude, Codex, Gemini CLI, Cursor and others). They are built by the team behind Foundation.

[Watch: Foundation in 48 seconds]
▶ Foundation in 48 seconds: a sample café project from its costs to its business plan, and an AI assistant testing it.

Why this exists

Ask a general AI assistant whether your business idea works and it will write you something that sounds like a feasibility study. The problems are underneath:

  • The math is guessed. Language models are not calculators. NPV, IRR, payback and break-even figures in an AI-written plan are often wrong, and nothing on the page tells you which ones.
  • The assumptions are invisible. Where did "£38,000 for the fit-out" come from? A lender will ask, and "the AI said so" is not an answer.
  • The parts don't agree. The team section says five staff, the payroll line pays four, and the market chapter uses a different number from the pitch deck.

A professional consultant avoids all three. They put a source behind every input, run the numbers through a real financial model, and keep one version of the truth that every document draws from. These skills teach an AI agent to work the same way.

How it works

The skills split the job the way it should be split:

  • The agent does the analyst's work: interviewing the founder, researching costs, prices and competitors, choosing a sensible structure, tagging where every number came from, and writing.
  • A deterministic engine does the math: Foundation is a feasibility-study web app with a tested calculation engine. It computes investment, operating costs, revenue ramps, profit, cash flow, NPV, IRR, payback, break-even and SaaS metrics from the inputs. When your agent is connected to Foundation, every financial figure in the output comes from that engine. The agent never computes one itself.

The skills also work without a Foundation account. The agent still does the research and structures every input with its source, and never invents financial results. It then hands you a foundation-project.json file. Import that file into Foundation (Projects → Import) to get the computed study.

The skills

SkillWhat it does
feasibility-analystTurns a description of your business into a complete feasibility study: business type, cost categories, capital and operating costs, staffing, revenue model and financial assumptions, each input with its source. Then it reads the results and gives you a go / no-go memo with the risks and levers.
market-researchSizes the market bottom-up (TAM, SAM, SOM) with a top-down cross-check. Profiles competitors from public sources and fills a competitors × features benchmark. Checks whether your revenue plan needs more of the market than you can realistically win. When a price isn't public, it prepares an outreach kit for you to make the enquiries yourself.
pricing-optimizerFinds the price range between your cost floor, competitor prices and the value to the customer. Designs three to five distinct pricing options, tests each through the engine with an explicit assumption about sales volume, and recommends one with a plan to validate it.
business-plan-writerWrites a lender- and investor-grade business plan as a Word file (.docx). Financial tables, charts and scenarios are generated from the engine's output, so no figure is retyped.
pitch-deck-writerBuilds the pitch deck as a PowerPoint file (.pptx): one idea per slide, the takeaway as the headline, engine-computed financial slides, and a visual check of every slide before delivery.

All five follow the same rules, written down in CONVENTIONS.md:

  • Every input carries a source tag: founder, quote, benchmark or estimate.
  • The agent asks you only what it can't research, in one round.
  • Writing follows a guide based on Wikipedia's Signs of AI writing: plain sentences, no hype, no em dashes.
  • For brand templates or heavier design, the Word and PowerPoint files can go through your environment's own document tools as a second step, with a script that checks no number changed on the way.

Install

Any agent that supports skills (Claude Code, Codex, Gemini CLI, Cursor and others):

npx skills add mamarexa/foundation-skills

Or copy the skill folders you want by hand:

AgentWhere skills go
Claude Code~/.claude/skills/ (all projects) or .claude/skills/ (one project)
Claude.ai / Claude DesktopZip a skill folder, then Settings → Capabilities → Skills → Upload
Codex~/.codex/skills/
Gemini CLI~/.gemini/skills/ or .gemini/skills/
Cursor~/.cursor/skills/ or .cursor/skills/

The Word and PowerPoint skills need Python with python-docx, python-pptx and matplotlib. These come preinstalled in Claude's code sandbox. Anywhere else, run pip install python-docx python-pptx matplotlib.

Connect Foundation (optional, recommended)

  1. Create a free account at getfndtn.com.
  2. Add https://getfndtn.com/api/mcp to your agent as a remote MCP server (in Claude: Settings → Connectors → Add custom connector). You'll sign in with your Foundation account.
  3. Ask your agent for a feasibility study. It will find the Foundation tools and work on your real project, and the numbers will match what you see in the app.

Step-by-step setup for Claude, ChatGPT, Codex, Cursor, Gemini CLI, Antigravity and VS Code is in the Foundation docs.

Try it

"I want to open a specialty coffee shop near Leeds station, about 30 seats, opening next spring. Is it viable, and how much do I need to raise?"

"Size the market for scheduling software for UK dental practices, and benchmark the main competitors."

"Turn my Foundation project into a business plan for a bank loan, then a 12-slide deck."

Contributing

This repository is meant to get better with use. The most valuable contributions are:

  • Benchmarks with sources: cost ratios, startup-cost ranges, wages, employer payroll costs, rents and tax rates for your industry or your country. Local numbers help founders outside the US and UK most.
  • Corrections from practitioners: if you do this work for a living and a step is wrong or missing, tell us how it's done in practice.
  • Test cases: a realistic business description and what a good study of it should contain.

Good contributions also flow back into the Foundation app, for example as better default categories and benchmark ranges. See CONTRIBUTING.md for the rules. The short version: every number needs a source you'd be comfortable showing a lender.

This repository and the skills/ folder in the Foundation app are kept in sync automatically in both directions, so a merged pull request here shows up there (as a reviewed PR, not a silent merge) without anyone copying files by hand.

Tests

pip install python-docx python-pptx matplotlibpython tests/test_scripts.py

The fixture project in tests/fixtures/ is a sample café. Its facts file is real output from Foundation's engine.

License

MIT. By contributing, you agree your contribution is licensed the same way, including its use in Foundation.

来源:README.md,提交 ac8bf0a

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.0最新Oct 3, 2026