agentsclimarketplace

Run config global settings

Skill kjuhwa/skills-hub/skills/agents/run-config-global-settings

Use RunConfig to set run-wide defaults for model, max turns, tracing, and guardrails.From its SKILL.md

Install
npx -y skills add kjuhwa/skills-hub --skill run-config-global-settings

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.4 KB, 443 tokens by cl100k_base, as published. Nobody here has run it

run-config-global-settings

Pass RunConfig to Runner.run(run_config=...) to set run-wide defaults that apply unless overridden by per-agent settings.

When to apply

When you want consistent model defaults, turn limits, tracing, or input filters across all agents in a run without configuring each agent individually.

Core snippet

import asyncio
from agents import Agent, Runner, ModelSettings
from agents.run import RunConfig

run_config = RunConfig(
    model="gpt-4o-mini",                # Default model for all agents
    model_settings=ModelSettings(        # Default model settings
        temperature=0.5,
        max_tokens=2048,
    ),
    max_turns=20,                        # Default is 10
    tracing_disabled=False,
    workflow_name="My Workflow",         # Name shown in Traces dashboard
    trace_include_sensitive_data=True,   # Include tool args/outputs in traces
)

agent = Agent(
    name="Assistant",
    instructions="You are a helpful assistant.",
    # Agent-level model overrides RunConfig.model for this agent
    model="gpt-4o",
)

async def main():
    result = await Runner.run(agent, "Hello!", run_config=run_config)
    print(result.final_output)

asyncio.run(main())

Key properties

PropertyDefaultDescription
modelNone (agent's model)Run-wide model override
max_turns10Max agent loop iterations
tracing_disabledFalseDisable traces for this run
workflow_name"Agent workflow"Name in Traces dashboard
trace_include_sensitive_dataTrueInclude args/outputs in traces

Key notes

  • Per-agent model and model_settings override RunConfig values for that agent
  • RunConfig is passed to Runner.run(), not stored on the Agent
  • call_model_input_filter can intercept and modify the input before each model call

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,871. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.