Skip to contents

Applies settings loaded by claude_settings_load() to an Agent, including memory injection, skill loading, and slash command registration.

Usage

claude_settings_apply(
  agent,
  settings,
  apply_memory = TRUE,
  load_skills = TRUE,
  load_commands = TRUE
)

Arguments

agent

An Agent object.

settings

Settings list returned by claude_settings_load().

apply_memory

Logical. If TRUE (default), append memory to system prompt.

load_skills

Logical. If TRUE (default), load skills into the agent.

load_commands

Logical. If TRUE (default), register slash commands.

Value

Invisibly returns the agent.