Safety Net 标志

Safety Net

社区
duncan-buildroom
safety-net

Sets up your two undo systems so you can experiment without worrying you'll wreck your project — /rewind for instant undo and Git checkpoints for permanent saves. Walks you through making your first checkpoint on the project you have open, then saves a one-page cheat sheet with the exact recovery moves for "I broke it", "go back one step", and "go back to this morning". Use when the user says "I'm scared I'll break something", "how do I undo", "can I go back", "I broke my project", "how do I save my work", "what's a checkpoint", "how does rewind work", "is there an undo", "I want to try something risky", or "/safety-net".

概览

发布者duncan-buildroom
代码仓库freeskills
技能名称safety-net
星标数
65
复刻数
15
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 duncan-buildroom 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Safety Net AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/duncan-buildroom/freeskills/tree/main/safety-net
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/duncan-buildroom/freeskills.git /tmp/freeskills
mkdir -p .claude/skills
cp -r /tmp/freeskills/safety-net .claude/skills/safety-net
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Safety Net,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Safety Net。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Safety Net 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Safety Net — two undos, so you can experiment

Beginners build timidly because they think one bad prompt ruins everything. It doesn't. You have two separate undo systems, and once they're set up you can try things you'd otherwise avoid. This skill explains both, makes your first real checkpoint on your actual project, and leaves a cheat sheet you keep open.

Setup

None. This skill works out of the box.

Steps

1. Say the thing they need to hear

Open with it, plainly: "You can't really break anything. There are two undo buttons, and by the end of this you'll have both working on this project."

Then name the two, and name the difference — this is the part everyone gets muddled:

  • /rewind — automatic, instant, short-term. Claude Code takes a snapshot before every change it makes. You didn't set this up and you don't have to. It's for "the last thing you did made it worse."
  • Git checkpoints — manual, permanent, long-term. You say "commit this as a checkpoint" and that exact state of the project is saved forever with a name. It's for "get me back to how it was on Tuesday when it worked."

One line to lock it: rewind undoes moves, checkpoints save days.

2. Teach /rewind properly

Cover exactly this, no more:

  • Type /rewind in Claude Code. You get a list of recent checkpoints.
  • Faster: press Esc twice with an empty input box. Same thing.
  • Pick the point from before things went wrong. Your files go back to that state.
  • It's automatic — it happens before every change whether you ask or not.
  • What it doesn't do: it's for recent work in this session, not for going back days. That's what checkpoints are for.

Then have them actually try it once. Say: "Ask Claude to make one small pointless change — change a heading to the word BANANA. Look at it. Then type /rewind and put it back." Doing it once removes the fear permanently. Reading about it does not.

3. Check whether Git is on this project

Ask which project they're working on and get the folder path. Check whether it's already a Git repo — look for a .git folder in it.

Don't explain Git as a version control system. Explain it as: "a way to save a permanent snapshot of the whole project with a name, so you can always come back to it."

If it isn't set up, you do it for them. They say the word, you run it. Never hand a beginner a list of Git commands to type.

4. Make their first checkpoint right now

This is the part that has to actually happen, not just get described.

Have them say to Claude: "Commit this as a checkpoint called 'working version before I start experimenting'."

You do the rest. Then confirm out loud what just happened: "That state of your project is now saved permanently. Whatever you do next, you can get back to exactly this."

That sentence is the whole point of the skill.

5. Set the checkpoint habit

Give them the three moments to make one. Three, not ten:

  • When something works. The moment the page loads right or the feature does the thing. Before you touch it again.
  • Before something risky. A big redesign, a new feature, anything you're unsure about.
  • At the end of every session. Part of closing the laptop — the last 10 minutes of a 90-minute night are checkpoint plus tomorrow's one-line next step.

Tell them how to name checkpoints: say what state the project is in, not what you did. "homepage working on mobile" beats "changes."

6. Write the three recovery moves

These are the three situations they'll actually be in. Write them as scripts they read aloud.

