Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/danielmiessler/paiplugin/fabricnpx skills add danielmiessler/PAIPlugin --skill fabricgit clone --depth 1 https://github.com/danielmiessler/PAIPluginWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00060 | $0.03519 |
| Opus 5 | $0.00030 | $0.01759 |
| Sonnet 5 | $0.00012 | $0.00704 |
| Haiku 4.5 | $0.00006 | $0.00352 |
Grade A, and why
fabric scanned grade A with 1 finding 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 2d ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "https://..." | fabric -p analyze_claims How it starts
The opening of the file, as written. The whole thing — 379 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fabric Skill
Setup Check - Fabric Repository
IMPORTANT: Before using this skill, verify the Fabric repository is available:
# Check if Fabric repo exists
if [ ! -d "$HOME/.claude/skills/fabric/fabric-repo" ]; then
echo "Fabric repository not found. Cloning..."
cd "$HOME/.claude/skills/fabric"
git clone https://github.com/danielmiessler/fabric.git fabric-repo
echo "Fabric repository cloned successfully."
else
echo "Fabric repository found at $HOME/.claude/skills/fabric/fabric-repo"
fi
If the repo doesn't exist, clone it immediately before proceeding with any pattern selection.
When to Activate This Skill
Primary Use Cases:
- "Create a threat model for..."
- "Summarize this article/video/paper..."
- "Extract wisdom/insights from..."
- "Analyze this [code/malware/claims/debate]..."
- "Improve my writing/code/prompt..."
- "Create a [visualization/summary/report]..."
- "Rate/review/judge this content..."
The Goal: Select the RIGHT pattern from 242+ available patterns based on what you're trying to accomplish.
🎯 Pattern Selection Strategy
When a user requests Fabric processing, follow this decision tree:
1. Identify Intent Category
Threat Modeling & Security:
- Threat model →
create_threat_modelorcreate_stride_threat_model - Threat scenarios →
create_threat_scenarios - Security update →
create_security_update - Security rules →
create_sigma_rules,write_nuclei_template_rule,write_semgrep_rule - Threat analysis →
analyze_threat_report,analyze_threat_report_trends
Summarization:
- General summary →
summarize - 5-sentence summary →
create_5_sentence_summary - Micro summary →
create_micro_summaryorsummarize_micro - Meeting →
summarize_meeting - Paper/research →
summarize_paper - Video/YouTube →
youtube_summary - Newsletter →
summarize_newsletter - Code changes →
summarize_git_changesorsummarize_git_diff
Wisdom Extraction:
- General wisdom →
extract_wisdom - Article wisdom →
extract_article_wisdom - Book ideas →
extract_book_ideas - Insights →
extract_insightsorextract_insights_dm - Main idea →
extract_main_idea - Recommendations →
extract_recommendations - Controversial ideas →
extract_controversial_ideas
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.
- fabric-repo/.devcontainer/devcontainer.json 82 B
- fabric-repo/.dockerignore 61 B
- fabric-repo/.envrc 35 B
- fabric-repo/.github/ISSUE_TEMPLATE/bug.yml 2.6 KB
- fabric-repo/.github/ISSUE_TEMPLATE/feature-request.yml 386 B
- fabric-repo/.github/ISSUE_TEMPLATE/question.yml 364 B
- fabric-repo/.github/pull_request_template.md 318 B
- fabric-repo/.github/workflows/ci.yml 700 B
- fabric-repo/.github/workflows/patterns.yaml 1.1 KB
- fabric-repo/.github/workflows/release.yml 1.3 KB
- fabric-repo/.github/workflows/update-version-and-create-tag.yml 4.8 KB
- fabric-repo/.gitignore 6.4 KB
- fabric-repo/.goreleaser.yaml 1.2 KB
- fabric-repo/CHANGELOG.md 135 KB
- fabric-repo/cmd/code_helper/code.go 4.0 KB
- fabric-repo/cmd/code_helper/main.go 1.6 KB
- fabric-repo/cmd/fabric/main.go 247 B
- fabric-repo/cmd/fabric/version.go 39 B
- fabric-repo/cmd/generate_changelog/changelog.db 3156 KB
- fabric-repo/cmd/generate_changelog/incoming/1780.txt 514 B
- fabric-repo/cmd/generate_changelog/incoming/1794.txt 297 B
- fabric-repo/cmd/generate_changelog/internal/cache/cache.go 13 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/generator_test.go 2.8 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/generator.go 24 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/merge_detection_test.go 1.9 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/processing_test.go 7.1 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/processing.go 18 KB
- fabric-repo/cmd/generate_changelog/internal/changelog/summarize.go 2.8 KB
- fabric-repo/cmd/generate_changelog/internal/config/config.go 461 B
- fabric-repo/cmd/generate_changelog/internal/git/types.go 352 B
- fabric-repo/cmd/generate_changelog/internal/git/walker.go 15 KB
- fabric-repo/cmd/generate_changelog/internal/github/client.go 11 KB
- fabric-repo/cmd/generate_changelog/internal/github/email_test.go 1.2 KB
- fabric-repo/cmd/generate_changelog/internal/github/types.go 1.6 KB
- fabric-repo/cmd/generate_changelog/internal/release.go 4.4 KB
- fabric-repo/cmd/generate_changelog/main.go 4.5 KB
- fabric-repo/cmd/generate_changelog/PRD.md 4.8 KB
- fabric-repo/cmd/generate_changelog/README.md 8.7 KB
- fabric-repo/cmd/generate_changelog/util/token.go 924 B
- fabric-repo/cmd/to_pdf/main.go 5.9 KB
- fabric-repo/completions/_fabric 8.9 KB
- fabric-repo/completions/fabric.bash 4.9 KB runs code
- fabric-repo/completions/fabric.fish 9.2 KB
- fabric-repo/completions/setup-completions.sh 16 KB runs code
- fabric-repo/data/patterns/agility_story/system.md 827 B
- fabric-repo/data/patterns/agility_story/user.md 0 B
- fabric-repo/data/patterns/ai/system.md 485 B
- fabric-repo/data/patterns/analyze_answers/README.md 2.1 KB
- fabric-repo/data/patterns/analyze_answers/system.md 3.2 KB
- fabric-repo/data/patterns/analyze_bill_short/system.md 1.1 KB
- fabric-repo/data/patterns/analyze_bill/system.md 1.0 KB
- fabric-repo/data/patterns/analyze_candidates/system.md 1.2 KB
- fabric-repo/data/patterns/analyze_candidates/user.md 0 B
- fabric-repo/data/patterns/analyze_cfp_submission/system.md 2.4 KB
- fabric-repo/data/patterns/analyze_claims/system.md 2.7 KB
- fabric-repo/data/patterns/analyze_claims/user.md 0 B
- fabric-repo/data/patterns/analyze_comments/system.md 1.1 KB
- fabric-repo/data/patterns/analyze_debate/system.md 3.6 KB
- fabric-repo/data/patterns/analyze_email_headers/system.md 2.6 KB
- fabric-repo/data/patterns/analyze_email_headers/user.md 0 B
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.
- 2d ago First seen · 379 lines · 60 tokens per session scan A 7beb9c557808
fabric is a skill published in the GitHub repository danielmiessler/PAIPlugin (56 stars, last pushed 9mo ago), licensed MIT. It adds 60 tokens to every session and 3,519 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…