360 Secure SkillHub
360 安全技能中心

CSPR Memory Curator

在用户提供反馈或多次运行后,读取反馈记录、近期输出与当前偏好档案,保守地更新主题、来源偏好与不喜欢的模式,生成完整 profile 并通过 prefmem 命令应用更新。

happywalkers
happywalkers
热度 15.99
最近更新 2026-06-27 02:16:33
分类:知识依赖:读写文件 / 代码执行 / 内部调用大模型应用场景:工作流 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cspr-memory-curator
Metadata
name
memory-curator
description
Update cspr preference memory from accumulated feedback and recent newspaper outcomes.

memory-curator

Use this skill after the user has provided feedback or after several runs.

Workflow:

  1. Read ~/.cspr/state/feedback.jsonl.

  2. Read recent newspaper outputs when useful.

  3. Read current ~/.cspr/memory/profile.yaml.

  4. Update topics, source preferences, and disliked patterns.

  5. Write a complete updated profile to a run folder.

  6. Apply it with:

    prefmem update --in RUN/profile.yaml

Feedback actions include save, more, less, and hide-source. Keep updates conservative and avoid overfitting from one reaction.