discovering-support-tools

discovering-support-tools is a cursor rule for Cursor from krishnanpandya007/support-technician-setup. It costs 84 tokens per session (6,421 once invoked), scanned A, original, MIT.

A workflow for designing read-only tools that let a customer-support agent inspect an end user’s live data. It can cover databases, APIs, and other read-only data sources.

In plain words
What is it for?
Use it to propose support tools, access rules, database permissions, row-level security, and the source query or request for each tool.
Why use it?
It helps the agent diagnose actual user situations without granting permission to change data, while restricting what it can read.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to propose support tools, access rules, database permissions, row-level security, and the source query or request for each tool.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/krishnanpandya007/support-technician-setup/discovering-support-tools
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/krishnanpandya007/support-technician-setup

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for discovering-support-tools

README.md
[![agentmods](https://agentmods.dev/badge/rules/krishnanpandya007/support-technician-setup/discovering-support-tools.svg)](https://agentmods.dev/rules/krishnanpandya007/support-technician-setup/discovering-support-tools)
Your own site
<a href="https://agentmods.dev/rules/krishnanpandya007/support-technician-setup/discovering-support-tools"><img src="https://agentmods.dev/badge/rules/krishnanpandya007/support-technician-setup/discovering-support-tools.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.06421
Opus 5 $0.00042 $0.03210
Sonnet 5 $0.00017 $0.01284
Haiku 4.5 $0.00008 $0.00642

Measured 7d ago against content hash e5cd5e906296, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

discovering-support-tools scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Every tool, regardless of `connection_type`, sits behind a single **StateAdapter** boundary — `fetch(tool, params, session) → summary`. This is the one reviewed place where read-only enforcement and **session-scoping** l
.cursor/rules/discovering-support-tools.mdc · 259 lines

How it starts

The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Discovering Support Tools

Overview

The runtime support agent must diagnose an end user's actual situation, not guess. It does that by calling read-only tools that fetch and check the user's live state. The user-owned state may live behind more than one read surface — SQL tables, a read API, a non-SQL store, or a pure read-only accessor — so this skill works for whatever connection types the operator enabled (default: SQL only; see "Connection types" below). It reads a product's backend and proposes, for human review:

  1. a tool catalog — named, fixed, parameterized read tools scoped to the authenticated end user, each tagged with its connection_type;
  2. per-type read-only access artifacts — for SQL, the migration SQL (a restricted read-only role, a table/column allowlist, and row-level-security policies); for any other enabled type, that type's equivalent read-only access spec (endpoint allowlist + read-scoped token for an API, read-only rules/credential for a non-SQL store, an allowlist of pure read accessors for custom);
  3. one per-tool source spec (the SQL query, HTTP request, non-SQL query, or named accessor the tool runs).

Core principle: the agent reads the world only through these named tools. It never gets a raw connection, never composes its own query/request/execution, never sees another user's data, and never performs a change.

Connection types — confirm what the agent reads through

Before designing anything, confirm the enabled connection types with the operator (this is decision 6 in setting-up-support-agent; the set lives in the config's connections list). State back which are enabled. Default = SQL only, in which case every output below is identical to the SQL-only behavior. The four supported types:

  • sql (default) — a relational database. Tools are parameterized SQL; enforcement is a read-only role + column grants + RLS / mandatory owner filter.
  • http_api — a read API the product already exposes. Tools are single, enumerated GET/HEAD requests against allowlisted endpoints.
  • nosql — a non-relational store (document/key-value/etc.). Tools are scoped reads with a mandatory owner filter, over a read-only credential.
  • custom — a pure, side-effect-free read accessor the product provides (a function that computes a verdict from data it reads). Tools name an allowlisted accessor; the model never supplies code.

Read the full file on GitHub · 259 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 259 lines · 6,421 tokens per session scan A e5cd5e906296

Subscribe to this mod's changes

discovering-support-tools is a cursor rule published in the GitHub repository krishnanpandya007/support-technician-setup (2 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 6,421 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.