Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Fabric

$ fabric Community Med Risk
Daniel Miessler · AI & Media · MIT · macos / linux / windows

Fabric (danielmiessler/fabric) applies curated reusable prompt patterns (-p summarize, extract_wisdom, analyze_claims) to piped text, YouTube transcripts, or attachments (-a). Rewritten in Go for fast pipe execution.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install fabric-ai
CLI vs MCP Decision CLI Only

Unix-pipe prompt pattern runner (stdin | fabric -p <pattern>); invoke fabric --listpatterns rather than interactive --setup in automated shells.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Clean stdin piping (-p <pattern>, -o <file>, --listpatterns), though --setup is interactive and output is markdown prose rather than JSON.

  • Supports -p, -o, -v, --listpatterns; --setup is interactive
Trust & Safety 20 / 25

Remote LLM billing and ~/.config/fabric/.env plaintext secrets; downloaded community patterns can be updated via -U.

  • Stores API keys in ~/.config/fabric/.env and calls external LLM APIs
Setup & Portability 13 / 15

Fast Go binary via brew install fabric-ai or go install, though requires initial pattern download/setup.

  • Single Go binary via Homebrew (fabric-ai) and go install
Utility & Efficiency 13 / 15

Huge library of vetted prompt templates for extraction, summarization, and security review.

  • Reusable community prompt patterns (-p) and variable injection (-v)
Maintenance & Lineage 9 / 10

Actively maintained by danielmiessler/fabric under MIT license.

  • Active danielmiessler/fabric Go repository
Docs & Verifiability 8 / 10

Detailed README and --help, though Homebrew formula name (fabric-ai) differs from binary name (fabric).

  • Comprehensive README at github.com/danielmiessler/fabric

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Stores vendor API keys and pattern libraries under ~/.config/fabric/ (via fabric --setup or .env).

Side Effects
Read-Only Local Write Billing Impact
Cost & Quotas

Free, MIT open-source Go binary; remote LLM API calls bill to your provider keys.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Fabric CLI Agent Rules
- Never run `fabric --setup` in an agent shell—it launches an interactive wizard.
- Avoid `--copy` (`-c`) in headless environments where clipboard tools are missing; use `-o <file>` or stdout.

Agent-Ready Command Recipes

Safe Read-Only Queries

List installed Fabric prompt patterns
fabric --listpatterns

Prints available local pattern names without calling any LLM API.

Controlled Writes & Previews

Summarize piped notes and save output to a file
cat notes.md | fabric -p summarize -o summary.md

Applies the summarize pattern over stdin and writes the result to summary.md.

Strengths for Agents

  • + Rich reusable prompt pattern library (extract_wisdom, summarize, etc.) ready for Unix pipes.
  • + Fast Go binary with -o file output and -v template variables.

Caveats & Pitfalls

  • ! Initial fabric --setup is interactive and requires downloading patterns before -p works.
  • ! Homebrew package is named fabric-ai (to avoid collision with Python's Fabric SSH tool).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI