A professional utility for AI agents to share large code blocks via GitHub Gists instead of cluttered chat messages.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install code-share
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install code-share using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The code-share skill is a specialized tool designed to optimize the developer experience when working with AI agents. Instead of flooding chat interfaces with long code blocks, this skill automatically transitions snippets longer than 10 lines into GitHub Gists. This maintains a clean workspace and provides a copy-friendly, syntax-highlighted URL for the user. By integrating this into your Openclaw Skills library, you ensure that code formatting is preserved and that generated scripts are easily accessible outside of the immediate chat history.
Built with a focus on security and efficiency, code-share defaults to creating secret gists to protect developer privacy. It leverages the GitHub CLI to handle authenticated requests, making it a robust choice for developers who need to manage code revisions and sharing seamlessly. This skill is particularly valuable in environments like Discord or Slack where large text blocks can break the flow of communication.
To use this skill, ensure you have the GitHub CLI installed on your machine. First, verify your authentication status:
gh auth status
If you are not authenticated or need to set up a new account, run:
gh auth login
Ensure that the provided shell scripts (create_gist.sh and update_gist.sh) are located in your ./scripts/ directory and have the necessary execution permissions to allow the Openclaw Skills agent to interact with the GitHub API.
The code-share skill manages data through a combination of local temporary files and GitHub's Gist metadata.
| Attribute | Description |
|---|---|
| Gist ID | Unique identifier for the shared code snippet |
| Visibility | Defaulted to 'secret' to ensure privacy |
| Description | A short, descriptive string explaining the snippet's purpose |
| File Extension | Determined by the language (e.g., .py, .ts) for proper rendering |
| Line Count | Tracked to determine if the 10-line sharing threshold is met |
| Sensitive Data Map | Internal logic to identify and replace PII with <FILL_ME> placeholders |
Loading
An AI-powered skill to search, summarize, and extract actionable tasks from your Limitless AI pendant recordings.

A powerful automation skill for controlling Linux desktop interfaces, mouse movements, and keyboard inputs without a browser relay.

A comprehensive developer toolkit designed to create, evaluate, benchmark, and publish high-quality Openclaw Skills for AI agents.

A dedicated MLB companion that fetches daily game recaps, upcoming previews, and injury reports for your favorite baseball team.

A massive workforce of 61 specialized AI agents organized into departments to handle professional engineering, design, and marketing projects.

An AI-driven expert for evaluating system health, identifying technical debt, and generating actionable governance tasks across six technical dimensions.








































