jianshuo/claude-skills / wjs-mining-voicedrop
wjs-mining-voicedrop
VerifiedUse when 王建硕 wants to turn his uploaded VoiceDrop voice memos into 微信公众号 article drafts — pulling the unprocessed recordings sitting on jianshuo.dev/files (the R2 inbox), transcribing them, and mining articles from each. Triggers — "处理 VoiceDrop 录音", "把新录音挖成文章", "口述备忘变文章", "处理一下我的录音", "/wjs-mining-voicedrop".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.2 KB |
| SKILL.md.bak.20260620-095943 | other | 5.3 KB |
| agents/interface.yaml | config | 2.5 KB |
| scripts/voicedrop-inbox.shexecutable | script | 5.3 KB |
agents/interface.yaml
View on GitHub# yao-meta-skill Output Contract — wjs-mining-voicedrop
# Archetype: Production (单用户 + 确定性脚本 + 清晰复用边界);非 Library/Governed,
# 故不带 manifest.json / evals / trust report —— 这是有意为之的「最轻可用」。
name: wjs-mining-voicedrop
owns: VoiceDrop R2 收件箱的进出(列未处理/下载/标记处理状态)+ 逐条串行编排;转写与成文一行不重写。
inputs:
r2_inbox:
desc: jianshuo.dev/files (Cloudflare R2) 上的未处理录音
match: VoiceDrop-*.m4a(前缀 + 后缀双重认领;admin 视角下可为 users/<sub>/VoiceDrop-*.m4a)
env:
file: ~/code/.env
keys: [FILES_TOKEN(或 JIANSHUO_DEV_FILES_TOKEN), VOLC_ASR_*, VOLC_TTS_*]
outputs:
drafts: ~/code/wechat-publish/ # 由 wjs-mining-articles 产出的公众号草稿
archive: # 本 skill 自身的持久产出
- ~/code/voicedrop/archive/<name>.m4a
- ~/code/voicedrop/archive/<stem>.srt
r2_markers: # 处理状态写回 R2,永不删音频
- articles/<stem>.json (mark-done:成文,app 可读)
- articles/<stem>.empty (mark-empty:无语音,reason ∈ corrupt|silent|no-speech)
report: 批次汇报(处理 N 条 / 各出几篇草稿 / 哪些标无语音及原因 / 还剩几条未处理)
exclusions: # 这些近邻不该路由到这里
- 已有 SRT → 直接 wjs-mining-articles
- 本地散文件(不在 R2 收件箱)→ wjs-transcribing-audio 再 wjs-mining-articles
- 桶里非 VoiceDrop-*.m4a 的文件 → 不碰
reuses:
wjs-transcribing-audio: 每条音频 → SRT(中文火山豆包,含润色改错别字)
wjs-mining-articles: 每个 SRT → 选题清单 → 成文 → 微信草稿(含其自有人工闸)
rollback_boundary: |
成文流程绝不 delete 音频 —— 音频永远留在 R2,删除只属于用户在 app 里的手动操作。
处理状态用标记文件表示:成文 → mark-done,无语音/损坏 → mark-empty(带 reason)。
每条都必须落终态;真失败(转写报错/用户中止/没挖出文章)就不标,留未处理下次再试。
preconditions: # 受检前置,非散落备注
- 通过 $INBOX(绝对路径)调用脚本,不依赖当前工作目录
- list 非零退出(网络不通 / token 失效)→ 报错停,不进入处理循环
failure_policy: 单条任何一步失败 → 记录原因、跳到下一条、不中止整批、不标记(留未处理);绝不 delete
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |