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

querying-positron

Skill by artsy

Queries Positron's MongoDB database from natural language questions about articles, authors, channels and verticals. It runs the queries through a wrapper script, then presents, analyzes or transforms the results. Aimed at people who need Positron's actual data.

  • Score 72
  • 85 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install querying-positron

Built from the published package, never by AI.

git clone --depth 1 https://github.com/artsy/positron /tmp/positron && mkdir -p ~/.claude/skills && cp -r /tmp/positron/.claude/skills/querying-positron ~/.claude/skills/querying-positron

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

Step-by-step: install querying-positron in Claude Code

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

About

Querying Positron is an agent skill that turns plain language questions into MongoDB queries for Positron's database. It runs the queries through a wrapper script at scripts/exec.sh, which handles the connection and checks that mongosh is installed. The assistant then presents, analyzes or transforms the results.

The skill covers collections such as articles, authors, channels, curations, organizations, sections, sessions, tags, users and verticals. It includes rules for article data, such as treating the last entry in the slugs array as the canonical slug and joining author names through author_ids. It is intended for people who want to know Positron's actual data about articles, authors, channels and verticals.

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

What it can do

  • Count published articlesRuns counts, such as how many published articles exist.
  • Find articlesFinds articles by fields such as layout and sorts them by publish date.
  • Aggregation pipelinesGroups and counts results, for example published articles per layout value.
  • Author name lookupJoins articles to the authors collection using author_ids.
  • Article URL patternsBuilds public article, admin editing and artwork URLs when asked.
  • Collection inspectionShows document shapes by fetching the most recent documents from a collection.

What you need

  • mongosh installed
  • Access to Positron's Mongo cluster

Try asking

  • How many published articles are there in Positron?
  • Show the most recent published article where layout is video.
  • Count published articles for each layout value in Positron.

Good to know

  • Assumes articles are published unless the user says otherwise.
  • Partner-authored articles are a known issue and need a reference check first.
  • Does not use the --json flag because it often fails to serialize correctly.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/querying-positron/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(.claude/skills/querying-positron/scripts/exec.sh:*)

Alternatives to querying-positron

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

querying-positron: common questions

Which Positron collections can it query?

The source lists articles, authors, channels, curations, organizations, sections, sessions, tags, users and verticals. Most queries focus on articles.

How does it find article author names?

It uses an aggregation with $lookup on author_ids against the authors collection. The source says not to rely only on contributing_authors or author.name.

Does it require mongosh?

Yes. The wrapper script validates that mongosh is installed before running queries.

How do I install querying-positron?

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

Is querying-positron free?

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

Is querying-positron safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to querying-positron?

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

querying-positron Install

Add to stack

Loading.