Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

Guava Memory

Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Skill: Guava Memory Owner: koatora20 Summary: Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-11T11:39:52.167Z | auto GuavaMemory 1.0.0 — Initial Release - Structured episodic memory system for OpenClaw with Q-value scoring - Records and indexes episodes with intent, co

OpenClaw · self-declared
581 downloadsTrust evidence available
clawhub skill install kn70hcm6kss09g9b4pe5rq3ybd80qp15:guava-memory

Overall rank

#62

Adoption

581 downloads

Trust

Unknown

Freshness

Mar 1, 2026

Freshness

Last checked Mar 1, 2026

Best For

Guava Memory is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Skill: Guava Memory Owner: koatora20 Summary: Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-11T11:39:52.167Z | auto GuavaMemory 1.0.0 — Initial Release - Structured episodic memory system for OpenClaw with Q-value scoring - Records and indexes episodes with intent, co Capability contract not published. No trust telemetry is available yet. 581 downloads reported by the source. Last updated 4/15/2026.

No verified compatibility signals581 downloads

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Mar 1, 2026

Vendor

Clawhub

Artifacts

0

Benchmarks

0

Last release

1.0.0

Install & run

Setup Snapshot

clawhub skill install kn70hcm6kss09g9b4pe5rq3ybd80qp15:guava-memory
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

4

Examples

6

Snippets

0

Languages

Unknown

Executable Examples

bash

mkdir -p memory/episodes memory/skills memory/meta

bash

cat > memory/episodes/index.json << 'EOF'
{
  "version": "1.0.0",
  "name": "GuavaMemory",
  "episodes": [],
  "stats": { "total": 0, "avg_q_value": 0, "promotions": 0 },
  "config": {
    "promotion_threshold": 0.85,
    "promotion_min_count": 3,
    "max_episodes_per_search": 3,
    "learning_rate": 0.3
  }
}
EOF

markdown

### Episodic Memory Rules
1. **Task start** → `memory_search` for related episodes. Use top 3 by Q-value
2. **Task complete** → Record episode in `memory/episodes/ep_YYYYMMDD_NNN.md`
3. **Record content** → Intent, Context, Success pattern, Failure pattern, Q-value, feel
4. **Skill promotion** → 3 successes with same intent & Q≥0.85 → promote to `memory/skills/`
5. **Anti-patterns** → Record failures in `memory/episodes/anti_patterns.md`
6. **No loops** → Record once per task at completion. No mid-task rewrites
7. **Update index** → Keep `memory/episodes/index.json` in sync

markdown

# EP-20260211-001: Short description

## Intent
What you were trying to do

## Context
- domain: what area
- tools: what tools used

## Experience

### ✅ Success Pattern
1. Step one
2. Step two
3. Step three

### ❌ Failure Pattern
- What didn't work and why

## Utility
- reward: 0.0-1.0 (1.0 = one-shot success)
- q_value: 0.0-1.0 (updated over time)
- feel: flow | grind | frustration | eureka

text

Q_new = Q_old + 0.3 * (reward - Q_old)

bash

#!/bin/bash
EPISODES_DIR="${HOME}/.openclaw/workspace/memory/episodes"
INDEX="${EPISODES_DIR}/index.json"
echo "🔍 Searching episodes for: $1"
cat "$INDEX" | jq -r '.episodes | sort_by(-.q_value) | .[] | select(.status == "active") | "Q:\(.q_value) | \(.feel) | \(.intent) → \(.file)"'
Extracted Files

SKILL.md

# GuavaMemory — Episodic Memory System for OpenClaw

Structured episodic memory with Q-value scoring. Remember what worked, forget what didn't.

## What It Does

- Records task episodes with success/failure patterns and Q-values
- Searches past episodes via `memory_search` (Voyage AI compatible)
- Promotes repeated successes into reusable skill procedures
- Tracks anti-patterns to avoid repeating mistakes

## Quick Start

### 1. Set Up Memory Directories

```bash
mkdir -p memory/episodes memory/skills memory/meta
```

### 2. Initialize Index

