Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotclaude

This is a public mirror of my ~/.claude, the global configuration directory of Claude Code: the rules I have Claude Code follow in every project, my user settings and my hooks, with the script I use to keep this checkout and the live directory in sync.

The rules file names no person, organisation, customer or repository, so it can be copied as it stands. ./sync.sh --install copies every mirrored file into your own ~/.claude.

Files

  • CLAUDE.md: the rules Claude Code follows in every project, installed as ~/.claude/CLAUDE.md.
  • settings.json: my user settings, installed as ~/.claude/settings.json: model and effort level, the Figma plugin with its writing tools denied, the hook below, and no Claude attribution on commits or pull requests.
  • hooks/git-fetch-prune.sh: runs on every prompt and fetches all remotes with pruning in the background, at most once per 15 minutes per repository, without ever prompting for credentials.
  • sync.sh: pulls this checkout, copies each mirrored file whichever way it changed, stops on a file changed on both sides, and scans everything for private names, paths, addresses and credentials before anything gets committed. With --install it copies the mirrored files into ~/.claude on a new machine.
  • sync-allow.txt: optional and absent here, one literal per line that the scan ignores.
  • LICENSE and LICENSE-CC-BY-SA-4.0: the licence texts, see below.

License

Prose, meaning CLAUDE.md and this README, is licensed under Creative Commons Attribution-ShareAlike 4.0 International. See LICENSE-CC-BY-SA-4.0.

Everything else is licensed under the GNU Affero General Public License, version 3 or (at your option) any later version. See LICENSE.

About

A public mirror of my ~/.claude: the Claude Code rules file, user settings, hooks, and the script that keeps them in sync.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages