Skills vs MCP vs RAG vs Memory: a 4-part framework for agent knowledge

MaryamMiradi · x · 2026-10-05

The author proposes separating agent knowledge into four mechanisms: Skills = procedure (repeatable task steps and judgment, loaded on demand), MCP = access (connecting to external systems and tools), RAG = knowledge, and Memory = experience.

Using a production checkout returning a 500 error as the example, the common approach—dumping runbooks, dashboards, docs, and customer history into context—fails because more context does not automatically make a better agent. The point is matching the right mechanism to the right knowledge type: Skills answer "what should I do" (check error rate → inspect recent deployments → escalate past a threshold), MCP answers "what can I reach".

Core takeaway: route different knowledge types to different mechanisms instead of stuffing everything into context.

Original post →

More from coding & agent

coding & agent channel →