```bash
cat > memory/episodes/index.json << 'EOF'
{
  "version": "1.0.0",
  "name": "GuavaMemory",
  "episodes": [],
  "stats": { "total": 0, "avg_q_value": 0, "promotions": 0 },
  "config": {
    "promotion_threshold": 0.85,
    "promotion_min_count": 3,
    "max_episodes_per_search": 3,
    "learning_rate": 0.3
  }
}
EOF
```

### 3. Add to AGENTS.md

Paste the following rules into your AGENTS.md:

```markdown
### Episodic Memory Rules
1. **Task start** → `memory_search` for related episodes. Use top 3 by Q-value
2. **Task complete** → Record episode in `memory/episodes/ep_YYYYMMDD_NNN.md`
3. **Record content** → Intent, Context, Success pattern, Failure pattern, Q-value, feel
4. **Skill promotion** → 3 successes with same intent & Q≥0.85 → promote to `memory/skills/`
5. **Anti-patterns** → Record failures in `memory/episodes/anti_patterns.md`
6. **No loops** → Record once per task at completion. No mid-task rewrites
7. **Update index** → Keep `memory/episodes/index.json` in sync
```

## Episode Format

Create files like `memory/episodes/ep_20260211_001.md`:

```markdown
# EP-20260211-001: Short description

## Intent
What you were trying to do

## Context
- domain: what area
- tools: what tools used

## Experience

### ✅ Success Pattern
1. Step one
2. Step two
3. Step three

### ❌ Failure Pattern
- What didn't work and why

## Utility
- reward: 0.0-1.0 (1.0 = one-shot success)
- q_value: 0.0-1.0 (updated over time)
- feel: flow | grind | frustration | eureka
```

## Q-Value Update

```
Q_new = Q_old + 0.3 * (reward - Q_old)
```

Reward scale:
- `1.0` → One-shot success
- `0.7` → Success with some trial and error
- `0.3` → Success but very roundabout
- `0.0` → Failed, solved differently
- `-0.5` → Failed, unresolved

## Skill Promotion

When the same intent succeeds 3+ times with Q ≥ 0.85:
1. Merge episodes into `memory/skills/skill-name.md`
2. Extract the optimal procedure
3. Mark source episodes as `status: "graduated"`

## Search Script

Copy `scripts/ep-search.sh` to your workspace:

```bash
#!/bin/bash
EPISODES_DIR="${HOME}/.openclaw/workspace/memory/episodes"
INDEX="${EPISODES_DIR}/index.json"
echo "🔍 Searching episodes for: $1"
cat "$INDEX" | jq -r '.episodes | sort_by(-.q_value) | .[] | select(.status == "active") | "Q:\(.q_value) | \(.feel) | \(.intent) → \(.file)"'
```

## Requirements

- OpenClaw (any version)
- `jq` (for search script)
- No other dependencies

## How It Works With memory_search

templates/skill.md

# SKILL: Skill Name

## Trigger
Keywords or phrases that should activate this skill

## Prerequisites
- What needs to be true before executing

## Procedure
1. Step one
2. Step two
3. Step three

## Cautions
- Things to watch out for

## Metrics
- Success rate: X% (N/N)
- Avg duration: Xs
- Q-value: X.XX
- Promoted: YYYY-MM-DD
- Sources: ep_YYYYMMDD_NNN, ep_YYYYMMDD_NNN, ep_YYYYMMDD_NNN

_meta.json

{
  "ownerId": "kn70hcm6kss09g9b4pe5rq3ybd80qp15",
  "slug": "guava-memory",
  "version": "1.0.0",
  "publishedAt": 1770809992167
}

templates/episode.md

# EP-TEMPLATE: Short task description

## Intent
What you were trying to accomplish

## Context
- domain: relevant area (e.g., note-api, deployment, config)
- tools: what tools/commands used
- precondition: what needed to be true before starting

## Experience

### ✅ Success Pattern
1. First step
2. Second step
3. Third step

### ❌ Failure Pattern
- What you tried that didn't work
- Why it failed

### 💡 Key Insight
- The most important thing you learned

