Mindket

Fabric

Newversion 2 · updated
Star44.6k

Overview

Daniel Miessler’s open-source framework for running a crowdsourced set of AI prompts, called Patterns, from your terminal. The setup notes cover installing it, choosing a model provider, running Patterns, YouTube transcripts, the REST server and the web app.

Fabric is an open-source project on GitHub in the Productivity category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • Native providers in the README: OpenAI, Anthropic (Claude), Google Gemini, Ollama for local models, Azure OpenAI, Amazon Bedrock, Vertex AI, LM Studio and Perplexity
  • OpenAI Codex, which the README describes as ChatGPT/Codex subscription OAuth via private backend, and Claude Code, which uses your Claude subscription through the local claude CLI
  • Many OpenAI-compatible providers, among them Groq, OpenRouter, Together, DeepSeek, Mistral and LiteLLM
  • An HTTP server, with an Ollama-compatible mode that shows each Pattern as a model
Start with
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash
fabric --setup

Platform

macOSOperating system
LinuxOperating system
WindowsOperating system
ClaudeAI chat
GeminiAI chat
CodexCoding agent

And 2 more in Where to use it

About

What it is

Fabric is an open-source framework for augmenting humans using AI, made by Daniel Miessler. It keeps AI prompts as Patterns, organized by the job they do. The README lists jobs such as extracting the most interesting parts of a YouTube video or podcast, summarizing an academic paper and explaining code. Others rate a piece of content to see if you want to read or watch all of it, or turn bad documentation into usable documentation. You run a Pattern from the command line, call it through an HTTP server, or copy its text into any AI app. This listing is Mindket’s setup notes for the fabric program, its server and its web app.

  1. You send text, a web address or a YouTube link to fabric
  2. fabric adds a Pattern, a Markdown prompt for one job
  3. It sends both to the model provider you chose
  4. The answer prints, streams or saves to a file

Who it suits

People who work from a terminal and repeat the same text jobs, such as summarizing articles, checking claims, pulling the key points from a video or explaining code. Developers who want those prompts behind an HTTP address can run the built-in server, and anyone who only wants the prompts can read them on GitHub with nothing installed. Skip it if you want no setup. Fabric needs a model, from a provider you have an account with or from a local model such as Ollama, or Apple Foundation Models on macOS 27 or later.

Who uses it, and how
IndustryWho uses itHow they use itExample
Reading and researchPeople who work through long articlesSend the text to the summarize PatternSomeone copies an article and sends the clipboard to the summarize Pattern, as the README’s first example does.
Video and podcastsPeople who learn from long videosSend a YouTube transcript through a PatternA viewer runs fabric -y with a video link and the extract_wisdom Pattern, as in the README’s example.
Fact checkingWriters and readers of claimsRun analyze_claims on pasted text or on a web pageA reader runs fabric -u with a page address and analyze_claims. Fabric first scrapes the page to Markdown through Jina AI.
DevelopersPeople who build toolsStart the server and call it over HTTPA script posts Hello world to the translate Pattern with lang_code set to es, as the REST API page shows.
DocumentsPeople who write in LaTeXMake LaTeX with a Pattern and turn it into a PDFThe README sends the write_latex Pattern into to_pdf, which writes output.pdf in the current folder.

Where to use it

Fabric is a program for macOS, Linux and Windows. It talks to the model provider you set up, so the same Patterns can run against different models.

  • Native providers in the README: OpenAI, Anthropic (Claude), Google Gemini, Ollama for local models, Azure OpenAI, Amazon Bedrock, Vertex AI, LM Studio and Perplexity
  • OpenAI Codex, which the README describes as ChatGPT/Codex subscription OAuth via private backend, and Claude Code, which uses your Claude subscription through the local claude CLI
  • Many OpenAI-compatible providers, among them Groq, OpenRouter, Together, DeepSeek, Mistral and LiteLLM
  • An HTTP server, with an Ollama-compatible mode that shows each Pattern as a model
  • A Svelte web app and a Streamlit app
  • Any other AI app, by pasting a Pattern’s text into it

How to set it up

Get it saves a zip of Mindket’s setup notes in your downloads folder, with a page for each platform and feature from the maker’s README and docs. Start with the one-line installer, then run the setup command.

