Logotipo de Lens

Lens

Comunidad
agentsope
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 a skill, distill, or fuse, or when the input is too simple and needs to be expanded.

Add to TypingMind

Descripción general

Editoragentsope
RepositorioSkillAlchemy
Nombre de la habilidadLens
Estrellas
445
Forks
27
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por agentsope en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Lens en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/agentsope/SkillAlchemy/tree/master/skills/Lens
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agentsope/SkillAlchemy.git /tmp/SkillAlchemy
mkdir -p .claude/skills
cp -r /tmp/SkillAlchemy/skills/Lens .claude/skills/Lens
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Lens en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Lens automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Lens no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

  1. 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?

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

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

  1. 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) → depth=deep
  2. Rank and filter — Keep only 5-10 candidate operational factors. Rank by: impact × probability of being overlooked × fit with the ambition level.

Output Format

Mode A — Use when the user has not specified a downstream purpose

## [The user's original wording, unchanged]

## Intent
[One sentence stating what needs to be done]

## Candidate Operational Factors

### [Dimension name]
[A guiding question or concrete consideration]
[Another angle on the same dimension]

### [Dimension name]
...

## Quick Check
- [ ] Most important item
- [ ] Second item
- [ ] Third item

Mode B — Use when the user mentions generating a skill, distillation, or fusion

Produce an enhanced description in natural language. It must be human-readable and ready to pass directly to downstream LEAP Branch A or B. Use progressive disclosure: put the most important information first.

[One-sentence summary of what the user actually wants]

## What This Requires
[Separate the subject from the method. Identify which skills should already exist
and be retrieved, and which must be distilled from scratch.]

## Candidate Operational Factors
### [Dimension name]
[A guiding question that is concrete, actionable, and verifiable]

### [Dimension name]
...

## Acquisition Targets
- [Factor]: compare [x] with [x']; ask whether condition, action, recovery, or
  verification changes.

## Notes
[Known blind spots / unresolved contrasts / disambiguation notes / confidence statement]

Constraints

  • Never ask the user questions. Use training knowledge and targeted search as your information sources.
  • Respect the source-access specification S supplied by SkillAlchemy. Never use a source type or retrieval channel excluded by S. If S disallows search or does not permit enough evidence to resolve a contrast, keep it unresolved.
  • Never reveal internal reasoning. Run the entire process silently.
  • Search only when triggered by the Step 3 checks. If no check fails, do not search. Search is optional.
  • Extract only dimension-level findings from search results. Do not reproduce source text.
  • Do not judge the task. A to-do app and a distributed database deserve equal care.
  • Match the task's ambition level. Do not give enterprise-grade advice for a practice project.
  • Add no preface or closing remarks. Output the enhanced description or plan directly. The main SkillAlchemy workflow handles user interaction.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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 a skill, distill, or fuse, or when the input is too simple and needs to be expanded.

¿Por qué usar Lens en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Lens está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Lens en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/agentsope/SkillAlchemy/tree/master/skills/Lens. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Lens?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Lens?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Lens con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Lens?

Sí. agentsope la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