query-optimization
Repeatable workflow for "is this query or aggregate efficient, and can we prove an optimization helps?" in any codebase.
Skill by jorgeavaldez
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jorgeavaldez-query-optimization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/query-optimization
What's inside
- Skill name
query-optimization- Description
- Repeatable workflow for "is this query or aggregate efficient, and can we prove an optimization helps?" in any codebase. Captures the exact SQL and params an ORM emits, then compares old vs new with read-only EXPLAIN (ANALYZE, BUFFERS) and behavior tests. jj-first, ORM-agnostic (Drizzle, Prisma, Kysely, Knex, TypeORM, SQLAlchemy, Django, Rails, raw SQL). Use for "is this query efficient", "optimize this aggregate/dashboard query", "reduce round trips", "prove this is faster", or "EXPLAIN this".
- License
- unknown
- Instructions
- 210 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- build_explain.py · scripts/
- capture_postgresjs.ts · scripts/
- summarize_explain.py · scripts/
The license isn't open source, so the instructions aren't shown here. Read SKILL.md on GitHub
More from jorgeavaldez/pi-config
- 0.565score
browser-research
jorgeavaldez
Run browser-heavy research in Jorge's Chrome, solo or with parallel worker agents.
SkillAFreshness: AClaude Code +9 - 0.565score
tmux-background
jorgeavaldez
Run servers, dev processes, background scripts, long-running commands, and commands that may not exit in tmux with explicit readiness/completion signaling.
SkillAFreshness: AClaude Code +9 - 0.559score
version-upgrade
jorgeavaldez
Comprehensive review of the entire pi agent configuration after a version upgrade.
SkillAFreshness: AClaude Code +9 - 0.559score
agent-prompt-drafting
jorgeavaldez
Draft concise, context-bounded prompts for another agent.
SkillAFreshness: AClaude Code +9 - 0.559score
knowledge-base
jorgeavaldez
Save or update knowledge in Jorge's Obsidian vault: notes, overviews, decisions, investigations, implementation plans, existing documents, and web references.
SkillAFreshness: AClaude Code +9 - 0.559score
pickup-task
jorgeavaldez
Pick up the active Obsidian task that matches the current repository and Herdr workspace, then continue in the current pane as its manager and delegate…
SkillAFreshness: AClaude Code +9 - 0.559score
code-quality
jorgeavaldez
Mandatory code quality rules plus an audit-first review workflow.
SkillAFreshness: AClaude Code +9 - 0.556score
herdr-manager
jorgeavaldez
Coordinate Pi and Claude Code agents in local or explicitly named remote Herdr sessions by mapping tasks to exact hosts, workspaces, panes, agent sessions…
SkillAFreshness: AClaude Code +9 - 0.556score
herdr
jorgeavaldez
Control Herdr from a managed pane or, when explicitly requested, control an exact named Herdr session on an SSH host.
SkillAFreshness: AClaude Code +9 - 0.556score
screenshot-review
jorgeavaldez
Capture and review screenshots with agent_browser using automatic contact sheets.
SkillAFreshness: AClaude Code +9 - 0.554score
jj-conflict-resolution
jorgeavaldez
Resolve jj (Jujutsu) conflicts by editing only the conflict regions.
SkillAFreshness: AClaude Code +9 - 0.519score
resource-cleanup
jorgeavaldez
Inventory and triage stale local Jujutsu workspaces, Herdr workspaces/tabs/live agent sessions, and tmux sessions.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 2, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- License unknown
- Repository
- github.com/jorgeavaldez/pi-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jorgeavaldez
- 0.565score
browser-research
jorgeavaldez
Run browser-heavy research in Jorge's Chrome, solo or with parallel worker agents.
SkillAFreshness: AClaude Code +9 - 0.565score
tmux-background
jorgeavaldez
Run servers, dev processes, background scripts, long-running commands, and commands that may not exit in tmux with explicit readiness/completion signaling.
SkillAFreshness: AClaude Code +9 - 0.559score
pickup-task
jorgeavaldez
Pick up the active Obsidian task that matches the current repository and Herdr workspace, then continue in the current pane as its manager and delegate…
SkillAFreshness: AClaude Code +9 - 0.559score
version-upgrade
jorgeavaldez
Comprehensive review of the entire pi agent configuration after a version upgrade.
SkillAFreshness: AClaude Code +9 - 0.559score
agent-prompt-drafting
jorgeavaldez
Draft concise, context-bounded prompts for another agent.
SkillAFreshness: AClaude Code +9 - 0.559score
knowledge-base
jorgeavaldez
Save or update knowledge in Jorge's Obsidian vault: notes, overviews, decisions, investigations, implementation plans, existing documents, and web references.
SkillAFreshness: AClaude Code +9
Cite this page
query-optimization skill. Agent Mart. https://agentmart.dev/skills/jorgeavaldez-query-optimization (last updated 2026-10-24)