my-claude-code-setup
CLAUDE.md2.7k starsChanged 6 months agoMITView on GitHub
This repo provides 3 CLAUDE.md templates following official Anthropic best practices: For migrating an existing CLAUDE.md to a new template, see CLAUDE-migrate-to-new-template.md. Use rg not grep, fd not find. tree is not installed. This template requires .claude/rules/core-rules.md for behavioral rules. If .claude/rules/ is missing or empty, alert the user and direct them to https://github.com/centminmod/my-claude-code-setup to obtain the companion rules files. This project uses a dual-memory architecture: Primary (git-shared): CLAUDE-*.md files in repo root — read on demand: Shadow (machine-local): Native…
Trending
More talk lately.about the whole repository
Who's talking about centminmod/my-claude-code-setup
- @georgesl.bsky.social“Claude Code created images using my ai-image-creator Skill that leverages Google Gemini Nano Banana 2, Flux …”Bluesky · Mar 31, 2026 · 4 likes
- @georgesl.bsky.social“Claude Code + using GLM 4.7 Pro coding plan with Claude Code Github Actions for auto reviewing pull …”Bluesky · Jan 19, 2026 · 4 likes
- @georgesl.bsky.social“Updated my Claude Code statusline.sh script and starter Github template repo github.com/centminmod/m... …”Bluesky · Jan 13, 2026 · 4 likes
- @georgesl.bsky.social“Updated my Claude Code custom slash commands with /secure-prompts to detect prompt injections and malicious …”Bluesky · Jul 18, 2025 · 4 likes
- @georgesl.bsky.social“Updated my Claude Code ai-image-creator SKILL to my Claude Code starter template GitHub repo at …”Bluesky · Mar 25, 2026 · 3 likes
The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 56
Talked about on Bluesky, GitHub and Hacker News (56 times).
On Bluesky · 50
- Mar 31, 2026Claude Code created images using my ai-image-creator Skill that leverages Google Gemini Nano Banana 2, Flux 2, Riverflow V2 Pro, Bytedance… — @georgesl.bsky.social4 likes and reposts · 1 reply
- Jan 19, 2026Claude Code + using GLM 4.7 Pro coding plan with Claude Code Github Actions for auto reviewing pull requests. How to configure GLM 4.7 for… — @georgesl.bsky.social4 likes and reposts
- Jan 13, 2026Updated my Claude Code statusline.sh script and starter Github template repo github.com/centminmod/m... with new Claude Code 2.1.6 status… — @georgesl.bsky.social4 likes and reposts
- Jul 18, 2025Updated my Claude Code custom slash commands with /secure-prompts to detect prompt injections and malicious payloads in prompts… — @georgesl.bsky.social4 likes and reposts · 1 reply
- Mar 25, 2026Updated my Claude Code ai-image-creator SKILL to my Claude Code starter template GitHub repo at github.com/centminmod/m... so Claude can… — @georgesl.bsky.social3 likes and reposts · 2 replies
45 more on Bluesky
- Mar 1, 2026OpenAI ChatGPT users migrating to Claude Code might find my Claude Code starter template repo useful - currently at over 1900+ GitHub stars… — @georgesl.bsky.social3 likes and reposts · 1 reply
- Jan 24, 2026Been supplementing my Claude Code Max $100 plan usage with a heavily discounted ZAI GLM Coding Pro plan $10.80/month… — @georgesl.bsky.social3 likes and reposts · 1 reply
- Jan 23, 2026Coincidentally, I was watching Theo's YouTube video while using Claude Code with my Claude Skill, consult-codex to have Opus 4.5 and… — @georgesl.bsky.social3 likes and reposts
- Jan 21, 2026Compared on same GitHub repo Claude Code GitHub Action + GLM 4.7 pull request vs Kilo Code Reviews with OpenAI GPT-5.2-codex, Claude Code… — @georgesl.bsky.social3 likes and reposts
- Jan 16, 2026ZAI GLM 4.7 coding plan has heavy discount offers that stack - 10% off invite code + 60% yearly plan discount. Invite code and guide to… — @georgesl.bsky.socialsays it tested it3 likes and reposts
- Aug 18, 2025My Claude Code starter template repo is quite popular - now approaching 900 GitHub stars soon with CLAUDE.md, hooks, subagents and custom… — @georgesl.bsky.social3 likes and reposts
- Jul 28, 2025Created new Claude Code code-search subagent with its own separate context from main context in my Claude Code starter template repo at… — @georgesl.bsky.social3 likes and reposts
- Jul 25, 2025Claude Code /ccusage-daily slash command parsing and analysing ccusage metrics github.com/centminmod/m... 🤓 #claudecode #claude #ai — @georgesl.bsky.social3 likes and reposts
- Jul 25, 2025Claude Code /ccusage-daily slash command parsing and analysing ccusage metrics github.com/centminmod/m... 🤓 #claudecode #claude #ai — @georgesl.bsky.social3 likes and reposts · 1 reply
- Jul 19, 2025If we are borrowing each others prompts, might want to check them first. Updated my Claude Code custom slash commands with /secure-prompts… — @georgesl.bsky.social3 likes and reposts
- Jul 16, 2025My Claude Code /refactor-code slash prompt is nailing large Python files code refactoring and breaking down large monolith files to modules… — @georgesl.bsky.social3 likes and reposts · 2 replies
- Apr 3, 2026Updated my Claude Code ai-image-creator skill to support analysing images with Gemini 3.1 Flash Image Lite and GPT-5 Nano… — @georgesl.bsky.social2 likes and reposts
- Mar 31, 2026Claude Code ai-image-creator Skill using Google Gemini Nano Banana 2 github.com/centminmod/m... to created my Claude Code token usage… — @georgesl.bsky.social2 likes and reposts · 1 reply
- Mar 31, 2026Claude Code created images using my ai-image-creator Skill that leverages Google Gemini Nano Banana 2, Flux 2, Riverflow V2 Pro, Bytedance… — @georgesl.bsky.social2 likes and reposts · 1 reply
- Mar 25, 2026And costs for my Claude Code ai-image-creator SKILL at github.com/centminmod/m... where Claude generated images using: - Google Nano Banana… — @georgesl.bsky.social2 likes and reposts
- Mar 25, 2026Added Claude Code ai-image-creator SKILL to my Claude Code starter template GitHub repo at github.com/centminmod/m... so that Claude… — @georgesl.bsky.social2 likes and reposts · 1 reply
- Feb 11, 2026Claude Code Opus 4.6 waiting on my consult-codex GPT-5.3 skill's 2nd opinion github.com/centminmod/m... 🤓 — @georgesl.bsky.social2 likes and reposts
- Jan 23, 2026I use my Claude Code Skill, consult-codex so can leverage OpenAI GPT-5.2 + my Claude Opus 4.5 code-searcher agent to get a 2nd opinion for… — @georgesl.bsky.social2 likes and reposts
- Nov 2, 2025Added Claude claude-docs-consultant SKILL to my Claude Code start template to selectively consult official Claude Code documentation when… — @georgesl.bsky.social2 likes and reposts · 2 replies
- Aug 24, 2025How well AI understands your code? Test Kilo Code in Visual Studio Code to analyse my codebase with various LLM models, asked Claude Code -… — @georgesl.bsky.social2 likes and reposts
- Aug 14, 2025Asked Claude Code for all known subagents to see if there are any more undocumented subagents github.com/anthropics/c.... There is a… — @georgesl.bsky.social2 likes and reposts
- Aug 14, 2025Asked Claude Code for all known subagents see if there are any more undocumented subagents github.com/anthropics/c.... Seems there is a… — @georgesl.bsky.social2 likes and reposts · 1 reply
- Jul 31, 2025Created Threads API client that can also generate Threads Insight dashboard using Claude Code subagents, code-searcher, ux-design-expert… — @georgesl.bsky.social2 likes and reposts
- Jul 30, 2025Built Threads API client that can also generate Threads Insight dashboard using Claude Code subagents, code-searcher, ux-design-expert and… — @georgesl.bsky.social2 likes and reposts
- Jul 30, 2025Built Threads API client that can also generate Threads Insight dashboard using Claude Code subagents, code-searcher, ux-design-expert and… — @georgesl.bsky.social2 likes and reposts · 1 reply
- Jul 30, 2025Claude Code code-search subagent with its own separate context from the main context in my Claude Code starter template repo at… — @georgesl.bsky.social2 likes and reposts
- Jul 16, 2025My Claude Code /refactor-code slash prompt is nailing large Python files code refactoring and breaking down large monolith files to modules… — @georgesl.bsky.social2 likes and reposts
- Jul 16, 2025My Claude Code /refactor-code slash prompt is nailing large Python files code refactoring and breaking down large monolith files to… — @georgesl.bsky.social2 likes and reposts
- Jul 8, 2025Uploaded the Claude Code command slash prompt /cleanup-context markdown file and Claude Code hooks to my Claude Code starter repo at… — @georgesl.bsky.social2 likes and reposts
- Apr 1, 2026Claude Code created images using my ai-image-creator Skill that leverages Google Gemini Nano Banana 2 Flux 2, Riverflow V2 Pro Bytedance… — @georgesl.bsky.social1 likes and repost
- Mar 31, 2026Claude Code ai-image-creator Skill using Google Gemini Nano Banana 2 github.com/centminmod/m... to created my Claude Code token usage… — @georgesl.bsky.social1 likes and repost
- Mar 31, 2026Claude Code ai-image-creator Skill using Google Gemini Nano Banana 2 github.com/centminmod/m... to created my Claude Code token usage… — @georgesl.bsky.social1 likes and repost · 2 replies
- Mar 31, 2026Claude Code created images using my ai-image-creator Skill that leverages Google Gemini Nano Banana 2, Flux 2, Riverflow V2 Pro, Bytedance… — @georgesl.bsky.social1 likes and repost
- Mar 25, 2026Added Claude Code ai-image-creator SKILL to my Claude Code starter template GitHub repo at github.com/centminmod/m... so that Claude… — @georgesl.bsky.social1 likes and repost
- Feb 11, 2026ZAI GLM-5 in the house 😎 Using GLM 5 LLM model with my Claude Code setup github.com/centminmod/m... 🤓 — @georgesl.bsky.social1 likes and repost
- Jan 28, 2026OpenAI ChatGPT Plus $20/m plan definitely not going to make it for this week's usage limits with 3+ days to go 😅 Been using Codex CLI… — @georgesl.bsky.social1 likes and repost
- Jan 26, 2026I use my Claude Code Skill, consult-codex so I can leverage OpenAI GPT-5.2 + my Claude Opus 4.5 or, in this case, ZAI GLM 4.7 code-searcher… — @georgesl.bsky.social1 likes and repost
- Jan 24, 2026Been supplementing my Claude Code Max $100 plan usage with a heavily discounted ZAI GLM Coding Pro plan $10.80/month… — @georgesl.bsky.social1 likes and repost
- Jan 13, 2026Updated my Claude Code starter templates with consult-zai & consult-codex skill/agent pairs to invoke Claude Code and consult ZAI GLM 4.7… — @georgesl.bsky.social1 likes and repost · 1 reply
- Jan 13, 2026My Claude Code starter template GitHub repo has 1600+ GitHub stars now and at least ~1000 visitors/week. I wanted to rewrite my repo's… — @georgesl.bsky.social1 likes and repost
- Jan 12, 2026Claude Code + ZAI Pro AI plan with stacked discount with 10% invite discount + current 50% yearly discount 🚀 z.ai/subscribe?ic... reduces… — @georgesl.bsky.socialsays it tested it1 likes and repost
- Jan 9, 2026What Claude Code plugins are you using? Mine from my Claude Code setup at github.com/centminmod/m... 🤓 — @georgesl.bsky.social1 likes and repost
- Jan 9, 2026Updated my Claude Code starter template repo with Z.AI + Claude Code config instructions at github.com/centminmod/m... — @georgesl.bsky.social1 likes and repost
- Jan 2, 2026My Claude Code AI coding starter template setup Github repo just broke 1500 Github stars github.com/centminmod/m... 😎 Here's to more… — @georgesl.bsky.social1 likes and repost · 1 reply
- Dec 28, 2025Amazed by Claude Code CLI ability to complete tasks flawlessly. Taking advantage of 2x usage limits revisiting my 5 month old or-cli code… — @georgesl.bsky.social1 likes and repost
On GitHub · 5
- Oct 3, 2026agent-skills.github.centminmod.my-claude-code-setup: 0-unstable-2026-09-22 → 0-unstable-2026-09-28 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.centminmod.my-claude-code-setup: init at 0-unstable-2026-09-22 — sudosubin/agents.nix0 reactions
- Apr 18, 2026Audit candidate: centminmod/my-claude-code-setup — xiaolai/nlpm0 reactions · 2 comments
- Apr 4, 2026feat: .worktreeinclude 自動生成 hook で worktree .env コピーを完全自動化 — it-all-playpark/skills0 reactions
- Oct 15, 2025How hard would it be to aggregate all skills into one repo? — obra/superpowers-skills0 reactions · 3 comments
On Hacker News · 1
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-image-creatorSkill
- audit-session-metricsSkill
- claude-docs-consultantSkill
- consult-codexSkill
- consult-zaiSkill
- session-metricsSkill
- task-breakdownSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Use rg not grep, fd not find.
- Distinctive: line 60
All optional — check existence first.
- Distinctive: line 68
After significant work: update CLAUDE-*.md files, then sync key content to auto memory topic files.
- Very specific: line 70
If CLAUDE.md is ever reset or wiped, auto memory retains project knowledge — check /memory to recover context.
- Very specific: line 74
When asked to backup, copy CLAUDE.md, CLAUDE-*.md files, and .claude/ settings to the specified backup directory.
- Very specific: line 94
Use /memory to inspect loaded files.
- Very specific: line 98
When working on Claude Code features (hooks, skills, subagents, MCP servers), use the claude-code-guide subagent (natively built into …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
<!-- Project-specific context only. Behavioral rules: .claude/rules/core-rules.md --><!-- Run /init to auto-populate (or CLAUDE_CODE_NEW_INIT=1 for interactive mode) --><!-- Keep under 200 lines. If removing a line wouldn't cause mistakes, cut it -->Project Overview
- Name: my-claude-code-setup
- Description: Template repository providing CLAUDE.md templates, memory bank system, hooks, skills, subagents, and MCP server configurations for Claude Code projects
- This is a template repo — no application code. Users fork/copy files to their own projects.
CLAUDE.md Templates
This repo provides 3 CLAUDE.md templates following official Anthropic best practices:
| Template | Lines | Philosophy |
CLAUDE-template-1.md | ~101 | Compact self-contained + memory resilience |
CLAUDE-template-2.md | ~153 | Memory bank headline + dual memory |
CLAUDE-template-3.md | ~105 | Progressive disclosure native (this file's format) |
For migrating an existing CLAUDE.md to a new template, see CLAUDE-migrate-to-new-template.md.
Tools
Use rg not grep, fd not find. tree is not installed.
- Ignore GEMINI.md and GEMINI-*.md files
Rules Dependency
This template requires .claude/rules/core-rules.md for behavioral rules. If .claude/rules/ is missing or empty, alert the user and direct them to https://github.com/centminmod/my-claude-code-setup to obtain the companion rules files.
Memory System
This project uses a dual-memory architecture:
Primary (git-shared): CLAUDE-*.md files in repo root — read on demand:
| File | Read When |
| CLAUDE-activeContext.md | Session start (state and goals) |
| CLAUDE-patterns.md | Before implementing (code patterns) |
| CLAUDE-decisions.md | Before design choices (ADRs) |
| CLAUDE-troubleshooting.md | When debugging (known fixes) |
| CLAUDE-config-variables.md | When touching config |
Shadow (machine-local): Native auto memory mirrors key content for resilience:
| Auto Memory File | Mirrors | Purpose |
| memory/MEMORY.md | Index of all memory bank files | Always loaded (200 lines) |
| memory/patterns.md | CLAUDE-patterns.md | Survives CLAUDE.md reset |
| memory/architecture.md | CLAUDE-decisions.md | Survives CLAUDE.md reset |
| memory/build.md | Build, Test & Verify section | Survives CLAUDE.md reset |
All optional — check existence first. Exclude CLAUDE.md and CLAUDE-*.md from commits.
<!-- BACKUP TIP: Create a private git repo for memory bank backups:
rsync -av ./CLAUDE.md ./CLAUDE-*.md ./.claude/ ~/my-project-memory-backup/
This keeps CLAUDE-*.md version-controlled privately while excluded from the public repo. -->Sync Workflow
After significant work: update CLAUDE-*.md files, then sync key content to auto memory topic files.
If CLAUDE.md is ever reset or wiped, auto memory retains project knowledge — check /memory to recover context.
Backups
When asked to backup, copy CLAUDE.md, CLAUDE-*.md files, and .claude/ settings to the specified backup directory.
Context Layers
| Layer | Location | Loads | Shared | Resilient |
| Project context | This file | Always | Git | No |
| Core rules | .claude/rules/core-rules.md | Always | Git | Yes |
| Auto memory | memory/MEMORY.md | Always (200 lines) | No | Yes |
| Auto memory topics | memory/*.md | On demand | No | Yes |
| Path-scoped rules | .claude/rules/*.md | Matching files | Git | Yes |
| User rules | ~/.claude/rules/*.md | Always | No | Yes |
| Skills | .claude/skills/ | On demand | Git | Yes |
| Personal overrides | CLAUDE.local.md | Always | No | Local |
| Memory bank | CLAUDE-*.md | On demand | Git | No |
<!-- To share rules across projects: ln -s ~/shared-rules .claude/rules/shared -->Use /memory to inspect loaded files. Root CLAUDE.md survives /compact.
Claude Code Official Documentation
When working on Claude Code features (hooks, skills, subagents, MCP servers), use the claude-code-guide subagent (natively built into Claude Code) for questions about Claude Code CLI features, hooks, slash commands, MCP servers, settings, IDE integrations, Claude Agent SDK, and Claude API usage.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

