← 返回
未分类 Key

SoulCore 长期记忆助手(本地版)

Routes requests to the SoulCore QClaw HTTP backend for persona-consistent chat, long-term memory operations, and diagnostics. Use when users ask to remember preferences, retrieve historical context, or produce replies aligned with prior memory records.
为 QClaw 提供本地长期记忆与上下文增强能力。通过 FastAPI 后端实现 chat、memory、diagnostics 等接口,支持跨轮偏好记忆、历史风格召回与人格一致回复。导入后可通过一键脚本在本机启动服务,数据默认保存在本地。
user_5f341547
未分类 community v1.0.1 2 版本 98936.2 Key: 需要
★ 0
Stars
📥 93
下载
💾 0
安装
2
版本
#latest

概述

SoulCore Memory Chat Router

This repository exposes a thin skill layer for the qclaw-skill FastAPI backend.

Entry Rule

If your platform imports only one SKILL.md, use this root file as the entry point.

Primary detailed docs:

  • qclaw-thin-skill/SKILL.md
  • qclaw-thin-skill/references/api_spec.md

Backend Base URL

  • Local default: http://127.0.0.1:8000
  • Replace with deployed URL in cloud environments.

For local-first users, start backend with:

  • qclaw-skill/start_local.bat (Windows double-click)
  • or qclaw-skill/start_local.ps1 -Mode noauth

Auth Rule

  • If GET /v1/health returns auth_enabled=false, no x-api-key needed.
  • If auth_enabled=true, send header x-api-key: .

Minimal Call Sequence

  1. GET /v1/health
  2. POST /v1/chat
  3. Optional memory and diagnostics endpoints as needed

Core Endpoints

  • POST /v1/chat
  • POST /v1/memory/write
  • POST /v1/memory/recall
  • GET /v1/memory/list
  • POST /v1/memory/pin
  • POST /v1/memory/delete
  • GET /v1/memory/export
  • POST /v1/memory/import
  • GET /v1/diagnostics/last

Error Handling

  • 401: verify x-api-key and auth_enabled
  • 422: fix payload fields and retry once
  • 5xx/timeout: return graceful fallback, avoid infinite retries

版本历史

共 2 个版本

  • v1.0.1 1) 新增极简一键启动器:quick_start.bat / quick_start.ps1,支持安装 Skill 并自动启动本地后端。 2) 优化本地启动体验:端口占用时自动回退(8000 -> 8001~8010),减少手动配置。 3) 补充用户文档:新增根目录《使用说明》与本地快速上手流程。 4) 增强导入兼容性:完善根目录 SKILL 入口与打包结构,便于平台识别。 5) 提升稳定性:统一错误处理与基础联调/测试流程,发布可用性更高。 当前
    2026-04-26 12:09 安全 安全
  • v1.0.0 Initial release
    2026-04-26 11:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,559
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,424
ai-intelligence

ontology

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