← Back to Plugins
Tools

Foreman

fatihguner By fatihguner ⭐ 1 stars 👁 4 views ▲ 0 votes

AI-powered strategic advisor for entrepreneurs. 158 skills, 24 diagnostics, 21 playbooks, 9 industry packs. Claude Code + Codex + OpenClaw.

Homepage GitHub

README

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="./assets/logo-foreman-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset="./assets/logo-foreman.svg">
    <img src="./assets/logo-foreman.svg" alt="Foreman" width="200">
  </picture>
</p>

<p align="center">
  <strong>AI-powered strategic advisor for entrepreneurs.</strong><br>
  The frameworks of McKinsey. The philosophy of Marcus Aurelius. The accountability of a great mentor.<br>
  Open source. Free forever.
</p>

<p align="center">
  <a href="#quickstart"><strong>Quickstart</strong></a> ยท
  <a href="https://foreman.sh"><strong>Website</strong></a> ยท
  <a href="./docs/architecture.md"><strong>Docs</strong></a> ยท
  <a href="./VISION.md"><strong>Vision</strong></a> ยท
  <a href="./CONTRIBUTING.md"><strong>Contribute</strong></a>
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/foreman-sh"><img src="https://img.shields.io/npm/v/foreman-sh" alt="npm"></a>
  <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
  <a href="https://github.com/fatihguner/foreman/stargazers"><img src="https://img.shields.io/github/stars/fatihguner/foreman?style=flat" alt="Stars"></a>
  <a href="https://github.com/fatihguner/foreman/issues"><img src="https://img.shields.io/github/issues/fatihguner/foreman" alt="Issues"></a>
  <img src="https://komarev.com/ghpvc/?username=fatihguner&label=visitors&color=brightgreen&style=flat" alt="Visitors">
  <a href="https://buymeacoffee.com/fatihguner"><img src="https://img.shields.io/badge/Buy%20Me%20a%20Coffee-FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=black" alt="Buy Me a Coffee"></a>
</p>

---

## What is Foreman?

Foreman is an open-source strategic advisor that gives every entrepreneur access to structured strategic thinking โ€” the kind that used to require a six-figure consulting engagement.

You describe your problem in plain language. Foreman diagnoses the root cause, selects the right framework, applies it to your context, produces a professional deliverable, and tracks whether you actually follow through.

| Without Foreman | With Foreman |
|---|---|
| โŒ "My sales are dropping" stays a vague worry | โœ… Diagnosed as onboarding churn in 6 questions |
| โŒ Frameworks learned but never applied | โœ… 158 frameworks applied to YOUR context |
| โŒ Board deck built from scratch every time | โœ… 48 professional templates, ready to fill |
| โŒ Advice given, execution forgotten | โœ… Implementation tracking with weekly check-ins |
| โŒ Same strategy for SaaS and marketplace | โœ… 9 industry packs with sector-specific benchmarks |
| โŒ Generic AI chat with no memory | โœ… 5-layer memory system that knows your company |

---

## How It Works