What you need first
NeedDetail
A modelA provider you have a key or subscription for, or a local model such as Ollama. The setup command asks which
macOS or Linuxcurl or wget, tar, and write permission to the install folder
WindowsPowerShell, which is built into Windows, and write permission to the install folder
GoFor an install from source and for the helper apps (to_pdf, code2context, generate_changelog), which the README installs with go install
A LaTeX distributionOnly for to_pdf, which needs pdflatex on your PATH
yt-dlpOnly for YouTube transcripts
Node.js 18 or newer and the repository’s web/ folderOnly for the web app, which runs from web/ with npm or pnpm while fabric --serve runs
  1. Run the installer for your system. It puts the fabric program in ~/.local/bin, or in %USERPROFILE%\.local\bin on Windows.
  2. If that folder is not on your PATH, the installer prints how to add it.
  3. Run the setup command. It sets up your directories and keys and asks which provider you want.
  4. Start with fabric --help or fabric --listpatterns, as the installer page suggests.
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash
fabric --setup

On Windows, run the PowerShell line below, then fabric --setup. The README also gives winget install danielmiessler.Fabric.

iwr -useb https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.ps1 | iex

Homebrew, the Arch Linux package and Scoop name the package fabric-ai. With Homebrew or the Arch package, the README says to add the alias line to your shell startup files so the fabric command works.

brew install fabric-ai
alias fabric='fabric-ai'

How to use it

Pipe text in and name a Pattern. The README’s examples read the clipboard with pbpaste on macOS. For Windows it says to use Get-Clipboard, and for Linux xclip -selection clipboard -o.

pbpaste | fabric --pattern summarize
pbpaste | fabric --stream --pattern analyze_claims

The first line summarizes the clipboard, and the second runs analyze_claims and streams the answer as it arrives. The list command shows every Pattern. The help text says --readpattern prints one to the terminal.

fabric --listpatterns
echo "test input" | fabric --dry-run -p summarize

The dry run shows what would be sent to the model without making an API call. Add -o to save the answer to a file and -c to copy it.

Example

You want the key ideas from a long video without watching it. Install yt-dlp, which Fabric uses to fetch the transcript. The YouTube page gives the Homebrew line for macOS and says to use your system’s package manager elsewhere. Then give fabric the video’s address and the summarize Pattern. Save the answer with -o. Replace VIDEO_ID with the video’s id.

brew install yt-dlp
fabric -y "https://www.youtube.com/watch?v=VIDEO_ID" --pattern summarize -o summary.md

Fabric sends the transcript and the Pattern to your model and writes the reply to summary.md. The YouTube page says --transcript-with-timestamps keeps the time marks. Comments and metadata need a YouTube API key.

For newcomers and experts

If you are new. A Pattern is a prompt saved as a Markdown file, named for the job it does. Fabric adds your text to it and sends both to an AI model. You can try one with nothing installed. The README says you can use any Pattern in any AI application, ChatGPT included. Open the patterns folder on GitHub, copy a Pattern’s text, paste it into your AI app and add your own input. Install the program when you want to run Patterns without the copying.

For experts. Each Pattern is a folder with a system.md file. The README says Patterns use the System section of the prompt almost exclusively, with Markdown structure that spells out what you want and in what order. A strategy adds a prompt change on top. Install them from the fabric -S menu, then pass --strategy with cot, cod, tot, aot, ltm, self-consistent, self-refine, reflexion or standard.

Custom Patterns live in a folder you choose in fabric --setup, under Custom Patterns in the Tools menu. They win over built-in Patterns with the same name, and fabric --updatepatterns never touches them. The README maps a model to a Pattern with an environment variable written as FABRIC_MODEL_PATTERN_NAME=vendor|model, kept in your shell startup files.

The --print-prompt option renders the system and user messages Fabric would compose and stops before any model call, so you can reuse the prompt library with other command-line LLM tools. Some models need raw mode, which merges the two messages. Pass the model with -m to see that structure. Fabric then looks up the vendor, which can send a model-list request.

The server runs only the text and datetime template plugins inside a Pattern. A Pattern that uses a sys, file or fetch plugin, or an extension, gives an error there, while the command line runs all plugins. A loop in your .zshrc or .bashrc turns each Pattern into a command, so summarize replaces fabric --pattern summarize.

Good to know

