copilot-instructions database-configuration-operations.instructions.md

copilot-instructions database-configuration-operations.instructions.md is an instructions file for GitHub Copilot from ThiagoGuislotti/copilot-instructions. It costs 902 tokens per session, scanned A, original, MIT.

A set of instructions for configuring and operating application databases across local, staging, and production environments.

In plain words
What is it for?
Use it when setting up database access, managing connection strings and credentials, or defining database operating policies.
Why use it?
It gives developers a consistent baseline for connection settings, secrets, security, pooling, timeouts, failover, and recovery.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/thiagoguislotti/copilot-instructions/database-configuration-operations
Clone the repo
git clone --depth 1 https://github.com/ThiagoGuislotti/copilot-instructions

Made for: GitHub Copilot.

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 copilot-instructions database-configuration-operations.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thiagoguislotti/copilot-instructions/database-configuration-operations.svg)](https://agentmods.dev/instructions/thiagoguislotti/copilot-instructions/database-configuration-operations)
Your own site
<a href="https://agentmods.dev/instructions/thiagoguislotti/copilot-instructions/database-configuration-operations"><img src="https://agentmods.dev/badge/instructions/thiagoguislotti/copilot-instructions/database-configuration-operations.svg" alt="Measured on agentmods" height="20"></a>
Per session 902 This file is loaded in full into every session.
When invoked 902 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00902 $0.00902
Opus 5 $0.00451 $0.00451
Sonnet 5 $0.00180 $0.00180
Haiku 4.5 $0.00090 $0.00090

Measured 5d ago against content hash a6c4137fdacd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

copilot-instructions database-configuration-operations.instructions.md 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.

.github/instructions/database-configuration-operations.instructions.md · 84 lines

How it starts

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

Database Configuration and Operations Baseline

  • Use this instruction when configuring runtime database access, connection settings, failover, or operational database policies.
  • Prioritize secure-by-default settings, deterministic performance, and recoverability under real production load.

Environment and Configuration Source of Truth

  • Keep database settings environment-specific and externalized (local, staging, production).
  • Maintain a single typed configuration contract for each service; avoid ad-hoc config reads.
  • Keep configuration keys stable across environments; only values change.
  • Do not hardcode connection strings, passwords, certificates, or provider credentials.

Connection String and Secret Management

  • Store credentials in managed secret stores; inject at runtime with least privilege.
  • Enforce TLS/SSL in all non-local environments.
  • Disable trust-on-first-use defaults; require explicit certificate validation where supported.
  • Include application/service name in connection metadata for traceability.
  • Separate read/write/admin credentials and rotate each on independent schedules.

Provider Baselines

  • SQL Server baseline:
    • Encrypt=True
    • TrustServerCertificate=False
    • MultiSubnetFailover=True when applicable
    • Explicit Connect Timeout and command timeout defaults
  • PostgreSQL baseline:
    • SSL Mode=Require (or stronger policy)
    • Trust Server Certificate=false outside controlled local development
    • Explicit Timeout, Command Timeout, and Keepalive
  • MySQL baseline:
    • SslMode=Required
    • Explicit ConnectionTimeout and DefaultCommandTimeout
    • Explicit character set/collation strategy where relevant

Pooling and Timeout Policy

  • Enable pooling with explicit min/max bounds; never rely on unknown runtime defaults in production.
  • Define MinPoolSize and MaxPoolSize per service profile and expected concurrency.
  • Set command timeout by endpoint/query class, not a single global extreme value.
  • Bound concurrent database calls at application layer to avoid pool starvation.
  • Fail fast on acquisition timeouts and surface clear diagnostics.

Read the full file on GitHub · 84 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. 5d ago First seen · 84 lines · 902 tokens per session scan A a6c4137fdacd

Subscribe to this mod's changes

copilot-instructions database-configuration-operations.instructions.md is an instructions file published in the GitHub repository ThiagoGuislotti/copilot-instructions (2 stars, last pushed 2mo ago), licensed MIT. It adds 902 tokens to every session, about $0.0045 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.