Agent Skills vs. Prompts vs. MCP: Separating Responsibilities in AI Agent Systems

    This article explains how prompts, tool calling, MCP-style integration, and agent skills solve different engineering problems in AI agent systems. It uses code review as a concrete example and provides a design checklist to help teams avoid long-prompt workarounds, unstable tool behavior, and task logic that cannot be reused or versioned.

    As agent applications move from one-off conversations toward repeatable delivery, teams often conflate several concepts: what the user wants this time, how the model initiates tool calls, how external system capabilities are connected, and how the process and standards for a class of tasks should be captured. On the surface, all of these are about “making the model finish the job,” but their engineering responsibilities are completely different. Treating them as the same layer of capability often leads to longer and longer prompts, unstable behavior, and difficulty reusing work across teams. Starting from the division of responsibilities, this article explains what Prompt, Function Calling (tool calling), MCP (external capability integration), and Agent Skill (task skill encapsulation) each solve, and how they can be combined in real development scenarios.

    Separate the Four Layers of Responsibility

    An agent task can be viewed as collaboration across four layers, not as four “more advanced prompts.”

    Prompt describes the goal and context for this instance: what the user wants to accomplish now, what the inputs are, and what constraints apply. It is a session-level, instance-level declaration of intent and naturally changes with the task.

    Function Calling / Tool Calling describes how the model selects and calls tools: choosing which tool to use from the available list, what parameters to pass, and how to continue reasoning based on the return value. It solves action orchestration and interface alignment, not business standards themselves.

    MCP-style protocols or integration layers solve the problem of bringing external capabilities in: file systems, databases, code repositories, ticketing systems, object storage, message queues, and so on. They focus on connections, authentication, resource exposure, and invocation conventions so that the model side can use these capabilities in a relatively uniform way. The integration layer itself does not tell the model what to inspect first, what to inspect later, or how outputs should be graded for a given type of task.

    Skill solves the process, rules, and experience for a class of tasks: when to read which materials, what quality standards apply, how outputs should be structured, and which pitfalls to avoid. It is usually loaded when needed rather than stuffed into every user prompt. Skill is not a mysterious upgrade of Prompt: if it merely writes the same words at greater length, it is still just a long Prompt.

    All four layers can appear in a single task, but they should not replace one another. If the intent layer changes, change the Prompt. If the tool list or parameters change, change the tool definitions and calling strategy. If the data source changes, change the integration. If review criteria or delivery templates change, change the Skill.

    Align the Four Layers with Code Review

    Take “review this code change for me” as an example. The four layers map to different artifacts.

    The Prompt is often: “Please review this change diff and focus on whether it introduces regressions.” It carries the scope for this instance: branch, change description, and related requirement ID. When the commit changes, the Prompt changes.

    Actually reading the diff, opening files, running tests, and checking logs usually happens through built-in tools or capabilities exposed through MCP. The model does not “natively connect to a repository”; it obtains text and command results through tools. The key here is the permission boundary: read-only access to the diff and specified directories, avoiding unrestricted write operations.

    The model decides whether to “pull the diff first and then read related files, or run tests first and then locate failing cases,” as well as the parameters for each tool. This belongs to tool calling. With the same set of tools, different models or different system prompts may use different call orders. Engineering practice should use clear tool descriptions, return structures, and failure information to reduce random or incorrect calls.

    Meanwhile, rules such as “check correctness and security first, then performance and maintainability; grade issues by severity; do not comment only on formatting; provide verifiable change suggestions” belong to review methodology and are suitable for a Skill. They serve this class of review tasks, not this particular diff. When a new colleague or a new session loads the same Skill, the criteria can be aligned.

    Therefore: with only a Prompt, the agent is a “chatty one-off assistant”; with tools and integration, it can act; with a Skill, it behaves more like a professional role equipped with a manual.

    Prompt: Session Intent, Not a Knowledge Base

    The advantage of Prompt is flexibility, immediacy, and closeness to the user’s own words. Its disadvantages are also obvious: it is not reusable, hard to review, and prone to drift during conversation. Stuffing team standards, checklists, and output templates into every Prompt causes three types of problems.

    First, context bloat. The more complete the standards are, the more they crowd out the actual change content, and the model is more likely to miss key diffs. Second, version loss of control. When one sentence in the standards changes, every session template must change, and there is no way to manage differences like code. Third, confused responsibilities. The user should only need to say “what is needed this time,” but is forced to act as a process designer.

    In practice, Prompt should be as short as possible: goal, scope, and constraints specific to this instance (for example, “review only the new APIs; do not change the style of historical modules”). Stable parts should move down into Skill or system policy. Prompt answers “what to do this time”; Skill answers “how this class of work is usually done.”

    Tool Calling: Decision Layer, Not Business Layer

    Tool calling turns the model from “generating text” into “proposing structured requests.” It requires tool names and semantics, parameter schemas, side-effect descriptions, and meanings of error codes. Without these, the model may use the wrong parameters or retry endlessly after a failure.

    Tool calling is not the same as a business process. For example, “run static checks first, then dynamic tests” is a process; “call the static check tool and pass in the file list” is one invocation. A process can be encoded in a Skill or an orchestration graph, while an invocation is only the implementation of a step. Writing processes into every tool description makes tools overloaded and difficult to compose.

    Also note that tool returns should support downstream reasoning (structured summaries are better than extremely large raw logs). The integration layer can connect raw system capabilities, but it should trim the view for the agent and avoid dumping an entire database or repository at once.

    MCP: Integration and Governance of External Capabilities

    Connecting files, databases, code hosting, tickets, object storage, and other systems to agents is essentially an integration and governance problem: who can access what, which resources can be accessed, whether calls are auditable, and how keys are rotated. The direction represented by MCP is to describe “what resources exist, what tools exist, and how they are used at the session level” in a relatively standard way, reducing the cost of every business building its own connectors.

    The integration layer should answer questions about the capability list, not task methodology. For example, exposing “read a specified path,” “run a read-only query,” and “get the change diff” does not mean specifying that “security issues must be marked as the highest priority.” The latter should still live in a Skill or policy engine.

    For governance, recommended practices include least privilege, environment isolation (different tool sets for development, staging, and production), secondary confirmation for destructive operations, and redaction of outputs. The more the agent can “act,” the more the integration layer needs quotas and auditing like an open platform, rather than merely pursuing “everything can be called.”

    Skill: A Loadable Task Manual

    The core of Skill is capturing loadable knowledge by task type: process order, quality gates, output contracts, anti-patterns, and domain terminology. Its difference from a system prompt is that a system prompt leans toward global persona and safety baselines, while a Skill leans toward a domain manual that is enabled on demand, avoiding all tasks sharing the same extremely long manual.

    A good Skill usually includes: applicable and non-applicable scenarios; recommended steps (which can align with tool names but are not bound to one user input); checklists; output templates (such as grading, evidence, and suggested patch form); and known boundaries (for example, it cannot replace human release sign-off).

    Still using code review as an example, a Skill can specify: specific files and line numbers or symbol names must be cited; security and data leakage take priority over style; missing tests must be a separate item; it is forbidden to output only “looks good.” Once these words are stable, they should disappear from daily Prompts and become skill loading.

    Skill is not a Prompt with a different name. The criterion is: when the user request changes, does the text almost not need to change? If it must change with every diff, it is still a Prompt. If it still applies across people and sessions, it is a Skill.

    Composition and Anti-Patterns

    The recommended composition is: Prompt provides instance intent -> Skill provides the playbook for that class of task -> tool calling selects actions -> MCP or a built-in runtime provides real-world connections. The orchestration system is responsible for when to load which Skill, which tools are allowed, and how to truncate context.

    Common anti-patterns include: using an extremely long Prompt to simulate a Skill, making it impossible to version; writing business rules into a single tool description, making the tool non-reusable; assuming that connecting an external system equals expert capability, while lacking review criteria; and hard-coding filenames and commit IDs from one task into a Skill, making it non-reusable.

    In implementation, Skill can be managed together with documentation and configuration: review changes, canary rollout, and rollback. Tests for agent behavior should cover whether “same Skill + different Prompts” still follows grading and evidence requirements, rather than testing only one user utterance.

    Design Checklist

    When the boundaries are unclear, four questions can quickly classify the layer: Does it hold only for this task? It is a Prompt. Is it selecting interfaces, filling parameters, or consuming returns? It is tool calling. Is it connecting external systems or managing permissions and resources? It is the integration layer. Is it a process and experience that applies to this class of tasks? It is a Skill.

    For enterprise R&D and agent platforms, the real leverage often lies in the governance of the last two layers and the maintainability of Skills: the former determines whether the agent can act safely, and the latter determines whether it can act consistently according to professional standards. Prompt is still important, but it should return to the position of “expressing this request” rather than carrying all engineering complexity.

    Once the concepts are clear, teams can reduce meaningless prompt competitions and focus effort on tool contracts, integration permissions, and versioned task skills. This is the key step for agents to move from demos to operable systems.