A ready-to-use, shareable Claude Code configuration for Dev and Ops work.
Global rules, 30 skills, hooks and memory scaffolding. Everything here is generic: no personal data, no secrets, no machine-specific paths. Install it on any machine, then customize it.
The wiki explains how this is built and why: which of the four channels each rule belongs to, how the skills trigger, and how the memory scaffold is meant to be used.
- Automatic:
bash install.shcopies everything into~/.claude/, including the memory scaffolding under the right project key. Add--herdrfor the herdr workspace, see below. - Claude-guided: see
INSTALL.mdfor a prompt to paste into Claude Code. - Manual: see "Install on a new machine" below.
CLAUDE.md: global rules covering adaptive teaching mode, visual clarity, response format, git conventions and token economy. Customize this file after install.skills/: 30 skills, 15 for DevOps (Ansible, ArgoCD, Azure, Docker, Docker Swarm, GitHub Actions, GitLab CI, Helm, Prometheus and Grafana, Terraform, shell scripts, Makefiles, plus logging, metrics and tracing design) and 15 for development methodology (brainstorming, planning, TDD, debugging, code review, git worktrees, cleaning user-facing text).hooks/: hook directory, shipped with its CommonJS manifest. Output shaping now comes from thei-have-adhdplugin, which registers its own hooks.settings.json: Claude Code configuration (model, effort level, permissions with explicit deny rules, theme,i-have-adhdmarketplace).memory/: persistent memory scaffolding, empty by default (index plus one example file).shell/claude-herdr.zsh: optional zsh wrapper that makesclaudeopen a herdr workspace, Claude on the left and a shell on the right.
Secrets and private data are excluded and must never be committed: .credentials.json, history.jsonl, session transcripts, caches, and the real memory/ files, which hold personal notes.
The autoMode block of the source settings.json is excluded too: it pins local filesystem paths, a private remote and the location of credential files.
-
Clone this repository, then copy the files into
~/.claude/:cp CLAUDE.md ~/.claude/ cp -r skills/. ~/.claude/skills/ cp -r hooks/. ~/.claude/hooks/ cp settings.json ~/.claude/settings.json
-
The
settings.jsonshipped here holds no machine-specific path, so it copies as is. It does carrydenyrules blockinggh repo delete,gh repo editand force pushes; drop them if you want those commands back. -
Copy the memory scaffolding. The project key is derived from your home directory, so
/home/alicebecomes-home-alice:MEMKEY="$(echo "$HOME" | tr '/' '-')" mkdir -p "$HOME/.claude/projects/$MEMKEY/memory" cp memory/*.md "$HOME/.claude/projects/$MEMKEY/memory/"
-
The
i-have-adhdplugin reinstalls itself:settings.jsondeclares theayghri/i-have-adhdmarketplace and enables the plugin, which is fetched on the next Claude Code launch. To do it manually:/plugin marketplace add ayghri/i-have-adhd /plugin install i-have-adhd -
Restart Claude Code. The plugin registers its own hooks at session start.
With herdr installed, typing claude opens a herdr workspace in the current directory, with Claude on the left and an empty shell on the right.
bash install.sh --herdrOn top of the regular install, this:
- Checks for
curl,jqandzsh. If one is missing, it prints theapt,dnfandpacmancommand to install it and stops before writing anything. - Installs herdr if it is not there yet: with Homebrew when available, otherwise with the official installer, which checks the SHA-256 and puts the binary in
~/.local/bin(that directory must be in yourPATH). - Copies the wrapper to
~/.claude/shell/claude-herdr.zshand sources it from~/.zshrc, once. Moving or deleting the clone afterwards does not break your shell. - Runs
herdr integration install claude, which writes~/.claude/hooks/herdr-agent-state.shand itsSessionStartentry insettings.json.
Step 4 also runs on every later bash install.sh, with or without the flag, as long as herdr is installed: the script overwrites settings.json, and this puts the herdr hook back.
The wrapper falls back to the plain claude binary when herdr or jq is missing, when already inside herdr, when stdin or stdout is not a terminal, and for non-interactive flags and subcommands (-p, --bg, --version, mcp, agents, logs, doctor...). To bypass it once, run command claude.
The rules in CLAUDE.md and the DevOps skills are written in French, since that is the language of the setup they came from. The structure is language-agnostic, so translating them is a search and replace away.
Em dashes were removed throughout, which is a personal formatting preference carried over from CLAUDE.md.
This configuration assembles work from other people. None of it is sold or claimed as original, and all of it is worth visiting at the source.
- DevOps skills, adapted from khalilbenaz/claude-skills-collection, folder
devops-skills. - Development and methodology skills, adapted from obra/superpowers, folder
skills. The upstream hooks are not included here. - Output shaping plugin, from ayghri/i-have-adhd.
Adaptations are limited to formatting and language conventions. If you are one of the authors and want a credit changed or the content removed, open an issue and it will be handled.