Sf Tune — Development skill for Claude Code
Tune a slow or expensive Snowflake query from the Query Profile — pruning, then spill, then idle compute.
How to install Sf Tune
Installs to ~/.claude/skills/rajib2k5-claude-staff-kit-sf-tune/SKILL.md
mkdir -p ~/.claude/skills/rajib2k5-claude-staff-kit-sf-tune && curl -fsSL https://raw.githubusercontent.com/rajib2k5/claude-staff-kit/HEAD/commands/sf-tune.md -o ~/.claude/skills/rajib2k5-claude-staff-kit-sf-tune/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Sf Tune does
description: Tune a slow or expensive Snowflake query from the Query Profile — pruning, then spill, then idle compute argument-hint: [query, query_id, or model name]
Invoke the `data-snowflake-tune` skill.
If the Snowflake MCP server is unavailable, run every query with the `snowflake-sql` skill (`~/.claude/skills/snowflake-sql/sf.py`; the PAT comes from the environment variable named in its `config.json`, and it is read-only by default).
Target: $ARGUMENTS
Diagnose **in this order**
Alternatives in Development
- Tutti — Where people and agents build in tune 3.5k ★
- Investigate Performance — Investigate a Nimbalyst performance problem (freeze, lag, idle CPU, slow op, memory growth) with measured evid 1.6k ★
- Claude Code Is Programmable — Scale your compute with Claude Code as a programmable agentic coding tool 294 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Patent Search
Search patents. Checks Snowflake cache first, then BigQuery or USPTO API if needed.
Profile Cu
Profile compute unit usage per instruction in a Solana program
Buzz
Profile Lean declarations, find the slow ones, trace-diagnose the root cause, and fix them until each elaborat
Python Performance Optimization
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when de
Max Throughput
Agent skill: max-throughput execution for coding agents - probe hardware, parallelize aggressively, profile th
Skill Launch
Launches one new skill from an idea: drafts with Draft-Skill, validates and tunes with Tune-Skill, then audits
Related Agents
Snowflake Architect
Designs and audits Snowflake platforms — warehouse topology, RBAC hierarchy, pruning and clustering, streams/t
Timps API Perf Profiler
Profile an API from access logs / traces — p50/p95/p99 by endpoint, slow query, N+1 detection, and concrete op
Latency Profiler
Use to identify performance bottlenecks from profile output, slow query logs, or APM data. Reports the top hot