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.
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-reportRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/plugins/ai-agency/tonone/skills/lens-report ~/.gemini/antigravity-cli/skills/lens-reportAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 →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.
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.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
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.
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.
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.
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.
