- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add timescale/pg-aiguide --skill schema-exploration -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add timescale/pg-aiguide --skill schema-exploration -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add timescale/pg-aiguide --skill schema-exploration -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add timescale/pg-aiguide --skill schema-exploration -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/timescale/pg-aiguide/tree/HEAD/skills/schema-explorationFrom the publisher
Start with the user's question, not a full-database audit unless that is the explicit ask. Use the database connection already available to you; if none is available, ask for access or work from provided schema files. Stay within the database and schemas the user has authorized. Catalog metadata can reveal sensitive names or source code: do not export it unnecessarily.
public contains the application.EXPLAIN where authorized. Do not mistake a valid plan for proof of business semantics.Illustrative only; report facts verified in the target database:
sales.orders has a primary key on order_id and a foreign key from account_id to sales.accounts.account_id.sales.orders likely records one row per order; the keys support this, but do not establish what the business calls an “order.”pg_stats is data-derived and requires approval too. Do not change schema, data, roles, or session-wide settings without authorization. Never call discovered functions or procedures, refresh materialized views, or run EXPLAIN ANALYZE on unknown queries. A function marked STABLE or IMMUTABLE is not a safety guarantee.$1, $2, etc. as values using your client's API. psql users can follow the optional psql adapter. Never interpolate an untrusted object name as raw SQL; placeholders cannot replace SQL identifiers in data queries.server_version_num first. If a query fails due to permissions or version differences, report the limitation instead of guessing.|
---name: schema-explorationdescription: |---# skills/schema-exploration/SKILL.mdFAQ
Download skills/schema-exploration/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/timescale/pg-aiguide.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.