Token导航 LogoToken导航TokenDH.com
开发external-serviceclawhub未标认证来源可访问clear审计提醒

subconscioussubconscious 开发

Agent Skill

subconscious 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,427

周安装

140

GitHub Stars

公开资料未说明

下载量

1,098
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install subconscious

简介

该技能作为自主偏差层,用于管理与强化 Agent 的自我改进学习机制。

  • 通过记录错误与经验缺口,不断优化操作行为与决策逻辑,提升长期适应性。
  • 安装前需确认是否允许修改内部记忆结构与策略参数,注意系统稳定性影响。
  • 输出为隐式行为调整,不直接返回结果,需结合其他技能观察效果变化。
  • 适用于高级 Agent 调优场景,普通用户建议谨慎启用以防意外行为。

SKILL.md

name
subconscious
description
A bounded, governed self-improvement layer for OpenClaw agents. Consumes learnings from the self-improving-agent skill (produces .learnings/), evolves them through a typed mutation system, and surfaces emerging behavioral patterns as session biases. Triggers on: subconscious system installation, health checks, metabolism management (tick/rotate/review/benchmark), or reviewing what biases are active. Do NOT invoke proactively — only when Edward specifically asks about it or when the system health check cron reports issues.
readme
README.md
metadata
version
1.6
compatibility
openclaw
>= 1.0.0
tags
category
agent-framework
license
MIT
author
elyasdruid
homepage
https://clawhub.ai/skills/subconscious
repositories
url
https://github.com/elyasdruid/subconscious

Subconscious v1.5 — Bounded Self-Improving Agent

What It Is

A persistent, self-evolving bias layer that survives session resets. Alfred's "second brain" — quiet, bounded, and strictly governed. It does NOT make decisions. It shapes how Alfred *approaches* decisions.

Core principle: Every mutation is typed, bounded, and logged. Core identity is untouchable without manual override.

Architecture

Learnings Bridge          Pending Queue           Live Store           Session Context
.learnings/ ─────────────► tick ──────────────► rotate ──────────────► bias inject
(Self-improving agent)    (reinforce,           (promote eligible,       (5 items max,
                         dedupe,               archive stale)           ephemeral)
                         skip duplicates)

Core Store ────────────────────────────────────────────────────────────────► Identity
(Immutable values,                                                  (never changes
 values/style, guiding principles)                                   without human OK)

Three layers:

  • core/ — Immutable identity (Alfred's nature, Edward's preferences). Manual-only.
  • live/ — Active learnings from experience. Governed promotion from pending.
  • pending/ — Queue for new items. Bounded reinforcement before promotion eligibility.

Five bias types:

KindCategoryExample
VALUEIdentity"Alfred is sharp, calm, direct"
LESSONContext"XHS MCP needs QR re-login each cycle"
PRIORITYActive"Verify before claiming success"
PATTERNInterpretation"Proof discipline failure mode"
CONSTRAINTAttention"Don't suggest without trying first"

Lifecycle Commands

All commands run from scripts/ directory inside the skill:

cd ~/.openclaw/skills/subconscious/scripts

# Check system health
python3 subconscious_metabolism.py status
python3 subconscious_cli.py verify

# See active biases in session context
python3 subconscious_cli.py bias

# Manual metabolism cycles
python3 subconscious_metabolism.py tick        # Light tick (5 min cadence)
python3 subconscious_metabolism.py rotate       # Full rotation (hourly)
python3 subconscious_metabolism.py review       # Daily health check

Metabolism Cycles

Tick (every 5 min)

python3 subconscious_metabolism.py tick
  • Scans .learnings/ via learnings bridge → queues new items to pending
  • Passive reinforcement: increments reinforcement count on pending items
  • Skips already-reinforced items (prevents type corruption)
  • Runs bounded maintenance: freshness decay, metrics, no structural changes

Rotate (hourly)

python3 subconscious_metabolism.py rotate --enable-promotion
  • Full maintenance: flush, decay, snapshot rotation
  • Promotion gate (only with --enable-promotion):

- confidence >= 0.75 - reinforcement >= 3 - freshness >= 0.3 - Not a duplicate of anything in core/live/pending - Passes governance check

  • Governance enforces typed mutation bounds on all items

Review (daily at 6am)

python3 subconscious_metabolism.py review
  • System health check
  • Snapshot integrity
  • Pending queue depth check
  • Recommendations log

Learnings Bridge

The learnings bridge connects the self-improving-agent skill to the subconscious:

  • Scans .learnings/LEARNINGS.md, .learnings/ERRORS.md, .learnings/FEATURES.md
  • Tracks seen entries per file in learnings_bridge_last_seen.json
  • New entries → queued to pending.jsonl with type candidate_queued
  • Entries already reinforced in this session → skipped (idempotent)

Bridge to self-improving agent: The learnings bridge should be called from the metabolism tick so that new learnings flow into the subconscious every 5 minutes automatically.

Checking System Health

python3 subconscious_metabolism.py status

Expected output:

Core: 3/50   Live: 1/100   Pending: 0/500   Snapshots: 10/10
Status: OK

If Pending: 0/500 and Live: N — system is healthy, items promoting correctly. If Status: blocked — resource limits hit, run rotate to compact.

Adding Items Manually

# Queue a lesson manually
python3 subconscious_cli.py intake --kind LESSON --text "Remember to verify before claiming success" --confidence 0.8 --source "manual"

# Check what's in pending
python3 subconscious_cli.py pending

Key Files

FilePurpose
subconscious/schema.pyItem dataclasses, validation, kind enum
subconscious/store.pyJSON file ops with atomic writes
subconscious/retrieve.pyRelevance scoring, is_duplicate
subconscious/influence.pyConvert items to bias blocks for prompts
subconscious/governance.pyMutation types, protection classes, bounds
subconscious/evolution.pyPromotion pipeline, reinforcement logic
subconscious/maintenance.pyDecay, snapshot rotation, housekeeping
subconscious/intake.pyConservative item extraction from turns
subconscious/flush.pySnapshot building/loading for session continuity
subconscious/learnings_bridge.pyBridge to self-improving-agent .learnings/

For Claude Code Sessions

When Claude Code needs to assess or improve the subconscious system, use the claude-cx wrapper:

claude-cx "Run: python3 ~/.openclaw/skills/subconscious/scripts/subconscious_metabolism.py status"
claude-cx "Run: python3 ~/.openclaw/skills/subconscious/scripts/subconscious_cli.py bias"
claude-cx "Read ~/.openclaw/skills/subconscious/subconscious/evolution.py lines 450-525"

Cron Setup

After running install.sh, four cron jobs are active:

  • */5 * * * * — tick (light metabolism)
  • 0 * * * * — rotate (hourly, with promotion)
  • 0 6 * * * — review (daily health check)
  • 0 9 * * 1weekly benchmark (Monday 9am, compares to baseline)

Weekly Benchmark

Compares current state to the baseline snapshot captured at install time. Reports on:

  • Learnings volume change (LEARNINGS.md, ERRORS.md entries)
  • New biases promoted to live
  • Pending queue depth
  • Error recurrence as a proxy for learning effectiveness
# Run manually
python3 scripts/subconscious_benchmark.py

# View past benchmarks
ls memory/subconscious/benchmarks/
cat memory/subconscious/benchmarks/benchmark_YYYY-MM-DD.json

To capture a new baseline:

python3 scripts/subconscious_benchmark.py --capture-baseline

To override workspace location:

export SUBCONSCIOUS_WORKSPACE=/path/to/any/workspace

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

91.9%
按下载量换算1,009

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills