Token导航 LogoToken导航

Agent Skill · 研究检索

hot-swap-context(热插拔上下文)

hot-swap-context 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hot-swap-context 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 31,993。

总安装 2,596周安装 104GitHub Stars 公开资料未说明下载 840核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.2

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hot-swap-context(热插拔上下文)
来源仓库:https://github.com/danielfoojunwei/hot-swap-context
安装命令:
openclaw skills install hot-swap-context
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install hot-swap-context

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

hot-swap-context 用于查找、检索和筛选相关信息,支持快速定位候选结果。适用于构建可自带的上下文系统,包括上下文库和类型化内存管理。通过关键词或任务场景调用,灵活适配不同信息检索需求。安装前需确认权限范围和维护状态,注意是否涉及联网或文件操作。建议参考原始 README 和仓库文档了解具体实现和使用细节。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install hot-swap-context;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hot-swap-context 怎么安装?

在终端执行 openclaw skills install hot-swap-context。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hot-swap-context 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hot-swap-context 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

hot-swap-context 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

hot-swap-context 用的人多吗?

公开数据是累计安装 2,596 次,近一周安装 104 次,下载 840 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hot-swap-context 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
hot-swap-context

热插拔上下文 · 本页

2,596—调用外部服务MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
portable-context-os
description
>

Portable Context OS

Use this skill to build, audit, or migrate a Bring Your Own Context system for agents. Treat durable context as infrastructure that should outlive any one model, chat product, or agent runtime.

Use this skill when the user wants any of the following:

  1. A real context vault or external memory layer for agents.
  2. A move from vendor-native memory to user-owned or organization-owned context.
  3. Chat history, artifacts, and preferences turned into typed memory objects.
  4. An MCP-native or otherwise model-agnostic context interface.
  5. A portable bundle that can move working context between runtimes.
  6. An audit of whether an existing memory system is brittle, noisy, or weakly governed.

Do not use this skill for simple one-chat personalization. Use it when the problem is architectural, portable, or long-running.

Core rule

Do not stop at guidance when the user wants a working system. Build the workspace, generate the MCP server, validate the output, and leave behind runnable artifacts.

The six paradigm shifts

Apply these shifts before building anything.

  1. Move from prompt state to context infrastructure. Treat durable context as a system layer, not as hidden prompt residue.
  2. Move from vendor memory to owned context. Separate memory ownership from model usage.
  3. Move from chat logs to typed memory objects. Store preferences, workflows, artifacts, state, and evaluations as distinct classes.
  4. Move from full-context loading to just-in-time retrieval. Route only what the active task needs.
  5. Move from personalization to governed memory contracts. Add review, permissions, deletion, auditability, and portability.
  6. Move from static agents to context flywheels. Improve memory schema, routing quality, and evaluation after every run.

Workflow decision

Choose the path that matches the task.

SituationAction
Building a new context systemFollow the Creation workflow and run the builder script
Auditing an existing agent or productFollow the Audit workflow
Packaging or migrating context between tools or teamsFollow the Migration workflow

Creation workflow

Follow these steps in order.

Step 1: Map the context surface

Identify the ownership mode first: personal, team, or enterprise.

Then map the six minimum design inputs:

  1. Primary actor.
  2. Core workflows.
  3. Artifact types.
  4. Memory types.
  5. Governance constraints.
  6. Portability target.

Read references/context_architecture.md before proposing any storage or retrieval design.

Step 2: Define the memory taxonomy

Do not allow the system to collapse into one generic memory blob.

Define at least these categories unless there is a clear reason not to:

  • identity memory
  • preference memory
  • workflow memory
  • domain memory
  • relationship memory
  • artifact memory
  • execution memory
  • evaluative memory

Use templates/memory_object.md to define each memory object class.

Step 3: Build the runtime, not just the documents

Specify the following components explicitly:

  • context vault
  • retrieval router
  • writeback or update engine
  • artifact store
  • policy layer
  • interface layer such as MCP, API, or CLI

Use templates/context_manifest.yaml to record the architecture and ownership model.

When the user wants a real system, run:

python /home/ubuntu/skills/portable-context-os/scripts/init_context_os.py <output_dir> --name <system_name> --ownership <personal|team|enterprise> --goal <goal> --source-runtime <source> --target-runtime <target>

This builder must generate all of the following inside the target workspace:

OutputPurpose
context_manifest.yamlArchitecture, ownership, routing, and runtime definition
governance_policy.mdMemory rules and policy surface
eval_scorecard.mdEvaluation and feedback-loop baseline
feedback_log.mdRetrieval misses, corruption risks, governance failures, portability failures
memory_objects/Typed memory storage
artifacts/First-class artifact store
tools/build_context_bundle.pyLocal bundle rebuild utility
mcp_server/server.pyWorking MCP server scaffold
mcp_server/requirements.txtRuntime dependency list

