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…

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.
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash fabric --setup
And 2 more in Where to use it
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.
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.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Reading and research | People who work through long articles | Send the text to the summarize Pattern | Someone copies an article and sends the clipboard to the summarize Pattern, as the README’s first example does. |
| Video and podcasts | People who learn from long videos | Send a YouTube transcript through a Pattern | A viewer runs fabric -y with a video link and the extract_wisdom Pattern, as in the README’s example. |
| Fact checking | Writers and readers of claims | Run analyze_claims on pasted text or on a web page | A reader runs fabric -u with a page address and analyze_claims. Fabric first scrapes the page to Markdown through Jina AI. |
| Developers | People who build tools | Start the server and call it over HTTP | A script posts Hello world to the translate Pattern with lang_code set to es, as the REST API page shows. |
| Documents | People who write in LaTeX | Make LaTeX with a Pattern and turn it into a PDF | The README sends the write_latex Pattern into to_pdf, which writes output.pdf in the current folder. |
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.
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.
| Need | Detail |
|---|---|
| A model | A provider you have a key or subscription for, or a local model such as Ollama. The setup command asks which |
| macOS or Linux | curl or wget, tar, and write permission to the install folder |
| Windows | PowerShell, which is built into Windows, and write permission to the install folder |
| Go | For an install from source and for the helper apps (to_pdf, code2context, generate_changelog), which the README installs with go install |
| A LaTeX distribution | Only for to_pdf, which needs pdflatex on your PATH |
| yt-dlp | Only for YouTube transcripts |
| Node.js 18 or newer and the repository’s web/ folder | Only for the web app, which runs from web/ with npm or pnpm while fabric --serve runs |
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'
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.
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.
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.
Fabric sends your input and the Pattern to the provider you chose. These points come from the README and the docs.
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".
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.mdfabric-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~/.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.to_pdf, code2context and generate_changelog. See setup/patterns-and-usage.md.go install. The README sends you to https://go.dev/doc/installyt-dlp, only for YouTube transcripts. See setup/youtube-and-media.md.to_pdf helper.web/ folder, only for the web app. See setup/rest-api-and-web-app.md.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.
fabric --setup, the model providers and a model for each patternyt helper and tab completionThe 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.
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.mdfabric --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).generate_changelog helper uses the GitHub GraphQL API.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
Updated by Mindket to the current version of this kit.
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.
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…
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…
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…
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…
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…
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…