Lensのロゴ

Lens

コミュニティ
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

概要

公開者agentsope
リポジトリSkillAlchemy
スキル名Lens
スター
445
フォーク
27
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    agentsopeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Lens」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/agentsope/SkillAlchemy/tree/master/skills/Lens
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでLensを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にLensを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Lensは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでLensを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Lensはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLensをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/agentsope/SkillAlchemy/tree/master/skills/Lensを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Lensを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Lensで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLensを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Lens」は無料ですか?

はい。agentsopeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