fabric-patterns

fabric-patterns is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 28 tokens per session (925 once invoked), scanned A, original, MIT.

A system for saving, finding, and combining reusable prompts—written instructions for an AI assistant. It organizes these prompts as named patterns for repeatable interactions.

In plain words
What is it for?
Use it when a prompt structure will be reused, when several prompt patterns need to be combined, or when standardizing an agent behavior.
Why use it?
It reduces the need to recreate similar instructions and helps keep repeated AI tasks consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it when a prompt structure will be reused, when several prompt patterns need to be combined, or when standardizing an agent behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/fabric-patterns
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.

Any agent
npx skills add strikersam/autonomous-ai-agency --skill fabric-patterns
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

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-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/fabric-patterns/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/fabric-patterns)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/fabric-patterns"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/fabric-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fabric-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/fabric-patterns"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/fabric-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 11
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.1 $0.00028 $0.00925
Opus 5 $0.00014 $0.00463
Sonnet 5 $0.00006 $0.00185
Haiku 4.5 $0.00003 $0.00093

Measured 12d ago against content hash df6112210179, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fabric-patterns scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/fabric-patterns/SKILL.md · 131 lines

How it starts

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

Skill: fabric-patterns

Purpose

Provides a reusable prompt pattern system inspired by Fabric (danielmiessler/fabric). Enables agents to store, retrieve, and compose prompt patterns for consistent and efficient AI interactions.

When to Use

  • When you need to reuse a specific prompt structure multiple times
  • When you want to compose complex prompts from simpler patterns (stitching)
  • When implementing agent behaviors that benefit from standardized prompt templates
  • Before creating ad-hoc prompts that could be standardized

Directory Structure

This skill creates and manages:

.Codex/skills/fabric-patterns/
  patterns/                 ← Directory for storing pattern files
    summarize.md            ← Example pattern: summarize content
    extract_wisdom.md       ← Example pattern: extract key insights
    ...                     ← Other patterns
  PATTERN_INDEX.md          ← Index of all available patterns

Pattern File Format

Each pattern is a Markdown file with optional YAML frontmatter:

---
name: pattern_name
description: Human-readable description of what the pattern does
version: "1.0.0"
---

The content after the frontmatter is the prompt template. Template variables can be used with {{variable_name}} syntax.

Steps

1. Ensure Pattern Directory Exists

The skill ensures .Codex/skills/fabric-patterns/patterns/ exists.

2. List Available Patterns

Use the list_patterns tool to see all available patterns.

3. Retrieve a Pattern

Use the get_pattern tool to retrieve a pattern's content.

4. Apply a Pattern with Variables

Use the apply_pattern tool to render a pattern with specific variable values.

5. Stitch Patterns Together

Use the stitch_patterns tool to combine multiple patterns in sequence, where the output of one pattern becomes the input to the next.

6. Create New Patterns

Create new Markdown files in the patterns directory following the format above.

Tools Provided

This skill provides the following tools (to be implemented in agent/tools.py):

  • list_patterns(): Lists all available pattern names and descriptions
  • get_pattern(name): Retrieves the raw content of a pattern
  • apply_pattern(name, variables): Applies a pattern with variable substitution
  • stitch_patterns(pattern_names, initial_input): Chains patterns together

Read the full file on GitHub · 131 lines

Files

What ships with it

2 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. 12d ago First seen · 131 lines · 28 tokens per session scan A df6112210179

Subscribe to this mod's changes

fabric-patterns is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 925 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.