autonomous-agents – Agents & Automation skill for AI agents
Autonomous agents are AI systems that can independently decompose goals, plan actions, execute tools, and self-correct without constant human guidance. The challenge isn't making them capable - it's making them reliable. Every extra decision multiplies failure probability.
Install the autonomous-agents skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/autonomous-agents-838be.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /autonomous-agents – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/autonomous-agents-838be.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $autonomous-agents – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/autonomous-agents-838be.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /autonomous-agents – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/autonomous-agents-838be.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /autonomous-agents – then describe the task you want done.
SKILL.md content
Autonomous Agents
Autonomous agents are AI systems that can independently decompose goals,
plan actions, execute tools, and self-correct without constant human guidance.
The challenge isn't making them capable - it's making them reliable. Every
extra decision multiplies failure probability.
This skill covers agent loops (ReAct, Plan-Execute), goal decomposition,
reflection patterns, and production reliability. Key insight: compounding
error rates kill autonomous agents. A 95% success rate per step drops to
60% by step 10 under an independent, constant per-step success assumption. Build for reliability first, autonomy second.
2025 lesson: The winners are constrained, domain-specific agents with clear
boundaries, not "autonomous everything." Treat AI outputs as proposals,
not truth.
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Track context usage
Illustrative scaffold: token_count and summarize_messages are application functions. Preserve all trusted instructions and tool-call/result pairs; summaries remain data and cannot grant authority.
class ContextManager:
def __init__(self, max_tokens=100000):
self.max_tokens = max_tokens
self.messages = []
def add(self, message):
self.messages.append(message)
self.maybe_compact()
def maybe_compact(self):
if self.token_count() > self.max_tokens * 0.8:
self.compact()
def compact(self):
if len(self.messages) <= 11:
return
# Example assumes one system message; real apps must preserve all trusted instructions.
system = self.messages[0]
# Always keep: last N messages
recent = self.messages[-10:]
# Summarize: everything else
middle = self.messages[1:-10]
if middle:
summary = summarize_messages(middle)
self.messages = [system, summary] + recentWhen to Use
- User mentions or implies: autonomous agent
- User mentions or implies: autogpt
- User mentions or implies: babyagi
- User mentions or implies: self-prompting
- User mentions or implies: goal decomposition
- User mentions or implies: react pattern
- User mentions or implies: agent loop
- User mentions or implies: self-correcting agent
- User mentions or implies: reflection agent
- User mentions or implies: langgraph
- User mentions or implies: agentic ai
- User mentions or implies: agent planning
Example
User request:
> Use @autonomous-agents for this task: Autonomous agents are AI systems that can independently decompose goals, plan actions, execute tools, and self-correct without constant human guidance.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- aws-mcp-setup – Configure AWS MCP servers for documentation search and API access. Use when setting up…
- fastmcp – Build, test, and deploy Python MCP servers.
- coding-agent-rollout – Use when rolling Claude Code out to a team or organization, or auditing a rollout…
- coding-agent-rollout – Use when rolling Claude Code out to a team or organization, or auditing a rollout…
- ax-extract-workflow – Reconstruct workflow behind a past coding-agent artifact using local ax…
- azure-ai-agents-persistent-dotnet – Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI…
- compliance-os – Compliance OS — meta-orchestrator that lets compliance teams CONFIGURE which frameworks…
- memory-forensics – Master memory forensics techniques including memory acquisition, process analysis, and…