惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Spread Privacy
Spread Privacy
S
Schneier on Security
博客园 - 【当耐特】
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MongoDB | Blog
MongoDB | Blog
NISL@THU
NISL@THU
N
Netflix TechBlog - Medium
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
Forbes - Security
Forbes - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
Recent Announcements
Recent Announcements
IT之家
IT之家
B
Blog
C
CERT Recently Published Vulnerability Notes
S
SegmentFault 最新的问题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
Know Your Adversary
Know Your Adversary
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Troy Hunt's Blog
O
OpenAI News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
V2EX - 技术
V2EX - 技术
L
Lohrmann on Cybersecurity
C
Cyber Attacks, Cyber Crime and Cyber Security
H
Help Net Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Last Week in AI
Last Week in AI
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
A
About on SuperTechFans
Y
Y Combinator Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
Vercel News
Vercel News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Recorded Future
Recorded Future
C
Cisco Blogs
Project Zero
Project Zero

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
MCP vs Skills: a practical decision guide for builders
Patrick Hugh · 2026-05-04 · via DEV Community

MCP vs Skills: a practical decision guide for builders

I need my agent to do X. Skill or MCP?

If you build agents on Claude or anything MCP-compatible, this is the question that actually matters. The two patterns get pitched as alternatives. They are not. They solve different problems. Most production agents need both.

Here is the decision rule, the framing for each, and the anti-patterns I keep seeing.


The two patterns in 60 seconds

MCP (Model Context Protocol). A wire protocol. Your agent talks to an MCP server over JSON-RPC. The server exposes tools, resources, and prompts. The runtime is separate from the agent. Anything live, anything stateful, anything that needs auth or a real connection lives behind MCP.

Skills. A folder of markdown that gets loaded into the agent's context. No extra runtime. No protocol. The agent reads the SKILL.md, follows the instructions, executes the steps. Skills are procedural knowledge in a format the agent already knows how to read.

That is the whole shape. MCP is a connection. A Skill is a doc the agent treats as a playbook.


The decision rule

I use one rule and it has held up across every agent I have shipped this year:

  • Live data or live state? Ship MCP. Database queries, third-party APIs, file system access, anything that has to hit the wire and come back with fresh data. MCP.
  • Reusable how-to? Ship a Skill. Procedures, conventions, multi-step workflows the agent should follow consistently. Things you would write in a runbook. Skill.
  • Both? Ship both. This is the common case for any tool that wraps a real system.

That is it. The rule sounds obvious. It still gets violated constantly.


AgentGuard ships both. Here is why.

I write AgentGuard, a budget and rate limiter for AI agents. It is a useful worked example because it has the textbook MCP+Skill split.

The Skill side. The AgentGuard SDK is the in-process piece. You install the package, decorate your agent function with @guard(budget_usd=2.00), and the decorator handles token counting and budget enforcement on every call. That logic runs locally in your agent's process. There is no live system to talk to. There is just code that needs to execute deterministically. A SKILL.md teaches Claude Code how to detect a project that uses LLM APIs and add the decorator with sensible defaults. That is procedural know-how. Skill.

The MCP side. The AgentGuard dashboard is a separate service. It tracks spend across runs, surfaces alerts, lets you set org-wide budgets. The agent needs to query it: how much have I spent this hour? Is this user over their cap? That requires a live connection to a stateful backend. MCP.

Same product. Two patterns. Each does the job the other could not.


Anti-patterns I keep catching in code review

Wrapping an API call as a Skill. A Skill that says "step 1: send an HTTP request to api.example.com with this payload, step 2: parse the response" is a Skill pretending to be MCP. The agent can technically follow the steps, but you have given up everything MCP gives you: typed schemas, authentication handled once, error semantics, observability. Wrap that endpoint as an MCP tool and let the protocol do its job.

Building an MCP server for a procedure. I have seen teams stand up an MCP server whose only job is to return a string of instructions. That is a Skill in a trench coat. You added a deployment, a runtime, and a network hop to deliver markdown the agent could have read directly. Move it to a Skill.

Skipping the Skill on a live system. You shipped an MCP server for your production database. Good. But the agent is still going to write bad queries because nobody told it your conventions. Add a Skill: which tables are append-only, what the soft-delete pattern is, when to use the read replica. The MCP server gives the agent the connection. The Skill gives it the judgment.


How to decide in practice

When a task lands on my desk, I ask three questions in order:

  1. Does this require fresh data or live state? If yes, MCP is in scope.
  2. Does this require the agent to follow a specific procedure or convention? If yes, a Skill is in scope.
  3. Does it require both? If yes, ship both, and make sure the Skill references the MCP tools by name so the agent knows when to call them.

Most non-trivial agent capabilities answer yes to two or all three. The teams I see struggle are the ones picking one pattern and forcing it. Pick both when both apply. That is the whole game.


What this means for small-business agent builders

If you are shipping AI automation for clients, the practical version of this is:

  • Your client's CRM, billing system, and inventory database go behind MCP servers. One server per system if they are big enough, otherwise grouped sensibly. Auth lives there. Schemas live there.
  • Your client's playbooks, sales scripts, escalation rules, and reporting conventions go in Skills. One Skill per workflow, written as markdown the agent can read end to end.
  • The agent gets pointed at both. The Skill tells it what to do. The MCP servers let it do it.

That stack scales. It is also the stack that survives an agent swap. If you switch from Claude to a different MCP-compatible runtime tomorrow, the MCP servers move with you. The Skills are markdown, so they move with you too. You did not lock yourself into a single vendor's framework.


The CTA

If you ship agents in production and you have not put a budget ceiling on them, that is the next thing to fix. AgentGuard is the cheapest way to do it: one decorator, hard cap, no surprise bills.

Install AgentGuard.