Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

lens-report

Skill by jeremylongshore

Builds a reporting pipeline with scheduled SQL reports, Slack or email delivery, threshold alerts, and historical comparison. Aimed at data and BI teams that need recurring metric reports.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install lens-report

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/plugins/ai-agency/tonone/skills/lens-report ~/.claude/skills/lens-report

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install lens-report in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

lens-report is an agent skill that builds a reporting pipeline for metrics. It first scans the workspace for database configs, scheduling tools such as Airflow, Prefect, Dagster, GitHub Actions, cron or dbt, and Slack or SMTP settings. For each metric it writes SQL that returns the current value, the previous period, the absolute and percentage change, and threshold status.

The skill sets up a schedule with retry logic, a timeout and logging. It sends the report by Slack webhook or email, with a link to the full dashboard. It can also add separate threshold alerts with a cooldown period. The skill is intended for teams that want automated reports, scheduled reports, email digests or Slack alerts for metrics.

Written from the project's SKILL.md and checked against it.

What it can do

  • Metric SQL queriesWrites SQL for each metric with current value, previous period, change and threshold status.
  • Scheduling setupCreates a schedule using GitHub Actions, Airflow, Prefect, Dagster, cron or dbt plus a scheduler.
  • Slack and email deliveryFormats the report for a Slack webhook message or an HTML email table.
  • Threshold alertsAdds separate alerts for critical metrics with a threshold, channel and cooldown.
  • Historical comparisonCompares this week with last week and this month with last month.
  • Environment detectionScans the workspace for data sources, scheduling config and delivery channels before building.

What you need

  • Access to the data source the SQL queries run against
  • A Slack webhook URL or bot token, or email SMTP configuration
  • A scheduling tool such as GitHub Actions, Airflow, Prefect, Dagster, cron or dbt

Try asking

  • Build a weekly report of active users and revenue, delivered to Slack
  • Set up a scheduled email digest of key metrics with week-over-week change
  • Add Slack alerts when conversion drops below my target threshold

Good to know

  • Delivery channels described are Slack and email only.
  • Output over the 40-line CLI budget is sent to /atlas-report as an HTML report.
  • Slack or email credentials must be set up by the user before delivery works.

Security check

B
  • Allowed to use Write, Edit, Bash without limitsIn SKILL.md

Checked automatically: plugins/ai-agency/tonone/skills/lens-report/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBashGlobGrepWebFetchWebSearchTaskTodoWriteAskUserQuestion

  • .claude-plugin/plugin.json531 B
  • SKILL.md5 KB

Alternatives to lens-report

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

lens-report: common questions

What does each metric query return?

Each query returns the current value, the previous period value, the absolute and percentage change, and whether the metric is above or below target.

How can the reports be scheduled?

The skill can use GitHub Actions, Airflow, Prefect, Dagster, simple cron, or dbt followed by a scheduler, chosen based on what it finds in the workspace.

Where can reports be delivered?

Reports can be delivered to a Slack webhook or by email, and alerts can go to Slack DMs, channel mentions or PagerDuty for critical items.

How do I install lens-report?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is lens-report free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is lens-report safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.

What are alternatives to lens-report?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

lens-report Install

Add to stack

Loading.