# Send 小红书长图文发布 to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rednote-publisher",
    "name": "小红书长图文发布",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/1122525/rednote-publisher",
    "canonicalUrl": "https://clawhub.ai/1122525/rednote-publisher",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/rednote-publisher",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rednote-publisher",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "rednote-publisher",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:54:16.078Z",
      "expiresAt": "2026-05-06T13:54:16.078Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rednote-publisher",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rednote-publisher",
        "contentDisposition": "attachment; filename=\"rednote-publisher-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "rednote-publisher"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/rednote-publisher"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rednote-publisher",
    "downloadUrl": "https://openagent3.xyz/downloads/rednote-publisher",
    "agentUrl": "https://openagent3.xyz/skills/rednote-publisher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rednote-publisher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rednote-publisher/agent.md"
  }
}
```
## Documentation

### 小红书长图文发布 Skill

功能：自动化完成小红书长图文笔记的完整发布流程
适用场景：需要通过网页版发布纯文字/长图文笔记
预期效果：使用 Skill 后，发布耗时从 15 分钟降至 2-3 分钟

### 1. 浏览器配置检查

执行前确认 ~/.openclaw/openclaw.json 包含：

{
  "agents": {
    "defaults": {
      "sandbox": {
        "mode": "non-main",
        "browser": {
          "allowHostControl": true
        }
      }
    }
  },
  "browser": {
    "enabled": true,
    "defaultProfile": "openclaw",
    "headless": false
  }
}

### 2. 账号状态

小红书账号已登录（在 openclaw 浏览器中）
已开通创作服务平台权限

### Step 1: 启动浏览器并导航（约 30 秒）

// 检查浏览器状态
browser status

// 启动 openclaw 浏览器
browser start --profile openclaw

// 打开创作平台
browser open https://creator.xiaohongshu.com/publish/publish?source=official --profile openclaw

检查点：页面显示"创作服务平台"左侧导航栏

### Step 2: 进入长文编辑器（约 20 秒）

点击左侧导航 "发布笔记"
点击 "写长文"
点击 "新的创作"

检查点：进入编辑器，显示标题输入框 + 正文区域

### Step 3: 填写内容（约 30 秒）

// 填写标题（点击标题输入框）
browser act click "输入标题" textbox
browser act type "你的标题"

// 填写正文（点击正文区域）
browser act click paragraph
browser act type "你的正文内容..."

注意事项：

标题限制 64 字
正文支持 Markdown 格式
建议字数 300-800 字

### Step 4: 一键排版（约 1 分钟）

点击 "一键排版" 按钮
选择版式（推荐第一个版式或根据内容风格选择）
点击 "下一步"

检查点：进入发布预览页面，显示封面、标题、正文预览

### Step 5: 发布设置（约 20 秒）

可选操作：

添加话题标签（点击"话题"按钮）
添加地点（点击"添加地点"）
勾选"原创声明"

检查点：标题已显示，预览正常

### Step 6: 发布（约 10 秒）

点击 "发布" 按钮
等待 3-5 秒
点击左侧 "笔记管理" 验证

检查点：笔记管理显示新笔记，状态为"审核中"

### 完整命令序列

# 1. 启动并导航
openclaw browser start --profile openclaw
openclaw browser open https://creator.xiaohongshu.com/publish/publish?source=official --profile openclaw

# 2. 进入编辑器（需根据实际 snapshot 调整 ref）
# - 点击"写长文"
# - 点击"新的创作"

# 3. 填写内容
# - 点击标题 textbox，输入标题
# - 点击正文 paragraph，输入内容

# 4. 排版
# - 点击"一键排版"
# - 选择版式（如 e237）
# - 点击"下一步"

# 5. 发布
# - 点击"发布"按钮
# - 验证：笔记管理中查看

### Q1: 浏览器无法连接

现象：Error: Chrome extension relay is running, but no tab is connected
解决：

确保配置中 browser.defaultProfile: "openclaw"
重启 gateway: openclaw gateway restart
重新启动浏览器

### Q2: 标签页丢失

现象：targetId 失效，需要重新打开页面
预防：

使用稳定的 targetId 跟踪
重要操作前保存草稿

### Q3: 找不到"发布"按钮

原因：长图文必须先排版才能发布
解决：确保已完成"一键排版"→"选择版式"→"下一步"

### Q4: 发布后在哪里查看

路径：笔记管理 → 全部笔记 → 审核中/已发布

### 优化建议

批量发布：如有多篇笔记，可保持在创作平台页面，重复 Step 2-6
草稿利用：长文支持自动保存，意外中断可从草稿箱恢复
版式选择：

情感/故事类：文艺清新、黄昏手稿
职场/干货类：理性现代、清晰明朗
生活/日常类：轻感明快、手帐书写

### 优化前 vs 优化后

操作优化前优化后节省浏览器操作每次操作后 snapshot关键节点 snapshot~30% Token上下文管理累积到 150K+每任务后清理~20% Token工具调用多次独立调用批量执行~10% Token

### 推荐操作模式

❌ 低效模式（浪费 Token）：
browser act click → snapshot → browser act type → snapshot → browser act click → snapshot
总 Token：~8K

✅ 高效模式（节省 Token）：
browser act click → browser act type → browser act click → wait 2s → snapshot
总 Token：~3K

### 关键检查点（只在这几处 snapshot）

页面首次加载完成
内容填写完成（标题+正文）
排版完成、进入预览
发布完成、验证结果

### Token 预算

单次发布目标：< 5K Token（不含内容创作）
对比：无 Skill 时 25K，节省 80%

### 版本记录

版本日期更新内容v1.02026-02-28初始版本，基于 2 次实操经验

使用本 Skill 后，预计单次发布耗时：2-3 分钟
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 1122525
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T13:54:16.078Z
- Expires at: 2026-05-06T13:54:16.078Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/rednote-publisher)
- [Send to Agent page](https://openagent3.xyz/skills/rednote-publisher/agent)
- [JSON manifest](https://openagent3.xyz/skills/rednote-publisher/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/rednote-publisher/agent.md)
- [Download page](https://openagent3.xyz/downloads/rednote-publisher)