<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ryan Rehman</title>
    <description>The latest articles on DEV Community by Ryan Rehman (@ryanreh99).</description>
    <link>https://dev.to/ryanreh99</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F539824%2Ffb485cca-9be4-4521-8e6a-448e712d214e.png</url>
      <title>DEV Community: Ryan Rehman</title>
      <link>https://dev.to/ryanreh99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ryanreh99"/>
    <language>en</language>
    <item>
      <title>How I manage skills and MCP servers across AI coding agents</title>
      <dc:creator>Ryan Rehman</dc:creator>
      <pubDate>Sat, 07 Mar 2026 11:09:38 +0000</pubDate>
      <link>https://dev.to/ryanreh99/how-i-manage-skills-and-mcp-servers-across-ai-coding-agents-jbj</link>
      <guid>https://dev.to/ryanreh99/how-i-manage-skills-and-mcp-servers-across-ai-coding-agents-jbj</guid>
      <description>&lt;h2&gt;
  
  
  Keeping AI Coding Agents in Sync
&lt;/h2&gt;

&lt;p&gt;Working with AI coding agents recently has meant switching between them&lt;br&gt;
more often than I expected.&lt;/p&gt;

&lt;p&gt;Sometimes a model hits token limits.&lt;br&gt;
Sometimes rate limits kick in.&lt;br&gt;
Sometimes a different model simply performs better for a task.&lt;/p&gt;

&lt;p&gt;So during the same project I often move between tools like &lt;strong&gt;Codex,&lt;br&gt;
Cursor, Gemini, Claude Code, or Copilot&lt;/strong&gt;.&lt;/p&gt;



&lt;p&gt;Most coding agents now support roughly the similar concepts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;skills&lt;/li&gt;
&lt;li&gt;MCP servers&lt;/li&gt;
&lt;li&gt;local tools and config&lt;/li&gt;
&lt;li&gt;filesystem discovery&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But they do not share state.&lt;br&gt;
That leads to some practical problems.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;if I install a new MCP in one agent, I have to install it again in the other agents.&lt;/li&gt;
&lt;li&gt;If I update a skill, I have to make sure every agent is using the updated version.&lt;/li&gt;
&lt;li&gt;If I try a new agent, the entire setup has to be recreated again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Over time the setups drift apart.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Idea
&lt;/h2&gt;

&lt;p&gt;I wanted one workspace to define the environment, with agents acting as&lt;br&gt;
consumers of that definition.&lt;/p&gt;

&lt;p&gt;That became &lt;a href="https://github.com/ryanreh99/skills-sync" rel="noopener noreferrer"&gt;&lt;code&gt;skills-sync&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;skills-sync&lt;/code&gt; is a CLI for keeping skills and MCP configuration in one workspace and syncing that state into supported agents.&lt;/p&gt;

&lt;p&gt;Instead of treating every agent as a separate manual setup, it gives you a single source of truth.&lt;/p&gt;
&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;skills-sync&lt;/code&gt;, your environment lives in a local workspace.&lt;/p&gt;

&lt;p&gt;Tt uses symlinks so agents point to the same underlying files instead of keeping duplicated copies around.&lt;/p&gt;

&lt;p&gt;That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;skills live in one place&lt;/li&gt;
&lt;li&gt;MCP configuration lives in one place&lt;/li&gt;
&lt;li&gt;updates propagate cleanly&lt;/li&gt;
&lt;li&gt;new agents can reuse the same setup&lt;/li&gt;
&lt;li&gt;switching tools no longer means rebuilding everything&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today the project supports &lt;code&gt;Codex&lt;/code&gt;, &lt;code&gt;Cursor&lt;/code&gt;, &lt;code&gt;Gemini&lt;/code&gt;, &lt;code&gt;Copilot&lt;/code&gt; and &lt;code&gt;Claude Code&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Basic Workflow
&lt;/h2&gt;

&lt;p&gt;A realistic first run looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# initialize the local workspace with starter content&lt;/span&gt;
skills-sync init &lt;span class="nt"&gt;--seed&lt;/span&gt;

&lt;span class="c"&gt;# use the default profile&lt;/span&gt;
skills-sync use personal

&lt;span class="c"&gt;# materialize runtime output for supported agents&lt;/span&gt;
skills-sync &lt;span class="nb"&gt;sync&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adding skills from an upstream is straightforward:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fryanreh99%2Fskills-sync%2Fmain%2Fdocs%2Fdemo%2Fadd-skills-from-upstream.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fryanreh99%2Fskills-sync%2Fmain%2Fdocs%2Fdemo%2Fadd-skills-from-upstream.gif" alt="Adding skills from an upstream with skills-sync" width="480" height="338"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;skills-sync profile add-upstream &lt;span class="nt"&gt;--source&lt;/span&gt; matlab/skills
skills-sync list upstream-content &lt;span class="nt"&gt;--upstream&lt;/span&gt; matlab_skills
skills-sync profile add-skill &lt;span class="nt"&gt;--upstream&lt;/span&gt; matlab_skills &lt;span class="nt"&gt;--path&lt;/span&gt; skills/matlab-test-generator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once multiple agents are installed locally, you can also check whether&lt;br&gt;
they have drifted from the workspace definition:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;skills-sync agents inventory
skills-sync agents drift &lt;span class="nt"&gt;--dry-run&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And if you want to move the same setup between machines, you can export&lt;br&gt;
and import a profile instead of rebuilding it from memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;skills-sync&lt;/code&gt; is still early, but the core workflow is already working well for me.&lt;/p&gt;

&lt;p&gt;If you are juggling multiple coding agents and you are tired of their environments drifting apart, take a look:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ryanreh99/skills-sync" rel="noopener noreferrer"&gt;https://github.com/ryanreh99/skills-sync&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.npmjs.com/package/@ryanreh99/skills-sync" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/@ryanreh99/skills-sync&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback or ideas are welcome.&lt;br&gt;
Thanks for reading.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>ai</category>
      <category>development</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
