chats-share
由 imyelo 提供
Coding Agents & IDEs简介
Use when user wants to share OpenClaw channel conversations externally.
描述
该技能的功能
Exports AI agent conversation sessions to YAML and publishes them as public web pages. Handles metadata population, sensitive data redaction, and git branch management for each exported chat. Works with OpenClaw and can be extended to other agents.
Automates redaction, metadata editing, and isolated git branching per session instead of requiring manual copy-paste and formatting.
何时使用
- Sharing a debugging session with a remote teammate
- Publishing an AI research conversation on a personal site
- Documenting an AI-assisted code review for a project wiki
- Creating a permanent public link to a long troubleshooting chat
- Archiving notable agent sessions with titles and descriptions
示例工作流
User asks: Share my latest OpenClaw session about API design
- 1
Detect agent type and load project directory configuration
- 2
List available sessions and prompt user to confirm the target session
- 3
Extract session data and convert it to YAML in the .tmp staging directory
- 4
Fill in metadata fields: set visibility to public, suggest a title and description, ask user for participant display names
- 5
Scan YAML for sensitive data and redact API keys, file paths with usernames, and private addresses
- 6
Create a git branch, move the file to chats/, stage and commit
A committed YAML file on a dedicated branch named chat/20260313-api-design, ready to publish via pull request
前置要求
- GitHub account (for hosting the chats-share repository and publishing via pull request)
安装
clawhub install imyelo/chats-share运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。