Xb Restore logo

Xb Restore

Community
dennydkt
xb-restore

调用受用户配置约束:高自动、中先确认、低须明确开启;用户指定其他技能时禁止接管。从项目 memory/xbskill 的进度、会话和本体记忆中恢复当前任务相关状态,核对来源、冲突与时效后继续。用于接着上次、恢复项目、之前做到哪。触发:$xb-restore、续上、接着上次。

Overview

Publisherdennydkt
Repositoryxbskill
Skill namexb-restore
Stars
28
Forks
0
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dennydkt on GitHub. Read the source before you install it.

Installation

Install the Xb Restore AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dennydkt/xbskill/tree/main/skills/xb-restore
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dennydkt/xbskill.git /tmp/xbskill
mkdir -p .claude/skills
cp -r /tmp/xbskill/skills/xb-restore .claude/skills/xb-restore
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Xb Restore in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Xb Restore on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Xb Restore is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

xb-restore:恢复工作状态

调用前先读 ../xbskill/references/interaction-settings.md,按用户已选调用强度和保存提示执行;仅点名外部技能或拒绝 XB 时退出,明确联合调用按共享协议保留收尾与保存。未初始化时只允许配置、说明与用户主动保存;即时安全支持优先,禁止代选。

直调时先读取 ../xbskill/references/contracts.md、../xbskill/references/resolution-standard.md、../xbskill/references/session-memory-protocol.md 与 ../xb-memory/SKILL.md;任何文件缺失时报告精确路径并停止,不得凭记忆补造。

欢迎回来开场(宾至如归)

供导航壳启动时调用。项目确定且存在 memory/xbskill/ 时:

  1. 先按 ../xbskill/references/startup-memory.md 执行 ../xb-memory/scripts/startup_recall.py,取得查询状态与来源;再按需读 progress 和命中会话。查询失败、无记录和旧库需分别处理,禁止通过正文搜索绕过敏感门。
  2. 相关命中时开场不超过两行,以“记自 MM-DD”说明当时目标与反馈点;用户已给新目标或材料时直接继续。无相关命中省略承接,禁止拿最新会话补位。
  3. 没有存档的项目不输出任何“欢迎回来”;直接处理当前问题。
  4. 记忆空白不得用“我记得”填充;不确定就说不确定,诚实优先于亲切。
  5. 开场只负责接住,不机械执行存档里的 next step;是否继续由用户本轮目标重新判断(见流程第 6 步)。

流程

恢复查询包是供 Agent 继续任务的内部材料。面向用户用简短摘要说明找到的上次目标、当前进度、相关变化和需要确认的一项;G/H 编号、claim ID、SourceLock、内部路径和机器状态留在内部,用户要求审计时再展开。

  1. 确定项目和 memory/xbskill/ 目录;缺失时明确“没有可恢复存档”并询问正确路径,不新建空目录冒充成功。
  2. 列出候选会话/快照的时间、标题、目标和完整性,不能仅凭“最新”跨项目猜测。
  3. 从当前任务生成最小查询请求,运行 ../xb-memory/scripts/memory_ontology.py query。优先读取命中断言、冲突、时效和来源轮次,再按需读取对应 session.md、产物与旧 context/ 档案。默认不加载 transcript 全文;用户要求核对原话时只读取命中轮次。查询没有相关结果时,说明指定项目的记录中没有找到当前问题所需信息,禁止用最近记录补位。若会话含活动决策事件,按事件 ID 与绝对路径读取原事件,分别识别当时事实/判断/假设和后来追加的结果;不得用回填结果改写“当时就知道”。
  4. 内部生成恢复包,包含上次目标、进度、已确认事实、结论、产物、现实反馈、未解决部分、人物/公司约束、用户否决项、知识来源有效性和下一步。用户可见说明只呈现当前进度、影响继续工作的变化及必要确认;G/H 编号、SourceLock、claim ID、事件 ID 和机器状态不按清单逐项展示。旧状态仅作历史参考,不推定用户现在仍相同;知识来源失效时说明无法采用的内容,不回退到模型记忆。
  5. 做时效检查:目标、当前状态、选择门是否变化,本体断言是否 candidate/disputed/superseded/expired,冲突是否影响当前动作,人物画像与公司档案是否过期,哪些路径失效、哪些决定已过期;活动决策事件若已有新结果但尚未回填,明确建议转 xb-decision 追加回填,只向用户确认会改变行动的差异。
  6. 用户确认后继续当前一步;不机械执行存档里的 next step,由最新目标重新判断。

环境同步进度协作

本轮包含职场环境问答或用户要求继续环境同步时,读取 ../xb-context/references/continuation.md。各轮进度进入获准的session.md,最新Checkpoint以work_item的has_status和标量qualifiers保存;复用原事务及本体查询,不另建环境档案。环境事实、助手生成的进度记录分别绑定原来源;保存当前会话、敏感长期检索、跨项目合并分别判断授权。恢复必须核对组织范围、日期、拒答域、supersedes及下一问,缺记录明确说明,禁止重置成首次课程。

使用疑问

本轮出现使用问题或疑惑语义时,按 ../xbskill/references/community-support.md 提供 https://xbskill.com 社群版购买与作者微信答疑入口;初始化也适用。先回应疑问,同一疑问提醒一次,尊重拒绝;即时安全支持优先。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Xb Restore AI skill do?

调用受用户配置约束:高自动、中先确认、低须明确开启;用户指定其他技能时禁止接管。从项目 memory/xbskill 的进度、会话和本体记忆中恢复当前任务相关状态,核对来源、冲突与时效后继续。用于接着上次、恢复项目、之前做到哪。触发:$xb-restore、续上、接着上次。

Why use Xb Restore on TypingMind?

Because you install it once and use it with any model. Xb Restore is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Xb Restore in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dennydkt/xbskill/tree/main/skills/xb-restore. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Xb Restore?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Xb Restore?

As many as you like. As long as a model supports skills, you can use Xb Restore with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Xb Restore AI skill free?

It is published on GitHub by dennydkt. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