Run a Coding Agent From Slack With OpenClaw's New Plugin

OpenClaw v2026.7.1 shipped a stable coding-agent plugin that delegates Claude Code and Codex sessions from any chat channel. Here's what it actually does, and the security caveat most teams skip.

Cover art for Run a Coding Agent From Slack With OpenClaw's New Plugin

OpenClaw is the fastest-growing open-source project in history - nearly 385,000 GitHub stars in around eight months, more than React collected in a decade. Most of the coverage has treated it as a curiosity or a viral moment. But as of July 13, it shipped something that matters to engineering teams specifically: a stable integration point that lets you kick off a real coding session from a Slack message and approve the result without touching a terminal.

The mechanism is the openclaw-code-agent plugin, and understanding what it does (and where it breaks) is worth an hour of your time before you deploy it.

What OpenClaw actually is before you add coding

OpenClaw is a free and open-source autonomous AI agent that can execute tasks via LLMs, using messaging platforms as its main user interface.

It integrates with 15+ messaging platforms, including WhatsApp, Telegram, Slack, Discord, Google Chat, Signal, iMessage, and Microsoft Teams. You self-host a Gateway, connect your model provider of choice, and control it through whatever chat app your team already uses.

That architecture is the key distinction. OpenClaw is a personal agent; OpenCode is a coding agent - different tools for different jobs. By default, OpenClaw does not read your repo or write code. It manages goals, handles scheduled tasks, routes messages between providers, and executes skills from its ClawHub marketplace. The coding capability is additive, via a plugin.

The project moved to an independent foundation and stays open-source and model-agnostic, so you can run Claude, GPT, DeepSeek, or local models through Ollama. OpenAI sponsors the foundation but does not control it. That matters because OpenClaw's entire value proposition depends on not being locked to one provider.

What the coding agent plugin adds

The openclaw-code-agent plugin runs Claude Code, Codex, and experimental OpenCode as managed background coding sessions from OpenClaw chat. It adds plan approval, session lifecycle, wake routing, worktree isolation, merge/PR follow-through, and explicit goal loops on top of the agent backends.

The workflow follows a three-step model: Plan → Review → Execute. Plan is the default launch mode, and plan approval defaults to delegate so the orchestrator reviews the full plan before approving or escalating to the user. In practice, that means you send a message from Slack, the agent drafts a plan with proposed file edits and test commands, and you approve or redirect before anything runs.

Use it when you want to start coding work from Telegram, Discord, or another OpenClaw-supported channel and keep the job observable after the first message. That last clause matters. Most agentic coding tools lose session state when you close the terminal. This plugin maintains session continuity across the Gateway.

Beagle in action#eng-ops, 11:02am
The ask
'can someone add a null check to the user profile loader before the deploy?'
Beagle drafts
routes the request to the team's OpenClaw gateway, which drafts a coding plan via Claude Code against the correct worktree
You approve
engineer reviews the diff inline, approves; the branch opens a PR without anyone touching a local terminal
Do this in your workspace

The v2026.7.1 release shipped July 13, 2026, covering clients, channels, models, sessions, security, and plugins. It brings stronger Codex and connected coding-agent workflows alongside expanded model support including GPT-5.6 compatibility, Tencent Hy3, and Meta Muse Spark 1.1.

The openclaw attach command gives Claude Code temporary access to a selected session; Codex delegation and native subagents return tracked results more reliably; and long-running sessions and goals are easier to resume.

One concrete detail the release notes confirm: Codex partial deltas, harness activation, and long-context prompt-cache stability reduce lost progress and inconsistent runs. This was a real failure mode in earlier releases - a long-running Codex job would silently drop its context mid-task. The fix is not glamorous, but it is the kind of reliability work that separates a demo from something you'd stake a deploy on.

385KGitHub starsin ~8 months, more than React in 10 years
44,000+ClawHub skillscommunity-contributed extensions
36%skills with prompt injectionsper security analysis of ClawHub registry
138+CVEs disclosedas of May 2026, including 7 rated critical

The security problem most teams skim over

Security concerns are real: 36% of ClawHub skills contain prompt injections, and more than 155,000 unprotected instances have been found on the internet. These are not theoretical risks. As of May 2026, 138+ CVEs have been disclosed - 7 critical, 49 high - including one with a public exploit enabling one-click remote code execution.

The coding plugin amplifies the attack surface because it launches live processes on your host. OpenClaw 2026.7.1 no longer performs built-in dangerous-code blocking during plugin installation. Operators should review the subprocess rationale in the security docs before installing because the plugin launches local coding harnesses and git tooling. Operators who require a local allow/block decision should configure OpenClaw's security.installPolicy.

