Skip to content
davila7 avatar

Autonomous Agent Patterns

Design patterns for autonomous coding agents covering tool schemas, agent loops, and edit safety.

CCM score
57 of 100
skills.sh installs
446
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the core agent loop (think, decide, act, observe), multi-model routing, and tool schema design
  • Includes a base Tool class with JSON schema generation and example read_file and edit_file implementations
  • Enforces exact-match search/replace edits that fail when occurrence counts differ from the expected value
  • Designed for developers building AI agents or autonomous coding assistants with custom tool APIs

Install

$ npx -y skills add davila7/claude-code-templates --skill autonomous-agent-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

🕹️ Autonomous Agent Patterns

Design patterns for building autonomous coding agents, inspired by Cline and OpenAI Codex.

When to Use This Skill

Use this skill when:

  • Building autonomous AI agents
  • Designing tool/function calling APIs
  • Implementing permission and approval systems
  • Creating browser automation for agents
  • Designing human-in-the-loop workflows

1. Core Agent Architecture

1.1 Agent Loop

Details

Repository
github.com/davila7/claude-code-templates
Categories
AI Agents & LLM Apps, Agent Workflow & Planning
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Autonomous Agent Patterns

More AI Agents & LLM Apps