Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Shared Memory Os

v1.7.2

Shared memory governance for multi-agent OpenClaw workspaces — with tiered memory, learnings capture, promotion review, lifecycle management, self-maintainin...

1· 179·0 current·0 all-time
byQihong@zqh2333
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The skill claims to manage shared workspace memory and the shipped scripts implement that. However the bundle makes environment assumptions that are not declared: many scripts use absolute paths like '/home/zqh2333/.openclaw/workspace' and call external tools (openclaw CLI, node, jq) even though the registry metadata declares no required binaries or env vars. Those undeclared dependencies and hard-coded paths are disproportionate to a well-packaged workspace governance skill and may break or operate on an unexpected home directory.
!
Instruction Scope
SKILL.md instructs the agent to ensure recurring cron jobs and to run many scripts that read and write workspace files and reports. The cron job messages explicitly allow use of tools 'exec' and 'read' and ask agents to run and summarize outputs. The instructions advocate using a 'built-in cron' but the provided scripts shell out to the 'openclaw' CLI — a discrepancy. The runtime instructions and scripts will create, edit, and run scheduled jobs that execute arbitrary commands inside the workspace; this is within the skill's function but broad in scope and requires caution.
Install Mechanism
There is no remote install/download spec (instruction-only), which avoids fetching arbitrary remote executables. The package includes many local Node scripts that will be executed. Risk is moderate because the scripts assume Node and the openclaw CLI are present and will be run with filesystem write privileges. No external URLs or archives are used.
!
Credentials
The skill declares no required env vars or credentials, but scripts read environment variables at runtime (process.env.OPENCLAW_STATE_DIR, process.env.HOME) and expect the openclaw cron store at a specific location. They also implicitly require a writable workspace at a hard-coded absolute path. While no secrets are requested, the mismatch between declared env requirements (none) and actual environment use is concerning and could lead to running against unexpected directories.
Persistence & Privilege
The skill will create/update scheduled cron jobs (via the openclaw CLI) so it installs recurring automated behavior in the agent environment. always:false is set in metadata, but the created cron jobs are persistent and will run autonomously. That persistence is expected for a maintenance automation skill, but it increases the blast radius, so verify the exact commands and schedule before allowing them.
What to consider before installing
This skill appears to implement the described shared-memory governance features, but review before installing: - Confirm the workspace path assumptions: many scripts use the hard-coded ROOT '/home/zqh2333/.openclaw/workspace'. If your environment differs, the scripts could read/write the wrong location or fail. Consider editing scripts to use a relative or configurable workspace root. - Ensure the required binaries exist: Node is required (node scripts are invoked) and the scripts call the 'openclaw' CLI and, in shell variants, 'jq'. The registry metadata did not declare these dependencies — install or declare them first. - Inspect the cron creation: the scripts will upsert scheduled jobs that run node commands with exec/read tooling. Confirm the exact cron messages/commands, schedules, and that jobs run in the intended 'sessionTarget' (isolated). If you do not want automated recurring runs, do not allow the cron upsert step. - Check for secrets and privacy: the skill explicitly tells agents to harvest learnings into .learnings/ and includes a private-secrets template advising to avoid including secrets in learnings. Still, verify that none of your secret files will be referenced/harvested automatically. - Run manually first: instead of enabling cron, run init-shared-memory-os.js and the reporting scripts manually in a controlled environment to verify behavior and outputs. Given the hard-coded paths and undeclared external tool assumptions, treat this skill as suspicious until you confirm and adapt it to your environment.
scripts/bootstrap-shared-memory-os.js:6
Shell command execution detected (child_process).
scripts/ensure-shared-memory-crons.js:49
Shell command execution detected (child_process).
scripts/run-shared-memory-maintenance.js:23
Shell command execution detected (child_process).
!
scripts/build-workflow-optimization-suggestions.js:4
File read combined with network send (possible exfiltration).
Patterns worth reviewing
These patterns may indicate risky behavior. Check the VirusTotal and OpenClaw results above for context-aware analysis before installing.

Like a lobster shell, security has layers — review code before you run it.

latestvk97erfy0yhpq86bbnbe6988r9h84kd1a
179downloads
1stars
16versions
Updated 1w ago
v1.7.2
MIT-0

Shared Memory OS

English and 中文 are on the same page below. In ClawHub, read the language section directly instead of relying on anchor-jump behavior.


