autonomous-agent-harness

autonomous-agent-harness is a skill for Claude Code, Codex from nklofy/code-agent-skills. It costs 79 tokens per session (2,270 once invoked), scanned A, a copy of autonomous-agent-harness, Apache-2.0.

A setup for running Claude Code as a persistent agent that can remember context, perform scheduled work, use a computer, and manage queued tasks.

In plain words
What is it for?
Use it to design recurring workflows, monitoring jobs, task queues, persistent memory, or computer-controlled operations, with explicit approval for those actions.
Why use it?
It helps with work that must continue across sessions or start automatically on a schedule.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the TodoWrite tool; mentions Claude Code.

Good fit Use it to design recurring workflows, monitoring jobs, task queues, persistent memory, or computer-controlled operations, with explicit approval for those actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nklofy/code-agent-skills/autonomous-agent-harness
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 nklofy/code-agent-skills --skill autonomous-agent-harness
Clone the repo
git clone --depth 1 https://github.com/nklofy/code-agent-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-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/nklofy/code-agent-skills/autonomous-agent-harness/github.svg)](https://agentmods.dev/skills/nklofy/code-agent-skills/autonomous-agent-harness)
Your own site
<a href="https://agentmods.dev/skills/nklofy/code-agent-skills/autonomous-agent-harness"><img src="https://agentmods.dev/badge/skills/nklofy/code-agent-skills/autonomous-agent-harness/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-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/nklofy/code-agent-skills/autonomous-agent-harness"><img src="https://agentmods.dev/badge/skills/nklofy/code-agent-skills/autonomous-agent-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00079 $0.02270
Opus 5.5 $0.00032 $0.00908
Sonnet 5.5 $0.00016 $0.00454
Haiku 4.5 $0.00008 $0.00227

Measured 3mo ago against content hash 4de9a47cdeb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autonomous-agent-harness scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

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

curl -X POST "https://api.anthropic.com/dispatch" \
Origin

This is a copy

95% identical to autonomous-agent-harness — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

affaan-m-ECC/autonomous-agent-harness/SKILL.md · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autonomous Agent Harness

Turn Claude Code into a persistent, self-directing agent system using only native features and MCP servers.

Autonomous operation must be explicitly requested and scoped by the user. Do not create schedules, dispatch remote agents, write persistent memory, use computer control, post externally, modify third-party resources, or act on private communications unless the user has approved that capability and the target workspace for the current setup.

Prefer dry-run plans and local queue files before enabling recurring or event-driven actions. Keep credentials, private workspace exports, personal datasets, and account-specific automations out of reusable ECC artifacts.

When to Activate

  • User wants an agent that runs continuously or on a schedule
  • Setting up automated workflows that trigger periodically
  • Building a personal AI assistant that remembers context across sessions
  • User says "run this every day", "check on this regularly", "keep monitoring"
  • Wants to replicate functionality from Hermes, AutoGPT, or similar autonomous agent frameworks
  • Needs computer use combined with scheduled execution

Architecture

┌──────────────────────────────────────────────────────────────┐
│                    Claude Code Runtime                        │
│                                                              │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌─────────────┐ │
│  │  Crons   │  │ Dispatch │  │ Memory   │  │ Computer    │ │
│  │ Schedule │  │ Remote   │  │ Store    │  │ Use         │ │
│  │ Tasks    │  │ Agents   │  │          │  │             │ │
│  └────┬─────┘  └────┬─────┘  └────┬─────┘  └──────┬──────┘ │
│       │              │             │                │        │
│       ▼              ▼             ▼                ▼        │
│  ┌──────────────────────────────────────────────────────┐    │
│  │              ECC Skill + Agent Layer                  │    │
│  │                                                      │    │
│  │  skills/     agents/     commands/     hooks/        │    │
│  └──────────────────────────────────────────────────────┘    │
│       │              │             │                │        │
│       ▼              ▼             ▼                ▼        │
│  ┌──────────────────────────────────────────────────────┐    │
│  │              MCP Server Layer                        │    │
│  │                                                      │    │
│  │  memory    github    exa    supabase    browser-use  │    │
│  └──────────────────────────────────────────────────────┘    │
└──────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 275 lines

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. 3mo ago First seen · 275 lines · 79 tokens per session scan A 4de9a47cdeb0

Subscribe to this mod's changes

autonomous-agent-harness is a skill published in the GitHub repository nklofy/code-agent-skills (18 stars, last pushed 3d ago), licensed Apache-2.0. It adds 79 tokens to every session and 2,270 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to autonomous-agent-harness, differing in 30 lines, and is treated as a copy.

Related

autonomous-agent-harness compared with skills from other repositories

autonomous-agent-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autonomous-agent-harnessnklofy/code-agent-skillsSkill183d agoApache-2.0A79Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k2d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k11d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex