Agents: system prompts and task briefs

An AI agent works toward a goal over several steps, and it often uses tools such as search, files or other software. That changes what a good prompt has to contain. A single question is not enough. You need a clear goal, the context the agent cannot guess, the inputs it may use, a definition of done you can check, and boundaries for what it may and may not do. You also need a rule for when to stop and ask instead of pressing on.

The templates in this category cover the parts of that setup. Use the task brief when you hand over a piece of work. Use a system prompt when an assistant will run for many conversations and needs a stable role and scope. Add tool-use rules when the agent can take actions with side effects. Ask for a self-check before delivery so the agent verifies its own result, and ask for a plan with checkpoints when the work is long enough to go wrong halfway.

Every template works in an empty chat and is written for Claude, ChatGPT, Gemini and Grok. Replace the variables, paste the prompt, and review the agent's plan before it starts.

5templates

templates

Read the guide

Related categories