Agent skill

MCP Refactoring

by adeze in adeze/raindrop-mcp

Refactoring MCP Tools for Better LLM Integration and Usability

MITAuto-check passedDevelopment

Install MCP Refactoring

skills CLI
$ npx skills add adeze/raindrop-mcp --skill mcp-refactoring -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install adeze/raindrop-mcp mcp-refactoring --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/adeze/raindrop-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/mcp-refactoring .claude/skills/mcp-refactoring && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcp-refactoring
GitHub stars
188
Token cost
~972 tokens
SKILL.md length
365 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Refactoring MCP Tools for Better LLM Integration and Usability

  • Tasks that involve Refactoring
  • SKILL.md covers Capabilities: Resources,…, Streamlining Tools for LLMs, Example: Refactored Tool Set and LLM/AI-Optimized Features
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve MCP servers

What it does

MCP Refactoring is an agent skill from adeze/raindrop-mcp. Refactoring MCP Tools for Better LLM Integration and Usability

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Refactoring, MCP servers and UX design. It works with Model Context Protocol. The licence is MIT.

When your agent uses it

  • Tasks that involve Refactoring
  • Tasks that involve MCP servers
  • Tasks that involve UX design

Example prompts

  • “/mcp-refactoring”

What it can do on your machine

Read from SKILL.md and the folder at commit 5b1e7f9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

MCP Refactoring loads about 972 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 365 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~972

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from adeze/raindrop-mcp at commit 5b1e7f9, republished under its MIT licence (© adeze). 365 words, ~972 tokens.

Download SKILL.mdSave it as .claude/skills/mcp-refactoring/SKILL.md (or your agent's skills folder).
name
mcp-refactoring
description
Refactoring MCP Tools for Better LLM Integration and Usability
keywords
mcp, refactoring, tools, resources, llm-optimization, usability

MCP Refactoring Skill

Guidelines for refactoring Raindrop MCP tools for better LLM integration, usability, and following MCP best practices.

Capabilities: Resources, Sampling, Elicitation

Resources

Expose all major Raindrop entities as MCP resources:

  • collections://all, collections://{id}
  • bookmarks://{id}, tags://all
  • highlights://all, user://info

Implement resource discovery and navigation (list, get, search, children, etc.) using standard MCP resource URIs and methods. Ensure each resource supports GET (read), and where appropriate, CREATE, UPDATE, DELETE (write) actions.

Sampling

For large collections/bookmarks/tags/highlights, implement sampling endpoints:

  • e.g., bookmarks://collection/{id}?sample=10 returns a random or recent sample.
  • Add tool parameters for limit, offset, and sample to all list/search tools.
  • Use MCP's sampling capability to advertise this in the server manifest.
Elicitation

Implement elicitation tools for:

  • Confirming destructive actions (delete, merge, etc.)
  • Requesting missing parameters (e.g., if a required field is omitted, prompt the LLM/user)
  • Use the MCP elicitation capability to allow the server to ask clarifying questions or confirmations.

Streamlining Tools for LLMs

Hierarchical, Predictable Naming
  • Use a consistent {resource}_{action} pattern (e.g., collection_list, bookmark_create, tag_manage)
  • Group related actions under a single tool with an operation parameter where possible (e.g., collection_manage for create, update, delete)
Reduce Redundancy

Collapse similar tools:

  • Merge collection_create, collection_update, collection_delete into collection_manage with an operation parameter
  • Do the same for bookmarks, tags, highlights
  • For read-only actions, keep list, get, and search as separate, simple tools
Show full SKILL.md (150 more words)Show less
LLM-Friendly Descriptions
  • Ensure every tool and parameter has a clear, concise description
  • Use Zod schemas for validation and documentation

Example: Refactored Tool Set

Tool NameDescriptionOperations/Params
collection_manageCreate, update, or delete a collectionoperation: create/update/delete
collection_listList all or child collectionsparentId
bookmark_manageCreate, update, delete, move, tag bookmarksoperation, ids, data
bookmark_searchSearch bookmarks with filtersquery, tags, collection, etc.
tag_manageRename, merge, delete tagsoperation, tagNames, newName
highlight_manageCreate, update, delete highlightsoperation, id, data
user_profileGet user info
user_statisticsGet user or collection statscollectionId
import_exportImport/export bookmarks, check statusoperation, format, etc.
diagnosticsServer diagnosticsincludeEnvironment

LLM/AI-Optimized Features

  • Resource URIs: Support direct resource access via URIs (e.g., collections://all)
  • Streaming: For large lists, support streaming or pagination
  • Sampling: Add sample and limit parameters to all list/search tools
  • Elicitation: Use MCP's elicitation to prompt for missing/ambiguous info and confirmations
  • Consistent Error Handling: Always return structured, descriptive errors

© adeze, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/mcp-refactoring of adeze/raindrop-mcp.

Open the folder on GitHubat commit 5b1e7f9

Compare with similar skills

MCP Refactoring next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MCP Refactoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MCP Refactoring this skilladeze/raindrop-mcp188—~972Automated safety check: PassMIT
Roslynkmrpmorris/Roslynk125—~3.1kAutomated safety check: PassMIT
Idea MCPdtprj/dongting208—~698Automated safety check: PassApache-2.0
Trace-MCP Refactoringnikolai-vysotskyi/trace-mcp186—~672Automated safety check: PassMIT
Memtrace Decision Memorysyncable-dev/memtrace-public487—~1.9kAutomated safety check: PassCustom licence
Codehealth MCPaffaan-m/ECC275k1 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Roslynk

    mrpmorris/Roslynk

    How to use the Roslynk MCP tools (mcproslynk) effectively for .NET work.

    125 GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Idea MCP

    dtprj/dongting

    IntelliJ IDEA MCP for Java code analysis, testing, refactoring, and project navigation.

    208 GitHub stars~698 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Trace-MCP Refactoring

    nikolai-vysotskyi/trace-mcp

    Refactors code safely in projects indexed by trace-mcp: assess risk, find candidates, check impact and rename symbols across every file without missing a reference.

    186 GitHub stars~672 tokensUpdated today
    DevelopmentAuto-check passed
  • Memtrace Decision Memory

    syncable-dev/memtrace-public

    Use Cortex decision memory through the normal Memtrace MCP tools.

    487 GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Codehealth MCP

    affaan-m/ECC

    Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs.

    275k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Testing With API Mocks

    stacklok/toolhive-studio

    Start here for all API mocking in tests. An agent skill from stacklok/toolhive-studio.

    170 GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from adeze/raindrop-mcp

  • MCP Inspector

    adeze/raindrop-mcp

    MCP Protocol Inspection and Debugging with Inspector CLI. An agent skill from adeze/raindrop-mcp.

    188 GitHub stars~421 tokensUpdated 2 mo ago
    Auto-check passed
  • MCP Testing

    adeze/raindrop-mcp

    MCP Testing Strategies with Vitest, Inspector, and Integration Tests

    188 GitHub stars~1.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Publishing

    adeze/raindrop-mcp

    Publishing and release workflow with semantic-release and GitHub Actions

    188 GitHub stars~398 tokensUpdated 2 mo ago
    Auto-check passed
  • Dxt Packaging

    adeze/raindrop-mcp

    MCPB (Model Context Protocol Bundle) Packaging and Distribution

    188 GitHub stars~572 tokensUpdated 2 mo ago
    Auto-check passed
  • MCP Development

    adeze/raindrop-mcp

    MCP Server Development Patterns and Best Practices. An agent skill from adeze/raindrop-mcp.

    188 GitHub stars~855 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about MCP Refactoring

What does MCP Refactoring do?

Refactoring MCP Tools for Better LLM Integration and Usability. MCP Refactoring is an agent skill from adeze/raindrop-mcp.

When should I use MCP Refactoring?

MCP Refactoring fits situations like: tasks that involve Refactoring; tasks that involve MCP servers; tasks that involve UX design.

How do I install MCP Refactoring in Claude Code?

Run `npx skills add adeze/raindrop-mcp --skill mcp-refactoring -a claude-code`. Or copy the skill folder (.github/skills/mcp-refactoring in adeze/raindrop-mcp) into .claude/skills/mcp-refactoring in your project. Claude Code loads it when a task matches its description.

How do I install MCP Refactoring in Codex?

Run `npx skills add adeze/raindrop-mcp --skill mcp-refactoring -a codex`. Or copy the skill folder (.github/skills/mcp-refactoring in adeze/raindrop-mcp) into .agents/skills/mcp-refactoring in your project. Codex loads it when a task matches its description.

Can I use MCP Refactoring in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add adeze/raindrop-mcp --skill mcp-refactoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcp-refactoring, .gemini/skills/mcp-refactoring, .github/skills/mcp-refactoring and .opencode/skills/mcp-refactoring in your project.

What does MCP Refactoring need to run?

SKILL.md names no scripts, command-line tools or credentials: MCP Refactoring is instructions for the agent only.

Does MCP Refactoring access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is MCP Refactoring safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does MCP Refactoring use?

MCP Refactoring is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MCP Refactoring use?

About 972 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to MCP Refactoring?

Skills that share tags, products or a category with MCP Refactoring: Roslynk (mrpmorris/Roslynk, 125 stars), Idea MCP (dtprj/dongting, 208 stars), Trace-MCP Refactoring (nikolai-vysotskyi/trace-mcp, 186 stars) and Memtrace Decision Memory (syncable-dev/memtrace-public, 487 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MCP Refactoring?

adeze (a GitHub user) maintains it in adeze/raindrop-mcp, which has 188 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 24, 2026.

Source: adeze/raindrop-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.