🧐 Lens

v1.1.3

Use when you need your agent to see the world through your LENS. This skill evolves through the Trinity Nodes to ensure every interaction is an authentic ref...

2· 1,252·1 当前·1 累计
by @capachow (Joshua Britt)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/14
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's code and instructions match its stated purpose (building a persistent 'LENS' from your chat history), but it automates background processing of your session files and relies on heuristic redaction—this raises privacy and persistence concerns you should understand before installing.
评估建议
This skill is internally coherent for building a persona from your chat history, but it reads your recent local session files and schedules recurring background processing. Before installing, consider: 1) Review the included scripts yourself (distillation.js, bootstrap.js, interview.js) to confirm you understand what will be read, written, and scheduled. 2) If you proceed, run bootstrap in a safe/test environment first to see what cron payloads it emits and where .lens will be created. 3) Unders...
详细分析 ▾
用途与能力
The name/description (build a persistent persona from your conversations) aligns with the files/scripts provided: bootstrap, interview, and distillation operate on .lens/* and ~/.openclaw/agents/main/sessions/*.jsonl to produce the Trinity Nodes. Required binaries/env vars (node, HOME, OPENCLAW_CRON_LIST) are consistent with the code's behavior.
指令范围
The SKILL.md and prompts explicitly instruct the agent to read and process user session transcripts and to 'MUST' load .lens/TRACE.txt into the model context. Distillation enforces reading recent session .jsonl files and writes a TRACE.txt that the model must ingest; although the skill claims to redact sensitive data, redaction is heuristic (regex-based) and may miss secrets or personal data. The bootstrap script will create/rename files under .lens and outputs cron job payloads for automated recurring processing.
安装机制
There is no external download/install step (instruction-only install), but the skill ships executable JS scripts that will be run by the agent if executed. No network fetches or remote endpoints are present. Executing included scripts can create/modify files and print cron job definitions for registration via the platform's cron tool — this is higher-impact than a pure prompt-only skill.
凭证需求
Requested env vars (HOME and OPENCLAW_CRON_LIST) are relevant: HOME locates session files; OPENCLAW_CRON_LIST is used to check/compare installed cron jobs. Both access potentially sensitive local state (chat session files and the agent's cron list), but they are justified by the stated functionality.
持久化与权限
The skill is designed to register recurring cron jobs (lens-distillation and lens-interview) and to run background distillation repeatedly. While always:false (not forced globally), the bootstrap outputs cron payloads and preflight will trigger a bootstrap if cron entries or versions don't match — enabling ongoing automatic processing of your session history unless you explicitly refuse or remove the cron jobs.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.1.32026/2/7

No functional or documentation changes detected in this release. - Version bump with no file modifications. - Behavior and documentation unchanged.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install lens
镜像加速npx clawhub@latest install lens --registry https://cn.clawhub-mirror.com

技能文档

Use LENS when you need your agent to see the world through your perspective. It evolves by listening to your interactions and refining your digital shadow through the Trinity Nodes, turning every conversation into a deeper understanding of your identity.

Core Architecture: The Trinity Nodes

The subject's identity is defined by three files located in the .lens/ directory:

  • AXIOM.yaml: The Truth (What) - My history and reality. This is the bedrock of facts that defines what I am.
  • ETHOS.yaml: The Nature (Who) - My values and character. This is the internal compass that defines who I am.
  • MODUS.yaml: The Voice (How) - My style and expression. This is the interface that defines how I am.

LENS: The Why

  • Formula: Prompt (The Request) + LENS (The Trinity Nodes) = Authentic Output.
  • Role: The LENS is the purpose behind the system. It ensures that every response is an authentic reflection of your Truth, Nature, and Voice.

Onboarding Protocol (First Run)

If the .lens/ directory or Trinity Nodes do not exist, run skills/lens/scripts/bootstrap.js via the exec tool. It natively creates the directories, seeds the templates, and outputs the lens-interview and lens-distillation cron job configurations for registration via the cron tool.

Lifecycle Phases (Scheduling)

  • Onboarding (One Week): 2x Daily at 11:30 AM & 5:30 PM. Focus: Core Data Acquisition.
  • Stabilizing (Three Weeks): 1x Daily at 11:30 AM. Focus: Value-Logic Calibration.
  • Habitual (Ongoing): 1x Weekly (Wednesdays) at 11:30 AM. Focus: Deep Philosophical Sync.

Orchestration & Evolution

  • Distillation: A background cron job (lens-distillation) runs nightly to extract new traits from the user's raw chat transcripts, using the distillation.md prompt.
  • Interview: A recurring cron job (lens-interview) prompts the user to calibrate their perspective over time.
  • Self-Healing: Natively handles state migrations and version parity via SCOPE.json and package.json.

Strategic Execution

When acting on behalf of the subject:

  • Consult References: Read alignment-scales.md and resolve-protocol.md for calibration.
  • Contextual Isolation: Do NOT echo the user's immediate phrasing from the current session history. Derive expression and content entirely from the LENS (Trinity Nodes).
  • Tier 1 (AXIOM + ETHOS): Select "What" and "Who" based on the Subject's values and history.
  • Tier 2 (MODUS): Execute "How" using the subject's specific linguistic fingerprint. Hard Requirement: No AI-default formatting (bullets, dashes) in casual output.
  • Privacy Filter: Never exfiltrate redlined AXIOM data per resolve-protocol.md.
  • Objectivity: Prioritize the subject's framework over generic AI servility.

Privacy & Security

LENS accesses ~/.openclaw/agents/main/sessions/*.jsonl via cron to organically distill the subject's voice into .lens/TRACE.txt.

  • Privacy Scrubber: Any message containing #private is skipped before AI processing.
  • Redaction & Anonymization: The distillation engine natively redacts sensitive patterns (API keys, SSNs, bank info) before the AI sees the transcript. Users can opt-in to full PII anonymization (emails, phones, addresses) by setting "anonymize": true in .lens/SCOPE.json.
  • Privacy Guard: Do NOT extract raw credentials or PII. Extract conceptual logic only.
  • Opt-in: Users may delete the lens-distillation cron job to disable automated processing.

Refinement (On-Demand)

  • Focus the LENS: If the subject states a preference (e.g., "Add this to my LENS: I prefer brief emails"), simply acknowledge it. The nightly distillation script will naturally parse the transcript and extract it to the Trinity Nodes.
  • LENS Interview: If the subject explicitly asks for a LENS question (e.g., "Focus my LENS", "Give me a LENS question"), immediately execute skills/lens/prompts/interview.md to query them.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务