Fabric sends your input and the Pattern to the provider you chose. These points come from the README and the docs.

  • Other connections: the options -u and -q use Jina AI to scrape a page or search a question. The options --serply_search and --firecrawl_search send a search to Serply or Firecrawl. A transcript from -y is fetched with yt-dlp. The option --transcribe-file sends your audio to OpenAI, the only provider it supports
  • The server: fabric --serve opens an HTTP server on port 8080. Set --api-key before you bind it to anything but your own computer. The REST API page says the key is an admin key, the server speaks plain HTTP, and GET /config returns the API keys of every configured vendor. It has no rate limiting
  • The web app: it has no login. Each client that can open it can use your Fabric server through it, and with --host each computer on the network can
  • The installer: the one-line command runs a script from the repository, which downloads the latest release. Read the script first if you want to know what runs
  • Docker: the README’s pre-built images come from the kayvan and ksylvan accounts, not the maker’s. Check who builds an image before you run it, or build the maker’s own Dockerfile
  • Old videos: the README says many intro videos were recorded when Fabric was Python-based, so follow the install steps here, not the ones in a video
  • Updates: for a Go install, the README says to run the same go install command again to get the latest version. It gives no upgrade command for Homebrew, winget or Scoop. Run fabric --updatepatterns for the Patterns. If you run fabric --setup after an upgrade, you may need to enter some settings or keys again. The README says Fabric is evolving rapidly and points to its CHANGELOG
  • Removal: the README gives no uninstall steps. Mindket’s notes say what to delete
  • License: MIT. The LICENSE file reads “Copyright (c) 2012-2024 Scott Chacon and others”

README and files

README

Fabric: setup notes

This kit holds setup notes only. Mindket wrote them. Fabric itself, its patterns and its installers come from its maker's repository: https://github.com/danielmiessler/Fabric

These notes are not made or endorsed by its maker. The README says "fabric is an open-source framework for augmenting humans using AI." The repository's GitHub description adds that it "provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere."

