// 93 tips tagged "automation"
The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.
The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.
The cleanupPeriodDays setting controls how long session transcripts are kept, or set it to 0 to disable persistence entirely.
Ask Claude to read your repo and generate complete GitHub Issue template files in the YAML forms format — bug reports, feature requests, and config.yml all tailored to your actual stack.
Describe your server setup in plain English and let Claude write a complete, idempotent Ansible playbook — modules, handlers, roles, and all the boilerplate you'd otherwise look up.
The Claude Agent SDK gives you Claude Code's full tool suite as a Python or TypeScript library. Build autonomous agents with built-in file, bash, and search tools.
The trigger_phrase parameter lets you change the default @claude mention to any custom keyword, useful for running multiple Claude workflows on the same repo.
The otelHeadersHelper setting runs a script to generate fresh authentication headers for your OTel backend, refreshing automatically every 29 minutes.
Claude Code exports detailed events via OpenTelemetry logs, giving you a full audit trail of every tool call, API request, and user prompt.
Every event emitted while processing a single prompt shares a prompt.id UUID, letting you trace the complete chain of API calls and tool executions.
Three environment variables control which attributes are included in Claude Code OTel metrics, letting you manage cardinality and storage costs.
The v1 release of Claude Code GitHub Actions consolidates model, max_turns, and other options into a single claude_args parameter that accepts any CLI flag.