taproot
/taproot
Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.
- Author
- MehmetSecgin ↗
- Repository
- taproot ↗
- Licence
- MIT
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.
Original author description
Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.
How it works
- Rules
- Output
SKILL.md preview
---
name: taproot
description: Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.
---
# TapRoot
Learn commands from `taproot --help` and `taproot <command> --help`. Every error carries a code, and most messages name the fix. This page holds only the rules the CLI cannot enforce.
## Rules
- **Every query goes through `taproot query`.** Never run `mysql`, `redis-cli`, `grpcurl`, `tsh db exec` or `tsh proxy db` directly, even when TapRoot fails.
- **Read-only unless the user asks for a write.** `--allow-mutate`, `--allow-flush`, `--allow-keys`, `--allow-partition-scan` and `--allow-discovery` each need the user's explicit go-ahead for that task. On `MISSING_PARTITION_PREDICATE`, add the partition column to `WHERE` instead.
- **Production needs a go-ahead per task.** Never run `query` or `doctor` against a production datasource (`prod-*`) unless the user authorized that task, even read-only. Default to the non-production envs and name the datasource or `--env` explicitly.
- **Ask before changing setup.** `datasource add`, `datasource remove`, `creds set` and any `kb` write persist for every later session. State the command, what it writes and why, and wait for a yes. Before replacing or removing a profile, save `taproot datasource show <name>` so it can be added back. Read-only commands (`query`, `datasource list`, `kb tables`, `creds show`) need no prompt.
- **One fix per error, then stop.** Change the cause before retrying, and never resend a failing query unchanged. If the fix the error names does not work, report `error.code` and `error.message` and stop.
- **Auth is the user's job.** On `ACCESS_DENIED` or `AUTH_EXPIRED`, tell the user to run `tsh login` or `taproot creds set`. Never start an interactive login yourself. On `MISSING_TOOL`, tell the user what to install; do not install it.
- **On `CONNECTIVITY`, run `taproot doctor --datasource <name> --connect` once**, then report what it says.
- **Never probe with `SELECT 1`.** Run the real query; a dead connector fails it with `CONNECTIVITY` anyway.
- **Never guess table or column names.** Use the names the user, code or migrations give, or look them up with `SHOW TABLES` and `SHOW CREATE TABLE`.
- **Keep partition and indexed columns bare** in `WHERE` and `JOIN`. Wrapping them in `DATE()`, `TO_DAYS()` or `CAST()` scans every partition.
- **Never hand-write JSON-path SQL** (`JSON_EXTRACT`, `->`, `->>`, `JSON_VALUE`). Path and null/type handling differ between MySQL and TiDB. Select the raw column and use `--json-extract <column>:<dotpath>`.
- **Never read TapRoot's cache or credential files.** Use TapRoot commands.
## Output
- One line of JSON per command: `{ok, data, meta, error}`. The exit code is non-zero whenever `ok` is false.
- Use `--lines` (one row per line) or `--pluck <path>` instead of `| jq`. A jq filter like `.data.rows` prints `null` on failure and hides the error.
- JSON columns come back already parsed; do not `fromjson` them.
Files in this package (2)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named taproot.
Database snapshot: 13.11.2026 · package version 794bda388816 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 86tidb
TiDB开发专家助手。当用户需要进行TiDB分布式数据库开发、NewSQL数据库、HTAP场景、分布式事务或MySQL兼容迁移时调用。 - 95railway-database
Add official Railway database services (Postgres, Redis, MySQL, MongoDB). Use when user wants to add a database, says "add postgres", "add redis", "add database", "connect to database", or "wire up the database". For other templates (Ghost, Strapi, n8n), use the railway-templates skill. - 95lightning-taproot-channels
Simple Taproot Channels (feature bits 80/81): MuSig2-aggregated funding output, Tapscript commitment leaves, taproot-native HTLCs. USE WHEN: enabling taproot channels in your impl, evaluating cooperative-spend privacy gains, designing taproot HTLC scripts. - 100redis-cli
Redis command-line interface (redis-cli) reference and usage guide. Use this skill whenever the user mentions redis-cli, Redis CLI, or any task involving querying, inspecting, debugging, or managing Redis from the command line. - 100redis-cli
Redis command-line interface (redis-cli) reference and usage guide. Use this skill whenever the user mentions redis-cli, Redis CLI, or any task involving querying, inspecting, debugging, or managing Redis from the command line. - 100redis
Configure Redis for caching and data storage. Set up clustering, persistence, and Sentinel. Use when implementing Redis caching or queues.