← 返回 Skills 市场
imyelo

Clawpage

作者 yelo · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
284
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install clawpage
功能描述
Share AI agent conversations as public web pages. Use when the user wants to share a conversation externally, export conversation history for documentation,...
使用说明 (SKILL.md)

clawpage

Share AI agent conversations as public web pages.

Supported Agents

Agent Profile
OpenClaw references/platforms/openclaw.md
(unknown) references/platforms/unknown.md — generic skill-based fallback
(new platform) Add a file following references/platforms/TEMPLATE.md

Core Workflow

1. Setup Check

  • Detect agent type; load project dir + site URL using the agent profile
  • If project not configured locally, ask the user:

2. Locate Session

  • List sessions using agent profile discovery
  • Show candidates → user confirms selection

3. Extract & Convert

Follow the Conversion section in the platform profile detected in Step 1. Save the result to {projectDir}/chats/.tmp/{timestamp}.yaml.

4. Populate Metadata

The CLI auto-fills structural fields. The Skill's job is to fill in the human-facing metadata:

Field CLI default Action
date, sessionId, model, totalMessages, totalTokens, defaultShowProcess Auto-filled Review only
visibility private Update to public
participants Generic role names (user, assistant) Ask user for display names → rename keys; if no name is provided, use Human / Agent for single-speaker or Human 1 / Human 2 … for multi-speaker
title 'Session Export' (generic) Skim generated YAML → suggest → confirm
description (absent) Write one-sentence summary → confirm
channel (absent) Ask user — set to platform name (e.g. discord) if applicable; omit otherwise
cover (absent) Skip (user adds custom OG image URL manually later)
tags (absent) Skip (user adds manually later)

5. Redact

Review the generated YAML and replace sensitive information with [REDACTED]:

  • API keys, tokens, passwords → [REDACTED]
  • File paths with usernames (/Users/xxx~)
  • Email addresses, phone numbers → [REDACTED]
  • Internal URLs and private IPs → [REDACTED]

Do not silently remove content — always substitute [REDACTED] so the reader can see that content was present but withheld.

6. Confirm & Save

  • Suggest filename: {YYYYMMDD}-{topic}.yaml
  • Show preview → user confirms or modifies topic/filename
  • Before moving the file, create a dedicated branch (see below — required even if the user does not publish yet):
    cd {projectDir}
    git checkout main
    git pull origin main
    git checkout -b chat/{YYYYMMDD}-{topic}
    
  • Move: {projectDir}/chats/.tmp/{timestamp}.yaml{projectDir}/chats/{YYYYMMDD}-{topic}.yaml
  • Stage and commit immediately so the file is isolated on its own branch:
    git add chats/{YYYYMMDD}-{topic}.yaml
    git commit -m "docs: add {topic}"
    

Why create a branch here? Saving on the default branch risks mixing unrelated changes into a future PR. Always commit each chat file on its own dedicated branch.


Optional: Publish

Push the branch created in step 6 and open a PR. See references/publish.md. Only proceed after explicit user request.


Edge Cases

安全使用建议
This skill appears to do what it says: find session logs, convert them to a YAML page, let you redact, commit on a branch, and optionally open a PR. Before using it, consider: (1) npx commands in the instructions will download and run an npm package at runtime — only proceed if you trust the clawpage npm/GitHub project and consider inspecting that package first; (2) the conversion rules copy content verbatim (including 'thinking' / chain-of-thought and tool results). Make sure you or the agent carefully redact API keys, tokens, private file paths, emails, internal URLs, and any chain-of-thought you don't want public; the skill relies on manual confirmation for redaction; (3) it reads local session logs (e.g., ~/.openclaw/...), so don’t run it if those logs contain sensitive material you don’t want processed; (4) the skill will create branches, commits, and (with your explicit consent) push branches / create PRs — ensure you have the right git/gh auth and target repo; (5) if you’re concerned about supply-chain risk, run the conversion tools in an isolated environment or inspect the npm package source before running npx. If you want a higher-assurance install path, ask the skill author for a pinned, reviewable release (or an explicit install script) rather than relying on npx.
功能分析
Type: OpenClaw Skill Name: clawpage Version: 1.0.1 The skill bundle facilitates exporting and publishing AI chat logs to public web pages via GitHub, Netlify, or Vercel. While the behavior is aligned with its stated purpose and includes a mandatory redaction step for sensitive data (SKILL.md), it requires high-privilege capabilities including broad filesystem access to read session logs, network access to push to remote repositories, and the execution of shell commands (git, gh, npx). These capabilities are classified as suspicious because they involve risky operations and potential shell injection vulnerabilities if variables derived from chat content (like '{topic}' in SKILL.md and openclaw.md) are not properly sanitized before being passed to the shell.
能力评估
Purpose & Capability
Name/description match the instructions: the skill locates agent session logs, converts them to a YAML format, redacts sensitive values, commits them to a git branch, and (optionally) publishes via PR. Required tools (git, gh, Node/npx, jq/sed for large files) are appropriate for this workflow.
Instruction Scope
The runtime instructions read session logs (e.g. ~/.openclaw/agents/.../*.jsonl or user-provided paths), extract all message/process content verbatim (including AI 'thinking' blocks and toolCall/toolResult contents), and require manual redaction of secrets. This is coherent with 'export conversation' use, but it expands scope to read potentially large local logs and internal reasoning — users should be aware that chain-of-thought and any embedded secrets can be included unless redacted.
Install Mechanism
The skill is instruction-only (no install spec), but it instructs use of 'npx' (npx create-clawpage, npx clawpage parse) which will fetch and run packages from npm at runtime. That behavior is expected for this tool but carries a moderate supply-chain risk because code is dynamically downloaded when invoked.
Credentials
The skill declares no required environment variables or credentials. It does require existing auth/tools (gh authenticated CLI, git config) to create repos and push branches, which is proportional to creating/publishing a site. It does not request unrelated secrets.
Persistence & Privilege
always is false and the skill does not request permanent platform privileges. It does instruct writing to project files (adding chat YAMLs, modifying ~/.openclaw/workspace/TOOLS.md to register a project) — these are within its scope but will modify local config and git repos as part of normal operation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawpage
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawpage 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
clawpage 1.0.1 - Update branch creation workflow to ensure syncing with main before creating a dedicated branch (step 6): now includes pulling latest changes from main. - Documentation improved for clarity in the confirm & save process.
v1.0.0
- Added an explicit Apache-2.0 license field to the skill metadata. - No functional or workflow changes; documentation and intended usage remain the same.
v0.7.0
clawpage 0.7.0 - Added detailed SKILL.md documenting setup, supported agents, core workflow, and edge cases - Outlined step-by-step process for sharing AI agent conversations as public web pages - Specified new user prompts for metadata population, privacy redaction, and file handling - Introduced dedicated git branch workflow for each exported chat session to improve isolation - Clarified manual user actions for publishing and handling large or unknown platform sessions
元数据
Slug clawpage
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Clawpage 是什么?

Share AI agent conversations as public web pages. Use when the user wants to share a conversation externally, export conversation history for documentation,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 284 次。

如何安装 Clawpage?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawpage」即可一键安装,无需额外配置。

Clawpage 是免费的吗?

是的,Clawpage 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawpage 支持哪些平台?

Clawpage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawpage?

由 yelo(@imyelo)开发并维护,当前版本 v1.0.1。

💬 留言讨论