
Profile Dreamer
- 1 installs
- 3 repo stars
- Updated July 5, 2026
- yinjialu/context-harness
Reviews archived context-harness conversations and proposes durable memory/profile updates for user confirmation before writing them.
About
Reads context-harness conversation archives and extracts durable signals (preferences, projects, working style) into a reviewable add/update/deprecate proposal. A developer uses it to refresh their personal memory/profile from past agent conversations.
- Groups proposed changes by add/update/strengthen/deprecate
- Waits for confirmation before writing memory files
Profile Dreamer by the numbers
- 1 all-time installs (skills.sh)
- Ranked #2,479 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yinjialu/context-harness --skill profile-dreamerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 3 |
| Last updated | July 5, 2026 |
| Repository | yinjialu/context-harness ↗ |
What it does
Reviews archived context-harness conversations and proposes durable memory/profile updates for user confirmation before writing them.
Files
Profile Dreamer
Use this skill to review archived conversations and propose memory/profile updates. The skill can bootstrap the CLI runtime even when only the skill was installed.
Runtime Bootstrap
Before using local context-harness files or commands, execute the bundled bootstrap script from this skill directory:
runtime_dir="$(bash scripts/bootstrap.sh)"
cd "$runtime_dir"The script clones or updates the runtime repository at ~/.local/share/context-harness by default, checks out v0.1.7, and runs uv sync.
Overrides:
CONTEXT_HARNESS_RUNTIME_DIR: custom runtime checkout path.CONTEXT_HARNESS_REPO_URL: custom fork URL.CONTEXT_HARNESS_REF: custom branch, tag, or commit.CONTEXT_HARNESS_BOOTSTRAP_SKIP_UPDATE=1: skip fetch/pull.
Workflow
1. Run the Runtime Bootstrap steps above so the local CLI/templates are available. 2. Resolve the context home from CONTEXT_HARNESS_HOME, the user's explicit path, or ~/.context-harness. 3. Read:
state/dream-state.jsonglobal-claude.mdmemory/user_profile.md- new or changed files under
conversations/
4. Extract durable signals:
- identity changes
- technical preferences
- recurring working style
- active projects
- writing/content direction
- explicit instructions for AI agents
5. Present a reviewable proposal grouped by add/update/strengthen/deprecate. 6. Wait for user confirmation before writing memory files. 7. After confirmation, update:
global-claude.mdmemory/user_profile.mdlogs/dream.mdstate/dream-state.json
Do not silently rewrite memory/profile files.
#!/usr/bin/env bash
set -euo pipefail
repo_url="${CONTEXT_HARNESS_REPO_URL:-https://github.com/yinjialu/context-harness.git}"
runtime_dir="${CONTEXT_HARNESS_RUNTIME_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/context-harness}"
runtime_ref="${CONTEXT_HARNESS_REF:-v0.1.7}"
skip_update="${CONTEXT_HARNESS_BOOTSTRAP_SKIP_UPDATE:-0}"
log() {
printf '%s\n' "$*" >&2
}
require_command() {
if ! command -v "$1" >/dev/null 2>&1; then
log "Missing required command: $1"
exit 1
fi
}
require_command git
require_command uv
runtime_parent="$(dirname "$runtime_dir")"
mkdir -p "$runtime_parent"
if [ -e "$runtime_dir" ] && [ ! -d "$runtime_dir/.git" ]; then
log "Runtime path exists but is not a git checkout: $runtime_dir"
log "Set CONTEXT_HARNESS_RUNTIME_DIR to another path or move the existing directory."
exit 1
fi
if [ ! -d "$runtime_dir/.git" ]; then
log "Cloning context-harness runtime into $runtime_dir"
git clone "$repo_url" "$runtime_dir" >&2
fi
cd "$runtime_dir"
if [ "$skip_update" != "1" ]; then
log "Updating context-harness runtime"
git fetch --tags --prune origin >&2
fi
if [ -n "$runtime_ref" ]; then
log "Checking out $runtime_ref"
git checkout --quiet "$runtime_ref"
elif [ "$skip_update" != "1" ]; then
log "Fast-forwarding current branch"
git pull --ff-only >&2
fi
log "Preparing Python environment with uv"
uv sync >&2
printf '%s\n' "$runtime_dir"