Fabric AI Patterns
Fabric AI Patterns Guide
Pattern Categories
Analysis Patterns
| Pattern |
Description |
Use Case |
| analyze_answers |
Evaluates responses for accuracy and completeness |
Review survey responses |
| analyze_candidates |
Assesses candidate qualifications |
HR screening |
| analyze_claims |
Validates claims and statements |
Fact-checking |
| analyze_comments |
Reviews comment sentiment and content |
Social media monitoring |
| analyze_debate |
Examines debate structure and arguments |
Academic analysis |
| analyze_email_headers |
Inspects email metadata |
Security investigation |
| analyze_incident |
Reviews incident reports |
Security response |
| analyze_logs |
Examines system logs |
IT troubleshooting |
| analyze_malware |
Studies malware behavior |
Security research |
| analyze_military_strategy |
Evaluates strategic decisions |
Military planning |
Creation Patterns
| Pattern |
Description |
Use Case |
| create_5_sentence_summary |
Generates concise summaries |
Quick briefings |
| create_academic_paper |
Drafts academic content |
Research writing |
| create_ai_jobs_analysis |
Analyzes AI job market |
Career planning |
| create_aphorisms |
Generates wisdom statements |
Content creation |
| create_art_prompt |
Creates art descriptions |
Digital art |
| create_better_frame |
Improves perspective |
Problem solving |
| create_coding_project |
Generates project structure |
Development |
| create_command |
Creates CLI commands |
Automation |
| Pattern |
Description |
Use Case |
| extract_algorithm_update_recommendations |
Finds algorithm improvements |
System optimization |
| extract_article_wisdom |
Pulls key insights |
Content analysis |
| extract_book_ideas |
Identifies main concepts |
Book summaries |
| extract_book_recommendations |
Finds book recommendations |
Book browsing |
| extract_business_ideas |
Finds business opportunities |
Entrepreneurship |
| extract_controversial_ideas |
Identifies controversial ideas |
Debate preparation |
| extract_core_message |
Identifies central themes |
Communication |
| extract_ctf_writeup |
Writes CTF writeups |
Cybersecurity competitions |
| extract_extraordinary_claims |
Finds extraordinary claims |
Fact-checking |
| extract_insights |
Pulls key learnings |
Research |
| extract_insights_dm |
Pulls key learnings |
Data analysis |
| extract_instructions |
Pulls key instructions |
Task automation |
| extract_jokes |
Finds jokes |
Humor generation |
| extract_latest_video |
Finds latest videos |
Video browsing |
| extract_main_idea |
Pulls main idea |
Content analysis |
| extract_most_redeeming_thing |
Finds most redeeming thing |
Content analysis |
| extract_patterns |
Identifies recurring patterns |
Pattern recognition |
| extract_poc |
Pulls proof of concept |
Project development |
| extract_predictions |
Finds predictions |
Future prediction |
| extract_primary_problem |
Pulls primary problem |
Problem solving |
| extract_primary_solution |
Pulls primary solution |
Problem solving |
| extract_product_features |
Pulls product features |
Product analysis |
| extract_questions |
Pulls questions |
Research |
| extract_recipe |
Pulls recipe |
Cooking |
| extract_recommendations |
Finds recommendations |
Content analysis |
| extract_references |
Finds references |
Research |
| extract_skills |
Pulls skills |
Skill analysis |
| extract_song_meaning |
Finds song meaning |
Music analysis |
| extract_sponsors |
Finds sponsors |
Content analysis |
| extract_videoid |
Pulls video ID |
Video browsing |
| extract_wisdom |
Pulls wisdom |
Content analysis |
| extract_wisdom_agents |
Pulls wisdom from agents |
AI analysis |
| extract_wisdom_dm |
Pulls wisdom from data models |
Data analysis |
| extract_wisdom_nometa |
Pulls wisdom from non-meta data |
Data analysis |
Visualization Patterns
| Pattern |
Description |
Use Case |
| create_mermaid_visualization |
Generates Mermaid diagrams |
Process documentation |
| create_markmap_visualization |
Creates mind maps |
Concept mapping |
| create_graph_from_input |
Builds data visualizations |
Data analysis |
| create_investigation_visualization |
Maps investigation data |
Security analysis |
| create_keynote |
Creates keynote presentations |
Public speaking |
| create_logo |
Creates logos |
Branding |
| create_network_threat_landscape |
Creates network threat landscapes |
Security analysis |
| create_npc |
Creates NPCs |
Game development |
| create_pattern |
Creates patterns |
Pattern recognition |
| create_quiz |
Creates quizzes |
Learning |
| create_reading_plan |
Creates reading plans |
Learning |
| create_recursive_outline |
Creates recursive outlines |
Project planning |
| create_report_finding |
Documents findings |
Report writing |
| create_rpg_summary |
Creates RPG summaries |
Game analysis |
| create_security_update |
Writes security bulletins |
Security updates |
| create_show_intro |
Creates show intros |
Public speaking |
| create_sigma_rules |
Creates Sigma rules |
Security monitoring |
| create_story_explanation |
Creates story explanations |
Storytelling |
| create_stride_threat_model |
Creates stride threat models |
Security analysis |
| create_summary |
Creates summaries |
Content analysis |
| create_tags |
Creates tags |
Content organization |
| create_threat_scenarios |
Creates threat scenarios |
Security analysis |
| create_ttrc_graph |
Creates TTRC graphs |
Data analysis |
| create_ttrc_narrative |
Creates TTRC narratives |
Data analysis |
| create_upgrade_pack |
Creates upgrade packs |
Software updates |
| create_user_story |
Creates user stories |
Project planning |
| create_video_chapters |
Creates video chapters |
Video production |
| create_visualization |
Creates visualizations |
Data analysis |
Documentation Patterns
| Pattern |
Description |
Use Case |
| create_design_document |
Generates design specs |
Project planning |
| create_formal_email |
Writes professional emails |
Business communication |
| create_git_diff_commit |
Creates commit messages |
Version control |
| create_report_finding |
Documents findings |
Report writing |
| create_security_update |
Writes security bulletins |
Security updates |
| create_semgrep_rule |
Creates Semgrep rules |
Code analysis |
Using Patterns
Basic Syntax
fabric -p=pattern_name -v="#text:your_content"
Common Options
-t: Adjust temperature (creativity)
-c: Copy to clipboard
-o: Output to file
-s: Stream output
-l: List patterns
Best Practices
- Start with clear objectives
- Use appropriate temperature settings
- Review and refine outputs
- Save important results
- Combine patterns for complex tasks
Tips for Success
- Test patterns with small inputs first
- Use pattern combinations for better results
- Save successful prompts for reuse
- Adjust settings based on needs
- Review outputs carefully
Attribution
This content is based on and inspired by:
License
This content is licensed under MIT and includes modifications and additions by AI REI Teachings.
Last updated: March 2024
Navigation