openclaw-agent-run

Invokes AI agents via the `openclaw agent` command-line interface with session and output control.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ollieb89/openrepo --skill openclaw-agent-run
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: openclaw-agent-run
Source: https://github.com/ollieb89/openrepo/tree/main/skills/openclaw-agent-run
Command: npx skills add https://github.com/ollieb89/openrepo --skill openclaw-agent-run

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of interacting with AI agents through a command-line interface, enabling programmatic control and automation of agent tasks.

Core Features & Use Cases

  • Direct Agent Invocation: Trigger specific agent actions with custom messages.
  • Session Management: Target existing sessions or create new ones for continuous interaction.
  • Output Control: Choose between plain text or structured JSON output for easy parsing.
  • Use Case: Automate a daily report generation by scripting openclaw agent to send a specific prompt to a reporting agent and then process the JSON output for further actions.

Quick Start

Use the openclaw agent skill to send a message to the 'main' agent.

Frequently Asked Questions about openclaw-agent-run

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

FAQPage Schema
How do I invoke an AI agent via the command line for task automation?▼

You can invoke an AI agent via the command line by using the `openclaw agent` command to trigger specific actions, send custom messages, and facilitate programmatic task delegation within your automation scripts.

Can I get structured JSON output from a CLI agent for automated parsing?▼

Yes, you can get structured JSON output from a CLI agent. The command-line interface supports output formatting controls, allowing you to choose between plain text for reading or structured JSON output for easy automated parsing.

How do I manage agent sessions when running CLI commands for continuous interaction?▼

You can manage agent sessions by targeting existing sessions or creating new ones during CLI invocation. This supports continuous interaction and session persistence across multiple automated command-line tasks.

Does the openclaw agent command support verbose mode and agent thinking controls?▼

Yes, the openclaw agent command supports control over agent thinking and verbose modes. This allows you to adjust the command-line interface output detail level when delegating tasks programmatically.

What is the best way to automate daily report generation using a CLI agent?▼

The best way to automate daily report generation is by scripting the `openclaw agent` command to send a specific prompt to a reporting agent, then processing the structured JSON output for further automated actions.

Are there limitations when sending messages to specific agents or channels via CLI?▼

There are no stated limitations in the metadata for sending messages to specific agents or channels via CLI. The command-line interface facilitates direct message delivery to targeted agents or channels for orchestration.