code-with-claude for Openclaw

A technical master reference for Claude Code CLI features, covering everything from session management to advanced automation hooks.

awalesagar
v1.0.0
Apr 11, 2026
0
761
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install code-with-claude

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install code-with-claude using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is code-with-claude?

The code-with-claude skill is an essential technical resource for developers looking to maximize their efficiency within the Claude Code terminal environment. It provides a structured map of the CLI's capabilities, including interactive modes, permission tiers, and native toolsets. By integrating this reference into your Openclaw Skills library, you enable a more sophisticated interaction between the AI agent and your local development environment.

This skill goes beyond basic command usage, offering deep insights into how to manage conversation context, utilize automated checkpointing for file safety, and extend the CLI through custom plugins. It is designed to help users move from simple prompts to complex, multi-tool agentic workflows that leverage the full power of the Claude ecosystem.

code-with-claude Use Cases

  • Resuming and managing specific coding sessions using unique session IDs or names.
  • Configuring granular permission modes to balance automation with security during file edits.
  • Automating development workflows using lifecycle hooks for shell commands and HTTP endpoints.
  • Managing large-scale code changes through parallel batch processing and model switching.
  • Debugging terminal configurations such as Alt-key shortcuts and environment variable persistence.

How code-with-claude Works

  1. The skill functions as a high-fidelity documentation layer that agents use to navigate Claude Code features.
  2. It identifies the correct CLI flags for initializing sessions, such as setting effort levels or model aliases.
  3. The workflow utilizes in-session slash commands to modify the AI's behavior, clear history, or enter specialized modes like plan mode.
  4. It leverages built-in tools like Bash, Edit, and Grep to perform file-system operations according to the defined permission mode.
  5. Advanced users can then trigger hooks or MCP servers to pull external data into the local session via Openclaw Skills.

code-with-claude Setup

To get started with this skill, ensure the Claude Code CLI is globally installed and available in your path. This reference is best used alongside an active Openclaw Skills installation.

# Install the Claude Code CLI
npm install -g @anthropic-ai/claude-code

# Start a new session with a specific effort level
claude --effort high

# Resume a previous worktree session
claude --worktree feature-auth

code-with-claude Data Schema & Taxonomy

The skill organizes technical data into several functional categories to ensure the agent uses the most efficient tool for a given task:

Category Format Purpose
CLI Flags Arguments Controls launch behavior and initial context.
Slash Commands Session Strings Modifies the live environment (e.g., /compact, /rewind).
Hooks JSON/YAML Defines automated reactions to lifecycle events.
Tool Registry Metadata Lists permissions and capabilities for Bash, Edit, and Read tools.
Environment Var Map Defines settings via CLAUDE_ENV_FILE or settings.json.

code-with-claude Advanced Features

  • Intelligent Checkpointing: Automatically track file edits with the ability to rewind to specific states using Esc+Esc.
  • Multi-Agent Orchestration: Use the Agent tool to spawn sub-agents with dedicated contexts for specialized tasks.
  • Custom Lifecycle Hooks: Execute shell scripts or trigger webhooks at session start, end, or during specific tool events.
  • Permission Automation: Utilize the auto mode where an AI classifier determines the safety of operations without manual prompts.
  • External Channel Integration: Connect MCP servers to push external data events directly into your Claude Code session using Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*