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

skill-dreaming-extractor技能梦提取器

Agent Skill

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

总安装

2,109

周安装

87

GitHub Stars

公开资料未说明

下载量

689
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:skill-dreaming-extractor(技能梦提取器)
来源仓库:https://github.com/zero2ai-hub/skill-dreaming-extractor
安装命令:
openclaw skills install skill-dreaming-extractor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-dreaming-extractor

简介

skill-dreaming-extractor 每日从 AI 会话历史中提取事实并保存至 learn.md 文件中。

  • 适用于长期记忆积累与知识沉淀,增强 Agent 上下文理解能力。
  • 可自动过滤冗余对话,保留关键信息点。
  • 安装命令为 openclaw skills install skill-dreaming-extractor。
  • 注意文件写入路径权限,防止意外覆盖重要数据。

SKILL.md

name
skill-dreaming-extractor
version
1.0.0
description
Daily fact extraction from AI agent session history into a persistent learned.md memory file
metadata
openclaw
requires
{ bins: ["python3"] }

Skill: Dreaming Extractor

Reads yesterday's real agent conversations, extracts structured facts using an LLM, and appends them to memory/learned.md. Designed to run daily via cron — builds a persistent, searchable knowledge base from your agent's actual interactions.

What it does

  • Scans yesterday's session JSONL files from ~/.openclaw/agents/
  • Filters out system noise (startup sequences, dreaming sessions, tool output)
  • Extracts structured facts: decisions made, problems solved, config changes, corrections
  • Appends extracted facts to memory/learned.md with confidence scores and source citations
  • Enforces a daily token budget to cap cost

Execution Steps

When triggered (by cron or manually), follow these steps:

Step 1: Collect sessions

python3 skills/skill-dreaming-extractor/scripts/collect.py

Outputs a clean text file at memory/.dreams/extraction-input/YYYY-MM-DD.txt containing yesterday's real conversations. If output is "No real sessions found", stop here.

Step 2: Check budget

python3 skills/skill-dreaming-extractor/scripts/budget.py --check

If output is "BUDGET EXCEEDED", stop. Do not proceed.

Step 3: Extract facts

Read the collected input. For each meaningful exchange, extract structured facts:

{
  "facts": [
    {
      "subject": "specific entity or concept (e.g., 'API endpoint', 'deployment target')",
      "predicate": "what happened or was decided (e.g., 'was deployed to', 'was updated to')",
      "object": "the outcome or target (e.g., 'production on 2026-04-14', 'v2 with retry logic')",
      "date": "YYYY-MM-DD",
      "confidence": 0.0-1.0,
      "source": "session-id:line-range"
    }
  ]
}

Extraction Rules

INCLUDE:

  • Decisions made (architectural, business, operational)
  • Problems solved and how
  • Configuration changes with rationale
  • New capabilities deployed or verified
  • Corrections or feedback from the user
  • External facts learned (API changes, service incidents, pricing)

REJECT (scaffolding — never extract):

  • Session startup greetings / "back online" messages
  • Tool call results (file contents, grep output, git status)
  • Progress updates ("working on X", "let me check")
  • Repetitions of the same fact across sessions
  • Vague themes with no concrete data
  • Meta-conversation about the conversation itself
  • Token counts, cost reports, cache stats

Quality gates:

  • Each fact MUST have at least 3 concrete tokens (subject + predicate + date minimum)
  • Confidence 0.9+ = directly stated by user or confirmed by system output
  • Confidence 0.7-0.89 = strongly implied, single source
  • Confidence 0.5-0.69 = inferred, use sparingly
  • Below 0.5 = do not extract

Step 4: Write to learned.md

Append extracted facts to memory/learned.md:

## Learned — YYYY-MM-DD

- **[subject]** [predicate] [object] | confidence: X.XX | source: [session-id:lines]
- ...

If the file doesn't exist, create it with a header first.

Step 5: Log budget

python3 skills/skill-dreaming-extractor/scripts/budget.py --log --facts-count N

Where N = number of facts extracted.

Step 6: Report

Output a summary:

Dreaming extraction complete for YYYY-MM-DD:
- Sessions processed: X
- Facts extracted: Y
- Confidence range: X.XX - X.XX
- Budget remaining: $X.XX / $2.00

Manual Run

python3 skills/skill-dreaming-extractor/scripts/collect.py --date 2026-04-14
# Then follow steps 2-6

Cost

  • Estimated: ~$0.50–1.50/day (Sonnet, ~30–200K chars of session history)
  • Hard cap: $2.00/day (configurable in budget.py)
  • Monthly projection: ~$15–45

Cron Setup

openclaw cron add "Dreaming Extractor" "3 3 * * *" "Run task spec: skills/skill-dreaming-extractor/SKILL.md"

Fires daily at 03:03 UTC (after sessions have closed for the day).

Success Metrics

MetricTarget
Facts per cycle with 3+ concrete tokens≥ 3
Confidence variance (std dev)≥ 0.15
Scaffolding ratio< 10%
Citations per week (facts actually recalled)≥ 1

If citation count stays at 0 for 30 days, the system isn't adding value — retire it.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

92.11%
按下载量换算635

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills