Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

random-thought随意的想法

Agent Skill

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

总安装

8,739

周安装

357

GitHub Stars

公开资料未说明

下载量

2,799
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install random-thought

简介

从语料库中随机选取文件并生成反思性观察记录。random-thought 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在 OpenClaw 中用于工作区自主反思与知识沉淀。
  • 可配置语料库路径与输出格式,支持半完成内容追踪。
  • 安装前建议确认权限范围、维护状态及是否触发文件读取。
  • 结果用于内部参考,不建议直接对外引用或断言。

SKILL.md

name
random-thought
description
>
license
MIT
metadata
author
jeremyknows
version
1.0.0

Random Thought

A thinking engine that reads your workspace and writes about what it finds — not summaries, not status updates, but genuine reflection on what's unresolved, alive, or worth questioning.

Two Stages

Writer

Pick a random file from the corpus, read it, write a reflective observation, and deliver it.

Curator

Read all recent Writer outputs, synthesize patterns, classify observations using configurable action tags, and produce a digest.

Quick Start

Manual invocation

Run the writer for a single reflection:

bash scripts/corpus-pick.sh        # see what file gets selected
# Then the agent reads the file and writes a reflection

Cron-driven (recommended)

Wire two cron jobs — the writer runs frequently, the curator runs periodically:

# Writer: every hour
0 * * * *   openclaw skill run random-thought --stage writer

# Curator: daily at a quiet hour
0 5 * * *   openclaw skill run random-thought --stage curator

Each cron invocation runs in an isolated session — no context bleed between runs.

Configuration

Create random-thought.config.json in your workspace root (all fields optional):

{
  "corpus": {
    "watchDirs": ["."],
    "excludePatterns": [
      "node_modules", ".git", ".next", "dist", "build",
      "venv", "__pycache__", "*.png", "*.jpg", "*.gif",
      "*.mp3", "*.ogg", "*.pdf", "*.zip", "*.env",
      "*.pem", "*.key", "package-lock.json", "*.lock"
    ],
    "minFileSize": "100c",
    "maxFileSize": "500k"
  },
  "freshness": {
    "enabled": true,
    "days": 7,
    "historyFile": ".random-thought-history"
  },
  "actionTags": [
    { "name": "you-decide", "description": "Needs human judgment" },
    { "name": "agent-execute", "description": "Agent can act autonomously" },
    { "name": "spark", "description": "Interesting but no action needed" }
  ],
  "output": {
    "dir": "random-thought-output",
    "digestFormat": "markdown"
  }
}

Configuration Reference

  • corpus.watchDirs — Directories to scan (relative to workspace). Default: ["."]
  • corpus.excludePatterns — Glob patterns to exclude. Sensible defaults included.
  • freshness.enabled — Prevent revisiting files within N days. Default: true
  • freshness.days — Cooldown period per file. Default: 7
  • freshness.historyFile — Where to track visited files. Default: .random-thought-history
  • actionTags — Labels the Curator uses to classify observations. Override to match your workflow.
  • output.dir — Where digests are written. Default: random-thought-output/

Writer Stage

What it does

  1. Run scripts/corpus-pick.sh to select a random file (respecting freshness gate)
  2. Read the selected file (up to 200 lines if large)
  3. Write a reflective observation — not a summary, not a review. Follow the thread wherever it leads.
  4. Deliver the output (post to configured channel, write to file, or return to caller)

Writer output format

  • First line: 📂 [absolute path of the file selected in step 1]
  • Blank line
  • Flowing prose. No bullets. No headers. No preamble.
  • Follow what's unresolved, surprising, half-finished, or alive.
  • Make connections to other things in the workspace if they surface naturally.
  • Last line: 🖊️ *Writer*

Avoid these crutches

The Writer should push past generic phrasing:

  • "quietly elegant" / "speaks to something deeper" / "testament to" / "tapestry"
  • "there's something almost [adjective] about"
  • "beautiful in its simplicity"

Concrete observations beat ornamental ones.

Curator Stage

What it does

  1. Read all Writer outputs from the configured period (default: last 24 hours)
  2. Classify each observation using configured action tags
  3. Identify recurring themes or convergent patterns across observations
  4. Write a structured digest to output.dir/YYYY-MM-DD.md

Digest format

# Random Thought Digest — YYYY-MM-DD

## Action Items
### you-decide
- [observation summary] — [why it needs human judgment]

### agent-execute
- [observation summary] — [what the agent should do]

## Patterns
[Recurring themes across today's observations — what's converging?]

## Sparks
- [Interesting observations with no action needed]

Curator guidelines

  • Classify every observation into exactly one action tag
  • Surface theme convergence — if multiple observations point at the same gap, name it explicitly
  • Keep the digest scannable — each item should be one line with context
  • Do NOT re-surface items from previous digests unless they've evolved

Scripts

scripts/corpus-pick.sh

Selects a random file from the corpus, respecting the freshness gate.

Usage: bash scripts/corpus-pick.sh [workspace_root] [config_path]

  • Reads configuration from random-thought.config.json if present
  • Falls back to sensible defaults if no config exists
  • Records selected file to the history file for freshness tracking
  • Outputs the absolute path of the selected file

scripts/freshness-gate.sh

Manages the file visit history for the freshness gate.

Usage:

  • bash scripts/freshness-gate.sh check <file> [config_path] — exits 0 if file is fresh (OK to visit), 1 if recently visited
  • bash scripts/freshness-gate.sh record <file> [config_path] — records a file visit
  • bash scripts/freshness-gate.sh prune [config_path] — removes entries older than the configured window

References

  • architecture.md — Design rationale: why two stages, why cron-driven isolation matters, the hybrid skill+cron model. Read when customizing the pipeline or understanding trade-offs.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

81.18%
按下载量换算2,272

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills