Coding Agent Patterns

Core patterns for AI coding agents based on analysis of Claude Code, Codex, Cline, Aider, OpenCode. Triggers when: Building an AI coding agent or assistant, implementing tool-calling loops, managing context windows for LLMs, setting up agent memory or skill systems, or designing multi-provider LLM abstraction. Commands: - /agent-patterns - View coding agent patterns and architecture (informational skill) Capabilities: Core agent loop with while(true) and tool execution, context management with pruning and compression and repo maps, tool safety with sandboxing and approval flows and doom loop detection, multi-provider abstraction with unified API for different LLMs, memory systems with project rules and auto-memory and skill loading, session persistence with SQLite vs JSONL patterns

cycleuser e3d4e1a 7 files · 55.6 KB Updated

File contents

cycleuser/skills/tree/main/skills/coding-agent-patterns commit e3d4e1a606

Frequently asked questions

npx skillmds@latest add cycleuser/coding-agent-patterns