home/writing/system-prompt-194

System Prompt

GPTClaudeGemini··469 copies·updated 2026-07-14
system-prompt-194.prompt
# Lesson 02  -  Giving the Model a Role

## What Question Are We Answering?

**"Why does the same model behave differently?"**

You've probably noticed that LLMs can act like different personas - technical expert, creative writer, helpful assistant. How does that work?

## What You Will Build

A script that uses **system prompts** to:
- Assign the model a specific role
- Stabilize its behavior
- Control tone and format

## New Concepts Introduced

### 1. System Prompts

A **system prompt** is an instruction that shapes how the model responds. It's like giving someone a role before a conversation.

Example system prompts:

when to use it

Community prompt sourced from the open-source GitHub repo pguso/agents-from-scratch (MIT). A "System Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

pguso/agents-from-scratch · MIT