Skip to content

feat: expose mcp-cli-usage to claude code, prune redundant plugins - #857

Merged
yxtay merged 3 commits into
mainfrom
feat/symlink-mcp-cli-usage-skill
Jul 3, 2026
Merged

feat: expose mcp-cli-usage to claude code, prune redundant plugins#857
yxtay merged 3 commits into
mainfrom
feat/symlink-mcp-cli-usage-skill

Conversation

@yxtay

@yxtay yxtay commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Symlink mcp-cli-usage custom skill into ~/.claude/skills/ so Claude Code can use it (Claude Code reads ~/.claude/skills/, not ~/.agents/skills/ where the skills CLI installs). Mirrors the existing find-skills symlink.
  • Drop code-review-policy skill (removed by user).
  • Remove claude-md-management and feature-dev plugins — redundant given superpowers (feature workflow) and built-in /init (CLAUDE.md).

Notes

  • feature-dev was never in the install script; only a live uninstall was needed.
  • Run chezmoi apply ~/.claude/skills/mcp-cli-usage to materialize the symlink locally.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated setup behavior on macOS by removing one Claude plugin from the automated install list.
    • Added a new shortcut link for an AI-related skill resource.
  • Documentation

    • Removed an internal policy document from the skills area.

yxtay and others added 2 commits July 3, 2026 09:50
Claude Code reads ~/.claude/skills/, not ~/.agents/skills/ where the
skills CLI installs. Symlink exposes the mcp-cli-usage custom skill to
Claude Code, mirroring the existing find-skills symlink. Also drop the
removed code-review-policy skill.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Both redundant given superpowers (feature workflow) and built-in /init
(CLAUDE.md). Removes claude-md-management from the install script;
feature-dev was never scripted, so only the live uninstall was needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@yxtay, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 48 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0488dcc0-5bf4-43de-9f82-5a869182b49a

📥 Commits

Reviewing files that changed from the base of the PR and between b0f3fe2 and 18145ee.

📒 Files selected for processing (1)
  • chezmoi/.chezmoiscripts/run_before_brew_install.sh.tmpl
📝 Walkthrough

Walkthrough

This PR removes the claude-md-management@claude-plugins-official plugin entry from the Claude plugin installation list, deletes the contents of the code-review-policy SKILL.md file, and adds a new symlink reference file pointing to the mcp-cli-usage skill.

Changes

Claude Plugin and Skill Cleanup

Layer / File(s) Summary
Plugin list update and skill symlink
chezmoi/.chezmoiscripts/run_onchange_setup_claude.sh.tmpl, chezmoi/private_dot_claude/skills/symlink_mcp-cli-usage
Removes claude-md-management@claude-plugins-official from the plugins array installed via the loop, and adds a new file referencing ../../.agents/skills/mcp-cli-usage as a symlink target.
Code review policy removal
chezmoi/private_dot_agents/skills/code-review-policy/SKILL.md
Removes all content describing severity levels, review checklist, and merge gate criteria from the file.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • yxtay/dotfiles#817: Both PRs modify the same Claude plugins installation list in run_onchange_setup_claude.sh.tmpl.
  • yxtay/dotfiles#850: Both PRs modify the same plugin setup/installation list in run_onchange_setup_claude.sh.tmpl.
  • yxtay/dotfiles#851: Both PRs modify the same plugins=(...) list in run_onchange_setup_claude.sh.tmpl.

Poem

A plugin hops away tonight,
One less line, the list feels light 🐇
A skill now points where symlinks lead,
A policy page cleared of screed,
Small burrows dug, the code moves right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly reflects the main changes: exposing mcp-cli-usage to Claude Code and removing redundant plugins.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/symlink-mcp-cli-usage-skill

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the claude-md-management plugin from the Claude setup script, deletes the code-review-policy document, and adds a symlink for the mcp-cli-usage skill. As there are no review comments, I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH shfmt 3 0 0 0 0.02s
✅ JSON prettier 4 0 0 0 0.4s
⚠️ MARKDOWN markdownlint 7 0 2 0 0.59s
✅ MARKDOWN markdown-table-formatter 7 0 0 0 0.16s
✅ YAML prettier 10 0 0 0 0.48s

Detailed Issues

⚠️ MARKDOWN / markdownlint - 2 errors
chezmoi/private_dot_claude/modify_CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "{{- /*chezmoi:modify-template*..."]
chezmoi/private_dot_config/opencode/modify_AGENTS.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "{{- /*chezmoi:modify-template*..."]

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.5.0 --custom-flavor-setup --custom-flavor-linters BASH_SHFMT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,YAML_PRETTIER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.29s
✅ ACTION zizmor 5 0 0 0 0.6s
✅ BASH bash-exec 3 0 0 0.01s
✅ BASH shellcheck 3 0 0 0.11s
✅ BASH shfmt 3 0 0 0 0.02s
✅ COPYPASTE jscpd yes no no 0.81s
✅ EDITORCONFIG editorconfig-checker 65 0 0 0.05s
✅ JSON prettier 4 0 0 0 0.53s
✅ JSON v8r 4 0 0 2.44s
⚠️ MARKDOWN markdownlint 7 0 2 0 0.74s
✅ MARKDOWN markdown-table-formatter 7 0 0 0 0.22s
✅ REPOSITORY checkov yes no no 22.59s
✅ REPOSITORY gitleaks yes no no 1.2s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 47.54s
⚠️ REPOSITORY osv-scanner yes 1 no 0.1s
✅ REPOSITORY secretlint yes no no 1.43s
✅ REPOSITORY syft yes no no 1.91s
✅ REPOSITORY trivy yes no no 11.0s
✅ REPOSITORY trivy-sbom yes no no 0.16s
✅ REPOSITORY trufflehog yes no no 4.33s
⚠️ SPELL lychee 21 2 0 0.89s
✅ YAML prettier 10 0 0 0 0.65s
✅ YAML v8r 10 0 0 8.03s
✅ YAML yamllint 10 0 0 0.53s

Detailed Issues

⚠️ SPELL / lychee - 2 errors
📝 Summary
---------------------
🔍 Total...........20
🔗 Unique..........15
✅ Successful......18
⏳ Timeouts.........0
🔀 Redirected.......3
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........2
⛔ Unsupported......2

Errors in chezmoi/private_dot_config/mcp/mcp_servers.json
[406] https://mcp.deepwiki.com/mcp (at 11:15) | Rejected status code: 406 Not Acceptable

Errors in chezmoi/private_dot_config/opencode/create_opencode.json
[406] https://mcp.deepwiki.com/mcp (at 23:15) | Rejected status code: 406 Not Acceptable

Hint: Followed 3 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`
⚠️ MARKDOWN / markdownlint - 2 errors
chezmoi/private_dot_claude/modify_CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "{{- /*chezmoi:modify-template*..."]
chezmoi/private_dot_config/opencode/modify_AGENTS.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "{{- /*chezmoi:modify-template*..."]
⚠️ REPOSITORY / osv-scanner - 1 error
Scanning dir .
Starting filesystem walk for root: /
End status: 43 dirs visited, 139 inodes visited, 0 Extract calls, 3.278315ms elapsed, 3.278685ms wall time
No package sources found, --help for usage information.

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.5.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,COPYPASTE_JSCPD,EDITORCONFIG_EDITORCONFIG_CHECKER,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH bash-exec 3 0 0 0.01s
✅ BASH shellcheck 3 0 0 0.17s
✅ REPOSITORY checkov yes no no 23.76s
✅ REPOSITORY devskim yes no no 2.18s
✅ REPOSITORY dustilock yes no no 0.01s
✅ REPOSITORY gitleaks yes no no 1.08s
✅ REPOSITORY grype yes no no 46.82s
✅ REPOSITORY kingfisher yes no no 8.86s
⚠️ REPOSITORY osv-scanner yes 1 no 0.1s
✅ REPOSITORY secretlint yes no no 2.01s
✅ REPOSITORY syft yes no no 1.94s
✅ REPOSITORY trivy yes no no 12.72s
✅ REPOSITORY trivy-sbom yes no no 0.13s
✅ REPOSITORY trufflehog yes no no 4.5s

Detailed Issues

⚠️ REPOSITORY / osv-scanner - 1 error
Scanning dir .
Starting filesystem walk for root: /
End status: 43 dirs visited, 139 inodes visited, 0 Extract calls, 4.07335ms elapsed, 4.073521ms wall time
No package sources found, --help for usage information.

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.5.0 --custom-flavor-setup --custom-flavor-linters BASH_EXEC,BASH_SHELLCHECK,REPOSITORY_CHECKOV,REPOSITORY_DEVSKIM,REPOSITORY_DUSTILOCK,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,REPOSITORY_KINGFISHER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

Powers the Claude Code statusline (already wired in settings.json).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@yxtay

yxtay commented Jul 3, 2026

Copy link
Copy Markdown
Owner Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the 'context-mode' npm package to the Homebrew installation script, removes the 'claude-md-management' plugin from the Claude setup script, deletes the code review policy document, and adds a symlink for 'mcp-cli-usage' under Claude skills. There are no review comments to address, and the changes look straightforward.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@yxtay
yxtay merged commit 25bbb7c into main Jul 3, 2026
31 checks passed
@yxtay
yxtay deleted the feat/symlink-mcp-cli-usage-skill branch July 3, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant