claude-code-nextjs-skills / references
AGENTS.md72 starsChanged 17 days agoMITView on GitHub
Read model docs and the installed package source. Omitting model uses SDK defaults, which can change (0.22.3 fallback: gpt-5.6-luna, not a model recommendation); OPENAI_DEFAULT_MODEL is an SDK setting, while a custom app variable needs explicit wiring. Tuned default ModelSettings apply in 0.22.3 only to supported gpt-5 names; other IDs, including gpt-6.1-sol, get a plain ModelSettings() and the API's default reasoning effort, so set reasoning explicitly. The installed agents/models/default_models.py shows the current rules. Use the current API model catalog and model-selection…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/ai-sdk-6/references/agents.mdAGENTS.md
- skills/ai-sdk-7/references/agents.mdAGENTS.md
- skills/react-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-view-transitions/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-harness-reviewSkill
- ai-appSkill
- ai-elementsSkill
- ai-sdk-6Skill
- ai-sdk-7Skill
- ai-sdkSkill
- cache-componentsSkill
- chrome-devtoolsSkill
- frontend-designSkill
- goSkill
- handoffSkill
- hetzner-cloudSkill
- iconsSkill
- next-best-practicesSkill
- nextjs-chatbotSkill
- nextjs-seoSkill
- nextjs-shadcnSkill
- openai-agents-sdkSkill
- postgres-semantic-searchSkill
- react-best-practicesSkill
- shadcnSkill
- supabase-postgres-best-practicesSkill
- vercel-react-view-transitionsSkill
- web-design-guidelinesSkill
The file
We split this agents.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Read model docs and the installed package source.
- Distinctive: line 13
Use the current API model catalog and model-selection guidance for a new choice.
- Distinctive: line 33
Read deployment configuration or documented Azure management APIs to identify the deployment.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agents and provider wiring
Read model docs and the
installed package source. Omitting model uses SDK defaults, which can change
(0.22.3 fallback: gpt-5.6-luna, not a model recommendation);
OPENAI_DEFAULT_MODEL is an SDK setting, while a
custom app variable needs explicit wiring. Tuned default ModelSettings apply
in 0.22.3 only to supported gpt-5 names; other IDs, including gpt-6.1-sol, get a
plain ModelSettings() and the API's default reasoning effort, so set
reasoning explicitly. The installed agents/models/default_models.py shows
the current rules.
Use the current API model catalog and model-selection guidance for a new choice; check account/provider access and the chosen model's API page.
Configure only settings supported by the selected provider/model. Reasoning, sampling and tool support differ by endpoint. Do not infer capabilities or a model family from an Azure deployment's user-defined name.
Azure can use native OpenAI model classes with an AsyncAzureOpenAI client:
per agent via OpenAIResponsesModel or
OpenAIChatCompletionsModel(model=<deployment>, openai_client=client), or
process-wide via set_default_openai_client(client, use_for_tracing=False)
plus set_default_openai_api("chat_completions") when the deployment lacks
Responses. Choose Responses/Chat Completions from deployed capabilities and the
current Azure API contract. GPT-6 Astra and GPT-6.1 Sol require Responses for
tool calling; GPT-6 Sol and Luna allow function calling on Chat
Completions only with reasoning effort none; an agent needing tools and
reasoning must use Responses (LitellmModel always uses Chat Completions).
See the GPT-6 API guide
and the Azure deployment's capabilities before choosing an adapter.
Read deployment configuration or documented Azure management APIs to identify
the deployment; do not rely on an old generic listing endpoint.
LiteLLM/Any-LLM are beta adapters recommended when built-in integration points
are insufficient. They have independent model maps, imports and package extras.
A rejected parameter may be adapter capability metadata rather than the
provider: LiteLLM raises UnsupportedParamsError ... ['reasoning_effort'] for
an Azure deployment name its model map does not recognize. After confirming the
deployment supports it, pass
ModelSettings(reasoning=..., extra_args={"allowed_openai_params": ["reasoning_effort"]});
litellm.drop_params=True silently discards the setting.
Tracing is separate from model authentication. An Azure/LiteLLM key does not authorize OpenAI trace uploads. Configure trace destination or disable uploads according to the application's policy.
See SDK models, LiteLLM integration and the configured provider's current docs.
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.

