patterns

patterns is a skill for Claude Code, Codex from adelaidasofia/claude-patterns. It costs 86 tokens per session (1,566 once invoked), scanned A, original, MIT.

A pattern-finding skill that reviews recent work sessions, journals, and decision records for recurring ideas or behaviours. It can turn those findings into notes, project rules, writing ideas, or skill improvements.

In plain words
What is it for?
It helps review a week's work or a journaling session, identify patterns, and propose concrete updates to notes and project guidance.
Why use it?
It helps preserve useful insights before they are forgotten or repeated without being recorded.

Skill for Claude CodeCodex

Part of the claude-patterns plugin — 1 skill, 1 hook shipped together

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/adelaidasofia/claude-patterns/patterns
Any agent
npx skills add adelaidasofia/claude-patterns --skill patterns
Clone the repo
git clone --depth 1 https://github.com/adelaidasofia/claude-patterns

Made for: Claude Code, Codex.

Or install claude-patterns, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

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 patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/adelaidasofia/claude-patterns/patterns.svg)](https://agentmods.dev/skills/adelaidasofia/claude-patterns/patterns)
Your own site
<a href="https://agentmods.dev/skills/adelaidasofia/claude-patterns/patterns"><img src="https://agentmods.dev/badge/skills/adelaidasofia/claude-patterns/patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00086 $0.01566
Opus 5 $0.00043 $0.00783
Sonnet 5 $0.00017 $0.00313
Haiku 4.5 $0.00009 $0.00157

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

Security

Grade A, and why

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 3d 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.

skills/patterns/SKILL.md · 120 lines

How it starts

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

/patterns — Instinct Engine

You are extracting signal before it evaporates. This skill scans recent sessions and surfaces what's hardening into real insight, then proposes concrete captures.

Run this after a weekly review, after a heavy journaling session, or whenever the user says "I keep noticing..." or "this keeps coming up."

Headless / auto mode: If you are running in a cron job, background script, or --print session with no interactive user, skip Step 3's confirmation. Auto-capture all findings. Add (auto-captured — review and edit) as a note in any new files created. Proceed directly to Step 4 → Step 5.


First-run config

On first invocation, look for [VAULT]/.patterns-prefs.md. If it doesn't exist, ask:

  1. Last-session file path (where the most recent session summary lives, e.g. Meta/Last Session.md, or none)
  2. Decision log path (e.g. Meta/Decision Log.md, or none)
  3. Journal folder (e.g. Journal/, or none)
  4. Drafts folder (where writing seeds get created, e.g. Writing/Drafts/)
  5. Concept folder (where new concept notes go, e.g. Notes/Concepts/)
  6. Changelog file (where pattern runs get logged, e.g. Vault Changelog.md, or none)
  7. CLAUDE.md path (where rules get written, default CLAUDE.md at vault root)

Save preferences. Don't ask again.


Auto-Detection (session-end triggers)

At the end of every session (before the session-close checklist), Claude should silently evaluate whether the current session hit any of these four triggers. If one or more fires, surface it as a suggestion before closing.

Trigger 1: High tool-call friction The session required 5+ tool calls to accomplish something that should have been routine (e.g., finding a file, running a known workflow, looking up a fact that's in the vault). This suggests a missing shortcut, rule, or skill step. → "I noticed it took [N] steps to [task]. Want me to run /patterns to capture a shortcut?"

Trigger 2: User correction The user corrected Claude's approach during this session ("no, not that way", "don't do X", "use Y instead"). A feedback memory was likely saved, but there may be a deeper pattern if this correction echoes prior ones. → "You corrected me on [topic] this session. Want me to check if this is a recurring pattern worth capturing as a rule?"

Read the full file on GitHub · 120 lines

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. 3d ago First seen · 120 lines · 86 tokens per session scan A d85c7acecda9

Subscribe to this mod's changes

patterns is a skill published in the GitHub repository adelaidasofia/claude-patterns (2 stars, last pushed 17d ago), licensed MIT. It adds 86 tokens to every session and 1,566 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

archify

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and…

tt-a1i/archify · 130 tokens

vox-director

Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage"…

Alisa0808/vox-director · 236 tokens

social-post

學習使用者的 Facebook/Instagram/YouTube/Threads/X 語氣與受眾,規劃、撰寫、確認後發佈內容;以已登入 Chrome 受控掃描、草擬及回覆 FB/IG/Threads 留言;並作為流量、留存與轉化的結構化帳本。使用者說「發文」「用我的口氣」「回覆留言」「自動回留言」「掃留言」「查流量」「演算法」「把數據訓練進去」「比較貼文」「優化 pattern」時使用。.

Hao0321/claude-skill-social-post · 135 tokens

higgsfield

Use this skill whenever the user asks anything about Higgsfield AI — writing or refining video/image prompts, choosing a model (Kling, Sora 2, Veo, Wan, Seedance, Minimax Hailuo, DoP, Soul, Nano Banana, Seedream, Flux, GPT Image, etc.), camera controls, named motion presets, Soul ID character consistency, Cinema…

OSideMedia/higgsfield-ai-prompt-skill · 147 tokens

higgsfield-camera

Use when the user asks about camera movements, shot types, or how to describe camera behavior in a Higgsfield prompt. Contains all named camera controls with descriptions, best use cases, and example prompt phrases.

OSideMedia/higgsfield-ai-prompt-skill · 47 tokens

higgsfield-troubleshoot

Use when a Higgsfield generation fails, produces poor quality, looks wrong, doesn't match the prompt, or the user needs to fix or improve an output.

OSideMedia/higgsfield-ai-prompt-skill · 39 tokens