πŸ”
AutomationTypeScript

Trace MCP Codemod

by nikolai-vysotskyi

Trace MCP Codemod is an Automation skill for Claude Code, published by nikolai-vysotskyi in trace-mcp.

170 stars20 forkson nikolai-vysotskyi/trace-mcpAdded 2026/09/08+67% in starsRepository updated 2026/09/08
ai-agentsclaudeclaude-aiclaude-codeclaude-code-pluginclaude-code-skillclaude-desktopclaude-skillscode-graphcode-intelligencecodexcodex-skilldependency-graphdeveloper-toolsknowledge-graphmcpmcp-serverragstatic-analysistoken-savings
Install in seconds
Install Trace MCP Codemod
Copy Trace MCP Codemod into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/nikolai-vysotskyi/trace-mcp/tree/master/skills/trace-mcp-codemod ~/.claude/skills/trace-mcp-codemod

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/nikolai-vysotskyi/trace-mcp.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/trace-mcp-codemod/SKILL.md in nikolai-vysotskyi/trace-mcp
Installs to
~/.claude/skills/trace-mcp-codemod
Collection
One of 4 skills cataloged from this repository
Category
Automation β€” 2226 skills

What Trace MCP Codemod does

Trace MCP Codemod uses apply_codemod for repeated mechanical changes instead of repeated Edit calls. Use it when the same edit pattern would be applied 2 or more times across one file or many.

Trace MCP Codemod is cataloged under Automation on DirSkills. Trace MCP Codemod comes from a repository tagged ai-agents, claude, claude-ai, claude-code and claude-code-plugin.

Documentation

README

trace-mcp β€” Codemod Workflow

apply_codemod is the correct tool for any repeated mechanical change. Using Edit for the same pattern twice or more is a waste of tokens and is error-prone.

When to Use β€” HARD RULE

If you are about to make the same kind of change 2 or more times β€” whether in one file or across many β€” stop and use apply_codemod. This includes:

  • Adding async/await to a set of functions
  • Updating a function signature everywhere it is called
  • Fixing import paths after a move
  • Adding or removing keywords/decorators
  • Wrapping calls in a logger, try/catch, or feature flag
  • Replacing a deprecated API usage
  • Any regex-replaceable refactor

No exceptions. "It's just three edits" is still a violation β€” use apply_codemod.

Standard Workflow

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Trace MCP Codemod

  • What else does nikolai-vysotskyi publish alongside Trace MCP Codemod?

    Trace MCP Codemod is one of 4 skills that DirSkills catalogs from nikolai-vysotskyi/trace-mcp, the repository it ships in. Its siblings there include Trace MCP, Trace MCP Pre-Commit and Trace Mcp Refactoring. Each one is a separate skill with its own page in this directory, installs the same way Trace MCP Codemod does, and is maintained by nikolai-vysotskyi in that same repository. The rest of the collection is listed on the nikolai-vysotskyi/trace-mcp page.

  • How does Trace MCP Codemod compare to other Automation skills?

    Trace MCP Codemod ranks #1981 by stars among the 2226 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Trace MCP Codemod against them. Open each page to compare what they document and how they install.