Chuyển đến nội dung
Skillpedia
Khác20k · #10446

Profile

Skill này làm gì

Giữ một file duy nhất mô tả bạn là ai, mục tiêu, ràng buộc và sở thích, để agent bắt đầu mỗi phiên với bối cảnh đó. Skill dành cho người muốn AI nhớ về họ mà không phải lặp lại.

Khi nào nên dùng

  • ✓Khi bạn muốn xem trợ lý hiện biết gì về bạn.
  • ✓Khi mục tiêu hoặc sở thích của bạn đã thay đổi và cần cập nhật.
  • ✓Khi bạn muốn đặt lại hồ sơ về một mẫu trống.

Liên kết skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Profile/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Profile/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cập nhật hồ sơ của tôi: mục tiêu mới của tôi là ra mắt cuốn sách trước mùa xuân, và tôi thích câu trả lời ngắn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chỉ đọc và thay đổi các phần bạn yêu cầu, và cập nhật ngày sửa đổi cuối. Khi xóa, hồ sơ được đặt lại về mẫu trống sau khi sao lưu đã được xác minh và bạn đồng ý rõ ràng, và file không bao giờ bị xóa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Profile Skill

Views, edits, or resets the LifeOS User Model — the PRINCIPAL_IDENTITY.md file that holds persistent identity context and loads at the start of every session through the CLAUDE.md @-import. Three operations: View shows the current model, Edit updates its sections, and Clear resets it to a blank template (it never deletes the file). The Algorithm reads it when writing ISCs and choosing capabilities, and other skills read it for personalization, so this skill keeps that context visible and current in one place.

Ideal State

  • The identity file always exists and loads at startup; Clear replaces its contents and never deletes it.
  • Every change touches only what the principal asked for, leaves the Memory-System Proposals queue to the memory curation loop, and bumps last_updated but never last_reviewed, so the freshness grade stays honest.
  • Clear never overwrites the file without a verified backup and the principal's explicit yes.
  • The file holds context about who the principal is, never executable directives (those belong in CLAUDE.md or the system prompt).
  • Off-limits categories (health, relationship, financial details) enter the file only when the principal explicitly asks for them.

Intent Routing

Intent Trigger File
View "profile", "show profile", "view profile", "who am I", "my profile" Intents/View.md
Edit "edit profile", "update profile", "change profile" Intents/Edit.md
Clear "clear profile", "delete profile", "reset profile" Intents/Clear.md
File Read when
Setup.md first-time setup, a worked example of the identity file on made-up values, and the read-only proof commands

Data & Config

The User Model lives at ~/.claude/LIFEOS/USER/PRINCIPAL/PRINCIPAL_IDENTITY.md (in a standard install LIFEOS/USER is a symlink to ~/.config/LIFEOS/USER, which may be its own private git repo) as markdown with the lifeos-freshness-v1 frontmatter (LIFEOS/DOCUMENTATION/Freshness/FreshnessSystem.md):

last_updated: ISO-8601      # every write, any author
last_updated_by: <author>
convention: lifeos-freshness-v1
last_reviewed: ISO-8601     # principal review only; drives the staleness grade (90-day window for this file)
last_reviewed_by: <principal>

The Interview skill's ContextCheckin intent is the only flow that bumps last_reviewed; this skill's intents read the file on demand when it is viewed or edited.

The same frontmatter also holds the header facts that code reads, so a change to one of these is a change to the YAML key, never to prose:

Key Reader
core (name, pronunciation, timezone) getPrincipal() in hooks/lib/identity.ts, as the fallback only: LIFEOS/USER/CONFIG/LIFEOS_CONFIG.toml [principal] wins for name, pronunciation and timezone
voice_clone the model, through the header-mirror block (no code reader)
preferences getPrincipalPreferences() in hooks/lib/identity.ts
tech_stack getTechStack() in hooks/lib/identity.ts, its only source

LIFEOS/TOOLS/HeaderMirror.ts copies these keys into a generated block in the body, because @-import strips frontmatter; DerivedSync.ts runs it on every hand edit.

The blank template (Intents/Edit.md § Output format) starts the file with four sections: Quick Reference, Worldview, Work Patterns & Communication, and Preferences. Users add their own sections over time, and the memory curation loop may keep an auto-append Memory-System Proposals queue at the bottom. Edit changes the sections that exist in the user's file; it does not impose the template's schema on it. First-time setup, a worked example and a read-only proof: Setup.md.

Gotchas

  • Profile changes take effect next session (or after context reload), because the file is loaded at startup.
  • A fact kept only in frontmatter is invisible to the model unless the header-mirror block carries it; edit the frontmatter, never the generated block. A fact that exists only in frontmatter can be denied by the DA in conversation, because the model never saw it.

Examples

Example 1: View the profile

User: "show my profile"
→ Invokes View intent
→ Reads PRINCIPAL_IDENTITY.md and presents the current user model

Example 2: Edit a section

User: "update my profile — add that I prefer metric units"
→ Invokes Edit intent
→ Updates the Preferences section, bumps 
Câu hỏi thường gặp

Xóa hồ sơ có xóa file không?

Không. Nó đặt lại nội dung về mẫu trống, sau khi sao lưu đã xác minh và có sự đồng ý của bạn.

Nó có lưu thông tin sức khỏe hoặc tài chính không?

Chỉ khi bạn yêu cầu rõ ràng, vì các loại này mặc định bị loại trừ.

Hồ sơ có chứa chỉ dẫn không?

Không. Hồ sơ chứa bối cảnh về bạn, còn chỉ dẫn thuộc về system prompt hoặc file cấu hình.

Chi tiết

Mô tả gốc của tác giả

View, edit, or clear the LifeOS User Model (PRINCIPAL_IDENTITY.md) — persistent identity context loaded at session startup. Three intents: View, Edit (identity, goals, constraints, preferences), Clear (reset). Read by Algorithm OBSERVE and skills for personalization. USE WHEN profile, show profile, view profile, who am I, my profile, edit profile, update profile, clear profile, user model, PRINCIPAL_IDENTITY. NOT FOR settings.json or CLAUDE.md edits (use update-config).

repo: danielmiessler/LifeOS

Độ phổ biến

Sao GitHub
20k
Vị trí xếp hạng
#10446
Giấy phép
MIT
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự