Skip to content

CLI toolUsage-basedIntermediate

Fabric

Runs ready-made AI prompts on any text, such as summarising an article into key points

View original on GitHub

Install request

Your browser blocked copying. Select the text and copy it yourself.

Paste this into your AI agent (Claude Code, Codex or similar). It asks the agent to read the files and wait for your OK before installing.

Fabric in a terminal summarising a web page into a one-sentence summary, main points and takeaways
Image: Daniel Miessler (MIT). Original file

What it does

Fabric is an open source command-line tool that runs ready-made AI prompts, called patterns, on whatever text you give it. You pipe in an article, a web page, a video transcript or your own notes and pick a pattern such as summarize or extract_wisdom; it returns structured results like a one-sentence summary, main points and takeaways. It works with many AI providers or a local model through Ollama. It suits people who want repeatable AI help with reading and writing.

Its crowdsourced library of task prompts means you pick a pattern by name instead of writing a prompt each time.

Before you start

  • A computer with macOS, Windows or Linux.
  • An API key from an AI model provider, or a local model through Ollama
  • Pay per use. The AI service it calls charges for what you use.

How to start

  1. Install itPaste the install request into an AI agent you already use, or run the official command yourself or follow the official guide.macOS, Linuxcurl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash

    Install command

    Your browser blocked copying. Select the text and copy it yourself.

    This is the official install command, copied from the creator's instructions. Paste it where the instructions say.

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

    Install command

    Your browser blocked copying. Select the text and copy it yourself.

    This is the official install command, copied from the creator's instructions. Paste it where the instructions say.

    macOSbrew install fabric-ai

    Install command

    Your browser blocked copying. Select the text and copy it yourself.

    This is the official install command, copied from the creator's instructions. Paste it where the instructions say.

  2. Set it upFollow the first-run steps in the official guide.
  3. Give it a first taskDescribe what you want in your own words, and check the first result before relying on it.

Steps follow the creator's instructions.

Stuck setting it up?

Tell us what happened. We confirm scope and price before any paid work.

Get help
View original

Install request

Your browser blocked copying. Select the text and copy it yourself.

Paste this into your AI agent (Claude Code, Codex or similar). It asks the agent to read the files and wait for your OK before installing.