## Utility
- reward: 0.0-1.0
- q_value: 0.0-1.0
- confidence: 0.0-1.0
- feel: flow | grind | frustration | eureka
- updated: YYYY-MM-DDTHH:MM:SS+TZ
- update_count: 1

## Tags
tag1, tag2, tag3

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Skill: Guava Memory Owner: koatora20 Summary: Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-11T11:39:52.167Z | auto GuavaMemory 1.0.0 — Initial Release - Structured episodic memory system for OpenClaw with Q-value scoring - Records and indexes episodes with intent, co

Full README

Skill: Guava Memory

Owner: koatora20

Summary: Structured episodic memory system that records task outcomes with Q-values, searches past successes, and promotes reliable procedures for reuse.

Tags: latest:1.0.0

Version history:

v1.0.0 | 2026-02-11T11:39:52.167Z | auto

GuavaMemory 1.0.0 — Initial Release

  • Structured episodic memory system for OpenClaw with Q-value scoring
  • Records and indexes episodes with intent, context, success/failure patterns, and utility metrics
  • Supports memory_search for finding relevant past episodes (Voyage AI compatible)
  • Promotes repeated successful episodes to reusable skills
  • Tracks anti-patterns and avoids unsuccessful strategies
  • Provides setup instructions and episode file formats for quick adoption

Archive index:

Archive v1.0.0: 5 files, 3598 bytes

Files: scripts/ep-search.sh (900b), SKILL.md (3276b), templates/episode.md (658b), templates/skill.md (390b), _meta.json (131b)

File v1.0.0:SKILL.md

GuavaMemory — Episodic Memory System for OpenClaw

Structured episodic memory with Q-value scoring. Remember what worked, forget what didn't.

What It Does

  • Records task episodes with success/failure patterns and Q-values
  • Searches past episodes via memory_search (Voyage AI compatible)
  • Promotes repeated successes into reusable skill procedures
  • Tracks anti-patterns to avoid repeating mistakes

Quick Start

1. Set Up Memory Directories

mkdir -p memory/episodes memory/skills memory/meta

2. Initialize Index

cat > memory/episodes/index.json << 'EOF'
{
  "version": "1.0.0",
  "name": "GuavaMemory",
  "episodes": [],
  "stats": { "total": 0, "avg_q_value": 0, "promotions": 0 },
  "config": {
    "promotion_threshold": 0.85,
    "promotion_min_count": 3,
    "max_episodes_per_search": 3,
    "learning_rate": 0.3
  }
}
EOF

3. Add to AGENTS.md

Paste the following rules into your AGENTS.md:

### Episodic Memory Rules
1. **Task start** → `memory_search` for related episodes. Use top 3 by Q-value
2. **Task complete** → Record episode in `memory/episodes/ep_YYYYMMDD_NNN.md`
3. **Record content** → Intent, Context, Success pattern, Failure pattern, Q-value, feel
4. **Skill promotion** → 3 successes with same intent & Q≥0.85 → promote to `memory/skills/`
5. **Anti-patterns** → Record failures in `memory/episodes/anti_patterns.md`
6. **No loops** → Record once per task at completion. No mid-task rewrites
7. **Update index** → Keep `memory/episodes/index.json` in sync

Episode Format

Create files like memory/episodes/ep_20260211_001.md:

# EP-20260211-001: Short description

## Intent
What you were trying to do

## Context
- domain: what area
- tools: what tools used

## Experience

### ✅ Success Pattern
1. Step one
2. Step two
3. Step three

### ❌ Failure Pattern
- What didn't work and why

## Utility
- reward: 0.0-1.0 (1.0 = one-shot success)
- q_value: 0.0-1.0 (updated over time)
- feel: flow | grind | frustration | eureka

Q-Value Update

Q_new = Q_old + 0.3 * (reward - Q_old)

Reward scale:

  • 1.0 → One-shot success
  • 0.7 → Success with some trial and error
  • 0.3 → Success but very roundabout
  • 0.0 → Failed, solved differently
  • -0.5 → Failed, unresolved