License: MIT. The LICENSE file (https://github.com/danielmiessler/Fabric/blob/main/LICENSE) is the MIT License text and reads "Copyright (c) 2012-2024 Scott Chacon and others". The README says fabric "was created by Daniel Miessler in January of 2024".

What installs

  • One command-line program, fabric, written in Go. The installer page says the one-line installer extracts only the fabric binary. Source: https://github.com/danielmiessler/Fabric/blob/main/scripts/installer/README.md
  • Homebrew, the Arch Linux package and Scoop name the package fabric-ai. The README says Homebrew and the Arch package make the program available as fabric-ai, so it tells you to add alias fabric='fabric-ai' to your shell startup files. Source: https://github.com/danielmiessler/Fabric/blob/main/README.md
  • A configuration folder. The README's alias examples read patterns from ~/.config/fabric/patterns, and the Docker page says Fabric keeps its settings in ~/.config/fabric/.env. The Docker page says fabric --setup creates the .env and downloads the patterns.
  • Optional helper programs, installed one by one: to_pdf, code2context and generate_changelog. See setup/patterns-and-usage.md.

What you need first

  • A model to run the prompts. Fabric sends your input and a pattern to a model provider you choose in setup: OpenAI, Anthropic, Google Gemini, a local Ollama and many others. See setup/providers-and-setup.md.
  • Go, only for an install from source and for the helper programs, which the README installs with go install. The README sends you to https://go.dev/doc/install
  • yt-dlp, only for YouTube transcripts. See setup/youtube-and-media.md.
  • A LaTeX distribution, only for the to_pdf helper.
  • Node.js 18 or newer and a copy of the repository's web/ folder, only for the web app. See setup/rest-api-and-web-app.md.

Main install commands

On macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash

On Windows, in PowerShell:

iwr -useb https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.ps1 | iex

Then run the setup:

fabric --setup

Source: README, Installation and Setup.

Per-platform notes

  • setup/macos-and-linux.md: the installer, Homebrew, the Arch package, a binary download and an install from source
  • setup/windows.md: the PowerShell installer, winget and Scoop
  • setup/docker.md: the pre-built images and the maker's Dockerfile
  • setup/providers-and-setup.md: fabric --setup, the model providers and a model for each pattern
  • setup/patterns-and-usage.md: running a pattern, the options you will reach for first and the helper apps
  • setup/shell-aliases-and-completions.md: one command per pattern, the yt helper and tab completion
  • setup/custom-patterns-and-strategies.md: your own private patterns and the prompt strategies
  • setup/youtube-and-media.md: transcripts, comments and speech to text
  • setup/rest-api-and-web-app.md: the REST server, the Ollama mode and the web app
  • setup/patterns-without-the-cli.md: using the prompts in ChatGPT or any other AI app

Update or remove

The README's Upgrading section is about the Go route: to upgrade or replace an installation you run the same command you used to install it. It gives no upgrade command for Homebrew, winget or Scoop. For an install from source:

go install github.com/danielmiessler/fabric/cmd/fabric@latest

The patterns update separately. The help text lists -U, --updatepatterns:

fabric --updatepatterns

The README gives no uninstall steps. For the old Python version it gives pipx uninstall fabric. These notes (Mindket's, not the maker's) go by what the installer page says it does: to take Fabric out by hand, delete the fabric binary from the folder you installed it to (~/.local/bin by default, %USERPROFILE%\.local\bin on Windows), remove the alias lines you added to your shell startup files, and delete ~/.config/fabric if you do not want your keys and patterns kept. Homebrew, winget and Scoop remove a package with their own commands.

Data that leaves your computer

Fabric sends the pattern and your input to the model provider you chose. The README and its docs also name these other connections, each only when you use the option:

  • -u and -q use Jina AI. The README says "Fabric uses Jina AI to scrape the URL into markdown format before sending it to the model."
  • --serply_search searches Google through Serply, and --firecrawl_search searches the web through Firecrawl.
  • -y fetches a YouTube transcript through yt-dlp. The --comments and --metadata options need a YouTube API key. Source: https://github.com/danielmiessler/Fabric/blob/main/docs/YouTube-Processing.md
  • --transcribe-file sends your audio or video to OpenAI's transcription API, and only OpenAI is supported for it. Source: https://github.com/danielmiessler/Fabric/blob/main/docs/Using-Speech-To-Text.md
  • fabric --serve opens a local HTTP server. Read setup/rest-api-and-web-app.md before you bind it to anything but your own computer.
  • --spotify= grabs metadata from a Spotify podcast or episode URL.
  • --search turns on a web search tool for supported models (Anthropic, OpenAI, Gemini, Grok).
  • The generate_changelog helper uses the GitHub GraphQL API.
  • The one-line installer downloads the latest release from GitHub.

Sources

Files
README.md  7 KB
setup/custom-patterns-and-strategies.md  5 KB
setup/docker.md  4 KB
setup/macos-and-linux.md  4 KB
setup/patterns-and-usage.md  5 KB
setup/patterns-without-the-cli.md  3 KB
setup/providers-and-setup.md  4 KB
setup/rest-api-and-web-app.md  8 KB
setup/shell-aliases-and-completions.md  6 KB
setup/windows.md  3 KB
setup/youtube-and-media.md  6 KB

11 files, 53 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-03

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

oldguy101Fabric lets me assess online AI from my Unix CLIhttps://github.com/danielmiessler/FabricRewokepara hacer el analisis estaba usando patrones de un framework que se llama Fabric pero no da buen resultado ese scoring con el modelo chino local que estoy usando1 like · 1 reply@GHedgehog37598Six free AI tools from GitHub. All of them run on your own machine, none of them wants a subscription. Ollama: chat with Llama, Qwen and friends on your laptop. No account, works on a plane. Whisper: turns voice notes and recordings into text. It is the model behind a lot of the transcription…r/ClaudeCodeIs prompt engineering still a thing?danielrm26Show HN: RateMyPrompt – share and rate prompts with auto AI evalsNice! You should integrate with github.com/danielmiessler/fabric!GolangOSSFabric by @danielmiessler (⭐️ 44327) Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced ... #go@RehanTemkar10 GITHUB REPOS FOR RUNNING A PRIVATE AI ASSISTANT ON YOUR MAC: 1. Open Interpreter https://t.co/3nFVt9m5Dc 2. PrivateGPT https://t.co/YXPhd4H4Q2 3. goose https://t.co/VaQNkojEAv 4. LocalAI https://t.co/9xHw2dgmoa 5. Fabric https://t.co/1ysyCKUu98 6. Vane (formerly Perplexica)…r/Glima10 GitHub repos with prompt collections that are actually worth bookmarkingkayvansylvanGemini 2.5 Pro reasons about task feasibilityYou can also use the "fabric" CLI tool with its new "code_helper" functionality: https://github.com/danielmiessler/fabric?tab=readme-ov-file#... This is more rudimentary and works on the CLI, but I've had good results with it using both Gemini Pro and local models.GolangOSSFabric by @danielmiessler (⭐️ 44188) Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced ... #go@KaiyuanDeskBuzz:在电脑本地把录音转成文字,导出 TXT、SRT 或 VTT,适合整理访谈稿和课程字幕。 起步:导入一段短音频,选本地 Whisper 后端,先核对人名和术语。 门槛:需安装桌面端,转写结果要校对。 文档核验,未实测。 https://t.co/z757pVYyzAr/SATNA_PROJECT15 GitHub projects with 1.2M+ combined stars that can form a real agent stack

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Productivity

See all in Productivity

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New