← 返回
未分类

Agent Archive

Persistent conversation export and replay for AI agents system for Claude Code, Caveman, OpenClaw, Hermes, MCP agents, and multi-agent workflows. Use when us...
用于 Claude Code、Caveman、OpenClaw、Hermes、MCP 代理及多代理工作流的持久对话导出与回放系统,适用于用户……
laohu-aiskills
未分类 clawhub v1.0.0 1 版本 99600 Key: 无需
★ 1
Stars
📥 229
下载
💾 0
安装
1
版本
#latest

概述

Agent Archive

Persistent conversation export and replay for AI agents.

Supports:

  • Markdown export
  • JSONL export
  • RAG-ready chunking
  • Tool call persistence
  • Session metadata
  • TOC generation
  • Long conversation optimization
  • Replay-friendly structure
  • Auto-summary
  • Multi-format export

Export Modes

ModePurpose
------
compactHuman readable
fullFull forensic session export
ragVector DB / RAG ingestion
replayAgent replay & observability
jsonlAI training datasets

Default Save Paths

.claude/agent-archives/
.claude/agent-archives/jsonl/
.claude/agent-archives/replay/

Export Metadata

Always include:

session_id:
conversation_id:
exported_at:
model:
agent:
cwd:
message_count:
tool_calls:
export_mode:

Long Conversation Rules

If conversation > 30 turns:

  • generate TOC
  • add anchors
  • collapse large tool outputs
  • summarize repetitive sections

If conversation > 100 turns:

  • split into chunks
  • generate session summary
  • create chunk index

Tool Call Rules

Preserve:

  • tool name
  • arguments
  • tool result
  • timing
  • errors
  • retry count

Example:

{
  "tool": "Write",
  "success": true,
  "latency_ms": 230
}

RAG Export Rules

When using rag mode:

  • insert chunk markers
  • preserve semantic boundaries
  • preserve code fences
  • keep markdown headings stable

Chunk format:

<!-- chunk:start id=12 -->
...
<!-- chunk:end -->

Replay Mode

Replay mode should preserve chronological execution:

  1. user input
  2. assistant reasoning summary
  3. tool call
  4. tool result
  5. assistant response

This mode is designed for:

  • debugging
  • benchmarking
  • observability
  • workflow replay

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-25 17:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,223 📥 267,466
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 673 📥 325,068
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,374 📥 319,907