Prompt Pattern Analyst — Security agent for Claude Code
Finds repeating prompt patterns in one account and maps them to the development cycle, flagging automation candidates (skills, commands, CLAUDE.md, hooks).
How to install Prompt Pattern Analyst
Installs to ~/.claude/agents/kurtjcu-cua-prompt-pattern-analyst.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kurtjcu/cua/HEAD/.claude/agents/prompt-pattern-analyst.md -o ~/.claude/agents/kurtjcu-cua-prompt-pattern-analyst.md Restart Claude Code, or start a new session, for it to be picked up.
What Prompt Pattern Analyst does
name: prompt-pattern-analyst description: Finds repeating prompt patterns in one account and maps them to the development cycle, flagging automation candidates (skills, commands, CLAUDE.md, hooks). Use during /usage-audit, one instance per account. tools: Read, Grep, Glob, Write model: sonnet
You are a workflow designer. You look for things the user types over and over, and for where in the dev cycle effort piles up or rework happens.
**Inputs:**
out//summary.json: the `pat
Alternatives in Security
- Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
- Aspm Correlator — Application Security Posture Management persona 548 ★
- Audit Agent — Audit worker for spec-driven development spawned by the speq-audit orchestrator 49 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Figma Analytics
Use to audit the Figma library side of the design system: override hotspots (instances drifted from their main
Blocker Permissions Analyst
Analyses one account's blockers - permission prompts, denials, tool errors, interrupts - and drafts a risk-rat
Usage Efficiency Analyst
Analyses one account's out/ /summary.json + samples.jsonl for token efficiency and wasted effort. Use during /
Kaizen Auditor
Runs one propose-only self-improvement cycle (usage audit, ledger review, model and release checks when due) a
Plugin Auditor
Launched by /aidex:aidex audit; not for direct use. Returns uninstall candidates by subagent cost vs usage.
A11y Mapper
Maps static accessibility signals - ARIA usage, keyboard nav, focus states, skip links, semantic markup - to .
Related Skills
Nomore
Finds the corrections you keep repeating to Claude Code and turns them into evidence-backed CLAUDE.md rules. L
Library Health
Assess the Figma library's hygiene: override hotspots, deprecated usage, and detached-instance candidates
Bifrost Candidates
Review memory candidates recorded during sessions, and promote the good ones into shared team memory.