用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill faion-llm-integration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | faion-llm-integration |
| description | LLM APIs: OpenAI, Claude, Gemini, local LLMs, prompt engineering, function calling. |
| user-invocable | false |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash, Task, AskUserQuestion, TodoWrite |
Entry point:
/faion-net— invoke this skill for automatic routing to the appropriate domain.
Communication: User's language. Code: English.
Handles direct integration with LLM APIs. Covers OpenAI, Claude, Gemini, local models, prompt engineering, and output structuring.
Check these project signals before asking questions:
| Signal | Where to Check | What to Look For |
|---|---|---|
| Dependencies | package.json, requirements.txt, go.mod | openai, anthropic, google-generativeai, langchain |
| Config files | .env, config/*.{yml,json} | API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY) |
| Existing code | Grep for "openai", "anthropic", "genai" | Existing LLM integrations |
| Documentation | README.md, docs/ | LLM usage patterns |
question: "What LLM task are you building?"
header: "Task Type"
multiSelect: false
options:
- label: "Chat/completion API"
description: "Direct LLM API calls for text generation"
- label: "Function calling / tool use"
description: "LLM selects and executes functions"
- label: "Structured output (JSON mode)"
description: "Constrain LLM to return valid JSON/schemas"
- label: "Prompt optimization"
description: "Improve existing prompts (few-shot, CoT, templates)"
question: "Which LLM provider(s)?"
header: "Provider"
multiSelect: true
options:
- label: "OpenAI (GPT-4o, o1)"
description: "OpenAI API integration"
- label: "Claude (Anthropic)"
description: "Claude Opus/Sonnet via Anthropic API"
- label: "Gemini (Google)"
description: "Gemini Pro/Flash via Google AI"
- label: "Local LLM (Ollama)"
description: "Self-hosted models for privacy"
question: "Do you need safety/content moderation?"
header: "Guardrails"
multiSelect: false
options:
- label: "Yes - content filtering/PII detection"
description: "Implement guardrails for safety"
- label: "No - internal use only"
description: "Skip guardrails"
| Area | Coverage |
|---|---|
| LLM APIs | OpenAI (GPT-4o, o1), Claude (Opus 4.5, Sonnet 4), Gemini (Pro, Flash) |
| Prompt Engineering | Few-shot, CoT, chain-of-thought techniques |
| Structured Output | JSON mode, function calling, tool use |
| Guardrails | Content safety, validation, error handling |
| Local LLMs | Ollama integration, privacy-focused deployments |
| Task | Files |
|---|---|
| OpenAI integration | openai-api-integration.md → openai-chat-completions.md |
| Claude integration | claude-api-basics.md → claude-messages-api.md |
| Gemini integration | gemini-basics.md → gemini-multimodal.md |
| Local LLM | local-llm-ollama.md |
| Prompts | prompt-basics.md → prompt-techniques.md |
| Function calling | function-calling-patterns.md + tool-use-basics.md |
OpenAI (5):
Claude (6):
Gemini (4):
Prompt Engineering (6):
Safety & Tools (4):
Local (1):
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain quantum computing"}
]
)
print(response.choices[0].message.content)
import anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain RAG systems"}]
)
print(message.content[0].text)
tools = [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather",
"parameters": {
"type": "object",
"properties": {
"location": {"type": "string"}
}
}
}
}]
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "What's the weather in SF?"}],
tools=tools
)
| Skill | Relationship |
|---|---|
| faion-rag-engineer | Uses embeddings APIs |
| faion-ai-agents | Uses tool calling |
| faion-ml-ops | Uses for evaluation |
LLM Integration v1.0 | 26 methodologies