Skip to content

Instantly share code, notes, and snippets.

@rmoriz
Created August 27, 2025 15:00
Show Gist options
  • Save rmoriz/097b2adcde78bdd81322feb2916c7fa0 to your computer and use it in GitHub Desktop.
Save rmoriz/097b2adcde78bdd81322feb2916c7fa0 to your computer and use it in GitHub Desktop.
inefficient tool calls suck
{
"content": "Fix golangci-lint config. run \"golangci-lint config verify\" - the valid options are documented in https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml",
"timestamp": "2025-08-27T14:32:31.464399Z",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | head -100\"}",
"tool_call_id": "toolu_vrtx_014zdJkAac3Gbkf4EcpWTRMM",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 50 \\\"linters-settings:\\\"\"}",
"tool_call_id": "toolu_vrtx_01QaFfPNxQpZU7wGWEcF9uqf",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -E \\\"^[a-z-]+:\\\" | head -20\"}",
"tool_call_id": "toolu_vrtx_01UajSh1WUxqonEFXxxyNhoK",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 20 \\\"^issues:\\\"\"}",
"tool_call_id": "toolu_vrtx_01KoDE2Edx2CXKJTdVB8yCV6",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 10 \\\"^output:\\\"\"}",
"tool_call_id": "toolu_vrtx_01Jv5FzbswQANSJ2zJCuWWcY",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 10 \\\"^severity:\\\"\"}",
"tool_call_id": "toolu_vrtx_01P2B4CA6PeQ86DQekFqKy8E",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 5 -B 5 \\\"linters-settings\\\"\"}",
"tool_call_id": "toolu_vrtx_01DxyhqXpTibqbTs7oGwtMQz",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -E \\\"(cyclop|depguard|errcheck)\\\" -A 3 -B 3\"}",
"tool_call_id": "toolu_vrtx_01WtxECAKusrefwUvbtAnEyS",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -E \\\"^[a-z-]+:\\\" | sort\"}",
"tool_call_id": "toolu_vrtx_014aWgkaTXWyvuzxjsAh8sLw",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 20 \\\"^linters:\\\" | head -30\"}",
"tool_call_id": "toolu_vrtx_01TjtJEQ3oXm1uFq1GBp6EA2",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -B 5 -A 5 \\\"cyclop:\\\" | head -15\"}",
"tool_call_id": "toolu_vrtx_01TQVj4y2YvUkJRS2fkKrcVN",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -B 10 -A 10 \\\"cyclop:\\\" | head -25\"}",
"tool_call_id": "toolu_vrtx_01HJLUjsfLfBxk2PZkWZt1Jv",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -n -B 20 \\\"cyclop:\\\" | head -30\"}",
"tool_call_id": "toolu_vrtx_01RNshgzyXpg122HZpAL59Tp",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | sed -n '200,280p' | grep -E \\\"^[a-z-]+:|^ [a-z-]+:\\\"\"}",
"tool_call_id": "toolu_vrtx_01DniKnU1XMdsPiuGQGubUSD",
--
{
"content": "Fix golangci-lint config. run \"golangci-lint config verify\" - the valid options are documented in https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml",
"timestamp": "2025-08-27T14:44:16.743120Z",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -E \\\"^[a-z-]+:\\\" | head -10\"}",
"tool_call_id": "toolu_vrtx_01DVQPBKeGxHvUvJZnFg4Wsi",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 20 \\\"^linters:\\\" | head -25\"}",
"tool_call_id": "toolu_vrtx_01UifbW5mHzUpCuMw4RbcuHf",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 10 \\\"settings:\\\" | head -15\"}",
"tool_call_id": "toolu_vrtx_01RYBdxWusfEmuAywUSLb8i8",
--
"tool_name": "bash",
"args": "{\"command\": \"curl -s https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/.golangci.reference.yml | grep -A 15 \\\"wrapcheck:\\\"\"}",
"tool_call_id": "toolu_vrtx_01PXB8FWY8cxhdsrToGdFPkc",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment