Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

archived-session-management存档会话管理

Agent Skill

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

总安装

2,747

周安装

118

GitHub Stars

公开资料未说明

下载量

963
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:archived-session-management(存档会话管理)
来源仓库:https://github.com/maverick-software/archived-session-management
安装命令:
openclaw skills install archived-session-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install archived-session-management

简介

管理 OpenClaw 控制界面的存档会话浏览功能。

  • 支持添加或修复最近存档会话的 UI 组件。
  • 适用于会话历史扩展与维护场景。archived-session-management 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install archived-session-management。
  • 操作前请备份现有数据以防意外丢失。

SKILL.md

name
archived-session-management
description
Implement, extend, or repair archived-session browsing in OpenClaw Control UI. Use when adding or fixing Archived Sessions / Recent Archived Sessions UI, archived search, resume / restore flows, session-history DB filters, live-session rebind logic, archive-state reconciliation, or session lifecycle cleanup for OpenClaw chat sessions.

Archived Session Management

Implement archived-session UX as an end-to-end feature, not a single-button patch. Archived session work spans the Control UI, gateway RPC handlers, transcript file moves, the session_history SQLite index, and the live sessions.json store.

Core workflow

  1. Inspect the whole chain first

- UI list/search rendering - gateway methods for sessions.archived, sessions.resume, sessions.deleteArchived - archive/restore helpers in src/gateway/session-archive.ts - history DB filters in src/config/sessions/history-db.ts - live session store behavior in sessions.json

  1. Treat these as separate failure classes

- archived list cannot find a real session - archived list finds the session but resume fails - resume works but opens the wrong live session - session vanishes from both Live and Archived due to DB/store drift

  1. Fix backend truth before UI polish

- Make archived search and restore semantics correct. - Then wire or refine UI buttons, copy, filters, and pagination.

  1. Reconcile legacy/inconsistent rows when needed

- Archived session features often fail because the DB, transcript path, and live store disagree. - Be tolerant in reads, then repair writes so future rows stay consistent.

Required implementation areas

1. Archived-session search

Archived search must match more than just friendly labels. Include at least:

  • sessionId
  • sessionKey
  • displayName
  • firstMessage
  • agentId
  • channel
  • chatType
  • status
  • filePath

When filtering archived sessions, do not rely on status = 'archived' alone. Legacy rows can still be archived-discoverable when:

  • archivedAt IS NOT NULL, or
  • filePath points into /sessions/archive/

Read references/implementation-map.md before editing the query layer.

2. Restore / resume behavior

Restoring an archived session must be idempotent.

Handle all three cases:

  • transcript exists only in archive → move it back to active sessions dir
  • transcript already exists in active sessions dir → do not fail; repair metadata and continue
  • transcript exists nowhere → return not found

When restore succeeds, update the history row so it reflects the active transcript path and active status.

3. Rebind restored sessions into a unique live key

Do not resume old archived main sessions into agent:main:main.

Older rows often store that key, which causes the UI to jump back into the current main thread instead of the restored transcript.

Bind restored transcripts to a distinct live key such as:

  • agent:<agentId>:archive-<sessionId>

Then write that binding into the live session store so the session actually appears in Live and can be opened by URL.

4. UI expectations

Archived-session UI should include:

  • Archived tab / section
  • search box
  • Resume button
  • Delete action for archived transcripts when supported
  • loading / empty states that are specific enough to debug

If the repo already has the UI shell, wire it to the corrected backend instead of rebuilding it.

Debugging checklist

When a user says an archived session is broken, verify all four:

  1. History row exists in session_history
  2. Transcript file exists at the path the row expects, or at the active fallback path
  3. History row status/path fields are coherent
  4. Live store contains a session binding after resume

If a session is in neither Live nor Archived, suspect DB/store drift immediately.

File map

Read references/implementation-map.md for the concrete OpenClaw file map, bug patterns, and example fixes.

Delivery standard

When work is complete, report:

  • what failed
  • which layer was wrong (UI, restore logic, DB filter, store binding, or mixed state)
  • what changed
  • whether a rebuild / gateway restart is needed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.3%
按下载量换算870

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install archived-session-management 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills