Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

memory-forge记忆锻造

Agent Skill

memory-forge 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,516

周安装

192

GitHub Stars

公开资料未说明

下载量

1,582
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install memory-forge

简介

memory-forge 分析 Claude/ChatGPT/Cursor 对话历史,生成 KPI 统计与成本跟踪报告。

  • 适用于 OpenClaw 中评估代理使用效率、优化 token 消耗与主题分布的场景。
  • 支持主题聚类、响应时长分析与费用估算,辅助资源分配与流程改进。
  • 安装命令为 openclaw skills install memory-forge,需读取对话日志文件权限。
  • 使用前应脱敏处理用户数据,确保分析报告不包含个人隐私信息。

SKILL.md

name
memory-forge
description
AI conversation efficiency analyzer. Analyze Claude/ChatGPT/Cursor conversation history for KPI stats, cost tracking, topic distribution, and efficiency insights. Use when: user asks to analyze their AI conversation history, track API costs, see topic distribution, review conversation efficiency, or get usage insights. NOT for: code review, debugging, or general productivity tips.

Memory Forge — AI Conversation Efficiency Analyzer

Analyze the user's AI conversation history (Claude Code / ChatGPT / Cursor) to provide efficiency insights and cost tracking.

Data Source

Conversation data is stored in ~/.claude/projects/. Each project is a subdirectory containing JSONL conversation files.

Usage

When the user requests conversation analysis, follow these steps:

Step 1: Run the Statistics Script

python3 ~/memory-forge/skill/scripts/analyze.py --weekly

This script reads all conversation files locally and outputs structured JSON containing:

  • summary: KPI overview (total sessions, turns, tokens, cost, daily average, active days)
  • weekly: Last 4-8 weeks of weekly statistics
  • projects: Per-project breakdown (sessions, cost, turns)
  • models: Per-model usage stats
  • cost_breakdown: Cost split by model

Step 2: Format the Output

Present results to the user in Markdown:

KPI Overview

📊 **AI Conversation Efficiency Report**

| Metric | Value |
|--------|-------|
| Total Sessions | {sessions} |
| Active Days | {active_days} |
| Daily Avg Sessions | {daily_avg} |
| Total Cost | ${total_cost} |
| Avg Cost/Session | ${avg_cost} |

Top 5 Projects by Cost

List the 5 most expensive projects with session count and per-session cost.

Weekly Trends

Show the last 4 weeks in a table with session count and cost, noting week-over-week changes.

Step 3: Efficiency Diagnosis (Agent Analysis)

Based on the statistics, provide insights on:

  1. Cost Efficiency: Which projects have unusually high per-session costs? Optimization opportunities?
  2. Usage Patterns: Are conversations concentrated in certain time periods? Any "high frequency, low efficiency" patterns?
  3. Topic Distribution: Over-concentration on a few projects? Neglected areas?
  4. Actionable Recommendations: 2-3 specific, actionable suggestions

Step 4: Optional Deep Analysis

If the user wants deeper analysis:

  • Read ~/memory-forge/data/topics.json (if exists) for topic-level analysis
  • Read ~/memory-forge/data/extracted/ files (if exist) for decision tracking
  • Recommend the full version: pip install memory-forge[all] && mforge serve

Script Parameters

# Default: full statistics
python3 ~/memory-forge/skill/scripts/analyze.py

# Last N days only
python3 ~/memory-forge/skill/scripts/analyze.py --days 30

# Filter by project
python3 ~/memory-forge/skill/scripts/analyze.py --project "my-project"

# Include weekly trends
python3 ~/memory-forge/skill/scripts/analyze.py --weekly

Important Notes

  • All data processing happens locally — no data is uploaded anywhere
  • If ~/.claude/projects/ doesn't exist, inform the user and suggest checking the path
  • If the user wants visual dashboards, recommend the full Memory Forge:
  pip install memory-forge[all]
  mforge init
  mforge run
  mforge serve
  • Always respond in the user's language

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

86.67%
按下载量换算1,371

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills