g-patterns

g-patterns is a skill for Claude Code from onlygian/G-Forge. It costs 128 tokens per session (4,112 once invoked), scanned A, original, GPL-3.0.

A workflow for finding repeated failure patterns in project retrospectives and completed-task records, then recording reusable reports for later resolution.

In plain words
What is it for?
Use it to analyse past work, document patterns seen at least twice, and prepare them for review in a later session.
Why use it?
It helps teams notice recurring problems instead of treating each failure as an isolated event.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the g-forge plugin — 38 skills, 1 command, 69 agents shipped together

Good fit Use it to analyse past work, document patterns seen at least twice, and prepare them for review in a later session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onlygian/g-forge/g-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 onlygian/G-Forge --skill g-patterns
Clone the repo
git clone --depth 1 https://github.com/onlygian/G-Forge

Made for: Claude Code.

Or install g-forge, the plugin that ships this one along with the rest of its 38 skills, 1 command, 69 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/onlygian/g-forge/g-patterns/github.svg)](https://agentmods.dev/skills/onlygian/g-forge/g-patterns)
Your own site
<a href="https://agentmods.dev/skills/onlygian/g-forge/g-patterns"><img src="https://agentmods.dev/badge/skills/onlygian/g-forge/g-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 g-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/onlygian/g-forge/g-patterns"><img src="https://agentmods.dev/badge/skills/onlygian/g-forge/g-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,112 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.
Origin unknown 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.00128 $0.04112
Opus 5.5 $0.00051 $0.01645
Sonnet 5.5 $0.00026 $0.00822
Haiku 4.5 $0.00013 $0.00411

Measured 1mo ago against content hash e4b6c60461a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

g-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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/corpus-scan.sh, scripts/inbox-scan.sh, scripts/phase-gate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/g-patterns/SKILL.md · 190 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

7 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. 1mo ago First seen · 190 lines · 128 tokens per session scan A e4b6c60461a6

Subscribe to this mod's changes

g-patterns is a skill published in the GitHub repository onlygian/G-Forge (4 stars, last pushed 10d ago), licensed GPL-3.0. It adds 128 tokens to every session and 4,112 once invoked, about $0.0005 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

lens-metrics

Produce a complete metrics definition doc — metric name, formula, data source, segmentation, SQL or event tracking spec, and what good/bad looks like. Given a product area, outputs the full metrics spec. Use when asked to "define KPIs", "metrics framework", "what should we measure", "north star metric", or "instrument…

tonone-ai/tonone · 76 tokens

proof-e2e

Build E2E test specs for critical user journeys — Playwright or Cypress, page objects, setup/teardown, CI config. Use when asked to "write E2E tests", "end-to-end testing", "browser tests", "UI tests", or "Playwright tests".

tonone-ai/tonone · 63 tokens

vigil-instrument

Instrument a service with OpenTelemetry — RED metrics, structured logs, distributed tracing, and health checks. Outputs actual code and config, not a plan. Use when asked to "add monitoring", "instrument this", "add logging", "set up tracing", or "observability".

tonone-ai/tonone · 61 tokens

atlas-report

Render agent findings as a styled HTML report in the browser. Use when asked for "full report", "detailed report", "show in browser", or when CLI output exceeds the 40-line budget.

tonone-ai/tonone · 44 tokens

cortex-integrate

Design and implement an AI feature integration — model selection, architecture pattern, system prompt, data flow, error handling, cost estimate. Use when asked to "add AI to this", "LLM integration", "add Claude/GPT", or "AI-powered feature".

tonone-ai/tonone · 58 tokens

forge-cost

Audit cloud infrastructure costs and produce a concrete optimization plan with specific changes and estimated savings. Use when asked to "how much is this costing", "reduce cloud spend", "cost optimization", "are we overpaying", "cloud bill", or "budget for this infra".

tonone-ai/tonone · 58 tokens