Agent skill · product strategy · affaan-m

autonomous-agent-harness

Transform Claude Code into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing. Replaces standalone agent frameworks (Hermes, AutoGPT) by leveraging Claude Code's native crons, dispatch, MCP tools, and memory. Use when the user wants continuous autonomous operation, scheduled tasks, or a self-directing agent loop.

Why this skill is useful

Adds executable scripts for scheduling tasks and managing persistent memory that extend the AI's capabilities beyond standard operations.

What it needs

Requires claude installed locally. About 7k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.

What this skill does

Autonomous Agent Harness Combine Claude Code's session tools with separately configured scheduling, memory, and computer-use integrations. This is a setup pattern, not a bundled always-on runtime. Consent and Safety Boundaries 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 Core Components 1. Persistent Memory Use Claude Code's built-in memory system enhanced with MCP memory server for structured data. Built-in memory (~/.claude/projects//memory/): User preferences, feedback, project context Stored as markdown files with frontmatter Automatically loaded at session start MCP memory server (structured knowledge graph): Entities, relations, observations Queryable graph structure Cross-session persistence Memory patterns: 2. Scheduled Operations (Crons) Use Claude Code's native scheduled tasks for recurring prompts within an interactive session. These tasks are session-scoped; an external scheduler is required for work that must run independently of an open session. No scheduling MCP server is required for /loop. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills affaan-m/autonomous-agent-harness--b5bf69

View the source on GitHub

Browse the @skills marketplace