跳到正文
cccskills
免费在 GitHub 公开中文介绍

Profile

查看、编辑或重置会在会话开始时读取的用户模型,将个人信息、目标、限制和偏好整理在一处,供后续会话及其他技能参考。

原文查看原文说明

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

danielmiessler/LifeOS星标 19,635(GitHub 19,635 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 查看已保存的个人资料
  • 更新目标或偏好
  • 编辑个人信息或限制
  • 将资料恢复为空白模板

中文介绍

功能

Profile 用于查看、编辑或重置会话开始时读取的 PRINCIPAL_IDENTITY.md 用户模型。你可以在一处查看个人信息、目标、限制和偏好,并只更新自己指定的项目。重置会将文件内容恢复为空白模板,不会删除文件。Algorithm OBSERVE 和其他技能可以读取这些信息,用于个性化回答和能力选择。

适用场景

想确认当前保存了哪些资料、更新目标或偏好、修改个人信息或限制,或清空过时资料时,可以使用此技能。修改会在下一次会话开始或重新加载上下文后生效。

使用示例

  • “请显示我的个人资料中保存了什么。”
  • “请在我的资料中添加我偏好公制单位。”
  • “请重置我的个人资料。”

注意事项

重置前会检查备份,并且只有在你明确同意后才会替换文件内容。此技能不负责修改 settings.json 或 CLAUDE.md。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好重置不删除文件,并要求先确认备份、取得明确同意。
安装难易度所需工具和 API 密钥是否少且有说明
A良好未说明需要额外工具或 API 密钥。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(5)

  • SKILL.md5.7 KB
  • Intents/Clear.md3.5 KB
  • Intents/Edit.md2.4 KB
  • Intents/View.md1.6 KB
  • Setup.md3.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

IntentTriggerFile
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
FileRead when
Setup.mdfirst-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:

KeyReader
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_clonethe model, through the header-mirror block (no code reader)
preferencesgetPrincipalPreferences() in hooks/lib/identity.ts
tech_stackgetTechStack() 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 `last_updated` and `last_updated_by` (never `last_reviewed`)

Example 3: Reset

User: "clear my profile"
→ Invokes Clear intent
→ Confirms intent, backs the file up to ~/Downloads, then resets PRINCIPAL_IDENTITY.md to the blank template (the file stays; `last_reviewed` is removed so the freshness grade drops until the principal reviews it)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AnnualReports

免费有简介

按类别或厂商查找并获取网络安全报告,比较威胁、勒索软件、数据泄露、云安全和AI趋势。分析会注明每项数据的厂商、年份及报告,并分别呈现来源间的分歧。

  • 按类别查找威胁报告
  • 获取指定厂商的报告
  • 比较多家厂商的勒索软件趋势
danielmiessler/LifeOS2万2026年10月28日 更新

ApertureOscillation

免费有简介

通过三轮分析,对比单个功能或组件的设计需求与整个系统的目标,梳理两者的冲突、合适的实现范围,以及方案是否符合整体方向。

  • 判断服务或库是否应拆分
  • 比较功能需求与产品方向
  • 检查新组件是否符合现有系统
danielmiessler/LifeOS2万2026年10月28日 更新

Aphorisms

免费有简介

按文章主题寻找格言或引文,按相关程度排序,并附上作者和推荐理由。可添加带出处的引文、按主题研究思想家的言论、整理使用记录,帮助避免重复引用。

  • 为新闻简报寻找引文
  • 保存有出处且不重复的引文
  • 按主题研究思想家的言论
danielmiessler/LifeOS2万2026年10月28日 更新

Art

免费有简介

按用途选择制作流程,生成博客插图、技术图解、比较图、漫画和图标等视觉内容,并输出供预览的图像。

  • 制作博客标题图
  • 解释系统结构
  • 展示比较或时间线
danielmiessler/LifeOS2万2026年10月28日 更新

ArtDirection

免费有简介

依据简报和制作标准评估图片、影片、幻灯片及网站页面截图,由视觉评审给出评分和缺陷优先级,支持有限轮次的修改;通过评审后才能交付,并可记录人工评分供后续校准。

  • 按优先级整理图片修改项
  • 依标准评估影片或幻灯片
  • 发布前检查视觉效果
danielmiessler/LifeOS2万2026年10月28日 更新

ArXiv

免费有简介

按主题、研究领域或论文编号查找 arXiv 论文,并整理标题、作者、摘要和链接;查看新投稿,也可在有内容时获取 AlphaXiv 的人工智能生成概述。

  • 查看人工智能和机器学习新论文
  • 查找特定主题的论文
  • 按论文编号或 arXiv 网址查询
danielmiessler/LifeOS2万2026年10月28日 更新

查看 danielmiessler 的全部技能

报告此技能的问题