lauren-framework/lauren-ai/chat-model-configuration
Claude Code and agent skill by lauren-framework/lauren-ai
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Configures agent behaviour via @agent() parameters and AgentConfig. Use when adjusting max_turns, temperature, max_tokens_per_turn, max_cost_usd, tool_error_policy, memory window, or when the agent must stop after a fixed number of turns.
Install
npx vskill@latest install lauren-framework/lauren-ai/chat-model-configurationSKILL.md
The same SKILL.md was published earlier as lauren-framework/lauren-ai/chat-model-configuration.
Usecodemap find "SymbolName"to locate any symbol before reading — it givesexact file + line range and is faster than grep across the whole repo.
Chat Model Configuration & Parameter Tuning
Quick start
@agent() parameters
| Parameter | Type | Default | Description | |||
|---|---|---|---|---|---|---|
model | str | required | Model identifier, e.g. "claude-opus-4-6" | |||
system | str | "" | System prompt for every turn | |||
max_turns | int | 10 | Loop iteration cap; raises AgentMaxTurnsError | |||
max_tokens_per_turn | int | 4096 | Output token limit per LLM call | |||
temperature | float | 1.0 | Sampling temperature (0.0–2.0) | |||
memory_window_tokens | int | 40_000 | Sliding context window in tokens | |||
max_cost_usd | `float \ | None` | None | Cost cap; raises AgentBudgetExceededError | ||
parallel_tool_calls | bool | False | Run all tool calls in a turn concurrently | |||
tool_error_policy | str | "return_error" | "raise" \ | "return_error" \ | "skip" | |
conversation_store | `ConversationStore \ | None` | None | Persistent conversation history | ||
memory | `ShortTermMemory \ | None` | None | Per-agent shared short-term memory |
max_turns enforcement
Lifecycle-doc class (using a docstring as system prompt)
The class docstring becomes the system prompt when no system= kwarg is given.
Reference files
| File | Contents | |
|---|---|---|
src/lauren_ai/_config.py | AgentConfig frozen dataclass — all defaults | |
src/lauren_ai/_agents/__init__.py | @agent() decorator, AgentMeta | |
src/lauren_ai/_agents/_runner.py | AgentRunnerBase loop with max_turns check |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/chat-model-configuration/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lauren-framework/lauren-ai/chat-model-configuration)