Skill Promotion

When the same intent succeeds 3+ times with Q ≥ 0.85:

  1. Merge episodes into memory/skills/skill-name.md
  2. Extract the optimal procedure
  3. Mark source episodes as status: "graduated"

Search Script

Copy scripts/ep-search.sh to your workspace:

#!/bin/bash
EPISODES_DIR="${HOME}/.openclaw/workspace/memory/episodes"
INDEX="${EPISODES_DIR}/index.json"
echo "🔍 Searching episodes for: $1"
cat "$INDEX" | jq -r '.episodes | sort_by(-.q_value) | .[] | select(.status == "active") | "Q:\(.q_value) | \(.feel) | \(.intent) → \(.file)"'

Requirements

  • OpenClaw (any version)
  • jq (for search script)
  • No other dependencies

How It Works With memory_search

Episodes are plain Markdown files in memory/. OpenClaw's memory_search (Voyage AI) indexes them automatically. When you search for a task, episodes rank by semantic similarity. Then filter by Q-value to find what actually worked.

File v1.0.0:templates/skill.md

SKILL: Skill Name

Trigger

Keywords or phrases that should activate this skill

Prerequisites

  • What needs to be true before executing

Procedure

  1. Step one
  2. Step two
  3. Step three

Cautions

  • Things to watch out for

Metrics

  • Success rate: X% (N/N)
  • Avg duration: Xs
  • Q-value: X.XX
  • Promoted: YYYY-MM-DD
  • Sources: ep_YYYYMMDD_NNN, ep_YYYYMMDD_NNN, ep_YYYYMMDD_NNN

File v1.0.0:_meta.json

{ "ownerId": "kn70hcm6kss09g9b4pe5rq3ybd80qp15", "slug": "guava-memory", "version": "1.0.0", "publishedAt": 1770809992167 }

File v1.0.0:templates/episode.md

EP-TEMPLATE: Short task description

Intent

What you were trying to accomplish

Context

  • domain: relevant area (e.g., note-api, deployment, config)
  • tools: what tools/commands used
  • precondition: what needed to be true before starting

Experience

✅ Success Pattern

  1. First step
  2. Second step
  3. Third step

❌ Failure Pattern

  • What you tried that didn't work
  • Why it failed

💡 Key Insight

  • The most important thing you learned

Utility

  • reward: 0.0-1.0
  • q_value: 0.0-1.0
  • confidence: 0.0-1.0
  • feel: flow | grind | frustration | eureka
  • updated: YYYY-MM-DDTHH:MM:SS+TZ
  • update_count: 1

Tags

tag1, tag2, tag3

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-04-17T06:03:12.524Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Clawhub",
    "href": "https://clawhub.ai/koatora20/guava-memory",
    "sourceUrl": "https://clawhub.ai/koatora20/guava-memory",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "581 downloads",
    "href": "https://clawhub.ai/koatora20/guava-memory",
    "sourceUrl": "https://clawhub.ai/koatora20/guava-memory",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "latest_release",
    "category": "release",
    "label": "Latest release",
    "value": "1.0.0",
    "href": "https://clawhub.ai/koatora20/guava-memory",
    "sourceUrl": "https://clawhub.ai/koatora20/guava-memory",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-11T11:39:52.167Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-koatora20-guava-memory/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "release",
    "title": "Release 1.0.0",
    "description": "GuavaMemory 1.0.0 — Initial Release - Structured episodic memory system for OpenClaw with Q-value scoring - Records and indexes episodes with intent, context, success/failure patterns, and utility metrics - Supports memory_search for finding relevant past episodes (Voyage AI compatible) - Promotes repeated successful episodes to reusable skills - Tracks anti-patterns and avoids unsuccessful strategies - Provides setup instructions and episode file formats for quick adoption",
    "href": "https://clawhub.ai/koatora20/guava-memory",
    "sourceUrl": "https://clawhub.ai/koatora20/guava-memory",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-11T11:39:52.167Z",
    "isPublic": true
  }
]

Sponsored

Ads related to Guava Memory and adjacent AI workflows.