```
Entrepreneur: "My competitors are crushing us on price"
        โ”‚
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”
   โ”‚  Hooks   โ”‚ โ”€โ”€ Pattern matches intent โ†’ competition threat
   โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚  Orchestrator    โ”‚ โ”€โ”€ Reads memory (Series A, SaaS, 20 employees)
   โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚  Diagnostic      โ”‚ โ”€โ”€ 6 triage questions โ†’ "differentiation failure"
   โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚  Playbook        โ”‚ โ”€โ”€ Competitive Response: Porter's โ†’ Art of War โ†’ Blue Ocean
   โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚  Output          โ”‚ โ”€โ”€ Competitive landscape brief (investor) + action plan (team)
   โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
   โ”Œโ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ”‚  Memory          โ”‚ โ”€โ”€ Saves analysis, tracks implementation, follows up next week
   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

---

## What's Inside

| **๐Ÿ“š 158 Skills** | **๐Ÿ“‹ 48 Output Templates** | **๐Ÿ” 24 Diagnostics** |
|---|---|---|
| Business frameworks from Porter to Stoic philosophy, across 12 categories | Professional documents for investors, boards, teams, clients, and yourself | Triage systems that identify root causes through structured questioning |
| **๐Ÿ“– 21 Playbooks** | **๐ŸŽฏ 17 Hooks** | **๐Ÿค– 6 Agents** |
| Multi-step recipes for pivots, fundraising, scaling, crises, and more | Natural language triggers that route problems to the right solution | Orchestration layer connecting all components |
| **๐Ÿญ 9 Industry Packs** | **๐Ÿ”ฌ 18 Research Guides** | **๐ŸŽญ 10 Board Personas** |
| Sector-specific benchmarks for SaaS, Marketplace, Fintech, and 6 more | Data collection templates from market sizing to churn analysis | Adversarial role-play for pitch and board meeting practice |

---

## Three Modes

Foreman adapts to how you work:

| Mode | Command | What It Does |
|---|---|---|
| **Solo** | `/solo` | Adapts everything for solopreneurs โ€” no team, no board, just you. Remaps audiences, adjusts priorities, acknowledges the isolation. |
| **Stoic** | `/stoic on` | Adds philosophical depth from Stoic tradition. Dichotomy of control on every analysis. Premeditatio malorum on every risk section. Virtue-based anti-patterns. |
| **Language** | `/language turkish` | Switches all output to any language. System thinks in English, speaks in yours. Works with every mode. |

All three combine: `/solo` + `/stoic on` + `/language japanese` = a solopreneur receiving Stoic-framed strategic guidance in Japanese.

---

## Industry Packs

Same framework, radically different application:

| Pack | Benchmarks | Key Focus |
|---|---|---|
| **SaaS** | MRR, ARR, NRR, churn, CAC, LTV | Subscription metrics, retention curves |
| **Marketplace** | GMV, take rate, liquidity, supply/demand | Two-sided dynamics, chicken-and-egg |
| **E-Commerce** | AOV, conversion, cart abandonment, ROAS | Physical product, inventory, seasonality |
| **Fintech** | TPV, default rate, compliance cost, fraud | Regulation-through-everything |
| **AI/ML** | Inference cost, hallucination rate, model drift | Model-centric, data moat |
| **HealthTech** | Clinical validation, provider adoption, HIPAA | Patient safety, triple-aim |
| **EdTech** | Completion rate, institutional adoption, FERPA | Multi-stakeholder (buyer โ‰  user) |
| **D2C/Consumer** | CAC by channel, ROAS, brand awareness | Brand-as-moat, community |
| **Agency/Consulting** | Utilization rate, revenue per employee | People-as-product |

---

## Platform Support

Foreman runs wherever AI agents run:

| Platform | Integration | How |
|---|---|---|
| **Claude Code** | Native | `.claude/` directory โ€” skills, commands, hooks, agents, memory |
| **Codex** | Plugin | `.codex-plugin/plugin.json` + generated `skills/` via `build-codex.sh` |
| **OpenClaw** | Native plugin | `openclaw.plugin.json` + `index.ts` registering 7 agent tools |

Single source of truth: `.claude/`. Every other platform derives from it.

---

## Quickstart

### Install via npm (recommended)

```bash
npx foreman-sh init
```

That's it. Foreman installs `.claude/` and `CLAUDE.md` into your current directory. Open Claude Code and start talking:

> "My SaaS churn rate is 5.2% and I'm preparing for Series A. What should I focus on?"

### Clone from GitHub

```bash
git clone https://github.com/fatihguner/foreman.git
cd foreman
```

### Codex

```bash
git clone https://github.com/fatihguner/foreman.git
cd foreman
./scripts/build-codex.sh --clean
```

### OpenClaw

```bash
git clone https://github.com/fatihguner/foreman.git
cd foreman
./scripts/openclaw-setup.sh
```

---

## Key Commands

| Command | What It Does |
|---|---|
| `/skills` | List all 158 skills, filter by category or stage |
| `/apply [skill]` | Apply a framework to your context |
| `/diagnose [area]` | Run a diagnostic triage |
| `/run [playbook]` | Start a multi-step playbook |
| `/track` | View implementation progress |
| `/simulate board` | Practice your board presentation |
| `/research [topic]` | Get a data collection guide |
| `/context` | View your stored company context |
| `/sector [name]` | Activate an industry pack |
| `/help` | See all commands |

---

## Advanced Systems

<details>
<summary><strong>Implementation Tracking</strong> โ€” accountability, not just advice</summary>

Every recommendation becomes a trackable item. Six states (not-started โ†’ in-progress โ†’ blocked โ†’ completed โ†’ abandoned โ†’ deferred), weekly check-ins via `/check-in`, blocker diagnosis with 10 root causes, and a stuck-protocols library covering all 14 skill categories.

The gap between knowing and doing is where entrepreneurial value dies. Foreman closes it.

</details>

<details>
<summary><strong>Board Simulation</strong> โ€” practice before the real meeting</summary>

10 adversarial personas (skeptic investor, financial hawk, operational expert, industry veteran, legal counsel, and 5 more) challenge your presentations with hard questions. 5-dimension scoring (clarity, evidence, strategic coherence, risk awareness, response quality). Post-simulation diagnostic identifies your weakest points.

</details>

<details>
<summary><strong>Organizational Politics</strong> โ€” navigate the humans, not just the strategy</summary>

Stakeholder power mapping, resistance diagnosis, coalition building, communication strategy. Because the best strategy fails if the CFO blocks it and the board is split.

</details>

<details>
<summary><strong>Research Guides</strong> โ€” learn to gather your own data</summary>

18 structured guides: market sizing (TAM/SAM/SOM), competitor intelligence, customer interviews (34-question bank), pricing validation (Van Westendorp), financial modeling, due diligence prep, and 12 more. Foreman teaches the framework; research guides teach you how to feed it.

</details>

<details>
<summary><strong>5-Layer Memory</strong> โ€” a mentor who remembers</summary>

Identity (yearly) โ†’ Company (monthly) โ†’ History (append-only) โ†’ Active (weekly) โ†’ Session (ephemeral). Your stage, sector, past analyses, ongoing playbooks, and pending decisions persist across conversations. Foreman doesn't start from scratch โ€” it builds on what came before.

</details>

---

## Architecture

```
foreman/
โ”œโ”€โ”€ .claude/                     # All operational content (single source of truth)
โ”‚   โ”œโ”€โ”€ skills/                  # 158 skills across 12 categories

... (truncated)
tools

Comments

Sign in to leave a comment

Loading comments...