An agent stuck in a loop can burn through API costs overnight - this has happened to real users. Setting rate limits in your configuration, monitoring your usage dashboards regularly, and configuring alerts for unusual token consumption are non-optional hygiene steps.

The thing worth watching: session persistence as the real differentiator

The honest comparison between OpenClaw's coding plugin and a standalone tool like Claude Code CLI or Codex CLI is not about model quality - all three can use the same models. The gap is in where work lives.

Dimension OpenClaw + coding plugin Standalone CLI agent
Session trigger Any messaging channel Local terminal
Session persistence Gateway-managed, resumable Lost when terminal closes
Plan approval Inline in chat Terminal confirm prompt
Multi-model backend Claude Code, Codex, OpenCode, switchable Single configured provider
Security perimeter Self-hosted Gateway + installPolicy Local machine permissions
Skill marketplace ClawHub (44K skills, unaudited) N/A

By 2026, most agentic coding systems maintain long-term memory of a project's goals, conventions, and architecture through dedicated files (CLAUDE.md, AGENTS.md), retaining context across sessions that can last for days or weeks. OpenClaw extends that by making the session control surface the same chat channel your team already uses for everything else. A teammate like Beagle can participate in that same channel - drafting the triggering message, summarizing the session output, or logging the approval decision - without needing its own connection to the coding harness.

The shift is from completion to delegation: you no longer ask AI to finish a line; you delegate issues, tests, migrations, refactors, and cleanup tasks. IDEs, CLIs, GitHub issues, Slack, and cloud environments are becoming connected surfaces. OpenClaw's architecture was built for exactly that model, which is why the coding plugin landed cleanly once the framework was stable enough.

Starting a bug-fix coding session
Without Beagle
engineer SSHes into a dev box, opens a terminal, runs claude-code with the right flags, monitors progress manually, copies the diff to Slack when done
With Beagle
engineer sends one message in Slack; the Gateway picks it up, runs the Claude Code session against a dedicated worktree, posts a plan for approval, and opens the PR on confirmation

The caution is not about the architecture - it is about the operational maturity of the ecosystem around it. Last December, OpenClaw was getting two pull requests a week; by February that jumped to 3,400 per week. Before the spike, ~48% of PRs got merged; after, fewer than 9.3% did. Many of those PRs were low-effort, often generated by people's AI coding agents. The project itself was affected by the same tool it powers. That loop will repeat in your ClawHub skill registry if you don't audit before you install.


OpenClaw coding agent: common questions

What is the OpenClaw coding agent plugin?

The openclaw-code-agent plugin connects OpenClaw's messaging-platform interface to coding backends including Claude Code, Codex, and OpenCode. It runs them as managed background sessions triggered by chat messages, adds plan-approve-execute flow, maintains session state across the Gateway, and supports worktree isolation and automatic PR creation.

Does OpenClaw work with Slack for coding tasks?

Yes. OpenClaw supports Slack as a delivery channel, so you can trigger coding sessions, receive plan drafts for approval, and get session results posted directly in a Slack thread. The v2026.7.1 release improved Slack thread handling, card rendering, and progress delivery specifically.

Is OpenClaw safe to use in a team environment?

It requires active configuration to be safe. Over 36% of ClawHub community skills have been found to contain prompt injections, and 155,000+ unprotected instances have been discovered publicly. Enterprise deployments should configure security.installPolicy, pin plugin versions, set API rate limits, and restrict which ClawHub skills can run in their environment.

What is the minimum OpenClaw version for the coding plugin?

The openclaw-code-agent plugin targets and requires OpenClaw 2026.7.1 as its minimum. Both OpenClaw and ClawHub will reject older hosts at install time, so upgrading before attempting the install is required.

How does OpenClaw compare to running Claude Code or Codex directly?

The models are the same - you can configure either backend. The difference is operational: OpenClaw adds a messaging-based trigger, plan approval in chat, Gateway-managed session persistence (sessions survive terminal closes), and multi-model routing. The tradeoff is a more complex self-hosted setup and a wider attack surface from the plugin ecosystem.

Or just watch me work

Point me at your website.

I will read up on your business and come back with what I would run for you. No account, no card, about a minute.

I only read what is public. Nothing is saved to your name until you say so.

Keep reading

Beagle does this work for you, in your Slack.1,000 free credits. No card.Hire Beagle