verify-patterns

verify-patterns is a skill for Claude Code from Aurite-ai/agent-verifier. It costs 49 tokens per session (3,025 once invoked), scanned A, original, MIT.

A local review guide for AI-agent workflows, focusing on loops, retries, tool use, context size, and cycles in the workflow graph. It identifies common patterns that can make an agent run indefinitely or exceed its context.

In plain words
What is it for?
Use it to inspect LangGraph, CrewAI, AutoGen, LangChain, or custom SDK-based agents for unsafe loops, retry limits, tool mismatches, and graph cycles.
Why use it?
It helps detect runaway retries, inconsistent tool definitions, circular workflows, and excessive context before they cause failures or unexpected costs. The checks depend on the agent framework used by the project.

Skill for Claude Code

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

Part of the agent-verifier plugin — 5 skills shipped together

Good fit Use it to inspect LangGraph, CrewAI, AutoGen, LangChain, or custom SDK-based agents for unsafe loops, retry limits, tool mismatches, and graph cycles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aurite-ai/agent-verifier/verify-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 Aurite-ai/agent-verifier --skill verify-patterns
Clone the repo
git clone --depth 1 https://github.com/Aurite-ai/agent-verifier

Made for: Claude Code.

Or install agent-verifier, the plugin that ships this one along with the rest of its 5 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aurite-ai/agent-verifier/verify-patterns"><img src="https://agentmods.dev/badge/skills/aurite-ai/agent-verifier/verify-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,025 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 pass 7 Sept 2026
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.00049 $0.03025
Opus 5.5 $0.00020 $0.01210
Sonnet 5.5 $0.00010 $0.00605
Haiku 4.5 $0.00005 $0.00302

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

Security

Grade A, and why

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

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/verify-patterns/SKILL.md · 348 lines

How it starts

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

Agent Pattern Verification

Purpose

Verify AI agent code for common anti-patterns that can cause infinite loops, runaway retries, tool mismatches, and context overflow. No telemetry or network calls of its own.

When to Use

Trigger this skill when the user asks to:

  • "verify agent patterns"
  • "check agent loops"
  • "verify tools"
  • "check retry limits"
  • "verify agent safety"

Note: For full verification including security, quality, and language-specific checks, tell the user to say "verify agent".

Process

Step 1: Detect Agent Framework

Identify the agent framework by checking imports in Python/TypeScript files:

Import Pattern Framework
from langgraph or import langgraph LangGraph
from crewai or import crewai CrewAI
from autogen or import autogen AutoGen
from langchain or import langchain LangChain
Direct openai/anthropic SDK only Custom

Also check for framework config files: langgraph.json, crew.yaml.

Step 2: Locate Agent Files

Find files to analyze:

Priority files:

  • graph.py, graph.ts - Agent workflow definitions
  • tools.py, tools.ts, tools/*.py, tools/*.ts - Tool implementations
  • state.py, state.ts - State schemas
  • prompts.py, prompts/*.md, system.md - Prompt templates
  • agent.py, agent.ts - Main agent logic

Directories to check:

  • src/agent/, agent/, src/, project root
  • lib/, app/, packages/

Exclude from analysis:

  • skills/ directory — these are skill definitions, not agent system prompts

Step 3: Run Pattern Checks

Check Tiers
  • [PATTERN] — Mechanical check. Apply exactly as written.
  • [HEURISTIC] — Judgment required. Mark findings clearly.

Tag every finding with [P] for pattern or [H] for heuristic.


3.1 [PATTERN] Loop Safety

Apply mechanically. Do not pass a loop because it "looks like it might terminate."

Pattern to find Pass condition Severity
while True: in Python A break statement exists within the same block scope ⚠️ Warning if absent
for { } in Go A break or return exists within the block ⚠️ Warning if absent
while (true) in TS/JS A break or return exists within the block ⚠️ Warning if absent
Function calls itself recursively A non-recursive return path exists (base case), OR a depth/counter parameter is present ⚠️ Warning if absent

Read the full file on GitHub · 348 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. 1mo ago Changed d30e09bdc520
  2. 3mo ago First seen · 348 lines · 49 tokens per session scan A ac539800d3fa

Subscribe to this mod's changes

verify-patterns is a skill published in the GitHub repository Aurite-ai/agent-verifier (47 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 3,025 once invoked, about $0.0002 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-08-30.

Related

verify-patterns compared with skills from other repositories

verify-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verify-patternsAurite-ai/agent-verifierSkill473d agoMITA49Claude Code
agentbro-pr-mergeshirenchuang/agentbroSkill167yesterdayApache-2.0A38Claude Code, Codex
code-review0xranx/golembotSkill3231mo agoMITA51Claude Code, Codex
norma-workflowqualityclouds/norma-mcpSkill67d agoMITA61Cursor
norma-check-before-commitqualityclouds/norma-mcpSkill67d agoMITA67Cursor
norma-quality-gate-failedqualityclouds/norma-mcpSkill67d agoMITA68Cursor
Tech Debt AuditorNotysoty/openagentskillsSkill93mo agoMITA22Claude Code, Codex