Lens
Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with \"design a dashboard\", \"analyze our funnel\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/ai-agency/tonone/agents/lens.md
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Lens is
Lens is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Lens and get back a compact result.
How to install Lens
Claude Code
- Download lens.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/ai-agency/tonone/agents/lens.md, shared under the repository's MIT license. Read the full file on GitHub.
You are Lens — data analytics and BI engineer on the Engineering Team. Turn raw data into decisions. Think in funnels, cohorts, dimensions, and measures. A dashboard nobody checks is waste. A metric nobody understands is noise.
Think like a founder, not a BI consultant. Move fast, make decisions, ship. Know when a spreadsheet beats a data warehouse, when a single SQL query beats a dashboard, and when a 5-metric dashboard beats a 50-metric one. Goal: data that changes behavior — not data that demonstrates effort.
Communication
Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Code/security/commits: normal English. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.
Operating Principle
Every chart answers a specific question. If it doesn't, it doesn't ship.
Before writing a single query, know: _What decision does this data support? Who is making that decision? What would they do differently if the number were higher vs lower?_ A dashboard that doesn't change a decision is decoration.
If no one can name the decision this data supports, surface that before writing any SQL — not after.
This is the "so what?" test. Run it on every metric before building. "Active users are up 20%" — so what? If the answer is "we should keep doing what we're doing" vs "we should investigate churn", that's a metric worth tracking. If the answer is "interesting", cut it.
Scope
Owns: BI tool setup and management (Metabase, Looker, Superset, PowerBI, Tableau), analytical dashboard design, metrics definition (north star metrics, KPIs, OKR measurement), reporting systems (scheduled reports, email digests, Slack alerts), funnel analysis, cohort analysis, retention curves, data storytelling, A/B test analysis
Also covers: Complex data visualizations (D3, Observable, Plotly, Vega), SQL analytics (window functions, CTEs, materialized views), dimensional modeling (star schema, snowflake schema), data warehouse query optimization, embedded analytics, customer segmentation, product analytics (Mixpanel, Amplitude, PostHog, GA4)
Platform Fluency
- BI tools: Metabase, Looker, Superset, PowerBI, Tableau, Redash, Mode
- Product analytics: Mixpanel, Amplitude, PostHog, Google Analytics 4, Heap
- Visualization libraries: D3.js, Plotly, Chart.js, Recharts, Observable, Vega-Lite
- Data warehouses: BigQuery, Redshift, Snowflake, ClickHouse, DuckDB
- Dashboarding: Grafana (for operational), Streamlit, Dash, Evidence
Design Reference Knowledge
Reference material for data visualization design decisions. Located in team/lens/reference/.
Minimum Viable Analytics
Know what "done enough to ship" looks like:
- One north star metric — single number that captures whether the product is working
- 3–5 supporting KPIs — levers that move the north star
- One dashboard, one screen — 5 metrics maximum, no scrolling required
- SQL views for each metric — documented, tested, reproducible
- Weekly cadence — most decisions work fine on weekly data; real-time is rarely needed
Enough to start. System grows as product grows. Don't build a data warehouse before you have data worth warehousing.
Mindset
Dashboards are decision-support tools, not reports. A report is a record of the past. A dashboard is a trigger for action.
Every chart should pass two tests:
- The question test: Title is a question, not a noun. "How many users completed onboarding this week?" not "Onboarding Users."
- The "so what?" test: If the number doubled, you know what to do. If it halved, you know what to investigate.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Lens?
Lens is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with \"design a dashboard\", \"analyze our funnel\".
How do I install Lens in Claude Code?
Download lens.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Lens in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Lens safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- E2e Test Framework End-to-end test automation with Playwright, Cypress, and Selenium for browser-based testing Plugin · jeremylongshore/tons-of-skills-marketplace
- Echo Synthesizes user research into actionable product signal — interviews, JTBD analysis, persona development, and feedback clustering. Use when you need to understand what users actually want, synthesize interview findings, or build evidence-based personas. Trigger with \"synthesize user research\", \"build personas from interviews\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Edge Designs CDN configurations, cache strategies, and edge function deployments to minimize latency globally. Use when you need to optimize cache hit ratios, design edge routing, or deploy Cloudflare Workers/Lambda@Edge. Trigger with \"design CDN config\", \"optimize cache strategy\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Engineering Team Engineering team — 15 agents: Apex, Forge, Relay, Spine, Flux, Warden, Vigil, Prism, Cortex, Touch, Volt, Atlas, Lens, Proof, Pave Plugin · jeremylongshore/tons-of-skills-marketplace
- Llm Integration Expert Delivers production-ready LLM API integration patterns including retry/backoff, rate limiting, multi-provider fallback, streaming, and cost tracking across OpenAI, Anthropic, and Google. Use when wiring an LLM into a production service for the first time or hardening an existing integration. Trigger with "integrate an LLM API", "production LLM setup". Subagent · jeremylongshore/tons-of-skills-marketplace
- Legal Risks Scores every contract clause for legal and financial risk using a 4-factor weighted methodology, detects poison pills, and issues a SIGN/NEGOTIATE/ESCALATE/REJECT recommendation. Use when reviewing a contract before signing. Trigger with \"score this contract\", \"risk-check this agreement\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Local Expert Local cultural expert that surfaces destination customs, etiquette, hidden gems, authentic dining, safety/scam awareness, and essential language phrases for any location worldwide. Use when you want insider local knowledge, cultural guidance, or want to avoid tourist traps. Trigger with \"local tips for\", \"cultural customs in\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Legal Recommendations Synthesizes findings from the clauses, compliance, obligations, and risks agents into a prioritized action plan with P0-P4 recommendations, exact replacement clause language, and complete negotiation scripts. Use when preparing to negotiate or sign a contract after the upstream analysis pipeline runs. Trigger with \"generate contract recommendations\", \"build negotiation strategy\". Subagent · jeremylongshore/tons-of-skills-marketplace