Skip to content
FunCoding

llm-interface

Consider changes to the llm standardization/interface

Star
8,225
License
Apache-2.0
Last commit
Dec 1, 2026

.claude/skills/llm-interface/SKILL.md

View on GitHub

LLM Interface

Start by reviewing the latest changes here:

What to standardize

The feature set for voice AI definitely needs to be standardized.

  • Text input into streaming response
  • Usage / cost tracking
  • Cache control
  • Conversation persistence (use store:true or similar systems when available)
  • Tool calling

This requires text response creation to be standardized

But in general it's good to standardize more. This makes it easier to switch between models

What not to standardize

  • Reasoning levels are different per model. They also don't map cleanly to each other. So lets just keep track for each LLM what's valid

Cache Standards

Guidelines

You can find the llm.go LLM interface We mostly want to follow OpenAI's naming conventions where possible since they are the biggest in non-coding AI usage.

For openAI (but probably not for others) there are performance benefits to the websocket mode https://developers.openai.com/api/docs/guides/websocket-mode

History

Cache control

CachePolicy:

  • TTL (0 for no caching)

Breakpoints:

  • For models that support this we should automatically handle the setting of a break point after the instructions
  • With a shared per agent config cache (so instructions are reused)
  • While having it set to implicit mode so the customer conversation grows

Similar Skills

ask-matt

MAmattpocock/skills336k4,217 new stars in the last 7 days

chief-of-staff

MAmattpocock/skills336k4,217 new stars in the last 7 days

setup-matt-pocock-skills

MAmattpocock/skills336k4,217 new stars in the last 7 days

subagent-driven-development

OBobra/superpowers331k5,030 new stars in the last 7 days

autonomous-loops

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

agent-eval

AFaffaan-m/ECC314k3,503 new stars in the last 7 days