English

Shared Memory OS turns workspace memory into a governed system instead of a pile of notes.

Core capabilities

  • layered memory governance
  • active learnings harvesting into .learnings/
  • review cadence and archive strategy
  • conflict resolution order
  • health scoring and health history
  • duplicate learnings detection with evidence/confidence
  • promotion candidate detection with review state
  • promotion suggestion and memory patch generation
  • weekly review, audit report, and dashboard generation
  • stale durable memory detection with lifecycle hints
  • validated repeated rule detection
  • low-value learning detection
  • workflow optimization suggestions
  • conflict logging and conflict review reporting
  • learning merge suggestions
  • skill upgrade candidate detection
  • migration guidance and initialization scripts
  • self-improving loop
  • maintenance runner
  • policy profiles and workspace profiles
  • cross-skill collaboration governance
  • multi-agent write and review guidance
  • periodic maintenance-day guidance

References

  • references/governance-guide.md
  • references/pattern-harvesting.md
  • references/archive-strategy.md
  • references/learnings-template.md
  • references/health-check.md
  • references/self-improving-loop.md
  • references/health-score-model.md
  • references/conflict-template.md
  • references/migration-guide.md
  • references/policy-profiles.md
  • references/workspace-profiles.md
  • references/cross-skill-collaboration.md
  • references/multi-agent-governance.md
  • references/maintenance-day.md
  • references/zh-cn-guide.md

Scripts

  • scripts/bootstrap-shared-memory-os.js
  • scripts/ensure-shared-memory-crons.js
  • scripts/init-shared-memory-os.js
  • scripts/migrate-notes-into-memory.js
  • scripts/run-shared-memory-maintenance.js
  • scripts/check-memory-health.js
  • scripts/rebuild-learnings-index.js
  • scripts/find-duplicate-learnings.js
  • scripts/find-promotion-candidates.js
  • scripts/find-stale-durable-memory.js
  • scripts/find-validated-rules.js
  • scripts/find-low-value-learnings.js
  • scripts/build-workflow-optimization-suggestions.js
  • scripts/log-memory-conflict.js
  • scripts/build-conflict-review-report.js
  • scripts/build-weekly-review.js
  • scripts/record-health-snapshot.js
  • scripts/build-promotion-suggestions.js
  • scripts/build-learning-merge-suggestions.js
  • scripts/find-skill-upgrade-candidates.js
  • scripts/build-memory-patch-candidates.js
  • scripts/build-audit-report.js
  • scripts/build-dashboard.js

Setup

For first-time setup in an OpenClaw agent session, prefer the built-in cron tool instead of shelling out to openclaw cron ... commands.

When this skill is used to initialize a workspace, immediately ensure these three recurring jobs exist (create missing ones, update same-name jobs if they already exist):

  • shared-memory-os daily maintenance — daily light maintenance
  • shared-memory-os weekly review — weekly full maintenance + dashboard/audit summary
  • shared-memory-os monthly deep maintenance — monthly deep cleanup and review

Recommended default schedules (Asia/Shanghai):

  • daily: 15 3 * * *
  • weekly: 30 3 * * 1
  • monthly: 45 3 1 * *

Recommended job shape:

  • sessionTarget: "isolated"
  • payload.kind: "agentTurn"
  • payload.toolsAllow: ["exec", "read"]
  • delivery.mode: "none"
  • failure alert enabled after 1 failure

After cron jobs are ensured, run one full maintenance pass so reports exist immediately.

For first-time setup from a terminal instead of an agent session, run node skills/shared-memory-os/scripts/bootstrap-shared-memory-os.js or bash skills/shared-memory-os/scripts/bootstrap-shared-memory-os.sh from the workspace root. These are fallback entrypoints for manual/bootstrap use.

If you only need to repair or reapply automation from a terminal, run node skills/shared-memory-os/scripts/ensure-shared-memory-crons.js or bash skills/shared-memory-os/scripts/ensure-shared-memory-crons.sh. The installer is intended to be idempotent: same-name jobs are updated, missing jobs are created.

Guidance

Use this skill when you want memory to stay useful over time: keep facts durable, keep daily state local, keep lessons reusable, let promotion stay reviewable, let low-value noise get pruned, and let repeated lessons improve other skills too.


中文

Shared Memory OS 的目标,是把 workspace 里的共享记忆变成“可治理、可维护、可进化、可协同”的系统,而不是零散笔记。

核心能力

  • 分层记忆治理
  • 主动沉淀 .learnings/
  • review cadence 与 archive strategy
  • 冲突处理顺序
  • 健康评分与历史趋势
  • 带 evidence/confidence 的重复经验检测
  • 带 review 状态的 promotion candidate 检测
  • promotion 建议与 MEMORY.md patch 候选生成
  • 周报、审计报告、dashboard 生成
  • 带生命周期提示的 stale durable memory 检测
  • 反复验证规则检测
  • 低价值 learning 检测
  • 工作流优化建议生成
  • 冲突日志与冲突审查报告
  • learning 合并建议
  • skill 升级候选检测
  • 初始化与迁移脚本
  • 自学习进化闭环
  • 一键 maintenance runner
  • policy profile / workspace profile
  • 与其他 skills 的协同治理
  • 多 agent 写入与审核边界建议
  • 周期性 maintenance day 指南

参考文档

  • references/zh-cn-guide.md
  • references/governance-guide.md
  • references/pattern-harvesting.md
  • references/archive-strategy.md
  • references/learnings-template.md
  • references/health-check.md
  • references/self-improving-loop.md
  • references/health-score-model.md
  • references/conflict-template.md
  • references/migration-guide.md
  • references/policy-profiles.md
  • references/workspace-profiles.md
  • references/cross-skill-collaboration.md
  • references/multi-agent-governance.md
  • references/maintenance-day.md

脚本

  • scripts/bootstrap-shared-memory-os.js
  • scripts/ensure-shared-memory-crons.js
  • scripts/init-shared-memory-os.js
  • scripts/migrate-notes-into-memory.js
  • scripts/run-shared-memory-maintenance.js
  • scripts/check-memory-health.js
  • scripts/rebuild-learnings-index.js
  • scripts/find-duplicate-learnings.js
  • scripts/find-promotion-candidates.js
  • scripts/find-stale-durable-memory.js
  • scripts/find-validated-rules.js
  • scripts/find-low-value-learnings.js
  • scripts/build-workflow-optimization-suggestions.js
  • scripts/log-memory-conflict.js
  • scripts/build-conflict-review-report.js
  • scripts/build-weekly-review.js
  • scripts/record-health-snapshot.js
  • scripts/build-promotion-suggestions.js
  • scripts/build-learning-merge-suggestions.js
  • scripts/find-skill-upgrade-candidates.js
  • scripts/build-memory-patch-candidates.js
  • scripts/build-audit-report.js
  • scripts/build-dashboard.js

初始化方式

在 OpenClaw agent 会话里,优先直接使用一等 cron 工具创建/更新自动任务,而不是通过 shell 调 openclaw cron ...

当此 skill 用于初始化 workspace 时,应立即确保以下 3 个同名任务存在(已存在则更新,不存在则创建):

  • shared-memory-os daily maintenance
  • shared-memory-os weekly review
  • shared-memory-os monthly deep maintenance

推荐默认时区与时间(Asia/Shanghai):

  • daily: 15 3 * * *
  • weekly: 30 3 * * 1
  • monthly: 45 3 1 * *

推荐任务形态:

  • sessionTarget: "isolated"
  • payload.kind: "agentTurn"
  • payload.toolsAllow: ["exec", "read"]
  • delivery.mode: "none"
  • 开启 failure alert,连续 1 次失败就报警

确保 cron 任务后,应立即跑一次完整 maintenance,让 reports 立刻可用。

如果是在终端里手动初始化,而不是在 agent 会话里,使用:node skills/shared-memory-os/scripts/bootstrap-shared-memory-os.jsbash skills/shared-memory-os/scripts/bootstrap-shared-memory-os.sh。这是给手动/终端 bootstrap 的 fallback 入口。

如果只是补装或修复自动化任务,可运行:node skills/shared-memory-os/scripts/ensure-shared-memory-crons.jsbash skills/shared-memory-os/scripts/ensure-shared-memory-crons.sh。这些安装脚本设计目标是幂等:同名任务更新,缺失任务创建。

使用建议

当你希望共享记忆长期可用时,用它来维持:长期事实要稳定、当天状态要就地、经验要可复用、promotion 要可审查、低价值噪音要能被清理、而且反复验证过的经验还应反向推动其他 skills 一起变强。

Comments

Loading comments...