CertPrep
CCAR-F Learning Guide · Glossary

Glossary

Plain-English definitions of the 55 key terms in the CCAR-F learning guide, each linked to the lessons that teach it.

Last updated . Each definition with a source link was checked against that official page, most of them Anthropic's documentation, on this date. Terms without a link are general industry terms.

A

Agent

A system in which a model directs its own process and tool use to reach a goal, instead of following a path set in code, as a workflow does.

Also: agents, AI agent

Lessons 1.5 Agent SDK Hooks: Interception and Normalization2.2 Structured Error Responses5.4 Context in Large Codebase Exploration

Source: Anthropic

Agentic loop

The cycle an agent runs: Claude replies, the code runs any tools it asked for, the results go back, and this repeats until Claude replies without a tool call or a turn or budget limit is reached.

Also: agent loop

Lesson 1.1 The Agentic Loop and stop_reason

Source: Claude Code documentation

allowed-tools

A field in a skill's front matter listing tools Claude may use without asking while the skill is active. It pre-approves those tools but does not restrict others; a separate disallowed-tools field does that.

Lesson 3.2 Custom Slash Commands and Skills

Source: Claude Code documentation

B

Bias

A systematic skew in output, such as favoring certain groups, viewpoints or answer positions. Found by testing varied inputs and reviewing the results.

Also: biased

Lesson 4.2 Few-Shot Prompting for Consistency

C

Chunking

Splitting documents into smaller passages for indexing and retrieval. Chunk size, boundaries and overlap all affect how well retrieval works.

Also: chunk, chunks

Lesson 4.5 Batch Processing Strategies

Source: Anthropic

Citations

References from Claude's answer to the exact passages in the source documents behind it, so a reader can check each claim.

Also: citation, cite sources

Lessons 1.3 Spawning Subagents and Passing Context4.2 Few-Shot Prompting for Consistency5.6 Provenance and Uncertainty in Synthesis

Source: Claude API documentation

Claude Agent SDK

Anthropic's library, for Python and TypeScript, for building agents on the same agent loop, tools and context management that power Claude Code. It was formerly called the Claude Code SDK.

Also: Agent SDK, Claude Code SDK

Lessons 1.1 The Agentic Loop and stop_reason1.3 Spawning Subagents and Passing Context1.4 Workflow Enforcement and Human Handoff

Source: Claude Code documentation

Claude Code

Anthropic's agentic coding tool. It reads code, edits files and runs commands, in the terminal, an IDE, the desktop app or the browser.

Lessons 1.5 Agent SDK Hooks: Interception and Normalization3.2 Custom Slash Commands and Skills3.6 Claude Code in CI/CD Pipelines

Source: Claude Code documentation

CLAUDE.md

A Markdown file of persistent instructions, such as build commands and coding conventions, that Claude Code reads at the start of a session. It can be set by managed policy, for the user, the project or locally, and files in subdirectories load when Claude works there.

Lessons 3.1 CLAUDE.md Hierarchy and Organization3.2 Custom Slash Commands and Skills3.3 Path-Specific Rules

Source: Claude Code documentation

Compaction

Replacing the older turns of a long conversation with a summary Claude writes, so the work stays within the context window. A summary can drop details a later turn needs, so a custom summarization prompt is allowed.

Also: compact, auto-compact

Lessons 1.7 Sessions: Resume, Fork or Start Fresh5.4 Context in Large Codebase Exploration

Source: Claude API documentation

Confidence calibration

How well a stated confidence matches real accuracy. Well-calibrated scores can be used to send low-confidence cases to a person.

Also: calibration, calibrated, well-calibrated

Lessons 4.6 Multi-Instance and Multi-Pass Review5.5 Human Review and Confidence Calibration

Context window

The total number of tokens a model can work with in one request: the system prompt, messages, tool definitions and results, and its own output, including any thinking. If the input alone is too large, the API returns an error instead of dropping text.

Also: context length

Lessons 1.2 Coordinator-Subagent Orchestration5.1 Preserving Facts in Long Conversations

Source: Claude API documentation

E

Escalation

Routing a case from the automated system to a person, triggered by rules such as low confidence, high value, a policy exception or the customer asking for one.

Also: escalate, escalated, escalates

Lessons 1.4 Workflow Enforcement and Human Handoff2.2 Structured Error Responses5.2 Escalation and Ambiguity Resolution

Evaluation (eval)

A repeatable test of a model, prompt or agent against a set of cases with success criteria, graded by code, by people or by a model. Used to compare versions and catch regressions.

Also: eval, evals, evaluation, evaluations

Lesson 3.1 CLAUDE.md Hierarchy and Organization

Source: Claude API documentation

Exponential backoff

Waiting progressively longer after each failed request before retrying. Anthropic's SDKs do this automatically, from half a second up to eight seconds, when the error response has no retry-after header.

Also: backoff, retry with backoff

Lesson 5.3 Error Propagation Across Agents

Source: Claude API documentation

Extended thinking

Claude reasoning in thinking blocks before its final answer. The original form, with a fixed budget_tokens target, is now a deprecated legacy mode that Claude 4.7 and later models reject; they use adaptive thinking instead.

Also: thinking budget, thinking blocks, adaptive thinking

Lesson 4.6 Multi-Instance and Multi-Pass Review

Source: Claude API documentation

F

Few-shot prompting

Putting a few worked examples, typically three to five, in the prompt to improve accuracy and consistency. The examples should vary, or Claude picks up patterns you did not intend.

Also: few-shot, multishot, few-shot examples

Lessons 1.4 Workflow Enforcement and Human Handoff1.5 Agent SDK Hooks: Interception and Normalization4.2 Few-Shot Prompting for Consistency

Source: Claude API documentation

G

Git worktree

A separate working directory with its own files and branch that shares the repository's history, so several Claude Code sessions can work in parallel without touching each other's files.

Also: worktree, worktrees

Lesson 1.7 Sessions: Resume, Fork or Start Fresh

Source: Claude Code documentation

Guardrail

A check outside the model's own judgment that blocks or corrects unsafe or invalid actions, such as input validation, an allow list or a hook.

Also: guardrails

Lesson 1.5 Agent SDK Hooks: Interception and Normalization

H

Hallucination

Output that is factually wrong or does not match the material provided. Reduced by restricting answers to supplied documents, asking for supporting quotes or citations, and allowing the answer "I don't know".

Also: hallucinate, hallucinated

Lesson 4.2 Few-Shot Prompting for Consistency

Source: Claude API documentation

Handoff

Passing a task, together with the context needed to continue it, from one agent to another or from an agent to a person.

Also: handoffs, hand off

Lessons 1.4 Workflow Enforcement and Human Handoff1.5 Agent SDK Hooks: Interception and Normalization2.2 Structured Error Responses

Headless mode

Running Claude Code non-interactively with the -p (--print) flag, for scripts and CI pipelines. Output is plain text by default, or JSON or streaming JSON.

Lesson 3.6 Claude Code in CI/CD Pipelines

Source: Claude Code documentation

Hook

A handler, such as a shell command, HTTP endpoint or prompt, that runs automatically at a lifecycle point, for example before a tool call (PreToolUse) or after a successful one (PostToolUse). Unlike a prompt instruction it does not depend on the model choosing to follow it.

Also: hooks, PreToolUse, PostToolUse

Lessons 1.4 Workflow Enforcement and Human Handoff1.5 Agent SDK Hooks: Interception and Normalization3.1 CLAUDE.md Hierarchy and Organization

Source: Claude Code documentation

Human in the loop (HITL)

A design in which a person reviews or approves certain actions or outputs before they take effect, usually the high-impact or low-confidence ones.

Also: human-in-the-loop, HITL, human review, human approval

Lessons 4.4 Validation, Retry and Feedback Loops5.5 Human Review and Confidence Calibration

I

Input schema

The JSON Schema in a tool definition that names the tool's parameters, their types and which of them are required.

Also: input_schema

Lesson 4.3 Structured Output with Tool Use and JSON Schemas

Source: Claude API documentation

Iteration

Improving a prompt or an output over several rounds, changing one thing at a time and checking the effect of each change against your success criteria.

Also: iterate, iterating, iterative

Lessons 1.1 The Agentic Loop and stop_reason1.2 Coordinator-Subagent Orchestration3.5 Iterative Refinement Techniques

L

Latency

The time a model takes to process a prompt and produce its output. Time to first token, the wait before output starts, matters most when streaming to keep a chat responsive.

Also: time to first token, TTFT

Lessons 4.5 Batch Processing Strategies5.2 Escalation and Ambiguity Resolution

Source: Claude API documentation

M

MCP resource

Data that an MCP server exposes under a URI, such as a file or a database record, which the application can list, read and load into the model's context.

Also: MCP resources

Lesson 2.4 Integrating MCP Servers

Source: Model Context Protocol documentation

MCP server

