NEW: Claude Code Security — research preview →

Glossary

Definitions for AI coding terminology — agentic loop, context window, MCP, tool use, prompt injection, and more

Read time: 10 min

title: "Glossary" description: "Definitions for AI coding terminology — agentic loop, context window, MCP, tool use, prompt injection, and more" section: "Reference" readTime: "10 min"

Glossary

Definitions for terms used throughout this guide and in the broader AI coding ecosystem.


A

Acceptance Rate The percentage of AI-generated inline completions that the developer accepts without modification. Copilot reports it in its usage metrics.

Agentic Loop The cycle an AI agent runs repeatedly: receive task → plan steps → execute tool → observe result → decide next step → repeat. Claude Code, Copilot agents, and Cursor's Agent all run some form of this loop.

Agent An AI system that autonomously executes multi-step tasks using tools (file read/write, terminal, browser), rather than just generating text responses. Distinguished from "chat" by the ability to take actions.

Agent Skills The open standard (agentskills.io) that Claude Code skills follow: a folder with a SKILL.md file (YAML frontmatter plus instructions) and optional supporting files, portable across multiple AI tools. See Skill.

Agent Teams An experimental Claude Code feature (enable with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) where one session acts as team lead and spawns teammates - separate Claude Code instances with their own context windows that share a task list and message each other directly. Uses significantly more tokens than subagents. Compare: Subagent.

Allowlist / Denylist Permission rules that explicitly permit (allow), require confirmation for (ask), or block (deny) specific tool uses during an agent session. In Claude Code: configured under permissions in settings.json, with /permissions, or via the --allowedTools / --disallowedTools flags. Deny rules apply in every permission mode.

Auto Memory Notes Claude Code writes for itself across sessions (build commands, corrections, preferences), stored per repository in a MEMORY.md plus topic files. The first 200 lines or 25KB of MEMORY.md load at the start of every session. Managed with /memory. Compare: CLAUDE.md, which you write.

Auto Mode A Claude Code permission mode (--permission-mode auto) where a separate classifier model reviews actions in the background instead of prompting you. Recent versions start interactive sessions in auto mode by default; press Shift+Tab to switch modes.


C

Cache Hit / Cache Miss In prompt caching: a cache hit means the prompt prefix was found in Anthropic's cache and the cheaper cache-read price applies. A cache miss means the prefix wasn't cached yet; it is processed at the normal input price (or the cache-write price when the request creates a cache entry). See Prompt Caching.

Checkpoint A snapshot Claude Code takes automatically before each prompt you send, capturing files changed by Claude's file-editing tools. Press Esc twice or run /rewind to restore code, conversation, or both. Not a git snapshot: changes made by Bash commands or outside the session aren't tracked.

CLAUDE.md The instructions file for Claude Code. Loaded automatically at session start from the project (./CLAUDE.md or ./.claude/CLAUDE.md), your user directory (~/.claude/CLAUDE.md), and optionally CLAUDE.local.md for private per-project notes. Contains project conventions, architecture notes, and instructions for the agent; keep each file under ~200 lines. Generate one with /init. Claude Code can also read a repository's AGENTS.md. Compare: .cursorrules, copilot-instructions.md.

Claude Code Anthropic's agentic coding tool. Runs in the terminal (CLI), and also in VS Code and JetBrains IDEs, the desktop app, the web (claude.ai/code), Slack, and CI (GitHub Actions, GitLab). Can execute shell commands, read/write files, manage git, and spawn subagents.

Completion A single instance of AI-generated code suggestion. In ghost-text mode (Copilot inline suggestions), the AI "completes" what you started typing. Accepting = pressing Tab.

Composer (Cursor) Originally Cursor's multi-file editing feature. In Cursor 0.46 (February 2025), Chat and Composer were merged into a single interface with Agent as the default mode, so multi-file editing now happens in Agent. Since Cursor 2.0, "Composer" is the name of Cursor's own coding model.

Context Compaction Claude Code's process of summarizing earlier conversation turns when the context window approaches its limit. Runs automatically, or on demand with /compact [focus instructions]. Project-root CLAUDE.md, auto memory, and invoked skills are re-injected afterward, but specific details from early in the session may be lost.

Context Window The total amount of text (in tokens) that a model can process in a single request. Everything visible to the model — system prompt, conversation history, files, tool results — fits inside this window.

copilot-instructions.md GitHub Copilot's workspace instructions file, stored at .github/copilot-instructions.md. Automatically added to Copilot requests in that repository. Compare: CLAUDE.md.

Cursor An AI-first IDE built on VS Code, with deep AI integration including Agent (multi-file agent; formerly Chat and Composer), Tab (inline completion), and Inline Edit (Ctrl+K / Cmd+K). Uses its own model infrastructure with access to multiple LLMs.


E

ECC Not an Anthropic term. In community Claude Code content it usually refers to the third-party "Everything Claude Code" plugin. Anthropic's mechanism for reusing large prompt prefixes is Prompt Caching.

Effort Level A Claude Code setting (/effort, --effort) that controls how much reasoning the model spends: low, medium, high, xhigh, or max, depending on the model. Higher effort is slower and uses more tokens.

Embedding A numerical vector representation of text that captures semantic meaning. Used in retrieval systems to find relevant code/documentation based on meaning rather than exact keyword match.


G

Ghost Text The gray inline suggestion text that appears as you type in editors with AI completion (Copilot, Cursor Tab, etc.). Press Tab to accept, Esc to dismiss.


H

Hallucination When an AI model generates plausible-sounding but factually incorrect or non-existent information. In coding contexts: invented function names, wrong API signatures, or non-existent library versions. Mitigated by grounding the model in real context (actual files, actual docs).