"I broke it and I don't know how." Don't debug. Type /rewind, or press Esc twice. Pick the point before it broke. Then re-ask for what you wanted in a smaller step.

"Go back one step." Type /rewind, pick the most recent checkpoint. Or say to Claude: "Undo the last change you made."

"Go back to this morning / to when it worked." Say to Claude: "Show me my checkpoints from today." Pick the one by name. Then: "Take the project back to the checkpoint called ___." Rewind won't reach that far — this is what checkpoints are for.

Add the escape hatch: "I want the old version back but I also want to keep what I made since." Say to Claude: "Save what I have now as a checkpoint, then take me back to ___." Nothing gets lost.

Output — save it

Write to ~/claude-safety-net.md. One page, no longer — this is a cheat sheet, not a manual.

It contains: the one-line difference between the two systems, the /rewind moves including Esc-Esc, the exact sentence for making a checkpoint, the three moments to checkpoint, the three recovery scripts word for word, the keep-both escape hatch, and the name and date of the first checkpoint they just made.

Tell them the path, then the one action: keep this file open in a tab while you build. Also tell them the true thing — now that both undos are working, the correct move is to go try something they were previously too nervous to try.

Example (input → output)

Input: "I'm working on my portfolio site and I want to try a completely different layout but I'm scared I'll lose the version that works."

Output (saved to ~/claude-safety-net.md):

YOUR TWO UNDOS
Rewind undoes moves. Checkpoints save days.

REWIND — instant, automatic
Type /rewind, or press Esc twice on an empty input box.
Pick the point from before it went wrong. Files go back.
For recent work only, not for going back days.

CHECKPOINT — permanent, you ask for it
Say: "Commit this as a checkpoint called '<what state it's in>'."
Make one when something works, before anything risky, and at the
end of every session.

YOUR FIRST CHECKPOINT
"portfolio working before layout experiment" — saved 2026-07-30.
You can always get back to exactly this.

IF I BROKE IT
Don't debug. /rewind, pick the point before it broke, re-ask smaller.

GO BACK ONE STEP
/rewind and pick the most recent. Or: "Undo the last change you made."

GO BACK TO WHEN IT WORKED
"Show me my checkpoints from today."
"Take the project back to the checkpoint called ___."

KEEP BOTH VERSIONS
"Save what I have now as a checkpoint, then take me back to ___."

Next action: go try the new layout. The old one is saved.

Notes / edge cases

  • The failure this prevents is timid building — beginners avoiding the interesting version because they're guarding the working one. The whole point of the checkpoint is permission to experiment.
  • Make them actually do the rewind test in Step 2 and actually make the checkpoint in Step 4. A skill that only describes safety nets doesn't create the feeling of having one.
  • Never hand them raw Git commands. They say the sentence, Claude runs it. If they want to learn Git properly later, that's a different day.
  • If the project isn't a Git repo yet, set it up without making a thing of it. It's one step, it costs nothing, and it takes 10 seconds.
  • If they've already broken something right now, do Step 6 first and set up the rest after. Fix the fire, then install the alarm.
  • If they're staring at an error and don't know whether to rewind, hand off to error-decoder — it sorts errors into ignore, fix, or rewind.

常见问题

Safety Net AI 技能有什么作用?

Sets up your two undo systems so you can experiment without worrying you'll wreck your project — /rewind for instant undo and Git checkpoints for permanent saves. Walks you through making your first checkpoint on the project you have open, then saves a one-page cheat sheet with the exact recovery moves for "I broke it", "go back one step", and "go back to this morning". Use when the user says "I'm scared I'll break something", "how do I undo", "can I go back", "I broke my project", "how do I save my work", "what's a checkpoint", "how does rewind work", "is there an undo", "I want to try som...

为什么在 TypingMind 中使用 Safety Net?

因为您只需安装一次,就能搭配任何模型使用。Safety Net 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Safety Net?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/duncan-buildroom/freeskills/tree/main/safety-net。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Safety Net?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Safety Net 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Safety Net 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Safety Net AI 技能免费吗?

duncan-buildroom 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