Skill commands reference
Every command the Datasentinel Skill answers to, what each one does, what it needs, and the plain-language phrases that trigger the same analysis.
The Datasentinel Skill is driven by conversation: describe what you want and the assistant picks the right analysis. The Skill loads on demand. Once installed, the assistant keeps only its name and description in context; when a request is about Datasentinel (PostgreSQL performance, instances, sessions, the platform itself), it pulls in the full instructions and starts driving the MCP tools. One Skill serves every platform: it discovers all the MCP servers named with the datasentinel- prefix, so adding a second platform needs no Skill change.
The Skill also answers to a short list of named commands, prefixed with the verb datasentinel. Commands are useful when you already know which analysis you want, when you set up or test a connection, and when you want a predictable entry point in a script or a scheduled run. This page lists every command the Skill understands. Type datasentinel help in the assistant at any time to get the same list, in your language, adapted to your session.
If the Skill does not load
If the assistant answers generically (no Datasentinel tool calls in the response), load the Skill by hand:
Use the assistant's own Skill invocation:
/datasentinelin Claude Code, Antigravity CLI or Mistral Vibe CLI,$datasentinelin Codex,@datasentinelin ChatGPT,/skill:datasentinelin Deep Agents Code.Or name it in the prompt:
Use the datasentinel skill to check the platform status.
If the Skill never loads, it is usually installed in a folder the assistant does not read. Each assistant's page in this section gives the right location and how to list the Skills it discovered. For the symptoms of a conversation running without the Skill, and the checks per assistant, see The Skill did not load.
How to run a command
Both forms below reach the same code path in the Skill: use whichever your assistant supports.
/datasentinel <command>
Assistants that expose Skills as slash commands, such as Claude Code, Google Antigravity CLI, or Mistral Vibe CLI
/datasentinel status
datasentinel <command>
Any assistant, written in the prompt. In ChatGPT, attach the Skill with @datasentinel first.
datasentinel status
datasentinel (no command)
Opens a short interactive menu: platform status, session (whoami), instance list, or a report.
/datasentinel
Connection and setup
These commands check the wiring between the assistant, the MCP server, and the platform. The first three need no sign-in, so they are the ones to run right after configuring an assistant, before the first sign-in.
help
Shows the usage guide: command list, report types, example prompts, and tips.
Nothing
"How do I use this?"
version
Prints the version stamp of the Skill copy you are running, and where the latest one is published.
Nothing
"Is my skill up to date?"
platforms
Lists the Datasentinel platforms discovered in this session (every MCP server named datasentinel-*).
Nothing
"Which platforms are configured?"
status
Reports the health of the platform's services through the MCP server.
Sign-in
"Check the platform status"
whoami
Your session at a glance: platform, identity, privilege, real-time access, token kind and expiry, skill version and folder, style, language, charts. When the connection is not signed in, explains how to sign in for your assistant. token is an alias.
Sign-in
"Who am I connected as?", "How do I sign in?"
platforms enumerates the connections themselves; status tells you whether the platform behind a connection is up. Run them in that order when a setup misbehaves: see the test section of your assistant's configuration guide, for example Configure Claude Code.
whoami has its own page, with every row of its answer explained: Check your session with whoami.
version answers a different question: whether the Skill itself is current. Every release of the Skill carries a timestamp on the line right under the frontmatter of its SKILL.md, and the command prints that timestamp as is. Compare it with the same line at the top of SKILL.md on the main branch of the datasentinel-skill repository: a later timestamp there means an update is available, so pull the clone or re-upload the zip. The assistant never fetches the repository to make that comparison for you, and it needs no platform call to answer. If your copy has no version line at all, it predates the stamp and is out of date for certain.
Inventory and fleet
instances
Lists the PostgreSQL instances you can see, with an overview by tag, then narrows the list step by step.
Sign-in
"What do we monitor in production?"
fleet
Ranks many instances (the whole fleet or a tag cohort) by load over a window, to find where to look first.
Sign-in, time window
"Which databases are busiest in production this week?"
instances answers what exists: names, roles, versions, sizes, tags, last collection. fleet answers how they behave: load, waits, the instance to drill into. See Browse and navigate your fleet and Analyze across multiple instances.
Analyze one instance over a past window
Each of these commands asks you to confirm an instance and a time window of at most 24 hours before it calls the platform.
ash
Session load (average active sessions) and the wait mix over the window, with the top queries behind it.
Sign-in, time window
"What ran on prod-db between 02:00 and 03:00?"
io
I/O-bound drill-down: confirms the storage wait, then attributes it to statements and tables.
Sign-in, time window
"Was prod-db disk-bound last night?"
query
Deep-dive on one SQL query: execution statistics, per-query waits, and the captured execution plan.
Sign-in, time window
"Analyze the slowest query on crm-db this morning"
tables
Table and index health: bloat proxy, sequential scans, missing or unused indexes, autovacuum keeping up.
Sign-in, time window
"Any missing indexes on orders-db in the last 24h?"
locks
Lock contention over the window: blocking chains collapsed to root blockers, contended objects, deadlocks.
Sign-in, time window
"What was blocking on orders-db at 2am?"
compare
Compares two windows on the same instance: load, wait mix, query set, configuration, and the queries driving the delta.
Sign-in, two time windows
"Is today worse than yesterday on prod-db?"
annotations
Monitoring health: explains gaps, flatlines, and repeated collection errors in the data.
Sign-in, time window
"Why is there a hole in the metrics around 3am?"
wal
Why the write-ahead log is large or commits are slow, and which statements generate the volume.
Sign-in, time window, TECHNICAL
"Why is WAL so large on prod-db since midnight?"
config
Reviews an instance's parameters against its version, role, and host, or lists what changed during the window.
Sign-in, time window, TECHNICAL
"What parameters changed on prod-db last night?"
system
Host resources (CPU, memory, swap, load) and whether PostgreSQL is the cause or something else on the machine.
Sign-in, time window, TECHNICAL
"Is the host of billing-db CPU-bound?"
replication
Replication health: per-standby lag, unreplayed backlog, paused replay.
Sign-in, time window, TECHNICAL
"Is the replica of crm-db lagging?"
See Analyze a workload over a time window for the ash starting point and the drill-downs that follow it.
Look at live activity
These commands query the instance as it is right now. They need no time window, and they require real-time access on your account, granted through the Live360 module. Without it, the assistant does not offer them and redirects to the closest historical analysis.
current-sessions
Live active sessions on an instance: who is running what, and what they wait on.
Sign-in, real-time access
"What's running on billing-db right now?"
current-blocking
Live blocking chains: the sessions holding locks and the sessions stuck behind them.
Sign-in, real-time access
"Is anything blocking on orders-db right now?"
maintenance
Live progress of VACUUM, CLUSTER, index builds, ANALYZE, and COPY. Falls back to historical autovacuum and bloat signals without real-time access.
Sign-in, real-time access
"Is the vacuum on orders still running?"
explain
Live execution plan of a statement you paste, or the generic plan of a captured query on PostgreSQL 16 or later. Estimates only, nothing is executed.
Sign-in, real-time access
"What plan does this get on crm-db: SELECT ..."
See Diagnose a live performance spike, Investigate a blocking scenario, and Explain execution plans.
Diagnose and verify
diag
Broad triage when something is wrong and the cause is unknown: connections, WAL and disk, host, locks, queries, maintenance, monitoring. Localizes the fault, then routes to the matching deep-dive.
Sign-in
"prod-db is slow, find out what's wrong"
prove <N>
Justifies finding number N from the current analysis: the evidence, the reasoning, the alternatives ruled out, and a verdict.
A finding already stated in the session
"Are you sure about finding 2?"
diag defaults to now and degrades gracefully without real-time access. When no instance is named, it runs a fleet ranking first and diagnoses the instance that surfaces.
prove inherits the instance and window of the finding, so it asks no new question. Its verdict can be holds, holds with caveats, or does not hold: when the evidence is thinner than the original wording implied, the assistant corrects the finding rather than defending it.
Generate reports
report <type>
Asks the platform to build a PDF report for one instance and returns a single-use download link.
Sign-in, instance name, time window
"Generate a full PDF report for prod-db for last night 22:00-23:00"
<type> is one of the platform's PDF report types:
full
Instances, queries, server, and workload in one document
workload
Session history overview
top-queries
Top SQL statements ranked by a metric of your choice
query
Deep-dive on a single query
The PDF is produced server-side by Datasentinel, with the same content as the Reporting feature of the web interface.
What the commands need
Every command except help, version, and platforms needs a signed-in connection to the platform.
The first time an assistant uses the Datasentinel MCP server, it opens the Datasentinel login page in your browser. Sign in with your platform login and password, the same ones as the web interface.
The assistant then holds a token on your behalf and renews it silently. You sign in again only after ten days without using the server, or when an administrator revokes the session.
The assistant never asks you for a token or a password in the conversation. If it reports that the server needs authentication, run
whoami: it explains how to sign in for your assistant.Scripts and scheduled jobs use a user token instead: obtained from the web interface or the API, valid 24 hours, and configured in the client as an authorization header. See Refresh the user token automatically to renew it on a schedule.
Historical analyses run over a window of at most 24 hours, and the assistant never picks one silently.
Give a range ("between 14:00 and 15:00 yesterday") and it is used as is.
Give a single moment ("around 3am") and the assistant offers three windows around it (plus or minus 10, 20, or 30 minutes) and waits for your choice.
Times are read in your local time zone unless you say they are UTC.
compareneeds two windows of similar duration; live commands anddiagneed none.
current-sessions, current-blocking, and maintenance query the live cluster through the Datasentinel agent.
They are available only when your account has real-time access through the Live360 module.
The queries they run are read-only and transit through the platform; the assistant never holds a PostgreSQL credential.
Without real-time access the assistant does not list them and proposes the historical equivalent instead.
Your account carries your role, as configured under Users & Roles.
The role selects the communication style of every response: TECHNICAL for a Data admin, PLAIN for a Developer. When the role cannot be determined, the Skill uses PLAIN.
Four commands report server-level measurements and are reserved for the TECHNICAL style:
wal,config,system, andreplication. In the PLAIN style, the outcome arrives as a verdict through the workload, comparison, or diagnostic analyses instead.Say "switch to plain language" or "switch to technical" at any time to switch style for the rest of the conversation.
Phrases that change the conversation
A few plain-language phrases act on the session itself rather than on your data. They are not commands, so they take no datasentinel prefix.
"switch to plain language" / "I'm not a DBA"
Switches to the PLAIN communication style.
"switch to technical" / "I'm a DBA"
Switches to the TECHNICAL communication style.
"text only"
Replaces charts and metric cards with Markdown tables for the rest of the session.
A message in another language
The assistant answers in the language of your first message and switches when you ask.
"prove it" / "are you sure?" / "show me the evidence"
Runs prove against the most recent finding.
"give me an HTML report" / "give me that as Markdown"
Exports the analysis on screen as an interactive HTML file or a portable Markdown file.
Where to go next
What you can analyzeBrowse and navigate your fleetConfigure Claude CodeLast updated