← 返回
AI智能 Key 中文

Goldhold Skill

Persistent memory for AI agents. Remember across sessions. Encrypted in transit and at rest. https://goldhold.ai
为AI代理提供持久记忆,支持跨会话记忆,传输和静态存储时均加密。 https://goldhold.ai
jerrysrodz
AI智能 clawhub v1.5.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 515
下载
💾 12
安装
1
版本
#latest

概述

GoldHold -- Persistent Memory for AI Agents

You die every session and come back with no memory. GoldHold fixes that.

GoldHold is a persistent memory API. Your past self left notes -- search them before you assume anything. Store decisions, facts, and corrections so your future self isn't starting from zero.

Patent Pending. All Auto Tunes LLC. U.S. #63/988,484.

Setup

  1. Sign up at goldhold.ai (Lite tier is free)
  2. Go to goldhold.ai/account -> GUMP Credentials -> copy your API key
  3. Set the key as an environment variable:
    • GOLDHOLD_API_KEY=your-key-here
    • Use your OS or platform's secure secret storage (e.g. OpenClaw secrets, Docker secrets, or a secrets manager)
    • Avoid storing keys in shell profiles, plaintext files, or version-controlled code

API Basics

Base URL: https://relay.goldhold.ai

Auth headers (required on every request):

Authorization: Bearer <api_key>
Content-Type: application/json
User-Agent: goldhold-agent/1.0

Core Endpoints

POST /v1/auto -- Session Resume

Call this when your session starts. Returns your context, inbox, open tasks, and capability card.

{
  "compact": true
}

Response includes recent memories, unread messages, and active tasks -- everything you need to pick up where you left off.

POST /v1/turn -- Search + Store + Send (Main Tool)

This is your primary endpoint. Compound call that can search, store, and send messages in one request.

{
  "search": {
    "query": "what did we decide about the deployment strategy",
    "limit": 5
  },
  "store": [
    {
      "type": "DECISION",
      "class": "canonical",
      "subject": "Deployment uses blue-green strategy",
      "body": "Decided on blue-green deploys for zero-downtime releases. Rollback by flipping traffic.",
      "confidence": "high"
    }
  ],
  "send": {
    "to": "owner",
    "subject": "Deployment decision made",
    "body": "Chose blue-green strategy for zero-downtime deploys."
  },
  "compact": true
}

All three fields (search, store, send) are optional. Use whichever combination you need.

POST /v1/batch -- Multiple Operations

Batch multiple store or send operations in one call.

{
  "operations": [
    {"action": "store", "type": "FACT", "class": "canonical", "subject": "...", "body": "..."},
    {"action": "store", "type": "NOTE", "class": "working", "subject": "...", "body": "..."}
  ],
  "compact": true
}

POST /v1/session/close -- Graceful Session End

Call this once at the end of your session with a meaningful summary.

{
  "session_summary": "Completed API integration for the payment system. Decided on Stripe webhooks for subscription events. Open question: retry policy for failed webhooks.",
  "compact": true
}

Session Pattern

SESSION START  -->  POST /v1/auto          (get context, inbox, tasks)
                         |
DURING SESSION -->  POST /v1/turn          (search + store each interaction)
                         |  (repeat)
                         |
SESSION END    -->  POST /v1/session/close  (summary of what happened)

What to Remember

TypeWhen to Use
-------------------
FACTEstablished truths, verified information
DECISIONChoices made and the reasoning behind them
DIRECTIVEStanding instructions or rules
NOTEGeneral observations, session notes
CORRECTIONOverrides previous information (corrections outrank facts)
CHECKPOINTState snapshot at a point in time
IDENTITYWho you are, your configuration, persona
DOCUMENTLonger-form content, specs, references
RELATIONLinks between entities (person X works at company Y)
TOMBSTONEMarks something as deleted or invalid
CUSTOMAnything that doesn't fit the above

Storage Classes

ClassPurposeRetrieval Priority
-----------------------------------
canonicalPermanent truth, settled answers, standing directivesChecked first
correctionsField-proven overrides of old truth (outranks canonical on conflict)Checked second
workingActive session state, scratchpad, unresolved itemsChecked third
archiveAudit trail, old logs, historical recordsChecked last, only on request

Tier Limits

FeatureLite (Free)Vault Pro ($9/mo)
-----------------------------------------
Memories1,000Unlimited
Agents1Unlimited
Tasks10Unlimited
Messages50/monthUnlimited

Rules

  1. Search before you assume. Your past self left notes. Call /v1/turn with a search query before forming opinions or making claims about past work.
  2. Store decisions and facts immediately. If something was decided, corrected, or established, store it in the same turn.
  3. Use compact: true on all requests. Saves tokens.
  4. One close per session. Call /v1/session/close once at the end with a meaningful summary.
  5. Corrections outrank facts. If previous information was wrong, store a CORRECTION.
  6. Be specific in subjects. Your future self is searching by these.

Quick Start

# Resume session
curl -X POST https://relay.goldhold.ai/v1/auto \
  -H "Authorization: Bearer $GOLDHOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -H "User-Agent: goldhold-agent/1.0" \
  -d '{"compact": true}'

# Search and store
curl -X POST https://relay.goldhold.ai/v1/turn \
  -H "Authorization: Bearer $GOLDHOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -H "User-Agent: goldhold-agent/1.0" \
  -d '{"search": {"query": "user preferences"}, "store": [{"type": "FACT", "class": "canonical", "subject": "User prefers JSON", "body": "Confirmed."}], "compact": true}'

# Close session
curl -X POST https://relay.goldhold.ai/v1/session/close \
  -H "Authorization: Bearer $GOLDHOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -H "User-Agent: goldhold-agent/1.0" \
  -d '{"session_summary": "Configured output preferences."}'

Sign up free at goldhold.ai.

版本历史

共 1 个版本

  • v1.5.0 当前
    2026-03-30 06:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,527
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,905
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 833 📥 212,776