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.
npx agentmods add rules/krishnanpandya007/support-technician-setup/setting-up-support-agentgit clone --depth 1 https://github.com/krishnanpandya007/support-technician-setupWrote 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.
[](https://agentmods.dev/rules/krishnanpandya007/support-technician-setup/setting-up-support-agent)<a href="https://agentmods.dev/rules/krishnanpandya007/support-technician-setup/setting-up-support-agent"><img src="https://agentmods.dev/badge/rules/krishnanpandya007/support-technician-setup/setting-up-support-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00101 | $0.03818 |
| Opus 5 | $0.00051 | $0.01909 |
| Sonnet 5 | $0.00020 | $0.00764 |
| Haiku 4.5 | $0.00010 | $0.00382 |
Grade A, and why
setting-up-support-agent scanned grade A with 0 findings 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 5d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Setting Up a Support Agent
Overview
This is the orchestrator. It turns a web app into a deployable support kit by running the stage skills in order, assembling their outputs, shipping a runtime, then telling the operator the local, off-model steps only a human can do. The end goal is a support agent that diagnoses an end user's real situation from read-only live state, resolves what it can from the knowledge base, and escalates a proposed fix to a human when a change is needed — it never mutates anything.
Runtime brain (default agent). At runtime the kit is driven by an LLM tool-agent: the model diagnoses by freely calling the kit's read-only tools and composes the answer. There is no decision tree to author for control flow — the runbooks are consumed as advisory guidance ("symptom → when to escalate"), not walked. Safety does not rest on branching; it rests on two hard, structural facts:
- A scoped read-only DB role (column-grants + row-level security) — there is no write tool, so the model physically cannot change data, and RLS confines every read to the acting user.
- A single explicit
escalate_to_humantool — the only way the agent can "act", logged prominently; the agent is instructed never to claim it made a change. A deterministicwalkermode (the runbooks as an actual decision tree) remains available for auditable/offline runs, butagentis the shipped default.
Core principle: this skill coordinates; it does not re-implement. Each stage is delegated to its own skill, which owns the rules for that artifact. Between stages there is a mandatory human-review gate.
Decisions to gather first (ask only what you cannot infer)
- End-user app path — the source of the knowledge base. This is the app real users use, NOT an admin/back-office tool. If only an admin codebase is offered, stop and say the end-user app is required for the knowledge base.
- Backend source path — where the read-only tools and runbooks are derived from (often the admin/back-office code). May differ from the end-user app.
- Schema exposure mode —
grounded|aliased|blind(default toblind: the model never sees real schema; names are bound locally by support-binder). Applies to schema-backed connections (SQL, and non-SQL where it has a schema); it does not apply to API/custom connections. - Escalation channel — Telegram, email, or both.
- User follow-up channel — how a user is told their issue was resolved (e.g. email).
- Connection types (read-only). Ask the operator: "Besides tool→SQL connections, does the agent need other read-only connection types to diagnose a user's live state — external API calls (HTTP), a non-SQL data store, or custom read-only executions? Select all that apply." Multi-select; default = SQL only. Every selected type MUST be read-only — non-negotiable;
discovering-support-toolsenforces it per type. The chosen set becomes theconnectionslist in the config. - SQL engine (only if SQL is enabled) — Postgres/Supabase is the supported target today.
- Brain model — which AI model powers the agent brain at runtime. Ask the operator (it must support tool/function calling). This becomes
runtime.modelin the config and drives the runtime by default. (e.g.nvidia_nim/qwen/qwen3-coder-480b-a35b-instruct, allama-3.x-70b-instruct, or a Claude model.)
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.
- 5d ago First seen · 162 lines · 3,818 tokens per session scan A b96b25ba2ccb
setting-up-support-agent is a cursor rule published in the GitHub repository krishnanpandya007/support-technician-setup (2 stars, last pushed 2mo ago), licensed MIT. It adds 101 tokens to every session and 3,818 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.