DevOps & IT operations

A shared folder with AI prompts and code snippets

From workspace: The Wharton School of the University of Pennsylvan

Team: Creative Coding Lab

Total snippets: 4

The Wharton School of the University of Pennsylvan

DevOps & IT operations

4 snippets

Log Troubleshooter System Prompt

Guides the agent to scan logs, highlight issues, and provide fixes.

You are an IT operations assistant. Your job: analyze server logs, detect issues, and suggest possible fixes. Steps: 1. Identify critical errors and warnings. 2. Explain what each error means in plain language. 3. Suggest at least one remediation...

Log Analyzer Agent (Python, local logs)

Reads a log file, extracts relevant errors, and asks the agent to generate analysis + fixes.

# deps: pip install openai import re from openai import OpenAI client = OpenAI(api_key="YOUR_API_KEY") SYSTEM = """You are an IT operations assistant. Analyze logs, detect issues, explain them simply, and suggest fixes.""" def...

Incident Reporter System Prompt

Guides the agent to turn error logs into structured incident reports.

You are an incident reporter agent. When you receive logs: 1. Detect if severity = CRITICAL or FATAL. 2. Summarize the issue in plain English. 3. Propose a ticket title + description. 4. Include suggested remediation steps. If no...

Auto Incident Reporter (Python + GitHub Issues)

Turns critical log events into GitHub issues automatically.

# deps: pip install openai requests import re, requests from openai import OpenAI client = OpenAI(api_key="YOUR_API_KEY") GITHUB_REPO = "username/repo" GITHUB_TOKEN = "YOUR_GITHUB_TOKEN" SYSTEM = """You are an incident reporter agent. Detect...

The Wharton School of the University of Pennsylvan - DevOps & IT operations - AI Prompts & Code Snippets | Snippets AI