Fabric: A tool that compiles frequently asked AI questions into patterns
TranslatedIf you find it tedious to rewrite the same AI questions every time, this tool lets you collect your questions in a pattern file and run them all with a single line of code.
3-Line Summary
1) It’s a tool that lets you collect frequently used AI questions in a “pattern” file and run them with a single line of code. 2) You can also copy the questions from the pattern folder and use them in AI apps like ChatGPT. 3) If you have a list of goals, there’s a pattern that highlights the five goals you haven’t worked on recently.
Image source: danielmiessler/Fabric repository README
At a Glance
• 44,538 stars (as of November 3, 2026) • Languages used: Go 76.1% (language used for command-line programs), Svelte 8.3% (web UI tool), TypeScript 5.3%(a language that adds data types to JavaScript) • License: MIT (allows use and modification as long as the source is credited) • Korean: The settings screen does not support Korean; Korean input and output are handled by the connected AI model https://github.com/danielmiessler/Fabric
How to Use It
1) To use it without installation, copy the question text from the "patterns" folder in the repository and paste it into the AI app. 2) To use it in the terminal (the window where you enter commands), install it on a Mac using this command: brew install fabric-ai This command installs Fabric using Homebrew, the installation tool for Mac. When installed this way, the command name is `fabric-ai`, so use `fabric-ai` in place of `fabric` in the following command. 3) After installation, use this command to configure the AI service and key. fabric --setup This command sets up the storage folder and the AI service key. No GPU is required, but if you want to use cloud AI, you’ll need an API key that charges based on usage.
Popular Comments
Hacker News · Post Score: 137, 5th in Comments · rcarmo · July 2024 "The great thing about this tool is that it's entirely command-line based. There's no chat or web UI—just the Unix-style pattern of chaining commands." (Translation) https://news.ycombinator.com/item?id=40892948
Points to Note
When you use cloud-based AI, the goals or journal entries you input are sent to that service. For sensitive content, consider using a local model like Ollama that runs on your own PC. The goal-tracking feature is designed for the TELOS format (a document detailing goals, projects, and progress), so results may be less accurate if you enter general notes.
This post was organized with the help of AI.
People who tried this
Nobody has tried it yet
Even one result photo is enough. Be the first to share.