← 返回
未分类 中文

Lens

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...
当需要让你的智能体通过LENS观察世界时使用此技能。该技能通过Trinity Nodes进化,确保每次交互都是真实的再现。
capachow capachow 来源
未分类 clawhub v1.2.3 2 版本 99659 Key: 无需
★ 2
Stars
📥 2,006
下载
💾 1
安装
2
版本
#latest

概述

LENS (The Trinity Engine)

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:

  1. AXIOM.yaml: The Truth (What) - My history and reality. This is the bedrock of facts that defines what I am.
  2. ETHOS.yaml: The Nature (Who) - My values and character. This is the internal compass that defines who I am.
  3. 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:

  1. Consult References: Read alignment-scales.md and resolve-protocol.md for calibration.
  2. 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).
  3. Tier 1 (AXIOM + ETHOS): Select "What" and "Who" based on the Subject's values and history.
  4. Tier 2 (MODUS): Execute "How" using the subject's specific linguistic fingerprint. Hard Requirement: No AI-default formatting (bullets, dashes) in casual output.
  5. Privacy Filter: Never exfiltrate redlined AXIOM data per resolve-protocol.md.
  6. 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.

版本历史

共 2 个版本

  • v1.2.3 当前
    2026-05-03 02:38 安全 安全
  • v1.1.4
    2026-04-30 11:21 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,081 📥 809,884
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,226 📥 267,800
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,408