Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/llm-integration
LLM integration patterns including API usage, streaming, function calling, RAG pipelines, and cost optimization
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
and 8 more in the full report
9 fixed13 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
In a model selection router function in TypeScript, what model string should be returned as the default fallback when the task type is unrecognized?
| Checked | Without skill | With skill |
|---|---|---|
| defaults to claude-sonnet-4-20250514 | Missed | Passed |
The instructions your model reads when the skill loads.
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic();
async function generateResponse(
systemPrompt: string,
userMessage: string,
options?: { maxTokens?: number; temperature?: number }
): Promise<string> {
const response = await client.messages.create({
model: "claude-sonnet-4-20250514",
max_tokens: options?.maxTokens ?? 1024,
temperature: options?.temperature ?? 0,
system: systemPrompt,
messages: [{ role: "user", content: userMessage }],
});
const textBlock = response.content.find(block => block.type === "text");
return textBlock?.text ?? "";
}
async function streamResponse(
messages: Array<{ role: "user" | "assistant"; content: string }>,
onChunk: (text: string) => void
): Promise<string> {
const stream = client.messages.stream({
model: "claude-sonnet-4-20250514",
max_tokens: 4096,
messages,
});
test cases passed, vs 13 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.