Skip to content
Skillpedia
General coding53k · #1811

code-mate-openclaw

Helps your agent run coding tasks automatically. It's useful when you need the agent to work on code without intervention.

What it does

This agent runs a specific task on your computer using OpenClaw. It takes your instructions and sends them to OpenClaw, which executes them without needing interaction.

When to use it

  • ✓When you want OpenClaw to analyze a specific file.
  • ✓To get an explanation of a code snippet.
  • ✓To automate a simple task that OpenClaw can perform.

Example of what to ask your AI

“Explain the 'user_auth' module of the project.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-openclaw/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-openclaw/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It finds the OpenClaw program on your computer and runs it with your instructions. Then, it takes the result and shows it to you.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add CherryHQ/cherry-studio --skill code-mate-openclaw

Or download just the file:

curl -L https://raw.githubusercontent.com/CherryHQ/cherry-studio/main/resources/code-cli-skills/code-mate-openclaw/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

OpenClaw

Run

  1. Set the Bash working directory to the exact directory the user authorized and set a finite outer timeout, normally 11 minutes.
  2. Check availability with command -v openclaw. If it is missing, stop and ask the user to install OpenClaw in Code Mate.
  3. Run the local main agent once:
openclaw agent --local --agent main --message "<prompt>" --json --timeout 600

Pass the prompt as one quoted argument. Parse the JSON payload even when the process exits zero: OpenClaw can encode failure in a successful process exit. Report payload errors and timeouts as failures. Never start onboarding, the interactive TUI, or a login flow.

Authentication And Permissions

If OpenClaw reports missing onboarding, provider, model, or credentials, stop and ask the user to configure OpenClaw in Code Mate. Never request, read, print, or copy credentials.

The local agent can invoke configured tools. Keep the prompt read-only by default and do not ask it to mutate files or external systems unless the user explicitly requested workspace changes or that external effect. Limit it to the selected working directory.

Example: ask the main agent to explain a module without changing it, then accept the response only when the JSON payload reports success.

FAQ

What is OpenClaw?

OpenClaw is a program that can perform tasks and understand commands on your computer.

Do I need to install anything?

Yes, you need to have OpenClaw installed on your computer for this agent to work.

What happens if OpenClaw is not installed?

The agent will notify you that OpenClaw was not found and ask you to install it.

Details

Original description by the author

Runs a local OpenClaw agent non-interactively and returns its structured response. Use when the user asks to delegate a bounded task to the OpenClaw main agent.

repo: CherryHQ/cherry-studio

Popularity

GitHub stars
53k
Ranking position
#1811
License
AGPL-3.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills