Skip to main content
plugin

haytham — Claude Code plugin: from raw idea to OpenSpec

Runs a raw product idea through four phases: market research, a GO/NO-GO verdict, MVP boundaries, architecture, and implementation-ready OpenSpec files.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install haytham@claude-community
Open on GitHub

What haytham does

The plugin lives in Claude and walks an idea through the pipeline step by step. Phase one gathers market and competitor research, then issues a GO, NO-GO or PIVOT verdict with the reasoning behind it. Phase two sets what belongs in the MVP and what stays out, plus a capability model with traceability.

Phase three covers build-vs-buy per capability and architecture decisions, with cost and effort estimates attached. Phase four writes the OpenSpec: SHALL requirements and Gherkin acceptance scenarios you can hand straight to a coding agent. Everything lands in .haytham/session/, sorted into folders per phase.

Gates sit between phases. The run pauses for your approval, so you can redirect it or stop. Ten specialist agents do the work, and concept anchors from phase one travel downstream untouched — otherwise the original idea flattens into something generic. No Python, no API keys, no environment variables. A full run takes about 20 minutes.

What it helps with

  • test a product idea before writing any code
  • get a GO or NO-GO verdict backed by evidence
  • draw MVP boundaries and cut the rest
  • decide between building and buying a capability
  • produce specs a coding agent can implement

Example prompts for the agent

  • /haytham "a gym community leaderboard with anonymous handles"
  • /haytham:validate "https://github.com/arslan70/haytham"
  • /haytham:plan

How to install haytham

Plugin marketplace

/plugin marketplace add anthropics/claude-plugins-community
/plugin install haytham@claude-community

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about haytham

How do I install haytham in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/claude-plugins-community, then install the plugin: /plugin install haytham@claude-community.

What does haytham do?

It turns a product idea into an implementation-ready specification: market research, a verdict, MVP scope, architecture decisions and OpenSpec files.

Does haytham need Python or API keys?

No. It runs without Python, API keys or environment variables.

Source text

SKILL.md · MIT
# Haytham

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

> **Status (2026-07):** Haytham is now a personal tool. It is no longer seeking users, contributors, or marketplace adoption. The full product ambition (lifecycle control plane, EVOLUTION and SENTIENCE milestones, telemetry loop) is preserved at the git tag `v0.3.27-full` and in [docs/](docs/). What remains is the part that earns its keep: a fast idea-to-MVP pipeline.

Haytham turns a raw startup idea into an implementation-ready specification inside Claude Code. Run one command. Get market research, a GO/NO-GO verdict, MVP scope, architecture decisions, and an [OpenSpec](https://github.com/Fission-AI/OpenSpec) ready to hand to a coding agent. Every requirement traces to a capability. Every capability traces to a validated need.

## Install

```
/plugin marketplace add arslan70/haytham
/plugin install haytham@haytham
```

No Python. No API keys. No environment variables.

## Try it

```
/haytham "a gym community leaderboard with anonymous handles"
```

Takes ~20 minutes. You'll be asked for approval at each phase boundary. You can stop, correct, or redirect at any point.

## What you get

Four phases, each answering one question. You approve before each phase advances.

```
Phase 1: Should this be built?
  → Market research, competitor analysis, risk scoring
  → GO / NO-GO / PIVOT verdict backed by evidence
  → If it says NO-GO, it tells you why. That's the point.

Phase 2: What exactly?
  → MVP scope with clear in/out boundaries
  → Capability model with full traceability
  → System traits (auth, payments, real-time, etc.)

Phase 3: How to build it?
  → Build-vs-buy analysis per capability
  → Architecture decisions linked to capabilities
  → Cost and effort estimates

Phase 4: What are the specs?
  → OpenSpec with SHALL requirements
  → Gherkin scenarios for acceptance testing
  → Ready to hand to Claude Code or any coding agent
```

## See example output

The [`examples/`](examples/) directory contains complete outputs from real Haytham runs across different idea types:

| Example | Type | Verdict |
|---------|------|---------|
| [Gym Leaderboard](examples/gym-leaderboard/) | B2C consumer app | GO (high risk) |
| [Git Changelog CLI](examples/git-changelog-cli/) | Developer tool | GO |
| [Invoice Reconciler](examples/invoice-reconciler/) | B2B SaaS | PIVOT |

## Output structure

All output lives in `.haytham/session/`:

```
.haytham/session/
├── phase-1-why/
│   ├── idea-analysis.md          # Problem analysis, segments, UVP
│   ├── concept-anchor.json       # Invariants that prevent idea drift
│   ├── market-research.md        # TAM/SAM/SOM, trends, risks
│   ├── competitor-research.md    # Who else is doing this
│   ├── research-brief.md         # Neutral summary (no scores)
│   └── validation-report.md      # GO/NO-GO/PIVOT with evidence
├── phase-2-what/
│   ├── mvp-scope.md              # What's in, what's out, core flows
│   ├── capabilities.json         # Functional + non-functional capabilities
│   ├── system-traits.json        # Auth, deployment, data layer, etc.
│   └── gate-summary.md           # What you approve at Gate 2, in prose
├── phase-3-how/
│   ├── build-buy.json            # BUILD/BUY/HYBRID per capability
│   ├── architecture-decisions.json
│   ├── research-directives.json  # What to investigate before coding
│   └── gate-summary.md           # What you approve at Gate 3, in prose
└── phase-4-specs/
    └── openspec/
        ├── config.yaml
        ├── project.md
        └── specs/
            ├── domain-name/spec.md
            └── cross-cutting/spec.md
```

## How it works

Ten specialist agents across four phases. Market research agents run web searches. The report synthesizer weighs evidence and produces an honest verdict. If risks are high, it says so. If the idea doesn't hold up, it recommends NO-GO.

Concept anchors (extracted in Phase 1) are passed unchanged to every downstream agent, preventing the "telephone game" where your specific idea gets genericized into something bland.

Read more: [How It Works](https://arslan70.github.io/haytham/how-it-works/) | [System Evolution](https://arslan70.github.io/haytham/system-evolution/)

## Commands

| Command | Description |
|---------|-------------|
| `/haytham "idea"` | Run all 4 phases end-to-end |
| `/haytham:validate "idea or URL"` | Phase 1: Market research and GO/PIVOT/NO-GO verdict |
| `/haytham:specify` | Phase 2: MVP scope and capability model |
| `/haytham:design` | Phase 3: Build/buy analysis and architecture decisions |
| `/haytham:plan` | Phase 4: Generate implementation-ready OpenSpec |
| `/haytham:build` | Set up a new project from Phase 4 specs |

`/haytham:validate` accepts Reddit post and GitHub repo URLs. Use `--batch` to skip interactive gates (the NO-GO halt still applies).

## License

[MIT License](LICENSE)

© arslan70 · MIT · arslan70/haytham

Similar plugins

All plugins for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor