models-config

Installation
SKILL.md

Models Config Skill

功能

编辑和管理 ~/.pi/agent/models.json 配置文件,支持多种 API 协议的测试和验证,以及从 https://models.dev/api.json 自动获取模型价格信息。

配置结构

{
  "providers": {
    "provider-name": {
      "baseUrl": "https://api.example.com",
      "apiKey": "sk-xxx",
      "api": "anthropic-messages|openai-completions|openai-responses",
      "authHeader": true
    }
  }
}
Related skills

More from dwsy/agent

Installs
16
Repository
dwsy/agent
GitHub Stars
12
First Seen
Mar 4, 2026