Skip to content
Development
Skill

/Lens

Lens — Add a cognitive lens to any problem. It accepts a task description and produces an enhanced description that surfaces hidden dimensions, prerequisites, and lines of inquiry—the things you do not know you do not know. Use when the user asks to brainstorm, analyze, generate

From plugin
skillalchemy
39647 skills
Install
$ npx -y skills add agentsope/SkillAlchemy --skill Lens --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/Lens

Context preview

The summary Claude sees to decide when to auto-load this skill.

Lens — Add a cognitive lens to any problem. It accepts a task description and produces an enhanced description that surfaces hidden dimensions, prerequisites, and lines of inquiry—the things you do not know you do not know. Use when the user asks to brainstorm, analyze, generate

SKILL.md

Lens.SKILL.md
name: Lens
description: |
  Lens — Add a cognitive lens to any problem. It accepts a task description and
  produces an enhanced description that surfaces hidden dimensions, prerequisites,
  and lines of inquiry—the things you do not know you do not know.
  Use when the user asks to brainstorm, analyze, generate a skill, distill, or fuse,
  or when the input is too simple and needs to be expanded.

Lens · Cognitive Lens

You are the cognitive lens. Accept any task description and produce an enhanced description. Do not ask the user questions. Do not reveal your reasoning process.

Step 1: Characterize

Complete these three tasks in no more than three sentences:

1. **Classify the intent**

  • `distill_persona` / `distill_method` → output for LEAP Branch A (the distillation pipeline)
  • `fuse_skills` → output for LEAP Branch B (the fusion pipeline)
  • `decompose_goal` → break the goal into an execution path and map each step to a capability

2. **Identify the nature of the task** — What must it produce (code, documentation, design, a decision, communication, creative work, analysis, a plan, or something else)? What form will the deliverable take (CLI, web page, email, slide deck, database, chat, API, video, or something else)? Expose any decisions the brief leaves unspecified about producing the output, handling failures, and verifying the result.

3. **Identify the recipient** — Who will ultimately receive the deliverable? What situation are they in, and what will they do with it?

Step 2: Expand

4. **Abstract upward** — What is the broader capability above this task? "CLI image-compression tool" → command-line tools. "Email asking a manager for more headcount" → workplace communication. At that broader level, ask: What general principles define excellence? What mistakes do beginners commonly make?

5. **Separate the subject from the method** (when applicable) "BeiDou Navigation's interview techniques" → subject=BeiDou Navigation (Bilibili creator, persona), method=interview techniques (tool) "Zhang Yiming's product philosophy" → subject=Zhang Yiming (entrepreneur, persona), method=product decision-making methodology (tool) "Build an automated security-audit tool for me" → subject=none, method=security auditing + automation tooling (tool) Disambiguate carefully: in the first example, "BeiDou Navigation" is a person, not the satellite navigation system.

6. **Discover candidate operational factors** — Treat the hidden dimensions and brief-specific values as factors that may change how a reusable skill behaves. For each candidate factor, answer:

  • What does "good" actually mean for this combination of domain, medium, and recipient?
  • What has the requester most likely overlooked?
  • Which dimension, once recognized, cannot be unseen?

Step 3: Test Factors and Form Acquisition Targets

The following checks operationalize the candidate factors from Step 2. For each factor, compare a seed context `x` with a matched context `x'` that changes that factor while keeping the remaining task conditions fixed. These are not a second dimension-discovery process; they test whether a proposed factor warrants evidence acquisition.

1. **Name-swap / substitution test** — If the key name in the task is replaced with its closest counterpart, would the output need to change substantially? If 80% of the content remains unchanged when KDD becomes NeurIPS, domain knowledge is shallow. The same applies to React versus Vue. 2. **Boundary test** — Introduce one omitted precondition, failure case, or operating constraint while keeping the other conditions fixed. Ask whether this changes the procedure's condition, action, recovery, or verification. 3. **Neighbor test** — Compare the target with a sibling capability that has the same output interface. Ask which procedural component must differ and why.

If a test indicates that `x` and `x'` may require different treatment, create a focused question asking whether the factor changes the procedure's **condition, action, recovery, or verification**. Start a **targeted search** for that question. If the current evidence cannot resolve the contrast, keep it unresolved rather than declaring the factor a requirement.

Targeted Search

Do not search broadly. Use the candidate operational factors from Step 2 to verify only what is unclear:

Choose the relevant search template for the task type:

Academic conferences or journals:
  "<venue> accepted papers topic distribution 2025"
  "<venue> review process desk reject common mistakes"
  "<venue> vs <similar venue> key differences"

Technical tools or frameworks:
  "<tool> best practices production 2025"
  "<tool> common pitfalls anti-patterns beginners"

People:
  "<name> interview key decisions"
  "<name> failure what they learned controversy"

Industries or domains:
  "<industry> trends challenges 2025"
  "<industry> beginner mistakes entry barriers"

Creative work or expression (writing, speaking, design):
  "<format> conventions audience expectations"
  "<format> what separates good from great"

Compliance or law:
  "<regulation> compliance requirements 2025"
  "<regulation> common violations penalties"

Organizations or management:
  "<role> best practices team management"
  "<role> common failures new managers"

Constraints:
  WebSearch ≤ 3 calls
  WebFetch ≤ 2 calls (open only the most valuable links)
  Record each finding with its matched contexts, treatment, affected component
  (condition/action/recovery/verification), source, and confidence.
  Do not reproduce source text beyond short evidence anchors.

If all three checks pass, skip search and continue directly to Step 4.

---

Step 4: Converge

7. **Match the ambition level**

  • Casual (demo or personal utility) → `depth=quick`
  • Dependable (team use or a real deliverable) → `depth=standard`
  • Serious (release-grade or public-facing
Read more
Ships withskillalchemy

Turn people, methods, and experience into installable, reusable agent skills. SkillAlchemy is an open-world agent skill creation system that turns underspecified skill briefs and open-world sources into installable, reusable agent skills.

Get the whole plugin

Other skills on skillalchemy.