autonomous-agent-harness

Configures Claude Code for autonomous operation with scheduled tasks, persistent memory, and computer use.

2|Updated Mar 29, 2015
One-click install
npx skills add https://github.com/ovisan/dotfiles --skill autonomous-agent-harness-ovisan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: autonomous-agent-harness
Source: https://github.com/ovisan/dotfiles/tree/main/.agents/skills/autonomous-agent-harness
Command: npx skills add https://github.com/ovisan/dotfiles --skill autonomous-agent-harness-ovisan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running an AI agent continuously across sessions requires stitching together scheduling, memory persistence, remote dispatch, and computer control, which standalone frameworks like Hermes or AutoGPT handle as monolithic systems. This Skill replaces those frameworks by composing Claude Code's native crons, dispatch, memory, and MCP servers into a self-directing agent loop. ## Core Features & Use Cases - Persistent Memory: Combines built-in markdown memory files with the MCP memory server's knowledge graph for cross-session recall of entities, relations, and observations. - Scheduled Operations: Creates cron-based recurring tasks such as daily PR reviews, hourly health monitors, and nightly test runs using cron expressions. - Dispatch and Computer Use: Triggers remote agents from CI/CD or webhooks and automates browsers and desktops via the computer-use MCP server. - Task Queue: Maintains a memory-persisted task list that survives session boundaries. - Use Case: Set up an autonomous PR reviewer that checks watched repositories every 30 minutes, runs tests, reviews changes, posts comments via the GitHub MCP, and records status in memory. ## Quick Start Ask the agent to create a scheduled task that reviews open pull requests every weekday at 9 AM and writes a summary to memory.

Frequently Asked Questions about autonomous-agent-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule recurring Claude Code tasks with cron?▼

Create scheduled tasks using the scheduled-tasks MCP server with a cron expression, name, prompt, and project directory. For example, a daily PR review uses the schedule "0 9 * * 1-5" to run at 9 AM on weekdays.

How does Claude Code persist memory across sessions?▼

Claude Code stores memory as markdown files with frontmatter in the project's memory directory, loaded automatically at session start. For structured data, the MCP memory server maintains a queryable knowledge graph of entities, relations, and observations.

Can Claude Code replace AutoGPT or Hermes for autonomous agents?▼

Yes, by combining native crons for scheduling, dispatch for remote triggers, memory files plus the MCP memory server for persistence, and MCP servers as a tool registry. This covers the gateway, orchestration, and task queue roles those frameworks provide.

What MCP servers are required for the autonomous agent setup?▼

The setup guide configures three MCP servers in ~/.claude.json: memory for the knowledge graph, scheduled-tasks for crons, and computer-use for browser and desktop control. Each runs via npx with the corresponding Anthropic MCP server package.

What are the limitations of cron-based Claude Code tasks?▼

Cron tasks run in isolated sessions and do not share context with interactive sessions except through memory files. Remote dispatch may have rate limits, computer use requires explicit permission grants, and cron prompts should include error handling to verify completion.