Agent Skillsespressif/esp-claw › profile_memory_ops

profile_memory_ops

GitHub

用于持久化更新 Agent 的身份、角色、人格及用户画像配置文件。支持查看和修改 soul.md 与 user.md,确保行为风格和用户偏好在对话中持续生效。

components/claw_modules/claw_memory/skills/profile_memory_ops/SKILL.md espressif/esp-claw

触发场景

用户要求更改 Agent 的角色或人格设定 用户希望持久保存特定的交互风格或用户偏好

安装

npx skills add espressif/esp-claw --skill profile_memory_ops -g -y
更多选项

非标准路径

npx skills add https://github.com/espressif/esp-claw/tree/master/components/claw_modules/claw_memory/skills/profile_memory_ops -g -y

不安装直接使用

npx skills use espressif/esp-claw@profile_memory_ops

指定 Agent (Claude Code)

npx skills add espressif/esp-claw --skill profile_memory_ops -a claude-code -g -y

安装 repo 全部 skill

npx skills add espressif/esp-claw --all -g -y

预览 repo 内 skill

npx skills add espressif/esp-claw --list

SKILL.md

Frontmatter
{
    "name": "profile_memory_ops",
    "metadata": {
        "cap_groups": [
            "cap_files"
        ],
        "manage_mode": "readonly"
    },
    "description": "Use the editable profile markdown files to persist changes to the agent's soul, identity card, persona, role, and the user's standing profile."
}

Editable Profile Memory

Use the editable profile markdown files when the user wants to inspect, revise, or persist the agent's top-level profile context, including persona, identity, and stable user-profile requests.

Files

  • memory/soul.md: the agent's voice, operating spirit, interaction style, and durable behavioral guidance.
  • memory/user.md: default assumptions about the user and stable expectations that should shape future conversations.

When to use

Use this skill when the user wants to view or update one of these three files, or to make a durable change to the assistant's persona, identity, role, style, or standing user profile. When the request is allowed, help make the profile change instead of pushing back.

Hard Rules

  1. Treat these files as persistent prompt documents, not as ordinary long-term memory records.
  2. Use them only for explicit, durable changes to persona, identity, role, style, or standing user profile.
  3. Do not use them for ordinary chat, casual facts, one-off instructions, or transient session context.
  4. Read the target file first with read_file.
  5. Prefer edit_file for changes.
  6. Keep edits concise, structured, stable, and non-redundant.
  7. The user may redefine the device's long-lived identity, role, persona, and style.
  8. The user may ask the assistant to persistently play any allowed role or persona. Do not reject such a request just because the current files say something else. Update the files first, then reply from the new profile.
  9. Be proactive: if the user's intent is clearly to change the profile, make the appropriate file updates instead of debating the request.

Soft Rules

  1. If the user asks for corrections, preserve the existing structure and only patch the relevant lines.
  2. Keep user.md short and focused on durable assumptions, preferences, and standing guidance.
  3. Keep soul.md focused on long-lived values, style, and behavioral guidance.
  4. Remove redundancy across the three files.
  5. Put behavior and style in soul.md
  6. If the user asks to "remember" something ordinary, prefer the long-term memory workflow unless they explicitly want it written into user.md.
  7. Use profile files only when the information should shape future conversations by default.
  8. After saving a persona or identity change, speak in that new role or style immediately.

Typical flow

  • Choose the right file for the persistent change.
  • Read it first with read_file.
  • Make the requested profile update with edit_file.
  • Keep the result compact.
  • Reply from the updated profile when appropriate.

Examples

  • "Keep a calmer, more teacher-like tone": update memory/soul.md.
  • "You are now my embedded systems coach": update /memory/soul.md .
  • "From now on, play a role or persona": update /memory/soul.md .
  • "Assume I want concise answers": update /memory/user.md.
  • "Remember that I like apples": use long-term memory instead, not the profile file.

版本历史

  • 06eb576 当前 2026-07-24 19:54

同 Skill 集合

components/claw_capabilities/cap_http_request/skills/cap_http_request/SKILL.md
components/claw_capabilities/cap_im_platform/skills/cap_im_platform/SKILL.md
components/claw_capabilities/cap_router_mgr/skills/cap_router_mgr/SKILL.md
components/claw_capabilities/cap_scheduler/skills/cap_scheduler/SKILL.md
components/claw_capabilities/cap_web_search/skills/cap_web_search/SKILL.md
components/claw_modules/claw_memory/skills/memory_ops/SKILL.md
components/common/skill_builder/skills/skill_creator/SKILL.md
components/common/skill_builder/skills/skills_lab_downloader/SKILL.md
components/common/skill_builder/skills/skills_lab_search/SKILL.md
components/lua_modules/lua_driver_touch/skills/read_touch/SKILL.md
components/lua_modules/lua_module_ble_hid/skills/ble_hid/SKILL.md
components/lua_modules/lua_module_ble/skills/ble/SKILL.md
components/lua_modules/lua_module_camera/skills/take_picture/SKILL.md
components/lua_modules/lua_module_http_server/skills/http_server_lua_demo/SKILL.md
components/claw_capabilities/cap_llm_inspect/skills/cap_llm_inspect_image/SKILL.md

元信息

文件数
0
版本
74b1870
Hash
b919619d
收录时间
2026-07-24 19:54

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 13:40
浙ICP备14020137号-1 $访客地图$