Step 4: Define governance before automation

Write rules for:

  • memory creation
  • human review
  • redaction
  • retention
  • forgetting or deletion
  • export and import
  • access control
  • audit trail

Use templates/governance_policy.md and read references/evaluation_and_governance.md.

Step 5: Validate the generated MCP server

Do not declare success after file generation alone. Validate that the generated server loads and can inspect the workspace.

Run:

python <workspace>/mcp_server/server.py --dry-run

If the user wants the server fully runnable in the current environment, install runtime dependencies and validate again.

Step 6: Build a portable bundle

Run:

python <workspace>/tools/build_context_bundle.py <workspace>

Use the generated bundle manifest for handoff, migration, or review.

Step 7: Customize the seeded workspace

Replace placeholder values, refine routing rules, add real memory objects, and populate the artifact store. Treat the generated workspace as a working starter system, not as final truth.

Audit workflow

Use this path when the user already has an agent, product, or memory system.

  1. Read references/evaluation_and_governance.md.
  2. Identify where durable context currently lives.
  3. Determine whether the memory is platform-scoped, user-scoped, or organization-scoped.
  4. Identify whether retrieval is typed and just-in-time or indiscriminate and prompt-heavy.
  5. Check whether artifacts, preferences, and execution state are separated.
  6. Check whether deletion, export, and audit semantics are real or only nominal.
  7. Produce a gap analysis against the six paradigm shifts.
  8. Convert the findings into a revised context_manifest.yaml and eval_scorecard.md.
  9. If the user wants a fix, build a replacement workspace and MCP server with init_context_os.py.

Migration workflow

Use this path when the user wants to move context across models, tools, teams, or employers.

  1. Identify the source memories and artifacts.
  2. Separate raw exports from live operational context.
  3. Normalize the memories into typed objects.
  4. Redact or re-scope organization-bound memories when ownership changes.
  5. Package the result as a portable bundle.
  6. Define what the receiving agent may read, update, or not retain.
  7. If the target environment needs an active interface, generate a new MCP server-backed workspace and import the normalized materials into it.

Use scripts/build_context_bundle.py after normalizing the source materials.

Generated MCP server expectations

The generated MCP server should expose a usable BYOC interface rather than a placeholder.

At minimum, the generated server should support:

CapabilityWhy it matters
Describe context systemConfirms the server sees the manifest and workspace
List memory objectsEnables typed retrieval
Get memory objectEnables precise inspection
Upsert memory objectEnables writeback into the context vault
Delete or tombstone memory objectEnables governance and forgetting
List artifactsPreserves artifacts as first-class memory
Build portable bundleKeeps portability live, not theoretical
Append feedback logMaintains the self-improving loop

Prefer tools for state changes, resources for readable workspace files, and prompts for controlled memory-review flows.

Self-improving feedback loop

Activate this loop whenever the skill runs.

  1. Record retrieval misses: what the agent needed but did not retrieve.
  2. Record memory corruption risks: stale, duplicated, or over-generalized memories.
  3. Record governance failures: missing deletion paths, weak permissions, weak auditability.
  4. Record portability failures: what could not move cleanly between runtimes.
  5. Update the context manifest, memory taxonomy, routing rules, and server defaults.
  6. Re-run the evaluation scorecard before declaring the design stable.

Output requirements

When using this skill, produce deliverables that are inspectable, editable, and runnable.

At minimum, aim to leave behind:

DeliverablePurpose
context_manifest.yamlArchitecture, ownership, interfaces, and routing summary
memory object definitionsTyped memory model
governance policyRules for creation, retention, access, and deletion
evaluation scorecardRetrieval, portability, and trust metrics
portable bundle manifestReviewable handoff and migration artifact
working MCP server scaffoldLive interface into the owned context system

Resources

Read resources only when needed.

  • Read references/context_architecture.md when designing the system shape.
  • Read references/paradigm_shifts.md when the user wants the deeper conceptual framing or a strategy memo.
  • Read references/evaluation_and_governance.md when auditing trust, deletion, portability, or evaluation.
  • Use templates/ files as editable starting points.
  • Run scripts/init_context_os.py to build a new workspace and MCP server.
  • Run scripts/build_context_bundle.py to summarize and package a workspace.

Working rule

Optimize for owned, typed, governed, portable context. Do not optimize for the illusion of memory if the resulting system still traps the user inside one runtime.

平台分布

OpenClaw

76.34%
按下载量换算641

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills