跳到正文
cccskills
免费在 GitHub 公开

skill-publish-log

Record published social content with its platform, title, link, publication time, and initial engagement figures. Search the history by date, platform, or keyword, and summarize posting counts and recorded engagement for later reviews.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

发布记录管理。当用户提到"记一下刚发的"、"发布记录"、"这个月发了多少"、"发布历史"、 "记录一下"、"发布日志"、"上次发了什么"时触发。支持记录每次发布的内容信息(平台、标题、 链接、时间、初始数据),并提供查询和统计功能,方便后续复盘。

实测评分 未实测

查看安装方法

适用场景

  • Log a newly published post and its initial engagement
  • Find posts about a particular topic
  • Count monthly posts by platform or content type
  • Check the most recently published item

包含的文件(3)

  • SKILL.md6.2 KB
  • EASEL-META.md834 B
  • scripts/log.py9.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

发布记录管理

记录、查询、统计每次社媒内容发布的信息,作为复盘和归因的数据底座。

数据层定位

本 SKILL 是归因链的发布事件底座,唯一权威存储 outputs/_analytics/publish-log.json(每次发布的平台 / 标题 / 链接 / 时间 / 初始数据 / 标签 / 来源 SKILL)。

  • 只存发布事件,不存粉丝时序 — 粉丝数、互动量的时间序列快照由 skill-data-tracker 维护(outputs/_analytics/snapshots/)。本底座不重复记录粉丝时序,避免同一事实两处存储。
  • 消费方(读,不回写) — skill-publish-analytics(时段 / 标签 / 类型 / 增长归因)与 skill-social-performance-review(月度复盘)读取本底座做归因。
底座存什么谁维护
outputs/_analytics/publish-log.json发布事件(本 SKILL)skill-publish-log
outputs/_analytics/snapshots/{profile}/{platform}/{date}.json粉丝 / 互动时序快照skill-data-tracker

输入

用户 prompt 中提供以下信息之一:

记录模式(写入)

  • 必填:平台、标题(或内容摘要)
  • 可选:链接、发布时间(默认当前时间)、内容类型(图文/视频/直播)、初始数据(阅读/点赞/评论/转发)、关联 SKILL(由哪个 SKILL 产出)、备注

查询模式(读取)

  • 按时间范围查询:"这个月发了什么""最近一周"
  • 按平台筛选:"小红书上发了哪些"
  • 按关键词搜索:"关于 AI 的发布记录"
  • 查看最近一条:"上次发了什么"

统计模式(汇总)

  • 按时间统计:"这个月发了多少条"
  • 按平台统计:"各平台发布数量"
  • 数据汇总:"总互动量排行"

输出

记录模式

确认写入成功,返回记录摘要:

已记录发布:
- 平台:小红书
- 标题:《5 个被低估的 AI 工具》
- 时间:2026-07-22 14:30
- 链接:https://...
- 记录编号:#042

查询模式

返回匹配的记录列表(表格形式):

| # | 日期 | 平台 | 标题 | 链接 | 类型 |
|---|------|------|------|------|------|
| 042 | 07-22 | 小红书 | 5 个被低估的 AI 工具 | [链接] | 图文 |
| 041 | 07-20 | 抖音 | AI 剪辑实操 | [链接] | 视频 |

统计模式

返回结构化的统计信息:

## 本月发布统计(2026-07)

- 总发布数:12 条
- 按平台:小红书 5 | 抖音 4 | B站 2 | 微博 1
- 按类型:图文 7 | 视频 4 | 直播 1
- 总互动量:点赞 2,340 | 评论 189 | 转发 67

存储格式

数据存储在 outputs/_analytics/publish-log.json,结构如下:

{
  "version": "1.0",
  "entries": [
    {
      "id": 42,
      "platform": "小红书",
      "title": "5 个被低估的 AI 工具",
      "url": "https://...",
      "type": "图文",
      "published_at": "2026-07-22T14:30:00+08:00",
      "logged_at": "2026-07-22T14:35:00+08:00",
      "initial_metrics": {
        "views": null,
        "likes": null,
        "comments": null,
        "shares": null
      },
      "skill_source": "skill-card-xiaohongshu",
      "profile": "my-xhs-account",
      "tags": ["AI", "工具推荐"],
      "notes": ""
    }
  ]
}

字段说明:

  • id:自增编号
  • platform:发布平台
  • title:内容标题或摘要
  • url:发布链接(可为空)
  • type:内容类型(图文/视频/直播/文章)
  • published_at:实际发布时间
  • logged_at:记录写入时间
  • initial_metrics:发布时的初始数据(可部分为空)
  • skill_source:产出该内容的 SKILL(可为空)
  • profile:关联的账号 Profile(可为空)
  • tags:内容标签
  • notes:备注

