askill
fabric

fabricSafety 95Repository

Native Fabric pattern execution for Claude Code. USE WHEN processing content with Fabric patterns (extract_wisdom, summarize, analyze_claims, threat modeling, etc.). Patterns run natively in Claude's context - no CLI spawning needed. Only use fabric CLI for YouTube transcripts (-y) or pattern updates (-U).

0 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Fabric Skill - Pattern Execution

The Key Insight

Fabric patterns are just markdown prompts. Instead of spawning fabric -p pattern_name for every task, @assistantName@ can read and apply patterns directly. This gives you:

  • Your Claude subscription's full power - Opus/Sonnet intelligence, not Fabric's default model
  • Full conversation context - Patterns work with your entire session
  • No CLI overhead - Faster execution, no process spawning

How to Execute Patterns

Native Execution (When Patterns Bundled)

For any pattern-based processing:

  1. Read tools/patterns/{pattern_name}/system.md
  2. Apply the pattern instructions directly to the content
  3. Return results without external CLI calls

Examples:

User: "Extract wisdom from this transcript"
→ Read tools/patterns/extract_wisdom/system.md
→ Apply pattern to content
→ Return structured output (IDEAS, INSIGHTS, QUOTES, etc.)

User: "Create a threat model for this API"
→ Read tools/patterns/create_threat_model/system.md
→ Apply pattern to the API description
→ Return threat model

CLI Fallback (When Patterns Not Bundled)

When patterns aren't bundled locally, use the fabric CLI:

# Pipe content through fabric with a pattern
echo "content to process" | fabric -p pattern_name

# Or read from a file
cat article.txt | fabric -p summarize

Always Use CLI For

These operations require external services regardless of bundled patterns:

OperationCommandWhy CLI Needed
YouTube transcriptsfabric -y "URL"Downloads video, extracts transcript
Update patternsfabric -UPulls from GitHub
List patternsfabric -lQuick reference

Available Patterns

@fabricPatternsList@

Pattern Structure

Each pattern directory contains:

  • system.md - The main prompt/instructions (this is what gets applied)
  • README.md - Documentation (optional)
  • user.md - Example user input (optional)

Why Native > CLI

AspectNative Patternsfabric CLI
ModelYour subscription (Opus/Sonnet)Fabric's configured model
ContextFull conversation historyJust the input
SpeedInstant (no process spawn)~1-2s CLI overhead
IntegrationSeamless with Claude CodeExternal tool call

The patterns are identical. The difference is execution context and model power.

Configuration

To disable bundled patterns (smaller build, use CLI fallback):

pai.fabric.includePatterns = false;

To use a custom patterns source:

inputs.fabric-patterns.url = "github:danielmiessler/fabric";
inputs.fabric-patterns.flake = false;
pai.fabric.patternsSource = inputs.fabric-patterns;

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 2/20/2026

Solid skill explaining native Fabric pattern execution in Claude Code. Clear when-to-use guidance (R3), structured steps (R5), and useful tags (R6). High-density technical content (R11) with accurate comparison tables. Minor issues: placeholders reduce immediate actionability, project-specific Nix config suggests some internal tailoring but core concept remains broadly applicable.

95
75
80
75
70

Metadata

Licenseunknown
Version-
Updated2/9/2026
Publisherzmre

Tags

apici-cdgithubllmprompting