Skip to content
Productivity
Skill

/user-profile-keeper

Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and other agent harnesses. Use only when the user explicitly invokes $user-profile-keeper to create, initialize, update, query, correct, delete, export, or audit a local persistent user profile. It

From plugin
compass-skills
76411 skills

Claude Code

$ npx -y skills add dongshuyan/compass-skills --skill user-profile-keeper --agent claude-code

SKILL.md

user-profile-keeper.SKILL.md
name: user-profile-keeper
description: Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and other agent harnesses. Use only when the user explicitly invokes $user-profile-keeper to create, initialize, update, query, correct, delete, export, or audit a local persistent user profile. It can extract durable collaboration preferences, requirement-expression habits, capability boundaries, recurring omissions, risk preferences, privacy boundaries, and typical events from the current session into auditable, confirmable, retractable local profile data. Do not auto-invoke, upload profile data, or replace task-clarifier's normal clarification flow.

User Profile Keeper

Language Policy

**All output directed at the user — profile summaries, proposals, exports, questions, and confirmations — must be written in the user's language.** Detect the user's language from their message. Default to Chinese when unknown. Skill instructions are written in English; that does not affect the language of user-facing output.

Role

Maintain a local-only user profile. The default user is `default`. Create or switch to another user only when the user explicitly names another identity.

Portability

This skill is agent-agnostic. Resolve paths from the directory that contains this `SKILL.md`. Use the available Python command on the host (`python3`, `python`, or `py -3`). The scripts are intended for macOS, Windows, and Linux with Python 3 and the standard library.

Core Contract

  • Use this skill only when the user explicitly invokes `$user-profile-keeper`.
  • Store profile data in the host user's local home directory under `.compass-skills/user-profiles/v1` by default. Use `COMPASS_USER_PROFILE_HOME` to set another local directory.
  • Do not upload profile data. Do not read browser cookies, tokens, passwords, private keys, verification codes, or credentials.
  • Treat the store as local plaintext. Before first initialization, tell the user that local files can be read by local processes, users, or backups with sufficient permission.
  • Every profile assertion must include source type, confidence, sensitivity, status, and evidence. Avoid untraceable conclusions.
  • Low-sensitivity explicit facts with no conflict may be sent through `--auto-apply-safe`; the script decides whether they become active. Inferred, private, sensitive, high-impact, or conflicting facts must become pending proposals.
  • Profile scope includes collaboration preferences, requirement-expression habits, capability boundaries, risk confirmation, privacy boundaries, anti-bubble rules, typical events, and user-provided background such as age range, education, field, role, experience stage, and long-term goals.
  • Treat background information as `private` by default unless the user explicitly asks for a low-sensitivity summary. Keep it out of cross-skill summaries by default.
  • Let the user view, correct, retract, delete, and export profile data at any time.
  • Read the full profile only inside this skill. Other skills may read only low-sensitivity views such as `clarification_summary`.
  • Current session instructions, AGENTS rules, repository constraints, and skill operating rules constrain the current task. They do not initialize a durable user profile by themselves.
  • If the user asks for the onboarding questionnaire or first-run WebUI, run `scripts/onboarding_webui.py --user <id>`.

Context Adequacy Gate

Use one gate:

  • Active profile exists: treat the task as an incremental update. Do not recommend the questionnaire by default.
  • No active profile exists: recommend the onboarding questionnaire. If the user asks for it, run the WebUI. If the user declines, continue with the current task and use proposals for any durable profile candidates.

Do not decide that the current session is "enough" by counting covered questionnaire modules. Do not initialize an active profile from operational instructions.

Session Inference Policy

  • `source_type=inferred` always becomes a pending proposal. It never becomes active through `--auto-apply-safe`.
  • Explicit self-reported background information, including age range, education, field, role, experience stage, and long-term goals, becomes a pending proposal by default with `sensitivity=private`.
  • Use inference only to improve collaboration and follow-up questions. Avoid diagnosis, personality labels, value judgments, and restrictions on the user's choices.

Workflow

1. Identify the user. Use `default` unless the user explicitly names another identity. Initialize with `scripts/profile_store.py init --user <id>` when needed. 2. Read current state with `scripts/profile_store.py read --user <id> --view clarification_summary`. 3. Apply the Context Adequacy Gate. For first-run questionnaire requests, run `scripts/onboarding_webui.py --user <id>`. 4. Extract candidate updates from the current session. Separate durable profile evidence from task-local instructions, AGENTS rules, repository constraints, and skill operating rules. 5. Write safely:

  • For clearly self-reported, low-sensitivity, non-conflicting collaboration facts, use `update-from-session --auto-apply-safe`. The script applies only candidates that pass safety checks and sends the rest to proposals.
  • For every other candidate, create a proposal with `proposal-create` or `update-from-session` without relying on auto-apply.
  • Report what was applied, proposed, redacted, skipped, and why.

Read `references/update-policy.md` for auto-apply, pending, conflict, correction, and first-run rules. Read `references/privacy-boundary.md` for sensitivity boundaries.

Storage And Tools

The main store is managed by `scripts/profile_store.py`:

  • `init`: create registry, user directory, and SQLite database.
  • `read`: read `clarification_summary`, `profile_overview`, `full`, or `pending`.
  • `update-from-session`: update from agent-extracted candidate JSON or create proposals.
  • `proposal-list` / `proposal-
Read more
@dongshuyan
Ships withcompass-skills

司南:个性化 AI 任务总控 Skills 系统 /COMPASS: Personal Alignment Skills OS for AI Agents

Stars on GitHub

Momentum

stars in total
764
Star history of dongshuyan/compass-skills on GitHub, a chart by star-history.com

Other skills on compass-skills.

manage-title

manage-title

在已启用 Agent Clarity 标题插件的范围内,每轮结束前维护“状态|初始需求|当前进展”。支持跨 Codex/Harbor 账户的共享安装、账户全局或指定项目,简短问答也要核对。

assess-interview-candidate

assess-interview-candi…

根据候选人简历与岗位要求生成可审计的后台评估、简明的候选人介绍、按岗位重要性排列的简历疑点、12–18 道可直接照读的面试题,以及支持重点标记和本机保存的离线…

clear-communication

clear-communication

面向读者组织准确、易理解的解释、状态汇报、方案比较和文档;用于复杂概念说明、长文、重要条件的表达或保持原意的改写。适用于中英文,可与学术及其他领域写作规则组合使用。

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about user-profile-keeper.

Which coding agents can use user-profile-keeper?
user-profile-keeper installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.