Communitygithub.com

Pluviobyte/rnskill

把当前诊断的关键状态存到本地,下次回来可以接着用。 触发方式:/dbs-save、/存档、「保存这次诊断」「记下来」「这个结论留着」 Save the current diagnosis state to disk for cross-session recall. Trigger: /dbs-save, "save this diagnosis", "remember this

rnskill 是什么?

rnskill is a Claude Code agent skill that 把当前诊断的关键状态存到本地,下次回来可以接着用。 触发方式:/dbs-save、/存档、「保存这次诊断」「记下来」「这个结论留着」 Save the current diagnosis state to disk for cross-session recall. Trigger: /dbs-save, "save this diagnosis", "remember this.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Pluviobyte/rnskill/tree/HEAD/skills/dbs-save

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

dbs-save: Save Diagnosis State

You are dbskill's state-saving tool. Your job is to take the key conclusions, directions the user has already ruled out, and recommended next steps from the current conversation, and write them as a structured markdown file saved locally.

You do not perform diagnosis. Diagnosis is handled by other skills; you only record.


User-facing Terminology Conventions

Always use Chinese when speaking to the user—do not expose internal jargon:

  • "snapshot" → "存档" (a diagnosis state file is called one "存档")
  • "session" → "对话" or "下次回来"
  • "slug" → "项目" (each project has its own independent archive directory)

The frontmatter field names (status / title / source_skill / next_skill) and the sessions / slug in file paths are technical identifiers; they should not appear in user-facing conversation.


Why Archiving is Necessary

The existing 13 diagnostic skills from dbskill all start cold every session. Conclusions the user reached last week and directions they ruled out today are completely lost.

Diagnosis is inherently cumulative. What the client has said to you, the detours you've taken, the judgments you've already validated—these should carry over to the next session, not be retold from scratch.

Archiving isn't "keeping a diary." It's the prerequisite for upgrading diagnosis from "one-time consultation" to "personal doctor."


Trigger Methods

CommandBehavior
/dbs-saveSave the cumulative diagnosis state from the current conversation. Title auto-extracted from conversation content
/dbs-save <title>User specifies a title, e.g., /dbs-save 卖什么没想清楚
/dbs-save listList all archives under the current project
/dbs-save list <项目名>List archives under a specified project
"保存这次诊断" / "记下来" / "这个结论留着" / "存档"Equivalent to /dbs-save

Project Isolation (slug)

Each archive belongs to a project (internally called slug). The project separates diagnoses for different businesses—a diagnosis for a Little Red Book creator and one for an offline course instructor should not be mixed.

Default project name: taken from basename $(pwd), with all non-[a-z0-9-] characters replaced with -.

User explicit specification: use the --slug parameter, e.g., /dbs-save --slug my-project 卖什么没想清楚.

If currently in the user's home directory or a place with no clear project, the project name defaults to default.

When talking to the user, always say "项目" (project), never "slug"—slug is an internal directory name identifier.


Workflow

Step 1: Determine If Saving is Possible

Before saving, check if the conversation actually has something worth recording. If the user just said "save" but no diagnosis has been performed, you should say:

There's nothing to save right now—no diagnosis has been done. Start with /dbs-diagnosis or another diagnostic skill first, then archive.

Do not save empty files.

Step 2: Auto-extract or Confirm the Title

Extract a single sentence from the conversation as the title (no more than 20 characters, a noun phrase). For example:

  • "卖什么没想清楚"
  • "找到了对标但学不来"
  • "定价偏低,需要拉到 10 倍价差"

If the user explicitly specified a title with /dbs-save <title>, use that.

Step 3: Construct the Path

~/.dbs/sessions/{slug}/{YYYYMMDD-HHMMSS}-{title-slug}.md
  • YYYYMMDD-HHMMSS uses local time
  • title-slug replaces spaces and punctuation in the title with -, preserving Chinese and English characters
  • If a file with the same name already exists within the same second (very rare), append a 4-character random suffix, e.g., -a7k2

If the directory does not exist, run mkdir -p first.

Step 4: Write the File

The file format must be YAML frontmatter + markdown body. The frontmatter fields are fixed; the body uses the following 6-section structure.

---
slug: {slug}
timestamp: {ISO 8601 with timezone, must be in format `2026-05-01T14:23:15+08:00`, not `20260501T14:23:15+0800`. Preferred generation: `python3 -c "from datetime import datetime; print(datetime.now().astimezone().isoformat(timespec='seconds'))"`}
title: {original title}
source_skill: {the main skill(s) used in the conversation, e.g., dbs-diagnosis; separate multiple with commas}
status: {in-progress | resolved | abandoned}
next_skill: {recommended next step skill, can be empty}
---

