autonomous-agent-patterns

autonomous-agent-patterns is a skill for Claude Code, Codex from rootcastleco/rei-skills. It costs 40 tokens per session (4,927 once invoked), scanned C, original, no licence file.

A collection of design patterns for building autonomous coding agents—software agents that can plan and act with limited supervision.

In plain words
What is it for?
Use it when designing agents with tool integrations, permission systems, browser automation, or human review steps.
Why use it?
It helps you reason about how an agent should use tools, handle permissions, automate browsers, and involve a person when needed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when designing agents with tool integrations, permission systems, browser automation, or human review steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rootcastleco/rei-skills/autonomous-agent-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rootcastleco/rei-skills --skill autonomous-agent-patterns
Clone the repo
git clone --depth 1 https://github.com/rootcastleco/rei-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autonomous-agent-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootcastleco/rei-skills/autonomous-agent-patterns/github.svg)](https://agentmods.dev/skills/rootcastleco/rei-skills/autonomous-agent-patterns)
Your own site
<a href="https://agentmods.dev/skills/rootcastleco/rei-skills/autonomous-agent-patterns"><img src="https://agentmods.dev/badge/skills/rootcastleco/rei-skills/autonomous-agent-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autonomous-agent-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/rootcastleco/rei-skills/autonomous-agent-patterns"><img src="https://agentmods.dev/badge/skills/rootcastleco/rei-skills/autonomous-agent-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,927 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.04927
Opus 5 $0.00020 $0.02464
Sonnet 5 $0.00008 $0.00985
Haiku 4.5 $0.00004 $0.00493

Measured 9d ago against content hash 96866170c46f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

autonomous-agent-patterns scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

if any(danger in cmd for danger in ["rm -rf", "sudo", "chmod"]):

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(url)

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
skills/autonomous-agent-patterns/SKILL.md · 769 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 769 lines · 40 tokens per session scan C 96866170c46f

Subscribe to this mod's changes

autonomous-agent-patterns is a skill published in the GitHub repository rootcastleco/rei-skills (6 stars, last pushed today), with no licence file. It adds 40 tokens to every session and 4,927 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 3 findings (recursive force delete, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

git-master

MUST USE for ANY git operations. Atomic commits, rebase/squash, cherry-pick, worktree, reflog recovery, and history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', loadskills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'cherry-pick', 'worktree'…

yunseo-kim/agent-toolbox · 118 tokens

algorithmic-art

Create algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use for generative art, flow fields, particle systems, and creative coding.

yunseo-kim/agent-toolbox · 36 tokens

marketing-psychology

Apply psychological principles, mental models, and behavioral science to marketing for more persuasive campaigns.

yunseo-kim/agent-toolbox · 21 tokens

rag-patterns

Implementation patterns for Retrieval-Augmented Generation covering basic chains, corrective RAG, hybrid search, knowledge graphs with community detection, agentic RAG, multimodal retrieval, and reasoning-based vectorless RAG.

yunseo-kim/agent-toolbox · 44 tokens

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers.…

yunseo-kim/agent-toolbox · 77 tokens

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

yunseo-kim/agent-toolbox · 45 tokens