# autonomous-agents

Architectural guidance for building dependable autonomous AI agents. Helps structure ReAct loops, separate planning from execution, and enforce safety guardrails.

- skill · `type=skill` · Claude Code · 366 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-research/autonomous-agents
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/autonomous-agents

## What it does

This skill provides blueprints for creating autonomous agents that break down targets and trigger tools. It covers the ReAct cycle where the model alternates thinking and acting, the Plan-Execute workflow, and reflection routines for validating intermediate output.

Compounding errors cause multi-step agents to break down. A 95% success rate on individual steps yields merely a 60% completion rate across 10 steps. Because of that steep drop, the guide mandates short execution chains and strict budget caps. Without context tracking and structured logs, autonomous agents quickly become expensive failures.

The material highlights critical anti-patterns, especially relying directly on model responses and attempting general-purpose autonomy. It advises applying the least privilege rule to external APIs and testing behavior against ground truth before deployment.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill ai-research/autonomous-agents
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill autonomous-agents -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/autonomous-agents/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/autonomous-agents/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/autonomous-agents/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/autonomous-agents/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates autonomous-agents
```

2. **Manually: put the files in place**
- File: `.github/skills/autonomous-agents/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/autonomous-agents
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/autonomous-agents/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-research/autonomous-agents

## When to use it
- Implement a ReAct loop combining deduction and tool calls
- Decouple agent planning from step-by-step tool execution
- Set up self-reflection routines to catch mistakes early
- Apply step boundaries and budget caps to avoid compounding failures

## Example prompts
- Design a Plan-Execute workflow for an agent processing incoming customer tickets.
- Review this agent loop to add reflection checks and prevent compounding errors.
- Set up hard spending limits and API access guardrails for an autonomous task runner.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

## Other versions with the same name
- [autonomous-agents · sickn33](https://affpapa.org/en/nevibecode/skills/sickn33-autonomous-agents.md) — 1200 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 804 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