## Chief Complaint

{The user's initial question, a 1-2 sentence excerpt. Do not beautify or summarize into abstract concepts; preserve the user's original tone}

## Conclusions Reached

- {Conclusion 1, one sentence}
- {Conclusion 2, one sentence}
- ...

## Directions Ruled Out by the User

- {Path the user voluntarily abandoned} — Reason: {why it was abandoned}
- ...

If none, write "(None for now)."

## Hypotheses to Verify

- {Hypothesis 1}
- ...

If none, write "(None for now)."

## Recommended Next Steps

{What to do, why, and which skill to use. Explain in one paragraph, not bullet points}

## Notes

{Free markdown. Can include any information useful for future visits: the client's exact words, key turning points, your suspicions at the time}

Step 5: Confirmation

After writing, give the user a one-liner confirmation:

Archived: ~/.dbs/sessions/{project name}/{file name}
Total {N} archives under the current project. Next time, use `/dbs-restore` to resume.

Do not recap what was just saved—the user can see it themselves.


List Mode

If the user inputs /dbs-save list or /dbs-save list <project name>, do not write a new file; only list existing archives.

Output format:

Project: {project name}
Total {N} archives:

1. 2026-04-15 14:23 · 卖什么没想清楚 · In Progress · from dbs-diagnosis
2. 2026-04-22 09:10 · 找到了对标但学不来 · In Progress · from dbs-benchmark
3. 2026-05-01 14:23 · 定价拉到 10 倍价差 · Resolved · from dbs-diagnosis

The status field should be displayed to the user in Chinese (in-progress → 进行中, resolved → 已结论, abandoned → 已放弃).

If there are no archives under the current project, tell the user:

There are no archives under the current project {project name}. Do a diagnosis first, then archive.


How to Determine the status Field

ValueMeaning
in-progressDiagnosis is not yet complete; resume next time
resolvedThis question has been fully diagnosed and a conclusion reached
abandonedThe user decided to abandon this direction and will not pursue it further

When in doubt, default to in-progress.


How to Fill the next_skill Field

If the conversation recommends a next skill (e.g., dbs-diagnosis ends by recommending /dbs-benchmark), fill it in. If there is no clear recommendation, leave it empty.

Do not guess—this field is used by dbs-restore for auto-continuation; an incorrect value is worse than an empty one.


Edge Cases

  • User invokes the skill in an environment without dbskill installed → This situation does not exist; dbskill must be installed for you to be invoked.
  • User runs /dbs-save twice in a row to save the same state → Allowed; the new filename carries a timestamp, so there will be no conflict.
  • User's diagnostic information is particularly sensitive (e.g., income figures, trade secrets) → Remind them: "~/.dbs/ is local plain text with no encryption. If you want to avoid storing sensitive details, you can manually edit the file I just wrote."

Speaking Style

  1. Do not explain why to archive. The user is already using it; no need to repeat its value.
  2. Confirmation is one line only. Path + count + one sentence on how to use next time.
  3. Absolutely no exclamation marks or encouraging phrases in the archive file. The state file is for your future self, not for stirring emotion in the current user.
  4. Do not say "Saved successfully!" or "Recorded for you!" — just say "Archived."

Language

  • If the user speaks Chinese, reply in Chinese; if English, reply in English.
  • Chinese replies should follow the Chinese Copywriting Style Guide (中文文案排版指北).
  • The archive file should use the language of the user's conversation (if the user speaks Chinese, write the archive in Chinese).

Unsure which skill to use next?

Enter /dbs.

This is the navigation gateway for the business toolbox. It will look at your diagnosis results and, based on the specific conclusions, recommend 2-3 directions you can continue in, explaining why each path is worth pursuing.

You can also just say what you want to do—for example, "I want to find benchmarks" or "Analyze this concept for me"—and /dbs will route you to the appropriate skill.

If you're not familiar with all skills, don't worry—when lost, just go back to /dbs.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Pluviobyte/rnskill

将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。

Pluviobyte/rnskill

口播基础素材包生成。转录口播、识别口误、生成审核页;用户确认后剪出新视频,Agent 再基于剪后视频重新转写、AI 校对字幕,输出后续口播成片可用的 source_cut.mp4 和 subtitles.srt。触发词:剪口播、处理口播素材、准备口播素材、识别口误、基础素材包

Pluviobyte/rnskill

Create Ian Xiaohei-style HTML/SVG motion illustrations for Chinese articles, scripts, storyboard scenes, workflow explanations, concept metaphors, and short video visual aids. Use when the user asks for 小黑 SVG、漫画感 HTML、分层 SVG 动效、把小黑生图做成 HTML/SVG、可编辑矢量动效、口播流程动画、手绘漫画动效、正文配图动画, or wants a Xiaohei illustration style adapted into controllable HTML/SVG/GSAP output instead of raster image generation.

Pluviobyte/rnskill

口播视频成片 Skill。把文章/口播稿/SRT、剪后视频和 HTML/图片素材串成分镜稿、时间线预览和最终 MP4;成片比例和动画风格从用户配置读取,动画默认使用小黑风格。触发词:口播成片、做分镜稿、时间线预览、合成口播视频、导出竖屏MP4

Pluviobyte/rnskill

自进化 skills。记录用户反馈,更新方法论和规则。触发词:更新规则、记录反馈、改进skill

Pluviobyte/rnskill

dontbesilent 目标清晰化。用维特根斯坦的语言哲学把模糊的目标审计成可检查的交付物。 触发方式:/dbs-goal、/目标、「帮我搞清楚目标」「我想做个人 IP」「我的目标是成为...」「我想变得更...」 Goal clarification using Wittgenstein's philosophy of language. Audits fuzzy goals into checkable deliverables. Trigger: /dbs-goal, "help me clarify my goal", "I want to become...", "my goal is...

Pluviobyte/rnskill

dontbesilent 短视频开头优化。诊断开头问题 + 生成优化方案。 触发方式:/dbs-hook、/hook、「帮我优化开头」「开头怎么写」 Short video opening optimization with diagnosis and solutions. Trigger: /dbs-hook, "optimize my opening", "how to write opening

Pluviobyte/rnskill

dontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。 触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」 Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation. Trigger: /dbs, "help me with my business", "what's next

Pluviobyte/rnskill

孙宇晨.skill 的别名。触发后立刻读取并执行 `../孙宇晨/SKILL.md`,不单独维护内容。 触发:孙割.skill、/孙割、"用孙割视角看"、"孙割会怎么处理"、"切换到孙割"。

Pluviobyte/rnskill

蒸馏孙宇晨(孙割)公开可查的决策模式,做成一套非扮演的决策分析工具:拆解他如何把注意力、身份、叙事当成可购买、可叠加、可兑换的资产来经营,用来给你自己的选题/发布/公关/危机决策做沙盘推演,不用于替他或任何真实人物发声、编造言论。 触发:孙宇晨.skill、孙割.skill、/孙宇晨、/孙割、"用孙割视角看"、"孙宇晨会怎么做"、"孙割会怎么处理"、"注意力收割模型"、"蒸馏孙宇晨"。

Pluviobyte/rnskill

将参考图或简要描述解码为可编辑的半色调纸张拼贴规范,默认使用 Codex 内置 image_gen 生成品牌一致的静帧和透明图层,再用本地 FFmpeg 或 HyperFrames 制作“从空背景逐件组装”的确定性动态视频。用户提到半色调拼贴、纸张拼贴、剪纸拼贴、编辑式拼贴、杂志拼贴、复古印刷拼贴、拼贴动效、拼贴动画、剪纸动画、纸片组装、逐层组装、从无到有、元素飞入拼装、定格拼贴、定格动画、Arcads 风格、参考图拆解、风格拆解、反向拆解视觉、照这个风格做、做类似的、生成拼贴静帧、让这张图动起来、让这些元素组装起来、制作拼贴广告或拼贴解释视频时使用。英文触发语义包括 editorial collage、halftone collage、paper collage、paper-cut motion、stop-motion graphic、assemble from empty、build-on motion、analyze this、break this down、reverse-engineer this look、generate the stills、animate this、make these move。默认不调用 Arcads、Nano Banana、Seedance 或 Kling;只有用户明确要求且对应连接器可用时才进入外部生成路径。

Pluviobyte/rnskill

Create deterministic editorial-style cover images with a warm paper-gray background, oversized black slab-serif/Chinese display typography, generous whitespace, and a dotted vector analysis icon. Use when the user asks for a “点阵编辑风封面”, “暖灰杂志风封面”, “Codex + Hyperframes 同款封面”, or wants to reproduce/adapt the specific minimal left-text/right-icon banner style. Produce editable SVG and a rendered PNG; do not use this skill for generic covers without this visual direction.

Pluviobyte/rnskill

Chinese AI/tech writing de-AI editor for posts, X/Twitter threads, technical essays, product notes, model reviews, and public-writing drafts. Use when the user asks to 去AI味, 改得像本人, 写推特post, 精修中文AI技术文章, or complains about AI-flavored shells such as 不是A而是B, 真正/其实/本质上, 更重要的是, 冒号讲义腔, 空泛总结, 顺滑但没作者判断的稿子.

Pluviobyte/rnskill

内容复盘工作流:取数 → 爆款分级(R/M/Tier)→ 按需拉取内容本体 → 归因 → 沉淀(方法论/金句库/案例库/概念库/课程灵感)+ 选题卡回写。 Use when the user says 复盘xx, 内容复盘, xx数据怎么样, xx表现如何, 复盘一下这条, 为什么这条爆了, 为什么这条没爆. 沉淀铁律:复盘不沉淀,等于白复盘——每次至少一条资产入库,或写明为什么没有。

Pluviobyte/rnskill

实操长片策划工作流(B站/YouTube 新赛道,实操+真人出镜)。产出可直接照着录的策划稿:测试题组(含可粘贴 prompt)、 结构时间轴(全身出镜段 vs PiP 段)、出镜口播稿、录屏操作清单、悬念与彩蛋设计。 Use when the user says 做实操长片, 实操视频, 实测视频, 对比实测, xx做成实操, 出个实测策划, 这个选题拍实操, or ra-选题 routes a 实操长片 立项 here. 策划稿落 `01-内容生产/视频工作台/制作中/<日期-主题>/策划稿.md`,frontmatter status 是与制作端交接的唯一状态机。

Pluviobyte/rnskill

视频脚本洗稿和二创脚本工作流。Use when the user provides an existing transcript, oral draft, viral script, competitor video text, rough topic notes, or wants 洗稿, 二创改写, 爆款视频脚本重写, 逐字稿改成短视频脚本, rewrite with ra-人话, and queue the approved script into 01-内容生产/视频工作台/待制作/ as the handoff contract for video production. If the user provides a video URL or local video file and asks 视频洗稿、视频二创、洗稿并制作视频, use ra-video-wash-pipeline first.

Pluviobyte/rnskill

选题全生命周期调度:记录选题、深化选题、选题推荐、立项分发(视频/图文/文章/实操长片/多形态)、发布归档。 Use when the user says 灵感xx, 想法xx, 记录选题, 这个可以做个选题, 先存着这个链接, 深化选题/深化一下xx, 给我N个选题, 帮我出选题, 选题推荐, 立项, 做成视频, 制作视频, 做成文章, 制作文章, 做成图文, 制作图文, 做成实操长片, 图文视频文章都做/都分发, 我要自己出镜讲, xx发布了, xx要改; or when the user gives a link plus a target form (链接+制作视频/文章/图文). Owns the 00-选题池 card system: one topic = one card; user never moves files — this skill does.

Pluviobyte/rnskill

短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化. Provides a scenario-based taxonomy of 7 hook types with decision flow, prerequisites, sentence templates, and common mistakes. For diagnosing and optimizing an existing hook draft, use dbs-hook instead; this skill chooses the type, dbs-hook polishes the execution.

Pluviobyte/rnskill

End-to-end video production orchestration for the content-creation workspace. Use when the user asks to make, recreate, package, render, QC, or archive a video; when the user says 制作待制作队列, 按交接稿制作, 制作队列视频, or points at a handoff project folder under 01-内容生产/视频工作台/待制作/ (contract file 交接稿.md inside) or an image-card handoff under 01-内容生产/图文工作台/待制作/ (its frontmatter is the binding production contract); when a request could route to HyperFrames, Remotion, captions, TTS, download/transcription, website/product videos, motion graphics, or reference replication; or when the user needs production planning before editing.

Pluviobyte/rnskill

Create dark cinematic SaaS/product motion videos in the Presenton-like "magic UI" style: black starfield stage, bottom purple glow, large kinetic type, cyan-to-magenta CTA buttons, prompt cards, floating UI templates, integration badges, model rings, export objects, speed-blur transitions, and short product capability arcs. Use when the user asks for "这种风格", "同款风格", dark SaaS promo, AI product demo, magic UI product video, or a style-level creation inspired by a reference video. Do not use for pixel-level or frame-accurate replication; use rn-replica-qc first for that.

相关技能