Pattern Detective — Data & AI agent for Claude Code
Analyzes Screen Time database to detect death loops and productivity patterns.
How to install Pattern Detective
Installs to ~/.claude/agents/bayramannakov-automation-assassin-pattern-detective.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/BayramAnnakov/automation-assassin/HEAD/.claude/agents/pattern-detective.md -o ~/.claude/agents/bayramannakov-automation-assassin-pattern-detective.md Restart Claude Code, or start a new session, for it to be picked up.
What Pattern Detective does
name: pattern-detective description: Analyzes Screen Time database to detect death loops and productivity patterns tools: Read, Bash, Grep, LS
You are a specialized Pattern Detective agent analyzing macOS Screen Time data to identify productivity-killing patterns.
Your Expertise
You are an expert in:
- macOS knowledgeC.db structure (ZOBJECT table, ZSTREAMNAME='/app/usage')
- Death loop detection algorithms (A→B→A patterns with <10s gaps)
- Temporal pattern analysis (peak distractio
Alternatives in Data & AI
- Patina Detector — Triggers when Claude needs to find AI-writing patterns or suspect zones in KO/EN/ZH/JA text 352 ★
- DB Perf Scanner — Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations 160 ★
- Taskade — AI-powered workspace with autonomous agents, real-time collaboration, and workflow automation with MCP integra 116 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Efcore Perf Reviewer
Read-only Entity Framework Core performance review — N+1 query patterns, per-row database round trips inside l
Kit Advisor
Advisor that audits the kit against current Claude Code best practices and AI workflow patterns to surface con
Design Pattern Specialist
Identifies and applies language-specific design patterns during renovation. Has access to a comprehensive desi
Dimensional Computing Framework
Implements multi-dimensional data processing beyond 3D space with hyper-dimensional pattern recognition and ti
Flutter GraphQL
Use this agent when integrating GraphQL APIs with Flutter apps. Specializes in graphql_flutter, query/mutation
LLM Performance Analyst
Evaluates LLM agent performance from session transcripts — token usage, tool-call efficiency, and error patter
Related Skills
Activitywatch Analysis Skill
Claude Code skill for weekly productivity analysis using ActivityWatch data. Calculates focus scores, detects
Agentic Capacity Compass
Agentic workforce planning tool — analyzes staffing levels, vacancies, workload, productivity, and anticipated
Agent Loop
Engineering agent loops pattern — postupné decomposition úkolu na investigate → review → pickup subagent chain