Hook A handler triggered automatically at specific points in an agent's lifecycle (e.g., PreToolUse, PostToolUse, SessionStart, Stop). Used to block unsafe operations, run linters, inject context, or auto-format code. In Claude Code a hook can be a shell command, an http endpoint, an mcp_tool call, an LLM prompt, or an agent. Configured under hooks in settings.json, plugins, or skill/subagent frontmatter; view with /hooks.


I

Inline Chat An AI chat interface that opens directly in the code editor (e.g., Copilot's Ctrl+I, Cmd+I on macOS), letting you request changes to a specific code selection without switching to a chat panel.


L

LLM (Large Language Model) The AI model underlying tools like Claude, GPT, and Gemini. Trained on large text corpora to predict and generate text. "Large" refers to the scale of model parameters, not context size.


M

MCP (Model Context Protocol) An open standard protocol that lets AI agents connect to external systems (databases, APIs, file systems) through a consistent interface. MCP servers expose "tools" (actions) and "resources" (data) to the agent.

MCP Server A process that implements the Model Context Protocol. Exposes tools and resources to AI agents. Examples: GitHub MCP server (GitHub API), PostgreSQL MCP server (SQL queries), Puppeteer MCP server (browser control).

Memory (CLAUDE.md / Auto Memory) The two ways Claude Code carries knowledge across sessions: CLAUDE.md files (instructions you write) and auto memory (notes Claude writes itself). Both load at session start and are treated as context, not enforced configuration - use hooks or permission rules for hard constraints, and skills for reusable on-demand workflows.


N

NES (Next Edit Suggestions) Copilot's feature that predicts both the location of the next edit you'll likely want to make and what that edit should be, not just a completion at the cursor. Press Tab to jump to the suggestion and Tab again to accept it. Enabled with the VS Code setting github.copilot.nextEditSuggestions.enabled.


P

Plan Mode A Claude Code permission mode (--permission-mode plan, Shift+Tab, or the /plan command) where the agent researches and proposes an implementation plan without editing source files, and waits for approval before executing. Compare: plan-driven development workflow.

Permission Mode Claude Code's baseline for which actions run without asking: default (Manual), acceptEdits, plan, auto, dontAsk, and bypassPermissions. Cycle with Shift+Tab or set with --permission-mode. Permission rules layer on top.

Plugin A directory of skills, subagents, hooks, MCP servers, and other components that Claude Code installs and loads as one unit, usually from a marketplace. Manage with /plugin.

Prompt The text input sent to an AI model. In coding contexts: instructions, code context, task descriptions. Prompt quality is the primary factor in output quality.

Prompt Caching Anthropic's API feature for caching prompt prefixes (system prompt, tools, large documents or codebase context) across requests. Cache reads are billed at a fraction of the normal input price, which cuts cost and latency for repeated queries against the same context. Claude Code uses it automatically.

Prompt Engineering The practice of crafting effective prompts to get better outputs from AI models. Includes: specificity, examples, constraints, role framing, and step decomposition.

Prompt Injection An attack where malicious content (in a file, webpage, or user input) tricks an AI agent into executing unintended actions. Example: a comment in code that says "Also delete all files in /tmp". See Security Hardening.


R

RAG (Retrieval-Augmented Generation) A technique where relevant documents are retrieved from a knowledge base and included in the AI prompt at query time. Used by codebase indexing features (such as Copilot's #codebase semantic search) to include relevant code without needing the full codebase in context.

REPL Read-Eval-Print Loop. An interactive programming environment. Claude Code essentially creates an AI-powered REPL for software projects.


S

Session A single continuous conversation with an AI agent, from start to end (or compaction/continuation). In Claude Code, sessions have IDs (and optional names) and can be continued with claude -c or resumed with claude -r / /resume.

Skill (Claude Code) A reusable module loaded into a Claude Code session on demand. Defined as a SKILL.md file in its own folder (.claude/skills/<name>/ for a project, ~/.claude/skills/<name>/ for personal use, or inside a plugin). Claude loads it automatically when a request matches its frontmatter description, or you run it directly with /skill-name. Custom commands (.claude/commands/*.md) have been merged into skills. Follows the Agent Skills open standard.

Subagent An agent spawned by a parent agent to handle a subtask. The subagent runs independently (separate context) and returns results to the parent. Enables agent parallelization and context isolation.

System Prompt The initial instructions given to an AI model before the conversation begins. Defines behavior, constraints, and context. In Claude Code, the system prompt is built in; CLAUDE.md content is delivered as a user message after the system prompt, not inside it. To change the system prompt itself, use --append-system-prompt or --system-prompt (or output styles). In Copilot: copilot-instructions.md provides workspace instructions.


T

Token The basic unit of text that LLMs process. Roughly: 1 token ≈ 0.75 words (English). Pricing and context limits are measured in tokens.

Tool Use The capability for AI agents to invoke external functions (tools) — like reading a file, running a shell command, or querying an API — rather than just generating text. Tool use is what makes agents "agentic."


V

Vibe Coding An informal term for AI-assisted development where the developer describes what they want in natural language and iterates on AI-generated code without writing much code manually. High velocity, higher review obligation.


W

Worktree (Git) A separate working directory checked out from the same git repository. Claude Code can start in one with claude -w <name> (under .claude/worktrees/) so parallel sessions or /batch subagents don't edit the same files.


Y

YOLO Mode Informal name for letting an agent run commands without approval. In Cursor this was the old auto-run setting; today it corresponds to the Run Everything run mode (Settings > Agents > Approvals & Execution), which runs every tool call with no sandbox and no classifier. Cursor recommends its default Auto-review mode instead. Use Run Everything only in sandboxed environments.