fabric

fabric is a skill for Claude Code from CarbeneAI/Forge. It costs 65 tokens per session (1,120 once invoked), scanned A, original, MIT.

A way to apply Fabric patterns, which are reusable instructions for tasks such as summarising text, extracting ideas, analysing claims, or creating threat models. The patterns are applied directly to the current conversation and its content.

In plain words
What is it for?
Summarising articles or transcripts, extracting insights, analysing claims, and creating threat models for systems such as APIs.
Why use it?
It lets you use these structured analysis methods without repeatedly starting a separate command-line process or losing the surrounding conversation context.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is ./tools/update-patterns.sh.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fabric

README.md
[![agentmods](https://agentmods.dev/badge/skills/carbeneai/forge/fabric.svg)](https://agentmods.dev/skills/carbeneai/forge/fabric)
Your own site
<a href="https://agentmods.dev/skills/carbeneai/forge/fabric"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/fabric.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01120
Opus 5 $0.00032 $0.00560
Sonnet 5 $0.00013 $0.00224
Haiku 4.5 $0.00006 $0.00112

Measured 6d ago against content hash da2267cf11dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fabric scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (fabric-repo/completions/fabric.bash, fabric-repo/completions/setup-completions.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/Fabric/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fabric Skill - Native Pattern Execution

The Key Insight

Fabric patterns are just markdown prompts. Instead of spawning fabric -p pattern_name for every task, Claude Code reads and applies patterns directly from tools/patterns/. 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
  • Same 248 patterns - All the patterns you know, just applied natively

When to Use Native Patterns (Default)

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

User: "Summarize this article"
→ Read tools/patterns/summarize/system.md
→ Apply pattern to article
→ Return summary

When to Still Use Fabric CLI

Only use the fabric command for operations that require external services:

Operation Command Why CLI Needed
YouTube transcripts fabric -y "URL" Downloads video, extracts transcript
Update patterns fabric -U Pulls from GitHub
List patterns fabric -l Quick reference

For everything else, use native patterns.

Pattern Categories (248 Total)

Threat Modeling & Security

  • create_threat_model - General threat modeling
  • create_stride_threat_model - STRIDE methodology
  • create_threat_scenarios - Threat scenario generation
  • analyze_threat_report - Threat report analysis
  • create_sigma_rules - SIGMA detection rules
  • write_nuclei_template_rule - Nuclei scanner templates
  • write_semgrep_rule - Semgrep static analysis rules

Read the full file on GitHub · 139 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 139 lines · 65 tokens per session scan A da2267cf11dc

Subscribe to this mod's changes

fabric is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,120 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

xalgorix/xalgorix · 62 tokens

aod-orchestrate

Multi-feature orchestration skill that bridges /aod.blueprint output to parallel wave execution. Groups synced GitHub Issues by ICE priority tier (P0/P1/P2) into sequential waves, creates Task records, spawns batch sessions via the orchestrator API, monitors completion, and reports results. Supports --issues…

davidmatousek/tachi · 110 tokens

code-execution-helper

Guide for using code execution capabilities to perform parallel batch processing, conditional filtering, and data aggregation. This skill should be used when agents need to analyze multiple files efficiently, validate large result sets, aggregate data from multiple sources, or reduce token consumption through…

davidmatousek/tachi · 76 tokens

root-cause-analyzer

Implements 5 Whys root cause analysis methodology for systematic debugging and problem resolution. Use this skill when you need to find root cause, run 5 whys analysis, analyze recurring problems, or perform systematic debugging. Guides developers through structured analysis, documents findings in institutional…

davidmatousek/tachi · 68 tokens

~aod-project-plan

Validates architecture documentation completeness by checking for technology stack, API specifications, database schema, security architecture, and alignment with feature specification. Use this skill when you need to check if plan.md is complete before implementation, validate architecture documentation, or review…

davidmatousek/tachi · 59 tokens