thinking-lenses

Route prompts through reasoning lenses and generate compact execution-ready prompts.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Ocean326/Agents --skill thinking-lenses
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: thinking-lenses
Source: https://github.com/Ocean326/Agents/tree/main/skills/global/thinking-lenses
Command: npx skills add https://github.com/Ocean326/Agents --skill thinking-lenses

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Optimizes prompts by routing requests into inline-lite, inline-structured, or pre-optimizer modes, then rewrites them using one primary reasoning lens plus one supporting lens to improve clarity, goal alignment, and risk management before execution.

Core Features & Use Cases

  • Lens routing: automatically pick the most appropriate delivery mode for a given task to balance speed and quality.
  • Dual-lens rewriting: apply a primary reasoning lens and one supporting lens to produce a compact, actionable prompt.
  • Trigger-driven workflows: handle prompts flagged as underspecified, repetitive, or high-risk for tighter constraints and evaluation criteria.

Quick Start

Choose the primary and supporting lenses for the given task and return a compact, execution-ready prompt.

Frequently Asked Questions about thinking-lenses

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize a prompt for better clarity and outcome quality?

To optimize a prompt, you can route it through reasoning lenses that rewrite the request with explicit goals, constraints, and evaluation criteria. This ensures a single primary lens and one supporting lens are selected to produce a compact, execution-ready prompt.

What is the best way to handle high-risk or high-cost prompts?

High-risk or high-cost prompts are best handled using a pre-optimizer lens mode. This approach applies tighter constraints and evaluation criteria before execution to improve goal alignment and risk management.

How do I choose between inline-lite and inline-structured prompt routing?

Choose inline-lite for simple prompts to balance speed, and inline-structured for recurring tasks. Lens routing automatically selects the appropriate delivery mode based on task complexity and ambiguity.

Can I apply multiple reasoning lenses to a single prompt request?

Yes, you can apply a dual-lens rewriting strategy by selecting a single primary reasoning lens and one supporting lens. This combination produces a compact, actionable prompt while maintaining clear goal alignment.

Why does my underspecified prompt produce poor generation results?

Underspecified prompts often yield poor results due to lacking constraints and evaluation criteria. Using trigger-driven workflows with lens-based routing rewrites these prompts to add tighter constraints and explicit goals before execution.