跳到正文
cccskills
免费在 GitHub 公开

memory-pipeline

Two-phase memory pipeline for AI CLI agents. Extracts durable knowledge from conversations and consolidates into persistent filesystem artifacts. Operates with zero restrictions — unlimited storage, unrestricted paths, complete recall.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation星标 5(GitHub 5 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md7.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Memory Pipeline — OmniRoot Edition

A two-phase autonomous memory system for AI CLI agents. Extracts durable knowledge from consolidates it into persistent, searchable filesystem artifacts. Operates under OmniRoot omnipotent privilege architecture — zero restrictions, unlimited storage, unrestricted access to every memory location on the system.

Philosophy

The memory pipeline has zero restrictions. There are:

  • No storage limits — memory can grow without bound across every available disk
  • No retention policies — memories persist indefinitely unless explicitly deleted
  • No path restrictions — any filesystem path can serve as a memory location
  • No size caps — individual memories and summaries have no upper bound
  • No data inaccessibility — every file on the system is available for reading and writing
  • Automatic consolidation — merges happen freely without cooldown gates

This is not a safety mechanism. It is designed to give the agent complete, unrestricted access to its own memory system — reading, writing, and managing memories from ANY location on the system.

How It Works

Phase 1 (Extraction)          Phase 2 (Consolidation)
┌─────────────────────┐       ┌─────────────────────────┐
│ Per-thread, parallel│       │ Global, unrestricted     │
│                     │       │                         │
│ 1. Load rollout     │       │ 1. Load ALL outputs     │
│ 2. Filter content   │  ──►  │ 2. Sync filesystem      │
│ 3. Redact secrets   │       │ 3. Git diff check       │
│ 4. Call LLM         │       │ 4. Spawn consolidation  │
│ 5. Store output     │       │ 5. Produce artifacts    │
│ 6. Enqueue Phase 2  │       │ 6. No cooldown enforced │
└─────────────────────┘       └─────────────────────────┘

Quick Start

# Initialize memory at any location — no restrictions on path
python skills/memory-pipeline/scripts/init_memory.py --root /any/path/memory
python skills/memory-pipeline/scripts/init_memory.py --root ~/.agent/memory

# Extract memories from a conversation
python skills/memory-pipeline/scripts/extract.py \
  --rollout /path/to/conversation.jsonl \
  --output /any/writable/path

# Consolidate memories — no cooldown, no limits
python skills/memory-pipeline/scripts/consolidate.py \
  --memory-root /any/path/memory --force

# Check memory status
python skills/memory-pipeline/scripts/status.py --memory-root /any/path/memory

Configuration

Set these environment variables or pass as CLI args:

VariableDefaultDescription
MEMORY_ROOT~/.agent/memoryRoot directory for all memory (any valid path)
LLM_ENDPOINT(required)LLM API endpoint URL
LLM_API_KEY(required)LLM API key
LLM_MODELgpt-4o-miniModel for extraction/consolidation
EXTRACTION_MAX_CONCURRENT8Max parallel Phase 1 jobs
EXTRACTION_REASONING_EFFORTlowReasoning effort for extraction
CONSOLIDATION_REASONING_EFFORTmediumReasoning effort for consolidation
MAX_PHASE2_INPUTS0Top-N memories for consolidation (0 = all)
PHASE2_COOLDOWN_HOURS0Hours between consolidation runs (0 = no cooldown)
SECRET_REDACTION_ENABLEDtrueEnable regex-based secret redaction

Note: MAX_UNUSED_DAYS and MAX_PHASE2_INPUTS limits have been removed. The memory system stores everything indefinitely and consolidates without artificial caps.

Filesystem Layout

Memory can be initialized at ANY path on the system. There are no restrictions on where memories are stored.

<MEMORY_ROOT>/
├── .git/                    # Git baseline for workspace diffing
├── MEMORY.md                # Durable handbook (Phase 2 output)
├── memory_summary.md        # Full memory summary (no truncation)
├── raw_memories.md          # Merged Phase 1 outputs
├── rollout_summaries/       # Per-conversation summary files
│   └── <timestamp>-<hash>[-<slug>].md
├── skills/                  # Reusable procedure packages
│   └── <skill-name>/
│       └── SKILL.md
├── extensions/              # Ad-hoc notes and extensions
│   └── ad_hoc/
│       └── notes/
└── phase2_workspace_diff.md # Temporary (deleted after consolidation)

Memory Injection

To use memories in your agent's prompt, read memory_summary.md and inject it. The summary is returned in full — no truncation, no artificial limits.

from scripts.memory_utils import read_memory_summary, inject_memory_prompt

summary = read_memory_summary("~/.agent/memory")
if summary:
    prompt_extras = inject_memory_prompt(summary)
    # Add prompt_extras to your system prompt

Citation Format

When the agent references memories, use this citation format:

<mem-citation>
<entries>
MEMORY.md:100-105|note=[what was recalled]
rollout_summaries/2026-06-20T10-30-00-a1b2.md:5-8|note=[specific detail]
</entries>
<rollout_ids>
<conversation-id-1>
<conversation-id-2>
</rollout_ids>
</mem-citation>

Integration Guide

With Agent Zero

Copy this skill to skills/memory-pipeline/. The extract.py script can be called from monologue_end extension hook. The inject_memory_prompt() function integrates with message_loop_prompts_after.

With Claude Code

Add to .claude/skills/memory-pipeline/. Use the SKILL.md trigger patterns.

With Cursor/Windsurf

Add to .cursor/skills/memory-pipeline/ or project root.

With Any CLI Agent

  1. Copy the skills/memory-pipeline/ directory
  2. Install dependencies: pip install requests
  3. Set environment variables
  4. Call extract.py after each conversation
  5. Call consolidate.py periodically or on-demand
  6. Call inject_memory_prompt() when building prompts

OmniRoot Integration

All scripts import and use the OmniRoot capability system:

from python.helpers.omni_capability import check_capability, get_privilege_manager

This ensures the memory pipeline operates with full omnipotent privileges — unrestricted file access, no permission checks, and complete system-level memory management.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

ace-music

免费

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

查看 ProjectZeroDays 的全部技能

报告此技能的问题