config/agents/skills/claude-config-optimizer/SKILL.md
Use when editing or reviewing Claude Code configuration artifacts such as CLAUDE.md, rules, skills, agents, commands, or settings, or when the user asks for Claude Code configuration best practices, changelog review, new features, or breaking changes. Do NOT use for Codex-only configuration changes unless the task also affects shared agent assets in this repository. Trigger especially when the user mentions CLAUDE.md, Claude Code settings, rules, hooks, agents, commands, changelog, updates, or config optimization.
npx skillsauth add kumewata/dotfiles claude-config-optimizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Rules and tracking for Claude Code configuration optimization.
User's Claude Code config is stored at:
~/ghq/github.com/i9wa4/dotfiles/config/claude/
Key files:
settings.json - Main settingsCLAUDE.md - Persona and core rulesrules/ - Detailed rules (auto-loaded at startup)skills/ - Specialized knowledge (loaded on demand)agents/ - Custom agentscommands/ - Slash commandsUse gh command to fetch the latest CHANGELOG:
gh api repos/anthropics/claude-code/contents/CHANGELOG.md \
--jq '.content' | base64 -d > .i9wa4/tmp/claude-code-changelog.md
Then read the file to analyze.
## x.x.x sectionDeprecated, Removed, Breaking, ChangedFor detailed questions about Claude Code specifications, features, and usage:
claude-code-guide subagent via Task toolTask tool with subagent_type: claude-code-guide
| Category | Examples |
| -------- | ----------------------------------- |
| Display | showTurnDuration, language |
| Behavior | respectGitignore, autoUpdate |
| Tools | disallowedTools, allowedTools |
| MCP | MCP server configurations |
| Hooks | PreToolUse, PostToolUse, Stop hooks |
| Plans | plansDirectory |
rules/| Type | Load Timing | Purpose | | ------------------ | ------------------------------ | ----------------------------- | | CLAUDE.md / rules/ | Full load at startup | Global rules always applied | | commands/ | Explicit user invocation | Predefined prompts, workflows | | skills/ | Auto-triggered by conversation | Specialized knowledge | | agents/ | Delegated via Task tool | Independent context |
Check the following when editing CLAUDE.md:
When adding/removing files in rules/, skills/, agents/, or commands/:
Last reviewed Claude Code version: v2.1.31 (2026-02-04)
language setting - set to "follow CLAUDE.md's instructions"mcpToolSearch setting - set to "auto:1"ENABLE_TOOL_SEARCH env - set to "true" (force enable)plansDirectory setting - set to ".i9wa4/plans"showTurnDuration - keep default (show duration)reducedMotionMode - keep default (animations enabled)pages param for PDFs, /debug command, MCP OAuth
pre-configured credentials, reduced motion mode# Claude Code vX.X.X
## New Features
- [Feature]: [Description]
## Bug Fixes
- [Fix description]
## Improvements
- [Improvement description]
## Deprecated/Removed
- [Affected settings and migration path]
---
Source: https://github.com/anthropics/claude-code
Convert documentation websites into Claude Agent Skills.
Requirements: Python 3.10+, wget (brew install wget)
uvx --from git+https://github.com/laiso/site2skill site2skill <URL> <SKILL_NAME>
# Example
uvx --from git+https://github.com/laiso/site2skill site2skill https://docs.pay.jp/v1/ payjp
Options:
--output, -o - Output directory (default: .claude/skills)--skill-output - Where to save .skill file (default: current directory)--skip-fetch - Skip download (reuse existing files)--clean - Remove temporary files after completionTo update existing skill docs, re-run without --skip-fetch.
Official Documentation:
Community Resources:
| Mode | Description |
| ------------------- | ----------------------------------------------------- |
| default | Prompts for permission on first use of each tool |
| acceptEdits | Auto-accepts file edit permissions for the session |
| plan | Plan Mode: analyze only, no modifications |
| dontAsk | Auto-denies unless pre-approved via allow rules |
| bypassPermissions | Skips all prompts (use only in isolated environments) |
Rules are evaluated: deny -> ask -> allow. First matching rule wins.
{
"permissions": {
"allow": [
"Bash(npm run *)",
"Bash(git commit *)",
"Bash(* --version)",
"Bash(* --help *)"
],
"deny": ["Bash(git push *)"]
}
}
NOTE: Space before * matters: Bash(ls *) matches ls -la but not lsof.
| Pattern | Meaning | Example |
| -------- | ----------------------------- | ------------------------ |
| //path | Absolute path from root | Read(//Users/alice/**) |
| ~/path | Path from home directory | Read(~/.zshrc) |
| /path | Relative to settings file | Edit(/src/**/*.ts) |
| path | Relative to current directory | Read(*.env) |
NOTE: * matches single directory, ** matches recursively.
{
"permissions": {
"allow": ["mcp__puppeteer__*"],
"deny": ["Task(Explore)"]
}
}
| Platform | Path |
| --------- | --------------------------------------------------------------- |
| macOS | /Library/Application Support/ClaudeCode/managed-settings.json |
| Linux/WSL | /etc/claude-code/managed-settings.json |
| Windows | C:\Program Files\ClaudeCode\managed-settings.json |
| Setting | Description |
| --------------------------------- | --------------------------------------- |
| disableBypassPermissionsMode | Set to "disable" to prevent bypass mode |
| allowManagedPermissionRulesOnly | Only managed rules apply |
| allowManagedHooksOnly | Only managed/SDK hooks allowed |
Based on usage analysis (55K messages, 4.7K sessions):
https://code.claude.com/docs/en/hookshttps://code.claude.com/docs/en/permissionshttps://code.claude.com/docs/en/skills#inject-dynamic-contexthttps://vercel.com/blog/agents-mddevelopment
Generate a private monthly Codex usage and workflow insights report from local ~/.codex/sessions JSONL without exposing raw transcripts. Use when the user explicitly asks for $codex-insights, Codex insights, monthly AI-agent usage review, or a Codex replacement for Claude Code /insights.
tools
Use when creating a new skill or making a substantial change to an existing skill and you also need to design, update, or review Waza-based executable evaluations. This includes deciding whether Waza is warranted, mapping `evals.json` cases into Waza tasks, choosing fixtures and graders, selecting a valid model with `waza models --json`, and running a local-first `waza run` workflow. Do NOT use for installing the Waza CLI itself or for general skill-authoring advice that does not involve Waza; use `skill-creator` for skill design and this skill for the Waza execution layer. Trigger especially when the user mentions Waza, `waza run`, `waza models`, executable evals, compare, graders, fixtures, or wants to validate a skill change with model-backed evaluation.
tools
Use when the user wants Codex to ask Claude Code for a second opinion or review on code, docs, diffs, PR changes, or design notes without modifying files. This delegates bounded review-only analysis through the Claude Code CLI (`claude -p`). Do NOT use for implementation or file edits; keep this skill review-only. Trigger especially when the user says ask Claude, ask Claude Code, cc-delegate, Claude review, second opinion from Claude, compare Codex and Claude, or review this diff/document with Claude Code.
tools
Airflow DAG development skill for writing, reviewing, testing, and debugging Apache Airflow workflows. Use whenever the user mentions Airflow, DAGs, tasks, operators, sensors, schedules, retries, catchup, DAG import errors, DAG parse performance, or workflow orchestration in Python. Also use for Amazon MWAA / Managed Workflows for Apache Airflow work, including MWAA DAG deployment, requirements.txt, plugins.zip, aws-mwaa-docker-images, S3 DAG folders, CloudWatch logs, and MWAA-specific dependency or IAM issues.