model-providers
Skill13 starsChanged 4 days agoMITView on GitHub
Choose models and configure access via Vertex AI, Gemini API, or OpenRouter.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fmind/dotword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- fmind/dot★ 13100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-projectSkill
- agent-protocolsSkill
- agySkill
- airflowSkill
- auth-statusSkill
- awsSkill
- bfSkill
- chrome-devtoolsSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- databricksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-docSkill
- draft-mailSkill
- duckdbSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- google-developerSkill
- gwsSkill
- hfSkill
- infra-as-codeSkill
- kaggleSkill
- kubernetesSkill
- lesson-learnedSkill
- mcp-setupSkill
- miseSkill
- playwrightSkill
- project-scaffoldingSkill
- python-mlopsSkill
- python-stackSkill
- python-webSkill
- repository-docsSkill
- scheduled-jobsSkill
- skillifySkill
- <name>Skill
- The first 60 shown.
The file
Files
Model Providers
Configure provider authentication, endpoints, and model selection. Default new integrations to GCP Agent Platform with ADC, an explicit GCP project, global, the latest GA model of the chosen tier, and high thinking. Preserve OpenCode's OpenRouter default. Use API keys only when explicitly requested or as a last resort after reporting why ADC cannot work; never retry automatically with a key or switch to AI Studio after an error.
Workflow
- Never let a key pick the provider: resolve the requested provider before inspecting credentials. An available key is not a reason to switch providers. Use the selected guide only; gcloud owns Cloud identity/IAM and agent-harnesses owns coding-host settings.
- Choose the tier, then the latest model: default to the workhorse tier (the latest GA Flash) for agents, tool calls, extraction, and high-volume or latency-sensitive work. Escalate to the frontier tier (Gemini 4 Argon, GA and public since 2026-10-13) for complex long-horizon reasoning, coding, or analysis where quality outweighs cost and latency. Resolve the exact ID from the provider's current model list, never from memory, and confirm it with the read-only probe.
- Pin the provider and scope keys: make the provider explicit in application configuration so ambient Google API keys or SDK backend flags cannot silently select another service. Supply keys only to the process that needs them, through a secret manager or
dot secret run NAME -- COMMAND; use native credential stores where supported. Never place keys in code or generated configuration. - Probe read-only; never silently fall back: validate configuration and use a read-only model/auth probe first. Run inference only within the authorized usage scope, with a bounded output and timeout. Report authentication, model access, and successful inference separately; do not silently fall back to another provider or billing project after an error.
Request contracts
Current models reject request habits from older ones; steer with instructions, thinking level or effort, and native structured output instead.
- Send no sampling parameters or prefill: Gemini 3.6+ and Gemini 4 ignore
temperature,top_p, andtop_k(deprecation headers now, HTTP 400 in a future release) and return 400 when the last turn is a prefilledmodelturn. Current Claude models return 400 on an assistant prefill and on sampling parameters (on every model from Anthropic API version2026-10-21). - Do not force a Claude tool call: Claude Opus 5.5, Sonnet 5.5, and Fable 5.1 return 400 on
tool_choiceanyortool; useautowithstrict: truetools, or structured output when the forced call only existed to get JSON. - Keep the prefix stable and append only: keep system text and tool definitions byte-stable and append per-turn content (date, retrieval, changing memory) in later messages. Rebuilding the prefix breaks prompt caching, and on Claude Opus 5.5, Sonnet 5.5, and Fable 5.1 editing earlier turns invalidates their thinking blocks (HTTP 400 for accounts created since 2026-08-31).
Task guides
<!-- guides:start -->- gcp-agent-platform: GCP Agent Platform model access with ADC and global location.
- gemini-api: Gemini Developer API access with an explicitly requested API key backend.
- openrouter: OpenRouter model routing, API key authentication, and OpenAI-compatible requests.
<!-- guides:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

