PrepGenAICerts

Interfaces and Their Instruction Mechanisms

Core

Match instruction mechanisms to the Claude interface in use · Difficulty 1/5

0%
interfacesclaude-codeclaude-desktopinstruction-mechanisms

Explanation

The Four Interfaces

Claude is reached through several distinct surfaces, and how instructions are interpreted differs by surface:

InterfacePrimary useInstruction mechanism
API / SDKsProgrammatic integrationsystem param + messages, tools, params
claude.aiWeb chat / ProjectsChat + Project instructions & knowledge
Claude DesktopDesktop app, local MCPChat + connected MCP servers
Claude CodeAgentic CLI in a repoCLAUDE.md + settings.json + slash commands

Each row is a genuinely different authoring surface, not a stylistic variant of the same thing. The API takes a structured system parameter and typed request fields; claude.ai layers Project-level instructions and knowledge on top of chat; Claude Desktop adds locally connected MCP servers to a chat surface; Claude Code reads repository-level `CLAUDE.md memory and settings.json` configuration, plus slash commands, on top of its agentic loop.

Why the Distinction Matters

A design that assumes one mechanism generalizes across surfaces will silently fail on another. Writing a `CLAUDE.md file does nothing for a raw Messages API integration -- that surface has no concept of repository memory; its only instruction channel is the system parameter and the message content you construct yourself. Conversely, structuring a system` string with API conventions doesn't map onto a claude.ai Project's instructions-and-knowledge model.

Common exam traps

  • Assuming instructions transfer verbatim across surfaces. A `CLAUDE.md` shapes Claude Code; it does not configure a raw Messages API call. Always match the instruction mechanism to the specific interface in play.
  • Treating "Claude" as a single monolithic product with one instruction surface, rather than one model reachable through several distinct products/APIs, each with its own instruction-authoring conventions.

Key Takeaways

  • API/SDKs use the system parameter plus messages, tools, and params as their instruction mechanism
  • claude.ai uses chat plus Project-level instructions and knowledge
  • Claude Desktop uses chat plus connected MCP servers
  • Claude Code uses CLAUDE.md, settings.json, and slash commands
  • Instructions authored for one surface (e.g., CLAUDE.md) do not transfer verbatim to another (e.g., a raw Messages API call)

Glossary Terms

Related Concepts

PrepGenAICerts.com is an independent third-party exam-prep platform for the Claude Certified Architect (CCA-F) certification. We are not affiliated with, endorsed by, or acting on behalf of Anthropic PBC.

Note: New premium upgrades are temporarily paused while we resolve an issue with our payment provider. Existing premium members retain full access.