Back to skills
extension
Category: Development & EngineeringNo API key required

configure-claude-code

Applies personalized Claude Code settings. Use when setting up Claude Code preferences on a new machine.

personAuthor: jakexiaohubgithub

Prerequisites

  • Claude Code installed
  • jq installed (for JSON manipulation)

Configuration

Settings to apply

| Setting | Value | Description | |---------|-------|-------------| | includeCoAuthoredBy | false | Disable co-authored-by line in commits | | statusLine | custom command | Custom status line using ~/.claude/statusline.sh |

Installation

1. Ensure settings directory exists

mkdir -p ~/.claude

2. Install status line script

Copy the status line script from this repository:

cp scripts/status_line.sh ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh

3. Apply settings

If ~/.claude/settings.json doesn't exist, create it:

echo '{}' > ~/.claude/settings.json

Update the settings using jq:

jq '. + {"includeCoAuthoredBy": false, "statusLine": {"type": "command", "command": "~/.claude/statusline.sh", "padding": 0}}' ~/.claude/settings.json > ~/.claude/settings.json.tmp && mv ~/.claude/settings.json.tmp ~/.claude/settings.json

Verify

cat ~/.claude/settings.json | jq '.includeCoAuthoredBy'

Should output: false

cat ~/.claude/settings.json | jq '.statusLine'

Should output the statusLine configuration object.

ls -la ~/.claude/statusline.sh

Should show the script with execute permissions.

Update

Re-run the installation steps to apply any new settings added to this skill.

Uninstall

Remove the settings or reset to defaults:

jq 'del(.includeCoAuthoredBy, .statusLine)' ~/.claude/settings.json > ~/.claude/settings.json.tmp && mv ~/.claude/settings.json.tmp ~/.claude/settings.json