Tips // Claude in practice

Tips for working better with Claude

One short tip at a time, with an example you can copy. Move through them at random or search for what you need.

Claude CodeAdvancedClaude Code

--bare: the same result in CI on any machine

A pipeline that depends on each developer's config gives different results; --bare leaves it out.

According to the course, --bare disables hooks, skills, plugins, MCP servers, auto memory and the loading of CLAUDE.md in that run. Combined with -p, the same command behaves the same regardless of what each person has configured.

Example
claude -p --bare 'Your prompt here'
#headless#ci#reproducibility#flags