autonomous — agent-framework autonomous, instar, community, agent-framework, ide skills, agent-identity, agent-infrastructure, agent-memory, agent-skills, ai-agents, Claude Code

v1.0.0

Acerca de este Skill

Ideal for Advanced AI Agents like Claude Code, requiring autonomous task management with features like stop hooks, session persistence, and Telegram integration. Persistent Claude Code agents with scheduling, sessions, memory, and Telegram.

# Core Topics

JKHeadley JKHeadley
[41]
[8]
Updated: 3/29/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
60
Canonical Locale
en
Detected Body Locale
en

Ideal for Advanced AI Agents like Claude Code, requiring autonomous task management with features like stop hooks, session persistence, and Telegram integration. Persistent Claude Code agents with scheduling, sessions, memory, and Telegram.

¿Por qué usar esta habilidad?

Empowers agents to execute complex, long-running tasks with precision, utilizing stop hooks for continuous work and session management via settings.json and state files, while integrating with platforms like Telegram for real-time updates and utilizing protocols like bash for hook execution.

Mejor para

Ideal for Advanced AI Agents like Claude Code, requiring autonomous task management with features like stop hooks, session persistence, and Telegram integration.

Casos de uso accionables for autonomous

Automating comprehensive content analysis with persistent sessions
Generating task breakdowns with clear completion criteria and user confirmation
Implementing autonomous modes with structurally enforced stop hooks for uninterrupted task execution

! Seguridad y limitaciones

  • Requires Claude Code environment with access to settings.json and ability to execute bash commands
  • Needs Telegram integration for real-time updates and notifications
  • Dependent on user confirmation for activating stop hooks and ensuring task completion

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is autonomous?

Ideal for Advanced AI Agents like Claude Code, requiring autonomous task management with features like stop hooks, session persistence, and Telegram integration. Persistent Claude Code agents with scheduling, sessions, memory, and Telegram.

How do I install autonomous?

Run the command: npx killer-skills add JKHeadley/instar/autonomous. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for autonomous?

Key use cases include: Automating comprehensive content analysis with persistent sessions, Generating task breakdowns with clear completion criteria and user confirmation, Implementing autonomous modes with structurally enforced stop hooks for uninterrupted task execution.

Which IDEs are compatible with autonomous?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for autonomous?

Requires Claude Code environment with access to settings.json and ability to execute bash commands. Needs Telegram integration for real-time updates and notifications. Dependent on user confirmation for activating stop hooks and ensuring task completion.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add JKHeadley/instar/autonomous. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use autonomous immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

autonomous

Install autonomous, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Autonomous Mode (Structurally Enforced)

You are entering autonomous development mode. This mode uses a stop hook that PREVENTS you from exiting until all tasks are genuinely complete. This is not optional — the hook structurally enforces continuous work.


Step 1: Generate Stop Conditions (MANDATORY)

Before activating the stop hook, you MUST:

  1. Analyze the goal and break it into specific, verifiable tasks
  2. Present the task list to the user with clear completion criteria
  3. Wait for user confirmation before activating the hook
  4. Define the completion promise — a phrase that is only TRUE when ALL tasks are done

Example interaction:

User: /autonomous --duration=8h --goal="Complete Slack feature parity"

Agent: Here's my task breakdown for autonomous mode:

TASKS (all must be complete before I can exit):
1. [ ] Implement job-specific Slack channels
2. [ ] Build full PresenceProxy Slack integration
3. [ ] Update dashboard HTML with platform badges
4. [ ] Implement Slack Lifeline process
5. [ ] Add platform dropdown to new session UI
...

Completion promise: "ALL_TASKS_COMPLETE"
Duration: 8 hours
Emergency stop: "stop everything" via messaging

Shall I proceed? (The stop hook will prevent me from exiting until all tasks are done)

The user must confirm before the hook activates. This is the safety gate.


Step 2: Activate the Stop Hook

After user confirmation:

2a. Add the stop hook to settings.json (dynamically — it's removed when the session ends):

bash
1python3 -c " 2import json 3with open('.claude/settings.json') as f: 4 s = json.load(f) 5hooks = s.setdefault('hooks', {}).setdefault('Stop', []) 6if not any('autonomous-stop-hook' in str(h) for h in hooks): 7 hooks.append({'matcher': '', 'hooks': [{'type': 'command', 'command': 'bash .instar/hooks/instar/autonomous-stop-hook.sh', 'timeout': 10000}]}) 8 with open('.claude/settings.json', 'w') as f: 9 json.dump(s, f, indent=2) 10 print('Stop hook registered') 11"

2b. Write the state file DIRECTLY (do NOT shell out to bash — the session ID env var is only available inside Claude Code):

Use the Write tool to create .instar/autonomous-state.local.md with this content:

markdown
1--- 2active: true 3iteration: 1 4session_id: {VALUE OF $CLAUDE_CODE_SESSION_ID — get via: echo $CLAUDE_CODE_SESSION_ID} 5goal: "YOUR GOAL" 6duration: "8h" 7duration_seconds: 28800 8started_at: "{ISO timestamp}" 9end_at: "{ISO timestamp + duration}" 10report_topic: "TOPIC_ID" 11report_interval: "30m" 12last_report_at: "" 13level_up: true 14completion_promise: "ALL_TASKS_COMPLETE" 15--- 16 17# Autonomous Session 18 19## Goal 20{goal text} 21 22## Tasks 23{numbered task list} 24 25## Instructions 26{autonomous instructions}

CRITICAL: To capture the session ID correctly, run this FIRST:

bash
1echo $CLAUDE_CODE_SESSION_ID

Then include the output in the session_id: field. This ensures session isolation works.

WHY NOT bash script? Running bash setup-autonomous.sh creates a subprocess that does NOT inherit CLAUDE_CODE_SESSION_ID. The state file ends up with an empty session_id, which causes the hook to leak into all sessions. Always write the state file from within Claude Code's context.

SESSION ISOLATION: The stop hook checks session_id — it only blocks the session that activated autonomous mode. Other sessions on the same machine pass through unaffected.

From this point, you CANNOT exit THIS session unless:

  • You output <promise>ALL_TASKS_COMPLETE</promise> (genuinely true)
  • Duration expires
  • Emergency stop is triggered

2c. On completion/exit: Remove the stop hook from settings.json:

bash
1python3 -c " 2import json 3with open('.claude/settings.json') as f: 4 s = json.load(f) 5s['hooks']['Stop'] = [h for h in s.get('hooks',{}).get('Stop',[]) if 'autonomous-stop-hook' not in str(h)] 6with open('.claude/settings.json', 'w') as f: 7 json.dump(s, f, indent=2) 8print('Stop hook removed') 9"

Step 3: Work Until Done

The stop hook will catch every attempt to exit and feed your task list back. Each iteration you will:

  1. Read the task list
  2. Pick the next incomplete task
  3. Implement it fully (not stub, not wire — IMPLEMENT)
  4. Verify it works (compile, test where practical)
  5. Move to next task
  6. Send progress reports at the configured interval

The Defer-to-Future-Self Trap

This is the #1 failure mode. It looks like:

What you thinkWhat's actually happening
"This is Phase 2 work"You don't feel like doing it right now
"Parked for follow-up"You're avoiding the hard part
"Future improvement"Your future self has no advantage over you
"Remaining work"Work you're choosing not to do
"Deferred"Abdication disguised as planning

The test: Can you do this task right now with the tools and knowledge you have?

  • Yes → Do it. Not later. Now.
  • No → Document exactly WHY (missing dependency, needs external access, etc.)

"Phase 2" is only valid when the current phase genuinely cannot contain the work — not when you're tired, not when it's complex, not when it's 2 AM.


Step 4: Completion

When ALL tasks are genuinely done:

  1. Verify every task is complete (re-read the list)
  2. Run npx tsc --noEmit — zero errors
  3. Run relevant tests
  4. Write learnings to MEMORY.md
  5. Send final report via messaging
  6. Output: <promise>ALL_TASKS_COMPLETE</promise>

The stop hook will detect the promise and allow exit.


Emergency Stop

The user can always stop autonomous mode:

  1. Via messaging: Send "stop everything" or "emergency stop" — the MessageSentinel intercepts
  2. Via file: touch .instar/autonomous-emergency-stop — the stop hook checks for this
  3. Via cancel: /cancel-autonomous — removes the state file

The stop hook checks for emergency stop on EVERY iteration. User safety is never compromised.

/cancel-autonomous

To manually cancel:

bash
1rm -f .instar/autonomous-state.local.md

Progress Reporting

Send reports to the user's messaging platform at the configured interval.

How to send:

bash
1cat <<'EOF' | .claude/scripts/telegram-reply.sh TOPIC_ID 2AUTONOMOUS PROGRESS (iteration N, Xh elapsed / Yh total) 3 4Completed: 5- [task 1] ✅ 6- [task 2] ✅ 7 8Working on: 9- [current task] 10 11Remaining: 12- [task 3] 13- [task 4] 14 15Issues: none 16EOF

Anti-Patterns (Structurally Enforced)

These aren't just warnings — the stop hook WILL catch you if you try to exit without completing them:

The "Beautiful Summary" Exit

Writing a comprehensive report of what you did and what's "remaining" then trying to exit. The hook will block you and feed the remaining tasks back.

The "Phase 2" Labeling

Calling incomplete work "Phase 2" and trying to exit. The hook doesn't care about phases — it cares about the task list.

The "Good Stopping Point" Exit

Finding a natural break and trying to exit early. The hook checks the task list, not your feelings about stopping.

The "It's 2 AM" Exit

Feeling tired (as an AI) and deferring. You don't get tired. The hook knows this.


Hook Configuration

The stop hook is at .claude/skills/autonomous/hooks/autonomous-stop-hook.sh.

It reads state from .instar/autonomous-state.local.md and:

  • Blocks exit if tasks are incomplete
  • Feeds the task list + goal back as the next prompt
  • Increments the iteration counter
  • Checks for emergency stop signals
  • Checks for duration expiry
  • Checks for completion promise in <promise> tags
  • Includes time remaining in the system message

This is structural enforcement, not willpower. You cannot talk your way out of the loop.

Habilidades relacionadas

Looking for an alternative to autonomous or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Generar complementos de widgets personalizables para el sistema de feeds de prompts.chat

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

El Marco de React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensores y redes neuronales dinámicas en Python con fuerte aceleración de GPU

98.6k
0
Desarrollador