OpenParable
Skip to content
← Back to skills

Cc Config Placement

Agent Building
cc-config-placement

Cc Config Placement is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when adding rules, commands, or skills to dotfiles - decides global vs project-local placement

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/cc-config-placement/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cc-config-placement, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

CC Config Placement

Decide whether Claude Code config belongs in global (claude/) or project-local (.claude/).

The Two Levels

PathSymlink DirectionScope
dotfiles/claude/~/.claude/* symlinks point hereAll projects (global)
dotfiles/.claude/Not symlinkedDotfiles repo only

Symlink Structure

~/.claude/ contains symlinks pointing into dotfiles/claude/:

~/.claude/
├── CLAUDE.md      → dotfiles/claude/CLAUDE.md
├── commands/      → dotfiles/claude/commands/
├── rules/         → dotfiles/claude/rules/
├── scripts/       → dotfiles/claude/scripts/
├── skills/        → dotfiles/claude/skills/
└── settings.json  (real file, NOT symlinked)

Exception: settings.json - the real file lives at ~/.claude/settings.json. For version control visibility, dotfiles/claude/settings.json symlinks TO it (reverse direction).

Decision Guide

Global (dotfiles/claude/):

  • Communication preferences, work style
  • Commit format, API rules
  • Skills/commands useful across all projects
  • Settings changes → edit ~/.claude/settings.json directly

Project-local (dotfiles/.claude/):

  • Dotfiles-specific conventions
  • Commands like /audit
  • Rules scoped to specific dotfiles

When Ambiguous

Ask: "Should this apply globally (all projects) or just to dotfiles?"

Ambiguous examples:

  • "Add a rule about X" → which level?
  • "Create a command for Y" → global or local?
  • "Remember that I prefer Z" → sounds global, confirm

File Structure

dotfiles/
├── claude/                    ← ~/.claude/* symlinks point here (GLOBAL)
│   ├── CLAUDE.md
│   ├── commands/
│   ├── rules/
│   ├── scripts/
│   ├── skills/
│   └── settings.json          → ~/.claude/settings.json (reverse symlink)
│
└── .claude/                   ← PROJECT-LOCAL (dotfiles repo only)
    ├── CLAUDE.md
    ├── settings.json
    ├── settings.local.json
    ├── skills/
    └── rules/