执行步骤

读写、id 自增、过滤、聚合全部由 scripts/log.py 确定性完成(原子写、除零安全)。 LLM 只负责解析用户意图 → 组织参数 → 解读脚本返回的 JSON → 生成用户可读输出。 不要手动改 JSON、不要心算统计。

  1. 判断操作模式:根据用户 prompt 识别是记录、查询还是统计
  2. 信息不足时追问:记录模式下至少需要平台和标题,缺少时提示补充
  3. 调用脚本(数据文件不存在时脚本自动初始化空结构):
# 记录(id 自增,原子写回 outputs/_analytics/publish-log.json)
python3 skills/builtin/skill-publish-log/scripts/log.py record --platform 小红书 --title "标题" \
  --type 图文 --url "https://..." --views 1000 --likes 120 \
  --comments 30 --shares 10 --tags "AI,工具推荐" [--published-at ISO时间] \
  [--skill-source skill-xxx] [--profile 画像名] [--notes 备注]

# 查询(按平台/时间/关键词/画像过滤,--latest 取最近一条)
python3 skills/builtin/skill-publish-log/scripts/log.py query --platform 小红书 --since 2026-07-01 \
  [--until 2026-07-31] [--keyword AI] [--profile 画像名] [--latest] [--limit N]

# 统计(按 platform/type/month 聚合数量 + 互动总量 + 平均综合分)
python3 skills/builtin/skill-publish-log/scripts/log.py stat --by platform --since 2026-07-01
  1. 解读结果:把 JSON 转成 SKILL.md「输出」节的表格/摘要格式呈现给用户; 脚本返回的 warning 字段(样本不足)如非空须原样传达。

Profile 感知

有 Profile 时

  • 读取 platforms.md 自动填充 platform 字段(从主平台推断)
  • 读取 identity.md 获取账号名称,自动关联 profile 字段
  • 统计时可按 Profile(账号)维度汇总
  • 查询时默认只显示当前 Profile 的记录

无 Profile 时

  • platform 必须由用户明确指定
  • profile 字段留空
  • 统计和查询覆盖所有记录,不做账号过滤
  • 附注:"如提供账号 Profile,可自动关联平台并按账号分组统计"

自研溯源与参考项目见同目录 EASEL-META.md。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Generate images from written descriptions, transform existing images with editing instructions, or create several variations. Choose image dimensions and quantity, then save the results using an OpenAI-compatible service or apimart with your own API key.

中文简介正在准备中。当前显示英语简介。

  • Generating an illustration from a written description
  • Changing an image's background using instructions
  • Creating several variations of an existing image
ZJU-REAL/Easel40312026年10月23日 更新

ai-music

免费

Generate background music for short videos, vlogs, and social posts from descriptions of mood, style, and instruments. Download MP3 audio, optionally include sung lyrics, and use shared scripts to trim tracks, adjust loudness, or add music to videos.

中文简介正在准备中。当前显示英语简介。

  • Generating background music for a vlog intro
  • Creating instrumental music to match a social post
  • Generating a sung track from supplied lyrics
ZJU-REAL/Easel40312026年10月23日 更新

Create new videos from written scene descriptions or still images using external AI services. Set the aspect ratio and duration, animate a character image, and request generated audio when the selected model supports it.

中文简介正在准备中。当前显示英语简介。

  • Generate a short video from a scene description
  • Animate a still image
  • Create character motion from a starting image
ZJU-REAL/Easel40312026年10月23日 更新

Organize generated images, videos, and text in outputs/ by date, platform, and type. Add tags, search filenames and content, produce asset lists and reports, and preview archive moves before applying them to make past work easier to reuse.

中文简介正在准备中。当前显示英语简介。

  • Organizing generated assets by date, platform, and type
  • Finding past content through keywords and tags
  • Listing assets for a specific account or platform
ZJU-REAL/Easel40312026年10月23日 更新

Reduce background noise in audio recordings or video soundtracks with three processing levels. Keep the original file, create a cleaned version, and receive a report of the settings used and file details before and after processing.

中文简介正在准备中。当前显示英语简介。

  • Reducing fan or air conditioner noise in recordings
  • Cleaning speech in podcasts and interviews
  • Reducing noise in a video's audio track
ZJU-REAL/Easel40312026年10月23日 更新

Edit audio files by trimming sections, converting formats, matching loudness, or extracting sound from videos. You can also join recordings, add fades, and change playback speed while keeping the original pitch.

中文简介正在准备中。当前显示英语简介。

  • Trim a recording to the section you need
  • Convert audio formats and match loudness
  • Extract audio from a video
ZJU-REAL/Easel40312026年10月23日 更新

查看 ZJU-REAL 的全部技能

报告此技能的问题