
Prompt engineering determines whether AI assistants like Claude deliver usable results or just generic text. The reason is structural: when the model lacks context, it fills the gap with whatever is statistically most likely.
Five building blocks make up a solid prompt: role, goal, context, output format, and quality requirements. With Claude, it also helps to clearly separate instructions from material using XML-style tags.
Token efficiency comes from precision and selection, not from simply cutting text short – one sentence of context often saves several iterations. And the input format remains a subject-matter decision: Excel for numbers, PDF for fidelity to the original, Word for structure, text for control, images for visual evidence.
AI assistants like Claude have moved from experiment to everyday tool in many organizations: they summarize tenders, review contracts, comment on code, and structure workshop outputs. The key question is no longer “Can the model do this?” but “How do I need to ask to get a usable result?”
That’s exactly what prompt engineering is – not some secret science, but a communication discipline, comparable to briefing an external specialist. This article looks at why weak prompts fail, how a solid Claude prompt is structured, how to achieve more with fewer tokens, and which input format – text, PDF, image, Word, or Excel – suits which task.

Prompt engineering is the systematic design, testing, and refinement of inputs to a language model in order to reliably get usable outputs. “Systematic” is the key word here: what counts isn’t a single lucky attempt, but a formulation that still works on the twentieth use – and for your colleagues too.
The link between input quality and output quality is structural. The model doesn’t know your unspoken assumptions – not your target audience, not your internal conventions, not the reason behind the question. If that information is missing, it fills the gap with whatever is statistically most likely. The result isn’t wrong, just generic: cleanly worded and useless for your purpose.
Four recurring patterns explain most of the disappointments.
Unclear requirements. “Improve this text” leaves it open whether you mean clarity, length, tone, or legal precision. Better: “Shorten to 150 words without losing the three key points; audience is non-specialists.”
Missing context. “Is this clause okay?” is nearly impossible to answer without knowing the contract type, jurisdiction, and negotiating position. Adding “IT services framework agreement, German law, we are the client” changes the answer substantially.
Too much irrelevant information. Attaching a 40-page project manual just to clarify the acceptance terms dilutes the signal.
No format or goal specification. Without a target format, you get running prose – even if what you actually needed was a table for a management deck.
With Claude, it also helps to clearly separate instructions from material: wrap longer inputs in XML-style tags like <document>…</document> and place your instructions before them. This prevents the model from confusing “instructions” with “content to be processed,” especially when there are multiple attachments.
Tokens are the model’s processing units – word fragments just a few characters long. Every input and output token costs compute time and, with API usage, money. Long inputs increase latency and so slow things down; at the same time, they spread the model’s attention across more material.
Efficiency doesn’t mean “short at any cost.” One sentence of context that saves a round of clarification is cheaper than three iterations. Worth doing:
Pasted-in text is the most reliable format: no extraction step, no layout interpretation, full control. The downside is manual effort. Ideal for excerpts, code, and email drafts.
Claude processes PDFs both through the embedded text and visually via the page rendering, so it takes layout and diagrams into account. Strong for contracts, studies, and forms. Limitations: multi-column layouts and nested tables produce mapping errors, and the visual component costs significantly more tokens than plain text.
Suited for screenshots, whiteboard photos, and UI reviews; text within an image is read without a separate OCR tool. Limitations: low resolution, handwriting, dense tables, and precisely reading values off charts – this is where reading errors creep in that still sound plausible.
Word files bring their own structure: heading hierarchy, lists, and often comments and tracked changes. That makes restructuring, terminology-consistency checks, or chapter-by-chapter summaries easier – the most rewarding format for editorial work.
Here, computing beats reading: where an execution environment is available, Claude analyzes spreadsheets programmatically – aggregations, outliers, pivots – rather than “reading” rows one by one. That scales far beyond what would fit as text in the context window. Prerequisites: a header row, no merged cells, and no subtotals in the middle of the data.
| Format | Analysis quality | Context understanding | Token usage | Processing effort |
|---|---|---|---|---|
| Text | high | high (when curated) | low | high (manual) |
| medium to high | high (layout included) | high | low | |
| Image | medium | medium | medium to high | low |
| Word | high | high (structure included) | medium | low |
| Excel | very high (for numbers) | low (for prose) | low (when aggregating) | medium |
Prompt quality determines output quality, because the model fills in missing context with whatever is most likely. Five building blocks – role, goal, context, format, and quality standard – cover most cases. Token efficiency comes from precision and selection, not from cutting things short. The input format is a subject-matter decision: Excel for numbers, PDF for fidelity to the original, Word for structure, text for control, images for visual evidence.

Praxiswissen, Tipps und Neuigkeiten für den Mittelstand: kompakt und ohne Spam. Abmelden jederzeit möglich.
Praxiswissen, Tipps und Neuigkeiten für den Mittelstand: kompakt und ohne Spam. Abmelden jederzeit möglich.