A program that provides context to MCP clients by offering tools, resources or prompts, for example in front of a database, a file system or a business application.

Also: MCP servers

Lessons 1.1 The Agentic Loop and stop_reason2.4 Integrating MCP Servers

Source: Model Context Protocol documentation

Message Batches API

An API for submitting large groups of requests that run asynchronously at half the standard price. Most batches finish within an hour, and any request not done within 24 hours expires. Suited to work that does not need an answer straight away.

Also: Batch API, batch processing, Message Batches

Lesson 4.5 Batch Processing Strategies

Source: Claude API documentation

Messages API

The Claude API for direct access to the model: you send the conversation so far as user and assistant messages, plus an optional system prompt and tools, and receive the next assistant message. Each request carries the full history.

Lessons 1.1 The Agentic Loop and stop_reason4.5 Batch Processing Strategies

Source: Claude API documentation

Model Context Protocol (MCP)

An open-source standard for connecting AI applications to external systems such as data sources, tools and workflows. An MCP server offers tools, resources and prompts; an MCP client inside the application connects to it.

Also: MCP

Lessons 1.1 The Agentic Loop and stop_reason2.2 Structured Error Responses2.4 Integrating MCP Servers

Source: Model Context Protocol documentation

Multi-agent system

Several agents, usually an orchestrator and specialized subagents, working on one task. They work in parallel with separate contexts, at the cost of many more tokens than a single chat.

Also: multi-agent

Lessons 1.2 Coordinator-Subagent Orchestration2.2 Structured Error Responses5.3 Error Propagation Across Agents

Source: Anthropic

O

Observability

Being able to see what a system is doing from its traces, metrics and logs, such as each tool call, model request timing, token use and cost in an agent run.

Also: tracing, traces

Lessons 1.2 Coordinator-Subagent Orchestration2.5 Choosing the Right Built-in Tool3.4 Plan Mode versus Direct Execution

Source: Claude Code documentation

Orchestrator

A central model that breaks a task into subtasks it chooses as it goes, hands them to worker models or subagents, and combines their results.

Also: coordinator, lead agent, orchestrator-workers

Lessons 1.2 Coordinator-Subagent Orchestration1.3 Spawning Subagents and Passing Context5.3 Error Propagation Across Agents

Source: Anthropic

P

Plan mode

A Claude Code mode in which Claude reads files and explores the code but does not edit source files until you approve its plan.

Lessons 3.4 Plan Mode versus Direct Execution3.5 Iterative Refinement Techniques

Source: Claude Code documentation

Precision and recall

Precision is the share of flagged items that really are positive; recall is the share of real positives that were flagged. Raising one usually lowers the other.

Lesson 4.1 Explicit Criteria and False Positives

Prompt chaining

Splitting a task into separate calls in which each step's output feeds the next, such as draft, review and refine, so you can inspect and check each intermediate result.

Also: chained prompts

Lesson 1.6 Task Decomposition Strategies

Source: Claude API documentation

Prompt injection

An attempt to override or manipulate an AI system's instructions with malicious text placed in what it reads, such as a file, web page or user input.

Also: indirect prompt injection, injection

Lessons 2.1 Tool Descriptions and Boundaries4.1 Explicit Criteria and False Positives

Source: Claude Code documentation

Prompt template

A reusable prompt with fixed instructions and placeholders for the parts that change, so a team gets consistent results from the same kind of request.

Also: prompt templates, template, templates

Lessons 1.2 Coordinator-Subagent Orchestration1.4 Workflow Enforcement and Human Handoff1.7 Sessions: Resume, Fork or Start Fresh

R

Rate limit

A cap on how many requests and input and output tokens an organization can use per minute. Going over it returns HTTP 429; if the response has a retry-after header, wait that many seconds before retrying.

Also: rate limits, HTTP 429, 429

Lesson 5.3 Error Propagation Across Agents

Source: Claude API documentation

S

Skill

A folder with a SKILL.md file of instructions, plus optional scripts and resources. Its name and description are always loaded; the rest loads only when a task needs it. Skills work in Claude Code, the API and claude.ai, uploaded separately to each.

Also: skills, Agent Skills, SKILL.md

Lesson 3.2 Custom Slash Commands and Skills

Source: Claude API documentation

Slash command

A command typed as /name in Claude Code. Built-in commands control the session. Custom commands have been merged into skills, though existing command files still work.

Also: slash commands, custom command, custom commands

Lesson 3.2 Custom Slash Commands and Skills

Source: Claude Code documentation

Stop reason

The field in an API response that says why generation ended, for example end_turn, max_tokens, stop_sequence, tool_use, pause_turn or refusal. Code reads it to decide whether to use the response, run a tool, continue or retry.

Also: stop_reason, end_turn

Lesson 1.1 The Agentic Loop and stop_reason

Source: Claude API documentation

Stratified sampling

Sampling from each category, such as document type or risk level, so that rare but important cases are checked too.

Also: stratified sample

Lessons 4.5 Batch Processing Strategies5.5 Human Review and Confidence Calibration

Structured outputs

Constraining a response to a JSON schema so code can parse it reliably. Setting strict on a tool gives the same guarantee for that tool's inputs, which are otherwise not guaranteed to match its schema.

Also: structured output, strict tool use

Lessons 2.3 Distributing Tools and Configuring tool_choice3.6 Claude Code in CI/CD Pipelines4.3 Structured Output with Tool Use and JSON Schemas

Source: Claude API documentation

Subagent

A specialized agent that Claude, or a user, starts to handle one subtask in its own context window. Only its result returns to the parent, which keeps the parent's context small. In Claude Code the tool that starts one is called Agent.

Also: subagents, sub-agent

Lessons 1.2 Coordinator-Subagent Orchestration1.3 Spawning Subagents and Passing Context2.3 Distributing Tools and Configuring tool_choice

Source: Claude Code documentation

System prompt

Instructions sent in the request's system field, separately from the conversation, that set Claude's role, rules and background. Even one sentence of role can focus its behavior and tone.

Also: system prompts

Lessons 1.3 Spawning Subagents and Passing Context1.5 Agent SDK Hooks: Interception and Normalization2.1 Tool Descriptions and Boundaries

Source: Claude API documentation

T

Temperature

A sampling setting that controls randomness: lower values give more predictable output, higher values more varied output, and even zero is not fully deterministic. Claude 4.7 and later models no longer accept a custom value.

Lessons 1.4 Workflow Enforcement and Human Handoff1.5 Agent SDK Hooks: Interception and Normalization2.1 Tool Descriptions and Boundaries

Source: Claude API documentation

Token

The smallest unit a model reads and writes text in: a word, part of a word or a single character. Recent Claude models average about 3.5 English characters per token. Context windows, rate limits and prices are counted in tokens.

Also: tokens

Lessons 1.1 The Agentic Loop and stop_reason1.2 Coordinator-Subagent Orchestration2.4 Integrating MCP Servers

Source: Claude API documentation

Tool description

The text in a tool definition that says what the tool does, when to use it and what each parameter means. Anthropic calls it the most important factor in tool performance; merging overlapping tools reduces wrong choices.

Also: tool descriptions

Lessons 1.5 Agent SDK Hooks: Interception and Normalization2.1 Tool Descriptions and Boundaries

Source: Claude API documentation

Tool result

The message that returns a tool's output to Claude, matched to its request by the tool_use_id. Setting is_error tells Claude the call failed, so it can retry or explain.

Also: tool_result, is_error

Lessons 1.1 The Agentic Loop and stop_reason1.7 Sessions: Resume, Fork or Start Fresh5.1 Preserving Facts in Long Conversations

Source: Claude API documentation

Tool use

Letting Claude call tools. For tools you define, Claude returns a tool_use request with arguments, your code runs it and sends the output back as a tool result; server tools such as web search run on Anthropic's side.

Also: function calling, tool call, tool calls, tool calling

Lessons 1.1 The Agentic Loop and stop_reason1.3 Spawning Subagents and Passing Context4.3 Structured Output with Tool Use and JSON Schemas

Source: Claude API documentation

tool_choice

An API setting that lets Claude decide whether to use a tool (auto), requires a tool (any), forces a named tool, or turns tools off (none). The newest models, such as Opus 5.5 and Sonnet 5.5, reject any and forced tools; use auto with strict tool use.

Lessons 2.3 Distributing Tools and Configuring tool_choice4.3 Structured Output with Tool Use and JSON Schemas

Source: Claude API documentation

V

Verification

Checking AI output against a trusted reference, such as supporting quotes from the source documents, before it is used, especially for high-stakes decisions.

Also: verify, verified, fact-check, fact-checking

Lessons 1.4 Workflow Enforcement and Human Handoff1.5 Agent SDK Hooks: Interception and Normalization3.5 Iterative Refinement Techniques

Source: Claude API documentation

Want the whole picture? Start with the CCAR-F learning guide, or revise with the cheat sheet. Ready to test yourself? Take the practice tests.