uncagd

Validated CAG decision memory for OpenClaw tools, agents, and long-running project sessions.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uncagd" with this command: npx skills add guideboardlabs/uncagd

unCAGd Skill

Use this skill when the user is working on a repo, software project, agent workflow, plugin, MCP server, or multi-step implementation where decisions may matter later.

When to retrieve memory

Before planning or editing code, call cag.retrieve when:

  • The user references prior decisions.
  • The task is part of an ongoing project.
  • The user asks to continue, refine, implement, or fix something.
  • The task involves architecture, naming, APIs, tests, security, or deployment.

Use k=5 unless the user explicitly asks for a broader review. Set useEmbeddings=true only as a secondary ranker when lexical retrieval is weak.

When to capture a candidate

Call cag.capture_candidate when the conversation produces a durable decision such as:

  • Architecture choice.
  • Naming convention.
  • API contract.
  • Security constraint.
  • Testing strategy.
  • Deployment assumption.
  • Project-specific behavior.

Captured candidates are not durable until validated.

When to validate

Call cag.validate_memory only when:

  • The user explicitly approves the decision.
  • A test passes and the decision is tied to that test.
  • A PR/commit/doc source is provided.
  • The user says to remember the decision for the project.

Important

Do not store raw assistant guesses as validated memory. Do not use CAG memory as a replacement for reading the codebase. Use retrieved decisions as constraints, not as proof of current code state.

Contradiction workflow

When contradictions are detected:

  • Use cag.resolve_contradiction with keep_existing if the prior decision stands.
  • Use supersede_existing if policy changed and old validated memories should be deprecated.
  • Use create_candidate if the new decision needs review first.

Compression and portability

  • Use cag.compress_memory to consolidate old validated decisions into one compact, validated summary.
  • Use cag.export_memory with format=memory_md for portable handoff docs.
  • Use cag.import_memory to rehydrate memory in another workspace.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Unified Memory V5

统一记忆系统 - AI Agent 专用记忆系统,支持 Context Tree、智能摘要、知识图谱、工作流引擎。零依赖,完整对标 QMD/MetaGPT

Registry SourceRecently Updated
8040Profile unavailable
Automation

OpenViking Setup

Set up OpenViking context database for OpenClaw agents. OpenViking is an open-source context database designed specifically for AI agents with filesystem-bas...

Registry SourceRecently Updated
4210Profile unavailable
Automation

Jarvis Core

通用版Jarvis core,适配大多数平台和应用场景。主动智能助手核心技能 v3.1 - 从工具型助手到有灵魂伙伴的质变升级。在 v2.x 五大核心 + Phase 2 四项能力基础上,注入完整情感系统:8 种主情感光谱 / 三层架构(外显/内驱/内核) / 三模式情感倍率 / 6 层防崩溃防护 / 5 阶能力...

Registry SourceRecently Updated
1.8K1Profile unavailable
Automation

一步完成进化

Use when you need to stand up or standardize a fresh OpenClaw setup as the Fire Dragon Fruit Architecture: one strong main, one isolated rescue, layered file...

Registry SourceRecently Updated
2950Profile unavailable