fabric
БесплатноБез исполняемых скриптовНе проверенIntelligent pattern selection for Fabric CLI. Automatically selects the right pattern from 242+ specialized prompts based on your intent - threat modeling…
от danielmiessler★ 59 звёзд на 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
Analysis:
- Malware →
analyze_malware - Code →
analyze_codeorreview_code - Claims →
analyze_claims - Debate →
analyze_debate - Logs →
analyze_logs - Paper →
analyze_paper - Threat report →
analyze_threat_report - Product feedback →
analyze_product_feedback - Sales call →
analyze_sales_call
Content Creation:
- PRD →
create_prd - Design document →
create_design_document - User story →
create_user_story - Visualization →
create_visualization,create_mermaid_visualization,create_markmap_visualization - Essay →
write_essay - Report finding →
create_report_finding - Newsletter entry →
create_newsletter_entry
Improvement:
- Writing →
improve_writing - Academic writing →
improve_academic_writing - Prompt →
improve_prompt - Report finding →
improve_report_finding - Code →
review_code
Rating/Evaluation:
- AI response →
rate_ai_response - Content quality →
rate_content - Value assessment →
rate_value - General judgment →
judge_output
2. Execute Pattern
# Basic format
fabric [input] -p [selected_pattern]
# From URL
fabric -u "URL" -p [pattern]
# From YouTube
fabric -y "YOUTUBE_URL" -p [pattern]
# From file
cat file.txt | fabric -p [pattern]
# Direct text
fabric "your text here" -p [pattern]
📚 Pattern Categories (242 Total)
Threat Modeling & Security (15 patterns)
create_threat_model- General threat modelingcreate_stride_threat_model- STRIDE methodologycreate_threat_scenarios- Threat scenario generationcreate_security_update- Security update documentationcreate_sigma_rules- SIGMA detection ruleswrite_nuclei_template_rule- Nuclei scanner templateswrite_semgrep_rule- Semgrep static analysis rulesanalyze_threat_report- Threat report analysisanalyze_threat_report_cmds- Extract commands from threat reportsanalyze_threat_report_trends- Identify threat trendst_threat_model_plans- Threat model for plansask_secure_by_design_questions- Secure by design questionscreate_network_threat_landscape- Network threat landscapeanalyze_incident- Incident analysisanalyze_risk- Risk analysis
Summarization (20 patterns)
summarize- General summarizationcreate_5_sentence_summary- Ultra-concise 5-line summarycreate_micro_summary- Micro summarycreate_summary- Detailed summarysummarize_micro- Micro summarizationsummarize_meeting- Meeting notes summarysummarize_paper- Academic paper summarysummarize_lecture- Lecture summarysummarize_newsletter- Newsletter summarysummarize_debate- Debate summarysummarize_legislation- Legislation summary- `summarize_rpg_
Установить fabric в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fabric?
Intelligent pattern selection for Fabric CLI. Automatically selects the right pattern from 242+ specialized prompts based on your intent - threat modeling, analysis, summarization, content creation, extraction, and more. USE WHEN processing content, analyzing data, creating summaries, threat modeling, or transforming text.
Как установить скилл fabric?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fabric запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic