Fabric

Execute local Fabric prompt patterns to extract, summarize, and analyze content.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/davdunc/pai-framework --skill fabric-davdunc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Fabric
Source: https://github.com/davdunc/pai-framework/tree/main/skills/Fabric
Command: npx skills add https://github.com/davdunc/pai-framework --skill fabric-davdunc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fabric turns your natural-language requests into consistent structured outputs by applying a large catalog of specialized prompt patterns stored locally, minimizing setup and tool friction.

Core Features & Use Cases

  • Native pattern execution (no CLI for most patterns): Selects the right pattern, reads Patterns/{pattern}/system.md, and applies it directly.
  • Extraction and summarization at scale: Use patterns like extract_wisdom, summarize, and youtube_summary to extract ideas, facts, and concise summaries.
  • Security outputs: Generate threat models (e.g., create_threat_model, create_stride_threat_model), analyze malware (analyze_malware), and produce detections (create_sigma_rules).
  • Content transformation and improvement: Improve writing (improve_writing), review code (review_code), create diagrams (Mermaid), and rate responses (rate_content, judge_output).
  • Pattern maintenance workflows: Use UpdatePatterns to sync the local pattern catalog from upstream.

Quick Start

Use the Fabric skill to run a pattern natively by asking: “Use fabric to create a threat model for this API and return structured sections.”

Frequently Asked Questions about Fabric

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply prompt patterns for content extraction and summarization?▼

To create a threat model, select a valid threat modeling pattern like create_threat_model or create_stride_threat_model, and the system natively applies the local instructions to generate structured security analysis sections for your target architecture.

Can I generate Mermaid diagrams natively from text using prompt patterns?▼

Yes, you can generate Mermaid diagrams natively from text by selecting a diagram generation pattern, which reads local system instructions and applies them directly to create structured visual representations without requiring a CLI fallback.

Does generating malware analysis rules require external dependencies or CLI tools?▼

Generating malware analysis rules and Sigma detections requires no external dependencies or CLI tools, as patterns like analyze_malware and create_sigma_rules execute natively by reading local system instructions to produce structured security outputs.

What is the best way to improve writing and review code using prompt patterns?▼

The best way to improve writing and review code is by applying native prompt patterns like improve_writing or review_code, which read local system instructions to transform and analyze your content directly into structured feedback and enhanced text.

When do I need a CLI fallback for extracting YouTube transcripts or fetching URLs?▼

A CLI fallback is only needed for YouTube transcript extraction and URL fetching, while all other prompt patterns for extraction, analysis, and creation execute natively using local pattern storage without requiring external CLI tools.