skills/wangliquan/personal-context-cli/personal-context-init-profile

personal-context-init-profile

SKILL.md

Personal Context Init Profile

Overview

Use this skill for onboarding and profile maintenance. All commands use the installed personal-context CLI directly. Ask the user for a password before running any init/profile command.

One-Time Install

pipx install "git+https://github.com/WangLiquan/personal-context-cli.git@v0.1.1-beta"

Password Session (recommended)

# write once to macOS Keychain
security add-generic-password -a "$USER" -s personal-context-cli -w "your-strong-password" -U

# load into current shell session
export PCTX_PASSWORD="$(security find-generic-password -a "$USER" -s personal-context-cli -w 2>/dev/null)"

Core Commands

1) Initialize encrypted store

personal-context init \
  --data-file ./profile.enc

2) Owner profile

personal-context profile set \
  --data-file ./profile.enc \
  --age 32 \
  --industry internet \
  --income-range 50-100w

personal-context profile get \
  --data-file ./profile.enc

3) Preferences

personal-context prefs set \
  --data-file ./profile.enc \
  --response-style brief \
  --strategy-style balanced \
  --locale-bias CN-first

personal-context prefs get \
  --data-file ./profile.enc

4) Family records

personal-context family add \
  --data-file ./profile.enc \
  --relation spouse \
  --age-band 30-39 \
  --occupation-or-school "product manager"

personal-context family list \
  --data-file ./profile.enc

Verification

cd $PROJECT_ROOT
PYTHONPATH=src .venv/bin/pytest -v

References

  • references/command-recipes.md
Weekly Installs
3
First Seen
12 days ago
Installed on
mcpjam3
claude-code3
replit3
junie3
windsurf3
zencoder3