fabric
БесплатноЗапускает вложенные скриптыНе проверенRouting-first Fabric operator skill for reusable named AI transforms over stdin, files, transcripts, notes, logs, and cleaned web text. Use when the user…
от akillness★ 63 звезды на GitHubОб этом скилле
Fabric
Use this skill when the real job is running a reusable named AI transform over existing text/content with Fabric.
Fabric is strongest when three things are true:
- the input already exists or can be cleaned first,
- the transform is repeatable enough to deserve a named pattern,
- the output should be delivered through a CLI, shell pipeline, or lightweight HTTP surface.
Read these support docs before going deeper:
- references/routing-and-mode-selection.md
- references/operator-packets-and-route-outs.md
- references/install-and-provider-setup.md
- references/pattern-workflow-recipes.md
When to use this skill
- The user explicitly wants Fabric.
- The user wants a named pattern instead of improvising a fresh prompt every time.
- The job is a repeatable transform over stdin, files, transcripts, clipboard text, notes, logs, or cleaned article text.
- The user wants a custom pattern pack for recurring work.
- Fabric should sit inside a shell pipeline or a small local toolchain.
- Another tool needs Fabric server mode via
fabric --serve. - The boundary between Fabric vs general LLM CLI vs coding assistant is unclear.
When not to use this skill
- One-off chat prompting in the current session → use the current model directly.
- Repo-aware coding, editing, or git implementation → use a coding-assistant skill.
- Scraping, OCR, transcript recovery, or file conversion is still the hard part → fix the upstream input layer first.
- Deterministic multi-step automation is the real job → use scripts or workflow automation, with Fabric only as one step if needed.
- Provider/platform setup is the whole question and not Fabric-specific → use the more relevant platform/provider skill first.
Core boundary
- Fabric = reusable pattern-driven transforms on external text/content.
- General LLM CLI = ad hoc prompting without strong pattern-library expectations.
- Coding assistant = repo-aware editing, implementation, and git workflows.
- Workflow automation / scripts = deterministic orchestration where Fabric may be one stage.
Offline readiness
Before recommending an install, a --setup run, or fabric --serve, check the host with the offline helper. It reads host facts and, with --repo, a checkout; it never runs Fabric, a model, yt-dlp, ffmpeg, or the network, reads no credential value, and writes nothing:
python3 .agent-skills/fabric/scripts/preflight.py --json
python3 .agent-skills/fabric/scripts/preflight.py --repo /path/to/fabric --expect-commit 8e8511c770b2589a6066398a86343fbf8c2a56a3 --json
An installed skill uses python3 "$SKILLS_ROOT/fabric/scripts/preflight.py". It accepts the binary as fabric or fabric-ai (Homebrew, Arch and Scoop name it fabric-ai), reports whether ~/.config/fabric/.env exists and whether others can read it, and lists audited behaviors from references/upstream.md: the server binds loopback by default and refuses a non-loopback address without an API key, patterns are downloaded from GitHub at setup time, and --scrape_url uses Jina AI. A blocked check means a prerequisite is missing, not that Fabric is broken; installing, fabric --setup, and serving remain separate approvals.
Instructions
Step 1: Classify the request into one primary lane
Choose exactly one lane:
fabric_intake:
primary_lane: quick-transform | pattern-selection | custom-pattern | shell-pipeline | serve-api | boundary-review
input_shape: stdin-text | file | clipboard | transcript | url-derived-text | logs | code-snippet | mixed | unknown
output_shape: summary | extraction | rewrite | explanation | classification | structured-markdown | custom
repetition_level: one-off | recurring | team-shared | embedded-in-script
provider_need: default | specific-provider | local-model | server-mode | unknown
input_ready: yes | no | unclear
Lane chooser:
quick-transform→ the text is already available and one strong Fabric pass is enough.pattern-selection→ the user needs the right built-in pattern or family.custom-pattern→ the workflow repeats and needs a stable output shape.shell-pipeline→ Fabric is one step inside a larger terminal workflow.serve-api→ another local tool or script should call Fabric over HTTP.boundary-review→ the user is deciding among Fabric, a general LLM CLI, or a coding assistant.
Step 2: Verify the input layer before talking about patterns
Answer these first:
- Where does the text come from?
- Is the text already clean enough for Fabric?
- Is this a one-shot transform or a reusable workflow?
- Is provider/model setup already available?
If the text is still messy HTML, OCR noise, bad transcripts, or missing entirely, say s
Установить fabric в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGrepGlobВложенные файлы
FAQ
Что делает скилл fabric?
Routing-first Fabric operator skill for reusable named AI transforms over stdin, files, transcripts, notes, logs, and cleaned web text. Use when the user wants Fabric patterns, custom pattern packs, shell-pipe composition, or `fabric --serve` workflows — not generic one-off chat prompting, repo-aware coding, or fully deterministic automation.
Как установить скилл fabric?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fabric запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic