跳到正文
TakoAPI
返回技能列表

test-omnia

由 arturoaguileraa 提供

Coding Agents & IDEs
993下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Agent continuity and cognitive health infrastructure.

描述

该技能的功能

molt-life-kernel is a Node.js module that gives AI agents persistent identity across sessions using an append-only ledger, crash recovery snapshots, and heartbeat monitoring. It also provides coherence checks to detect behavioral drift and a witness gate for human approval of high-risk actions.

It bundles memory persistence, crash recovery, coherence monitoring, and human-in-the-loop approval into one module rather than requiring each piece to be built and wired separately.

何时使用

  • Preserving agent context across session restarts
  • Gating destructive agent operations with human approval
  • Generating immutable audit logs for agent actions
  • Detecting behavioral drift in long-running agents
  • Recovering agent state after a crash or context reset

示例工作流

输入

User asks: keep my agent's memory intact across restarts and require approval before it deletes any data

智能体
  1. 1

    Initialize MoltLifeKernel with a heartbeat interval and a witnessCallback pointing to a human approval function

  2. 2

    Append each significant agent action to the ledger using kernel.append()

  3. 3

    Call kernel.enforceCoherence() at the start of each session to detect drift from recent ledger entries

  4. 4

    Route any destructive operation through kernel.witness() and wait for human approval before executing

  5. 5

    Call kernel.getSnapshot() periodically so the agent can recover via kernel.rehydrate() after a crash

输出

Agent retains full action history across restarts, destructive actions are gated behind human approval, and coherence anomalies are caught before they cause damage

安装

clawhub install arturoaguileraa/test-omnia

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接