惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
V
V2EX
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
A
About on SuperTechFans
博客园_首页
L
LangChain Blog
量子位
雷峰网
雷峰网
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Jina AI
Jina AI
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - metravod/llm-buster-skill: An Agent Skill that a...
metravod · 2026-05-17 · via Hacker News: Show HN

An Agent Skill that audits a codebase for LLM API calls and reports which ones can be replaced with deterministic logic — without rewriting code by default.

License: MIT Agent Skill Claude Code

What this gives you

Drop this skill into your agent. When you ask it to "audit LLM usage", "find LLM calls", "do I really need a model for this", "cut LLM costs", or "de-LLM this project", the agent:

  1. Inventories every OpenAI / Anthropic call site (Python SDK, TS/JS SDK, and raw HTTP).
  2. Reads each prompt and downstream parse to figure out what the call is actually doing.
  3. Classifies the task (extraction, classification, routing, validation, normalization, summarization, rephrasing, generation, reasoning, agentic).
  4. Applies a verdict rubric with disqualifiers and produces 🟢 / 🟡 / 🔴 calls.
  5. Emits a Markdown audit report with concrete deterministic replacements for 🟢 / 🟡, risks/edge-cases, and a per-call cost estimate.

It does not rewrite code by default. Replacement is a separate step the user explicitly opts into after reading the report.

What a report looks like

Three findings from a typical small repo, one of each verdict. The skill emits Markdown; rendered inline here:

🟢 — services/intent.py:42

Task: classification (3 fixed labels: refund / shipping / other). Prompt is a system message listing the labels with 4 hardcoded few-shot examples; output is parsed with label = resp.choices[0].message.content.strip().lower().

Replacement: rapidfuzz.process.extractOne(text, LABELS, scorer=fuzz.token_set_ratio) with a 60-score floor, fallback to "other". ~15 lines.

Risks: loses paraphrases the few-shots didn't cover ("money back" → refund). Mitigate with an alias dict or a week of shadow-mode against the live LLM.

Per-call cost: ~280 in + ~3 out tokens on gpt-4o-mini ≈ $0.00005. × requests/month = $TBD.

🟡 — pipelines/extract_invoice.py:88

Task: extraction (8 named fields from supplier invoices, JSON output schema). Input is OCR-derived text — mostly clean for the 12 known supplier templates, messy for the long tail.

Recommendation: rule-based extraction (regex + pydantic) for the known-template subset, LLM fallback for the rest. Shadow-mode the rule path for two weeks before flipping.

Risks: rule paths are brittle to template revisions; per-supplier regex needs an owner. Don't deploy without a per-supplier coverage metric in the logs.

🔴 — agent/summarize_thread.py:17

Task: summarization of a Slack thread for a daily digest. Open-ended natural-language output, shown verbatim to a human reader, multi-turn context.

Verdict: keep. Generation against free-form prose — no deterministic substitute. (stream=True also confirms UI-streamed output.)

Closing line of every audit: "Want me to apply the 🟢 replacements?"

For full-length real-world audits across 5 open-source projects (FinGPT, TradingAgents, FinSight, gpt-investor, CyteType), see examples/.

Scope

  • In scope: OpenAI and Anthropic, Python and TS/JS, SDK and raw HTTP.
  • In scope (detection only): wrappers that import the above — LangChain, LiteLLM, instructor, LlamaIndex, Haystack.
  • Out of scope (for now): Google / Gemini, local LLMs (Ollama, vLLM), Cohere, Mistral, Bedrock-via-non-Anthropic, custom internal LLM gateways.

Future versions may widen the SDK list; the methodology generalizes.

Install

Claude Code, user-level (every project)

mkdir -p "$HOME/.claude/skills"
git clone https://github.com/metravod/llm-buster-skill.git \
  "$HOME/.claude/skills/llm-buster"

Claude Code, project-level (one project)

mkdir -p .claude/skills
git clone https://github.com/metravod/llm-buster-skill.git \
  .claude/skills/llm-buster

Codex

mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
git clone https://github.com/metravod/llm-buster-skill.git \
  "${CODEX_HOME:-$HOME/.codex}/skills/llm-buster"

Or paste this to your agent

Install the llm-buster-skill skill for me:

1. Clone https://github.com/metravod/llm-buster-skill into the skill directory my
   agent reads on this machine (e.g. ~/.claude/skills/ for Claude Code, or
   ~/.codex/skills/ for Codex).
2. Verify that SKILL.md and the references/ directory are present.
3. Confirm the install path when done.

Layout

SKILL.md                            # activation rules + per-call analysis loop + non-negotiables
references/
  detection.md                      # SDK + HTTP + wrapper patterns (Python, TS/JS, AST)
  taxonomy.md                       # the 10 task categories with verdict biases
  rubric.md                         # 🟢/🟡/🔴 rules + disqualifiers + promoters + decision algorithm
  replacements.md                   # code recipes per category (regex, pydantic, sklearn, etc.)
  report.md                         # output template with style rules

Progressive disclosure: SKILL.md is loaded by the agent runtime when the skill activates; references are loaded only when relevant to the user's task.

Usage

Once installed, ask the agent things like:

  • "Audit LLM usage in this repo."
  • "Do I actually need an LLM for parser.py:42?"
  • "Cut LLM costs in this project."
  • "Find every OpenAI call and tell me which are overkill."

The skill activates automatically on these phrases and on grep hits for the SDKs in the working directory.

After the report, the user can ask:

  • "Apply the 🟢 replacements." → the agent opens a PR with one diff per call site.
  • "Set up shadow rollout for the 🟡 calls." → the agent wires the side-by-side comparison harness.
  • "Re-audit after I add real traffic numbers." → the agent updates only the impact section.

What this is not

  • Not a refactoring tool. Default is audit + report. Replacement is explicit, opt-in, one site at a time.
  • Not a cost-savings calculator. Token estimates are honest; monthly dollars require user-supplied traffic.
  • Not a model-quality reviewer. The skill doesn't critique prompts for clarity, jailbreak surface, or output quality — only whether the call should exist.
  • Not a benchmark. The shadow-rollout pattern in replacements.md is the right way to validate a deterministic replacement empirically; this skill describes it but doesn't run it.

Versioning

The skill version (in SKILL.md frontmatter) is independent of any external library. Bump on additions to the taxonomy, rubric, or supported SDKs.

Contributing

Issues and PRs welcome. Two ground rules:

  1. Every replacement recipe must run on its named library/version with no provider-side dependencies. No "AI-powered" libraries.
  2. Don't grow the skill body for completeness — keep SKILL.md tight and push detail into references/.

License

MIT — see LICENSE.