Fabric

Fabric is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 136 tokens per session (1,881 once invoked), scanned A, original, MIT.

A runner for more than 240 specialized prompt patterns covering tasks such as extracting information, summarizing, analyzing, creating, improving, rating, and reviewing code. A prompt pattern is a reusable set of instructions for one kind of task.

In plain words
What is it for?
Use it to extract ideas, summarize videos or articles, analyze claims, create threat models, improve writing, review code, or generate diagrams.
Why use it?
It saves you from writing a detailed prompt for every common task. It lets you apply a named pattern consistently across different pieces of content.

Skill for Claude CodeCodex

About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 18,872 stars · on GitHub

Install

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.

agentmods
npx agentmods add skills/danielmiessler/lifeos/fabric
Any agent
npx skills add danielmiessler/LifeOS --skill fabric
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Fabric

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/fabric.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/fabric)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/fabric"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/fabric.svg" alt="Measured on agentmods" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5 $0.00136 $0.01881
Opus 5 $0.00068 $0.00941
Sonnet 5 $0.00027 $0.00376
Haiku 4.5 $0.00014 $0.00188

Measured 5d ago against content hash cdc9552a0041, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 5d 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 -X POST http://localhost:31337/notify \
LifeOS/install/skills/Fabric/SKILL.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Customization

Before executing, check for user customizations at: ~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Fabric/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

Voice Notification

When executing a workflow, do BOTH:

  1. Send voice notification:

    curl -s -X POST http://localhost:31337/notify \
      -H "Content-Type: application/json" \
      -d '{"message": "Running the WORKFLOWNAME workflow in the Fabric skill to ACTION"}' \
      > /dev/null 2>&1 &
    
  2. Output text notification:

    Running the **WorkflowName** workflow in the **Fabric** skill to ACTION...
    

Full documentation: ~/.claude/LIFEOS/DOCUMENTATION/Notifications/NotificationSystem.md

Fabric

What It Does

Runs any of 240+ specialized prompt patterns across extraction, summarization, analysis, creation, improvement, security, and rating. Common ones: extract_wisdom, create_threat_model, analyze_claims, improve_writing, review_code, mermaid, youtube_summary. Patterns run natively — LifeOS reads the pattern's system.md and applies it directly, no CLI round-trip. The fabric CLI is only used for YouTube transcripts (-y) and URL fallback (-u).

The Problem

Good prompts are scattered, hard to remember, and easy to rewrite badly from scratch each time. You want a threat model, a claims analysis, or a clean summary, but reconstructing the right prompt every time is slow and inconsistent. Calling an external CLI for each one adds latency and a dependency. This skill keeps 240+ proven patterns on hand and applies them directly as prompts, so the right structured prompt is one pattern name away.

How It Works

A prompt pattern system providing 240+ specialized patterns for content analysis, extraction, summarization, threat modeling, and transformation.

Patterns Location: Patterns/

Read the full file on GitHub · 214 lines

Files

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.

Changes

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.

  1. 5d ago First seen · 214 lines · 136 tokens per session scan A cdc9552a0041

Subscribe to this mod's changes

Fabric is a skill published in the GitHub repository danielmiessler/LifeOS (18,872 stars, last pushed 21d ago), licensed MIT. It adds 136 tokens to every session and 1,881 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

echo-plugins

Build, validate, package, and stage optional Echo plugins using the Echo Plugin API v1 security and lifecycle contracts.

BrentFarris/echo · 27 tokens

browser-spa-framework

Architecture/conventions for the Echo browser SPA: Go stdlib server :3740, Vite-built TS+JS SPA (embedded web/dist), JSON envelope, WebSocket hub, chat tool loop, shared appdata echo.json, internal/tools registry, tool-generated media transport (Phase 0/1), and the file-browser image/video/audio preview surface…

BrentFarris/echo · 91 tokens

global-notifications

How Echo surfaces cross-surface/cross-tab alerts to the user: global WebSocket broadcasts (chatcompleted, planquestionsawaiting) mirrored by frontend notification modules that play sounds, show OS/browser Notifications, and deep-link on click.

BrentFarris/echo · 52 tokens

genkit-go-flows

Guides building AI features with Genkit for Go - flows, prompts, structured generation, tool calling, and middleware. Use when defining a Genkit flow, writing a prompt, calling genkit.Generate/GenerateData, defining a tool, debugging Genkit output with traces, or asked how Genkit differs from Google's Agent…

shennawardana23/skillme · 76 tokens

prompt-engineering

Prompt engineering patterns including structured prompts, chain-of-thought, few-shot learning, and system prompt design.

Global-mindee/WAY · 24 tokens

Prompt Injection Defense Auditor

Reviews LLM application prompts and input handling for direct and indirect prompt injection vulnerabilities, then writes defensive scaffolding.

Notysoty/openagentskills · 27 tokens