fabric-pattern

$npx mdskill add aAAaqwq/AGI-Super-Team/fabric-pattern

Apply Fabric patterns and retrieve media via CLI.

  • Transforms text using local pattern instructions.
  • Depends on Fabric CLI and local pattern files.
  • Selects patterns by reading explanation documentation.
  • Delivers transcripts and metadata from videos.

SKILL.md

.github/skills/fabric-patternView on GitHub ↗
---
name: fabric-pattern
description: Integrate Daniel Miessler's Fabric patterns into local workflows for
  structured prompting, text transformation, and retrieval-assisted processing.
---

## Description
Integration for the Fabric AI framework (https://github.com/danielmiessler/Fabric). This skill manages text processing by reading local pattern files directly, while utilizing the Fabric CLI for specific web, YouTube, and search retrieval tasks.

## Rules

### 1. Pattern Application (Text Processing)
**Constraint:** Do NOT use `fabric -p "pattern"` to process text.
Instead, you must manually apply the pattern using the following logic:
1.  **Identify Pattern:** Determine the correct pattern name. If unsure, read `~/.config/fabric/patterns/pattern_explanations.md` to find the best fit.
2.  **Read Instruction:** Read the content of the system prompt file located at:
    `~/.config/fabric/patterns/"pattern_name"/system.md`
3.  **Apply:** Use the content of that `system.md` file as your strict instruction/persona to process the user's text.

### 2. Fabric CLI Usage (Retrieval & Tools)
Only use the `fabric` command line tool for the following specific retrieval or maintenance tasks:

* **YouTube/Video:** Use `fabric -y "URL"`
    * *Default behavior:* Returns the transcript.
    * *Supported flags:*
        * `--playlist` (Prefer playlist over video)
        * `--transcript` (Default)
        * `--transcript-with-timestamps`
        * `--comments`
        * `--metadata`
        * `--yt-dlp-args="..."` (e.g., `--cookies-from-browser brave`)
        * `--spotify="..."` (For Spotify podcast/episode metadata)
* **Web Scraping:** Use `fabric -u "URL"` to fetch page contents as Markdown.
* **Context Search:** Use `fabric -q "question"` to search using Jina AI.
* **Updates:** Use `fabric -U` to update the local patterns folder.

### 3. Integrations
* **Obsidian:** If the user asks to save, read, or interact with their Obsidian vault in relation to Fabric content (e.g., "save this summary to my vault"), utilize the `obsidian-cli` skill.

## Examples

**User:** "Summarize this website using the extract_wisdom pattern: https://example.com"
**Action:**
1. Run `fabric -u "https://example.com"` to get the raw text.
2. Read `~/.config/fabric/patterns/extract_wisdom/system.md`.
3. Process the raw text using the instructions found in `system.md`.

**User:** "Use fabric to get the transcript with timestamps for this video."
**Action:**
Run `fabric -y "VIDEO_URL" --transcript-with-timestamps`

**User:** "I need to use fabric to analyze this text but I don't know which pattern to use."
**Action:**
1. Read `~/.config/fabric/patterns/pattern_explanations.md`.
2. Select the most relevant pattern.
3. Read that pattern's `system.md` and apply it to the text.

More from aAAaqwq/AGI-Super-Team

SkillDescription
a-fund-monitor监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。
add-leadAdd company/person/relationship to CRM
ads-agentAI-агент для управления Facebook рекламой. Вызывай для анализа, оптимизации, создания кампаний и отчётов.
afrexai-compliance-auditRun internal compliance audits against major governance and security
afrexai-personal-financeComplete personal finance system — budgeting, debt payoff, investing, tax optimization, net worth tracking, and financial independence planning. Use when managing money, building wealth, paying off debt, planning retirement, or optimizing taxes. Zero dependencies.
after-salesUse when managing post-purchase experience, building customer loyalty, or increasing repeat purchases
agent-contactsAI agent contacts — add, list, remove MCP contacts. Use when someone gives an agent URL, or when you need to view/remove contacts.
agent-model-switcher批量查看和切换子 agent 的模型配置,用于统一调整多 agent 的 provider/model 设置。
agent-patternsFormat SPAWN REQUEST messages to launch parallel agents, generate structured agent status reports, and define communication protocols within the sprint system. Use when the user needs to coordinate multiple agents, format spawn requests, produce agent reports, or establish inter-agent communication patterns.
agent-task-confirmUse when confirming whether a dispatched agent task was actually received, activated, and progressing after sessions_send or other task handoff actions.