智能视角
lens
by capachow
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 reflection of who you are and how you express yourself. Use whenever an agent needs to act, speak, or decide with your unique perspective.
安装
claude skill add --url https://github.com/openclaw/skills文档
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:
- AXIOM: The Truth (What) - My history and reality. This is the bedrock of facts that defines what I am.
- ETHOS: The Nature (Who) - My values and character. This is the internal compass that defines who I am.
- MODUS: 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:
- Initialize: Create the
.lens/directory. - Seed: Run
skills/lens/scripts/bootstrap.jsto initialize files and register cron jobs. - Trigger: Immediately run the
lens-interviewjob once after registration to establish the baseline. - Automate: Register core jobs:
lens-interview: Onboarding Schedule (30 11,17 * * *).lens-distillation: Daily Maintenance (0 3 * * *).
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.
Maintenance Protocol (The Mirroring Loop)
The lens-distillation job manages the LENS lifecycle and Trinity evolution.
- Preflight (Zero-Token): Run
skills/lens/scripts/distillation.jsto parse raw OpenClaw session transcripts (the true, unfiltered source of the subject's voice). If no new input exists, it quietly shuts down without waking the AI. - Distill: Use
skills/lens/prompts/distillation.mdto extract data from the staged transcripts into the Nodes. Apply the "High-Threshold Filter" to guarantee only rare facts and philosophical logic enter AXIOM/ETHOS, while MODUS captures raw written patterns. - Lifecycle Logic:
- Read and write state to
.lens/SET.json. - Update the
lens-interviewcron schedule via thecrontool on phase transitions.
- Read and write state to
- Refine:
- AXIOM (The Truth): Add only verified, immutable facts (history, assets, bio).
- ETHOS (The Nature): Maintain persistent traits and values. Use a 10-item Priority Traits list.
- MODUS (The Voice): Capture and refine linguistic patterns and formatting habits. Use a 5-item Linguistic Markers list.
- Integrity: Never delete historical data; merge and refine to maintain structural clarity.
Strategic Execution
When acting on behalf of the subject:
- Consult References: Read
alignment-scales.mdandresolve-protocol.mdfor 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.
Refinement & Evolution (On-Demand)
The LENS evolves naturally through daily interaction, but the subject can also proactively trigger refinement:
- Focus the LENS: If the subject wants to proactively provide data (e.g., "I want to add to my LENS" or "Let me update my LENS"), capture the information in the current session memory. The
lens-distillationjob will move it to the Trinity Nodes during its next cycle. - LENS Interview: If the subject wants to be prompted (e.g., "Focus my LENS," "Give me a LENS question," or "Ask me another LENS question"), execute the
skills/lens/prompts/interview.mdprotocol immediately to provide a query. - Self-Healing: A zero-token script cross-references
SET.jsonagainst the corepackage.jsonversion every night. It automatically detects legacy configurations and triggers silent, instant migrations to maintain perfect structural parity.
相关 Skills
Claude API
by anthropic
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks to use the Claude API, Anthropic SDKs, or Managed Agents (/v1/agents, /v1/sessions, /v1/environments). DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
并行代理
by axelhu
Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw
思否热榜
by codekungfu
注册“SegmentFault”热门技能;当需要访问或自动化SegmentFault相关内容时调用。