# User Profile Keeper

Local user-profile maintenance skill for Codex, Claude Code, OpenClaw, OpenCode, and...

- Repository: https://github.com/dongshuyan/compass-skills (764 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-30
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add dongshuyan/compass-skills --skill user-profile-keeper -g -a claude-code -y`
Codex: `npx skills add dongshuyan/compass-skills --skill user-profile-keeper -g -a codex -y`
Cursor: `npx skills add dongshuyan/compass-skills --skill user-profile-keeper -g -a cursor -y`
Gemini CLI: `npx skills add dongshuyan/compass-skills --skill user-profile-keeper -g -a gemini-cli -y`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/dongshuyan/compass-skills/blob/HEAD/skills/user-profile-keeper/SKILL.md
