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 skills add sonature-lab/timsquad --skill tsq-databasegit clone --depth 1 https://github.com/sonature-lab/timsquadWrote 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/skills/sonature-lab/timsquad/tsq-database)<a href="https://agentmods.dev/skills/sonature-lab/timsquad/tsq-database"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-database/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/tsq-database"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00072 | $0.00670 |
| Opus 5.5 | $0.00029 | $0.00268 |
| Sonnet 5.5 | $0.00014 | $0.00134 |
| Haiku 4.5 | $0.00007 | $0.00067 |
Grade A, and why
tsq-database 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 3mo 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.
What it actually says
Database Methodology
Resources
| Priority | Type | Resource | Description |
|---|---|---|---|
| HIGH | rule | supabase-patterns | JSONB, RLS, Edge Runtime, USE_MOCK, 커넥션 풀링 |
정규화 기준
| 정규형 | 적용 기준 | 예외 허용 조건 |
|---|---|---|
| 1NF | 필수 | 없음 |
| 2NF | 필수 | 없음 |
| 3NF | 기본 적용 | 읽기 성능 요구 시 |
| BCNF | 권장 | 복잡도 증가 시 |
비정규화 조건
비정규화 결정 시 반드시 ADR 작성:
## ADR-XXX: [테이블명] 비정규화 결정
### Context
- 읽기 빈도: X회/초, 쓰기 빈도: Y회/초, 조인 비용: Z ms
### Decision
[비정규화 결정 내용]
### Consequences
- 장점: 읽기 성능 N% 향상
- 단점: 데이터 중복, 갱신 이상 위험
- 대응: [트리거/애플리케이션 로직]
쿼리 최적화
상세 프로세스(EXPLAIN 분석, 체크리스트, 기법)는 rules/query-optimization.md 참조.
마이그레이션 규칙
파일 명명
{timestamp}_{description}.sql
예: 20260203100000_create_users_table.sql
안전한 마이그레이션
| 작업 | 안전 | 위험 | 대안 |
|---|---|---|---|
| 컬럼 추가 (NULL) | O | ||
| 컬럼 추가 (NOT NULL) | ! | DEFAULT 값 + NULL 허용 후 변경 | |
| 컬럼 삭제 | ! | 코드 먼저 수정 -> 삭제 | |
| 컬럼명 변경 | X | 새 컬럼 추가 -> 데이터 이동 -> 삭제 | |
| 인덱스 추가 | O | CONCURRENTLY 사용 | |
| 테이블 삭제 | X | 백업 확인 필수 |
롤백 전략
모든 마이그레이션에 롤백 스크립트 필수:
-- Up
ALTER TABLE users ADD COLUMN phone VARCHAR(20);
-- Down
ALTER TABLE users DROP COLUMN phone;
관련 스킬
- tsq-prisma — Prisma ORM 사용 시 스키마·쿼리·마이그레이션은 tsq-prisma 참조
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 85 lines · 72 tokens per session scan A d0f8fd0e93ca
tsq-database is a skill published in the GitHub repository sonature-lab/timsquad (11 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 670 once invoked, about $0.0003 per session on Opus 5.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-30.
tsq-database compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tsq-databasesonature-lab/timsquad | Skill | 11 | 3mo ago | MIT | A | 72 | Claude Code |
| database-testingproffesor-for-testing/agentic-qe | Skill | 540 | today | MIT | A | 37 | Claude Code |
| database-schema-designerJPeetz/agent-skills | Skill | 21 | 6d ago | none | A | 58 | Claude Code, Codex |
| database-querychainlesschain/chainlesschain | Skill | 11 | 21d ago | none | A | 32 | Claude Code |
| database-reviewcamilooscargbaptista/cto-toolkit | Skill | 9 | 8mo ago | MIT | A | 160 | Claude Code |
| database-testingsummarybotng/summarybot-ng | Skill | 2 | 5mo ago | MIT | A | 37 | Claude Code |
| accounting-software-selectionsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 37 | Claude Code |