Agents, Tool Use & MCP·Question 39 of 90Intermediate

What are Agent Skills, and when do you package knowledge as a skill rather than a tool, an MCP server, or retrieval?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

A skill is a folder with a SKILL.md at its root: YAML frontmatter carrying at minimum a name and a description, then Markdown instructions. It can bundle scripts, reference documents and asset templates alongside. Anthropic published the format as an open standard in December 2025 and on 22 October 2026 donated it to the Agentic AI Foundation, which also hosts MCP. Anthropic reports it now loads in more than 70 agent platforms (Claude Code, ChatGPT and Codex, Cursor, VS Code, GitHub Copilot, Gemini CLI, Goose and others), so a skill written once is portable. The foundation's roadmap adds versioned releases, a formal proposal process and security guidance for people who write and install skills.

Full worked answer

A skill is a folder with a SKILL.md at its root: YAML frontmatter carrying at minimum a name and a description, then Markdown instructions. It can bundle scripts, reference documents and asset templates alongside. Anthropic published the format as an open standard in December 2025 and on 22 October 2026 donated it to the Agentic AI Foundation, which also hosts MCP. Anthropic reports it now loads in more than 70 agent platforms (Claude Code, ChatGPT and Codex, Cursor, VS Code, GitHub Copilot, Gemini CLI, Goose and others), so a skill written once is portable. The foundation's roadmap adds versioned releases, a formal proposal process and security guidance for people who write and install skills.

Agents load skills by progressive disclosure in three stages. At startup only each skill's name and description enter context. When a task matches a description, the agent reads the full SKILL.md. Bundled files and scripts load only when the instructions call for them. So a client can carry dozens of skills for a small fixed cost, and the description is doing retrieval work: write it as a trigger condition, not a title.

The decision rule interviewers are testing:

  • Tool or MCP server when the agent lacks a capability or a connection. It cannot touch Salesforce without something that touches Salesforce.
  • Skill when it can already technically do the work but does not know how you do it. It has a shell and a Python interpreter; it does not know your release checklist, your report format, or the three gotchas in your billing export.
  • Retrieval when it needs facts to answer with rather than a procedure to follow.

The diagnostic: could not reach the system means you need a tool. Reached it and did the wrong thing means you need a skill. Did not know a number means retrieval.

Distinguish this from an AGENTS.md style project context file, which is always loaded and scoped to one repository. Skills are portable and load on demand, so a workflow that applies to 3% of tasks belongs in a skill, not in a file every request pays for.

The security point is where interviewers push. A skill is executable instructions plus bundled scripts, often pulled from a registry, loaded into a context that already holds your credentials and tools. That is a supply-chain artifact shaped exactly like a dependency, and a malicious or rug-pulled SKILL.md is prompt injection with a package manager attached. Review the diff, pin a version or commit, prefer first-party or signed sources, run bundled scripts in the sandbox you would give any untrusted code, and treat "install this skill" as seriously as "add this dependency" (see the supply-chain question in the safety bank).

What a good answer covers

  • A skill is a folder with a SKILL.md at its root
  • It can bundle scripts, reference documents and asset templates alongside
  • Anthropic published the format as an open standard in December 2025 and on 22 October 2026 donated it to…
  • Anthropic reports it now loads in more than 70 agent platforms (Claude Code, ChatGPT and Codex, Cursor,…
  • The foundation's roadmap adds versioned releases, a formal proposal process and security guidance for…

Key terms: Tool or MCP server · Skill · Retrieval

Interviewer follow-ups to expect

  1. A skill's instructions conflict with your system prompt. Which should win, and how do you make that predictable?

  2. How would you evaluate whether a skill improves outcomes rather than just being loaded?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep