30 Claude Prompts for Sysadmins
Paste these into Claude to get working scripts, hardening checklists, backup plans, and runbooks you can hand to your team the same day.
In short: This page contains 30 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 5 prompts are free instantly, no signup needed. Hand-curated and tested by the AI Academy team.
Automation Scripts
5 promptsBash Backup Rotation Script
1/30✨ What it does
Claude writes a bash script that deletes backups older than [NUMBER OF DAYS TO KEEP] in [BACKUP DIRECTORY PATH] and emails you when the volume is running low. Dry-run it on a spare copy of the directory, then add the live job to cron.
You are a senior Linux systems administrator. <context> I manage a fleet of on-premise Linux servers and need a reliable script to rotate local backups before they fill the disk. </context> <inputs> - Backup directory: [BACKUP DIRECTORY PATH] - Retention period: [NUMBER OF DAYS TO KEEP] - Backup file naming pattern: [FILE NAME PATTERN] - Server hostname: [SERVER HOSTNAME] - Notification email: [ALERT EMAIL ADDRESS] </inputs> <task> Write a bash script that finds backup files older than the retention period in the backup directory, deletes them, logs what was deleted, and emails a summary to the notification address if disk usage on the backup volume exceeds 80 percent. </task> <constraints> Use only standard GNU coreutils and cron compatible syntax, no third party tools. Include comments explaining each step. The script must fail safely and never delete a file it cannot confirm matches the naming pattern. </constraints> <format> Return the full script in a single code block, followed by a short paragraph on how to schedule it with cron. </format>
Pro tip: Run it with the delete logic commented out for the first week so you can confirm the file matching before anything gets removed.
Python Log Cleanup Automation
2/30✨ What it does
Claude produces a Python cleanup job for [LOG DIRECTORY PATH] that compresses old logs, removes files past retention, and prints a dry-run byte count. Schedule your dry-run overnight, then promote the live job once the freed-space number looks right.
You are a senior systems administrator who scripts in Python. <context> Our application servers generate large log files daily and I need a scheduled job that compresses old logs and removes ones past retention without manual intervention. </context> <inputs> - Log directory: [LOG DIRECTORY PATH] - Compress after: [NUMBER OF DAYS BEFORE COMPRESSION] - Delete after: [NUMBER OF DAYS BEFORE DELETION] - Log file extension: [FILE EXTENSION] - Python version available: [PYTHON VERSION] </inputs> <task> Write a Python script that walks the log directory, gzips log files older than the compression threshold, deletes files older than the deletion threshold, and prints a summary of bytes freed. </task> <constraints> Use only the Python standard library, no external packages. Handle permission errors without crashing the whole run. Keep the script under 100 lines and add a dry run flag. </constraints> <format> Return the script as a single code block with a short usage example showing the dry run flag and the live run command. </format>
Pro tip: Point the dry run at a copy of a busy log directory first so the reported byte savings match what you actually expect.
User Provisioning Script For New Hires
3/30✨ What it does
Claude drafts a repeatable new-hire provisioning script for [ACTIVE DIRECTORY, LDAP, OR LOCAL UNIX] with an approval checkpoint and an audit record. Walk it with whoever owns identity on your team, then use it on the next starter instead of clicking by hand.
You are a senior systems administrator responsible for identity and access. <context> New employees start most weeks and I want a repeatable script that creates their accounts and group memberships instead of doing it by hand each time. </context> <inputs> - Directory service: [ACTIVE DIRECTORY, LDAP, OR LOCAL UNIX] - Default groups for new hires: [LIST OF GROUP NAMES] - Home directory base path: [HOME DIRECTORY PATH] - Naming convention: [USERNAME FORMAT] - Ticketing field to log against: [TICKET FIELD NAME] </inputs> <task> Write a script or step by step procedure that creates a new user account with the correct groups and home directory, sets a temporary password that must be changed at first login, and records the action for audit purposes. </task> <constraints> Do not hardcode any real names or passwords in the example. Call out where manual approval should happen before the account is activated. Keep security review points visible, not buried in comments. </constraints> <format> Return the procedure as numbered steps, with any script section in its own code block. </format>
Pro tip: Ask Claude to add a second version for contractor accounts, since those usually need shorter default expiry dates.
Scheduled Disk Space Alert Script
4/30✨ What it does
Claude writes a portable disk-space monitor for [LIST OF MOUNT POINTS] with warning and critical thresholds and alerts that do not repeat. Point it at one quiet server first, then roll it to the hosts that have surprised you overnight.
You are a senior systems administrator focused on infrastructure reliability. <context> I have been caught off guard by servers running out of disk space overnight and want a proactive alert instead of finding out from an outage. </context> <inputs> - Monitored mount points: [LIST OF MOUNT POINTS] - Warning threshold percent: [WARNING PERCENT] - Critical threshold percent: [CRITICAL PERCENT] - Alert channel: [EMAIL, SLACK WEBHOOK, OR SMS GATEWAY] - Check frequency: [CHECK INTERVAL] </inputs> <task> Write a script that checks disk usage on the listed mount points, and sends a warning alert at the warning threshold and an urgent alert at the critical threshold, including the specific mount point and current usage percent in the message. </task> <constraints> Avoid duplicate alerts firing every run once a threshold is already breached, only re-alert if usage increases another 5 percent or the condition clears and returns. Keep the script portable across common Linux distributions. </constraints> <format> Return the script in a single code block plus a one paragraph note on how to install it as a cron job or systemd timer. </format>
Pro tip: Test the re-alert logic by filling a scratch partition manually so you see the escalation behave before trusting it on production disks.
Automated SSL Certificate Renewal Check
5/30✨ What it does
Claude builds a certificate checker that lists [LIST OF DOMAINS] sorted by days remaining so expirations show up before an outage. Run it this week, then schedule the same check so the next expiry cannot sneak past you.
You are a senior systems administrator managing public facing services. <context> I have had certificates expire unnoticed in the past and need an automated check that catches upcoming expirations before they cause an outage. </context> <inputs> - Domains to check: [LIST OF DOMAINS] - Warning window in days: [DAYS BEFORE EXPIRY TO WARN] - Renewal method in use: [CERTBOT, MANUAL, OR INTERNAL CA] - Alert destination: [ALERT EMAIL OR CHANNEL] </inputs> <task> Write a script that checks the TLS certificate expiration date for each domain, flags any expiring within the warning window, and outputs a clear report with domain name and days remaining. </task> <constraints> Do not rely on any paid monitoring service, use openssl or an equivalent standard tool. Handle domains that fail to connect without stopping the whole check. Sort the report by soonest expiration first. </constraints> <format> Return the script in a single code block, followed by an example of the report output. </format>
Pro tip: Schedule it daily rather than weekly, a domain added late to the list should not silently miss its warning window.
Hardening Checklists
5 promptsLinux Server Hardening Checklist
6/30✨ What it does
Claude produces a categorized Linux hardening checklist for [LINUX DISTRIBUTION AND VERSION], marked required or recommended for the [SERVER ROLE]. Finish the required items before your box goes live, then park the recommended ones for the next window.
You are a senior Linux security administrator. <context> I am hardening a freshly provisioned Linux server before it goes into production and want a thorough checklist so nothing gets missed. </context> <inputs> - Distribution: [LINUX DISTRIBUTION AND VERSION] - Server role: [SERVER ROLE] - Compliance framework to align with: [CIS, NIST, OR NONE] - Remote access method: [SSH, VPN, OR BASTION HOST] </inputs> <task> Produce a hardening checklist covering account policy, SSH configuration, firewall rules, package minimization, logging, and patch management appropriate to the server role. </task> <constraints> Group items by category, and mark each item as required or recommended. Reference the compliance framework where relevant but keep language plain, not copied legal text. Keep the total list realistic for a single sitting, not exhaustive to the point of being ignored. </constraints> <format> Return the checklist as a markdown table with columns for category, item, and required or recommended. </format>
Pro tip: Run the checklist against a test server first, some required items like disabling a service can break an application you did not know depended on it.
Windows Server Hardening Checklist
7/30✨ What it does
Claude produces a Windows Server hardening checklist for [WINDOWS SERVER VERSION] that names real group policy paths for the [SERVER ROLE]. Try the settings on a lab build first, then fold the survivors into your standard image.
You are a senior Windows systems administrator focused on security. <context> I am preparing a Windows Server build standard for new deployments and need a hardening checklist that our team will actually follow. </context> <inputs> - Windows Server version: [WINDOWS SERVER VERSION] - Server role: [SERVER ROLE] - Domain joined: [YES OR NO] - Antivirus or EDR product in use: [PRODUCT NAME] </inputs> <task> Produce a hardening checklist covering local account policy, group policy settings, service minimization, Windows Firewall rules, and audit logging appropriate for the server role. </task> <constraints> Call out any setting that could break a common application if applied blindly. Avoid vague advice like enable security, name the actual setting or policy path. Keep the list to items a mid level administrator can execute without escalation. </constraints> <format> Return the checklist as a numbered list grouped under clear category headings. </format>
Pro tip: Ask for the group policy path alongside every setting so you can apply it through GPO instead of hunting for it manually later.
SSH Access Hardening Review
8/30✨ What it does
Claude reviews the sshd_config you paste and returns a risk-ranked table of weak settings with concrete fixes. Change the high-risk items on a test host, then copy the hardened config to the inherited fleet.
You are a senior systems administrator focused on remote access security. <context> I inherited a set of Linux servers with SSH configurations that have never been reviewed and I need to identify weak settings before an audit. </context> <inputs> - Current sshd_config settings I can share: [PASTE RELEVANT SSHD CONFIG LINES] - Number of servers affected: [NUMBER OF SERVERS] - Authentication method currently used: [PASSWORD OR KEY BASED] - Any bastion or jump host in place: [YES OR NO] </inputs> <task> Review the SSH configuration for weaknesses such as password authentication, root login, weak ciphers, or missing rate limiting, and produce a prioritized list of changes. </task> <constraints> Order recommendations by risk, highest first. Note which changes require a coordinated rollout because they could lock out active sessions. Do not recommend anything that needs a paid product. </constraints> <format> Return a table with columns for finding, risk level, and recommended fix. </format>
Pro tip: Keep a second SSH session open when you apply key based auth changes, so a misconfiguration does not lock you out of the box entirely.
Firewall Rule Audit Checklist
9/30✨ What it does
Claude writes a firewall audit procedure for [FIREWALL PLATFORM] plus a table template for recording why each rule exists. Fill the purpose column before you delete anything, then drop only the rules nobody can defend.
You are a senior network and systems administrator. <context> Our firewall rule set has grown over several years with rules added by different people and I need to clean it up without breaking anything in production. </context> <inputs> - Firewall platform: [FIREWALL PLATFORM] - Approximate number of rules: [NUMBER OF RULES] - Known critical services that must stay reachable: [LIST OF CRITICAL SERVICES] - Last audit date: [LAST AUDIT DATE OR NEVER] </inputs> <task> Produce a checklist and procedure for auditing the firewall rule set, identifying unused or overly broad rules, and documenting the intended purpose of each remaining rule. </task> <constraints> Include a safe rollback step before removing any rule. Flag any rule that allows access from any source address as high priority to review. Keep the process usable by someone who did not write the original rules. </constraints> <format> Return the checklist as numbered steps, with a separate short table template for documenting each rule reviewed. </format>
Pro tip: Disable a suspect rule instead of deleting it first, and watch traffic for a full business cycle before removing it for good.
Database Server Hardening Checklist
10/30✨ What it does
Claude produces a database hardening checklist for [DATABASE ENGINE] on [OPERATING SYSTEM AND VERSION] and flags which items need a downtime window. Book those window items on your calendar first, then apply the rest during normal hours.
You are a senior database and systems administrator. <context> I am hardening a production database server and want to cover both the operating system and the database engine configuration. </context> <inputs> - Database engine: [DATABASE ENGINE] - Operating system: [OPERATING SYSTEM AND VERSION] - Network exposure: [INTERNAL ONLY OR INTERNET FACING] - Backup solution already in place: [BACKUP TOOL OR NONE] </inputs> <task> Produce a hardening checklist covering network exposure, authentication method, encryption at rest and in transit, least privilege for database accounts, and audit logging for the given database engine. </task> <constraints> Separate items that require a restart or downtime window from items that can be applied live. Avoid generic advice, name actual configuration parameters for the given engine. Flag anything that conflicts with the existing backup solution. </constraints> <format> Return the checklist as a markdown table with columns for area, setting, and whether it requires downtime. </format>
Pro tip: Schedule the downtime items into a single maintenance window instead of applying them piecemeal, restarts add up fast on a busy database.
Backup and Disaster Recovery
5 promptsBackup Strategy Design For A Small Team
11/30✨ What it does
Claude designs a 3-2-1 backup strategy for [LIST OF SYSTEMS OR SERVERS] sized to a small team's budget and the recovery targets you state. Test a restore on one system this month, then change the plan if that restore fails.
You are a senior systems administrator designing backup infrastructure. <context> I support a small IT team with limited budget and need a backup strategy that actually gets tested, not just configured and forgotten. </context> <inputs> - Systems to back up: [LIST OF SYSTEMS OR SERVERS] - Current backup tool if any: [CURRENT TOOL OR NONE] - Recovery time objective: [TARGET RECOVERY TIME] - Recovery point objective: [ACCEPTABLE DATA LOSS WINDOW] - Budget constraint: [BUDGET RANGE] </inputs> <task> Design a backup strategy including frequency, retention, storage location, and a testing cadence that fits the stated recovery objectives and budget. </task> <constraints> Follow the 3-2-1 backup principle explicitly and explain how each part is satisfied. Keep the plan realistic for a team without a dedicated backup administrator. Note the single biggest risk in the current setup if one is implied by the inputs. </constraints> <format> Return the strategy as a short document with headings for frequency, retention, storage, and testing. </format>
Pro tip: Ask Claude to state the biggest single point of failure in your current setup explicitly, that line is usually the most useful part of the answer.
Disaster Recovery Runbook Draft
12/30✨ What it does
Claude writes a disaster recovery runbook for [SYSTEM NAME] with trigger conditions, one action per step, and a rollback path. Have a teammate who did not build the system follow it once, then fix any step they stall on in your copy.
You are a senior systems administrator responsible for business continuity. <context> I need a disaster recovery runbook for a critical system so that whoever is on call can execute recovery without needing me on the call. </context> <inputs> - System name: [SYSTEM NAME] - Dependencies: [LIST OF DEPENDENT SYSTEMS OR SERVICES] - Backup location: [BACKUP STORAGE LOCATION] - Recovery time objective: [TARGET RECOVERY TIME] - Primary and secondary contacts: [ON CALL CONTACT NAMES] </inputs> <task> Draft a disaster recovery runbook with clear trigger conditions for when to invoke it, step by step recovery steps, verification steps to confirm the system is healthy, and rollback guidance if recovery fails. </task> <constraints> Write steps specific enough that someone unfamiliar with the system could follow them under pressure. Do not assume access to tools or credentials that are not listed in the inputs. Keep each step to one action. </constraints> <format> Return the runbook as numbered sections: trigger conditions, recovery steps, verification, and rollback. </format>
Pro tip: Have someone outside the system's usual owner try to follow the runbook cold, gaps show up fast when the reader cannot fill them from memory.
Backup Restore Test Plan
13/30✨ What it does
Claude produces a restore test plan for [SYSTEM OR DATABASE NAME] with explicit pass or fail criteria and a recurring schedule. Put the first test on your calendar, then keep the pass-fail sheet next to the backup job.
You are a senior systems administrator focused on backup verification. <context> We take backups regularly but have never formally tested a full restore and I want to fix that before we find out the backups do not work during a real incident. </context> <inputs> - System or database to test: [SYSTEM OR DATABASE NAME] - Backup tool: [BACKUP TOOL NAME] - Test environment available: [YES, NO, OR DESCRIBE] - Acceptable downtime for the test: [TIME WINDOW] </inputs> <task> Create a restore test plan that verifies both that the backup file is valid and that a full restore produces a working system, including data integrity checks. </task> <constraints> Specify exactly what counts as a passed test versus a failed one. Include a step to test restoring to an isolated environment when possible rather than production. Note how often this test should repeat. </constraints> <format> Return the plan as a checklist with a pass or fail column for each step. </format>
Pro tip: Time the actual restore during the test, the number you get is your real recovery time, not whatever figure is written in the disaster recovery plan.
Offsite Backup Policy Document
14/30✨ What it does
Claude drafts a two-page offsite backup policy for [ORGANIZATION NAME] covering scope, requirements, responsibilities, and a review schedule. Circulate it to whoever owns the offsite location, then treat it as your written standard.
You are a senior systems administrator writing internal policy. <context> I need a written offsite backup policy so the organization has a documented standard instead of relying on tribal knowledge about where backups live. </context> <inputs> - Organization name: [ORGANIZATION NAME] - Current offsite location or provider: [OFFSITE LOCATION OR CLOUD PROVIDER] - Data classification levels in use: [DATA CLASSIFICATION LEVELS] - Retention requirement: [RETENTION PERIOD] </inputs> <task> Write an offsite backup policy document covering what data must be backed up offsite, how often, encryption requirements in transit and at rest, and who is responsible for verifying it happens. </task> <constraints> Write in plain policy language a non-technical manager could approve, but keep the technical requirements precise enough for an engineer to implement. Do not exceed two pages worth of content. </constraints> <format> Return the document with headings for scope, requirements, responsibilities, and review schedule. </format>
Pro tip: Name a specific person or role as responsible for verification, a policy that says the team is responsible tends not to get checked by anyone.
Ransomware Recovery Playbook
15/30✨ What it does
Claude writes a ransomware recovery playbook ordered around [LIST OF CRITICAL SYSTEMS IN ORDER], starting with containment and ending with stakeholder updates. Print a copy for the on-call folder, then rehearse the first hour before you need it.
You are a senior systems administrator responsible for incident recovery. <context> I want a ransomware specific recovery playbook prepared in advance so the team is not improvising during an actual attack. </context> <inputs> - Critical systems in priority order: [LIST OF CRITICAL SYSTEMS IN ORDER] - Backup isolation method: [OFFLINE, IMMUTABLE, OR AIR GAPPED] - Incident response contact: [INCIDENT RESPONSE CONTACT] - Cyber insurance provider if any: [INSURANCE PROVIDER OR NONE] </inputs> <task> Draft a ransomware recovery playbook including immediate containment steps, how to verify backup integrity before restoring, restoration order for the listed critical systems, and communication steps for stakeholders. </task> <constraints> Assume the network may still be compromised during the first steps, so include isolation actions before any restoration. Do not recommend paying a ransom or negotiating, that decision sits outside this playbook. Keep legal and insurance notification as an explicit early step. </constraints> <format> Return the playbook as numbered phases: containment, verification, restoration, and communication. </format>
Pro tip: Print a copy of this playbook and keep it offline, if your network is the thing that is compromised you may not be able to open the digital version.
These prompts give you the what. Tutorials give you the why.
Learn when to use extended thinking, how to build Claude Projects, and workflows that compound. 300+ tutorials and growing.
Asset Inventory and Documentation
5 promptsServer Asset Inventory Template
16/30✨ What it does
Claude produces a practical server inventory template for [ON PREMISE, CLOUD, OR HYBRID], capped at 15 columns with a staleness field. Fill one environment this week, then treat any row past your staleness date as unknown.
You are a senior systems administrator building operational documentation. <context> I do not have a reliable inventory of our servers and need a template to start capturing what exists before anything else can be planned properly. </context> <inputs> - Environment type: [ON PREMISE, CLOUD, OR HYBRID] - Number of servers roughly: [APPROXIMATE SERVER COUNT] - Fields already tracked somewhere: [EXISTING FIELDS IF ANY] - Tool this will live in: [SPREADSHEET, CMDB, OR OTHER TOOL] </inputs> <task> Design a server asset inventory template with the fields needed to track hostname, role, operating system, owner, location, and support status for each server. </task> <constraints> Keep the field list practical, no more than 15 columns, so people will actually keep it updated. Include a field for last verified date so staleness is visible. Avoid fields that require specialist tools to populate. </constraints> <format> Return the template as a table with column names and a one line description of what belongs in each column. </format>
Pro tip: Put the last verified date column right next to the hostname, a template that hides staleness at the far right column rarely gets checked.
Software License Inventory Audit
17/30✨ What it does
Claude lays out a license audit process for [LIST OF VENDORS OR PRODUCTS] that flags both over-licensing and under-licensing risk. Pull last year's invoices next to the counts, then fix the vendor that would hurt you most in an audit.
You are a senior IT asset manager and systems administrator. <context> I suspect we are over licensed on some software and under licensed on others and need a structured way to find out before a vendor audit catches it first. </context> <inputs> - Software vendors in scope: [LIST OF VENDORS OR PRODUCTS] - Procurement records available: [YES, PARTIAL, OR NO] - Number of users or devices roughly: [APPROXIMATE COUNT] - Renewal dates known: [KNOWN RENEWAL DATES OR NONE] </inputs> <task> Create a license audit process that compares purchased licenses against actual deployed installs or active users, and flags both over licensing and under licensing risk. </task> <constraints> Note where estimates are being used because exact data is missing. Prioritize the vendors with the nearest renewal date first. Keep the process repeatable on a recurring schedule, not a one time exercise. </constraints> <format> Return the process as numbered steps plus a summary table template with columns for vendor, licensed count, actual usage, and status. </format>
Pro tip: Run this a full quarter before your biggest renewal date, not the week before, so there is time to actually renegotiate the count.
Network Diagram Documentation Prompt
18/30✨ What it does
Claude writes a plain-language network topology for [LIST OF SITES OR LOCATIONS] that someone can turn into a diagram without guessing. Sit with a new teammate and walk the hops, then add any link they cannot follow to your writeup.
You are a senior network and systems administrator. <context> Our network has never been formally diagrammed and I need a structured way to document it so new team members can understand the layout quickly. </context> <inputs> - Sites or locations: [LIST OF SITES OR LOCATIONS] - Key network devices: [LIST OF ROUTERS, SWITCHES, FIREWALLS] - VLANs in use: [LIST OF VLANS IF KNOWN] - Diagramming tool available: [TOOL NAME OR NONE] </inputs> <task> Produce a structured written description of the network topology, organized by site, that could be handed to someone to convert into a visual diagram, covering device roles, VLAN segmentation, and how sites connect to each other. </task> <constraints> Use plain descriptive language rather than diagram syntax since the output is text based. Call out anywhere information is missing or assumed rather than guessing silently. Keep each site section self contained. </constraints> <format> Return the description organized by site with a subsection for devices, VLANs, and interconnections. </format>
Pro tip: Feed the returned description back into Claude with a diagramming tool named in the inputs to get an actual diagram syntax next.
End Of Life Hardware Tracking Sheet
19/30✨ What it does
Claude builds an end-of-life hardware tracker for [LIST OF HARDWARE CATEGORIES] with a risk flag and replacement priority tied to your budget cycle. Rank the failing-soon rows, then put the top replacements into the next budget ask.
You are a senior systems administrator managing infrastructure lifecycle. <context> I need to track hardware approaching end of life or end of support so we can budget for replacements before something fails unexpectedly. </context> <inputs> - Hardware categories in scope: [LIST OF HARDWARE CATEGORIES] - Purchase or install dates known: [YES, PARTIAL, OR NO] - Typical lifecycle expectation: [YEARS EXPECTED IN SERVICE] - Budget planning cycle: [ANNUAL OR OTHER CYCLE] </inputs> <task> Design a tracking sheet for hardware end of life that flags items approaching or past their expected service life and supports budget planning conversations. </task> <constraints> Include a clear risk flag, such as a color or status label, for anything already past end of support. Keep the sheet simple enough to update during a routine hardware walkthrough. Tie each item to the budget planning cycle stated. </constraints> <format> Return the tracking sheet as a table with columns for item, install date, expected end of life, status, and replacement priority. </format>
Pro tip: Update this sheet during your next physical hardware walkthrough rather than from memory, install dates on stickers are more reliable than recollection.
Vendor Contract And Renewal Tracker
20/30✨ What it does
Claude produces a vendor renewal tracker for [LIST OF VENDORS] sorted by nearest deadline, with the cancellation notice window highlighted. Set a reminder before the first notice date, then negotiate while you still have time.
You are a senior systems administrator handling vendor relationships. <context> Contracts and support agreements renew throughout the year and I keep finding out about renewals too late to negotiate or budget properly. </context> <inputs> - Vendors under contract: [LIST OF VENDORS] - Contract types: [SUPPORT, LICENSING, SERVICE, OR MIXED] - Notice period typically required: [NOTICE PERIOD IN DAYS] - Person responsible for renewals: [RESPONSIBLE PERSON OR ROLE] </inputs> <task> Create a vendor contract tracker that surfaces upcoming renewals early enough to act, including the notice period required to cancel or renegotiate each contract. </task> <constraints> Sort by nearest renewal date and highlight anything inside its notice window. Include a field for renewal decision, such as renew, renegotiate, or cancel. Keep it usable without a dedicated procurement system. </constraints> <format> Return the tracker as a table with columns for vendor, contract type, renewal date, notice deadline, and decision. </format>
Pro tip: Set a calendar reminder at the notice deadline itself, not just at the renewal date, missing the notice window is what actually costs money.
Monitoring and Incident Response
5 promptsIncident Response Runbook For Outages
21/30✨ What it does
Claude writes a general outage runbook with concrete severity criteria and a first ten minutes that starts with triage. Keep it open on your next major page, then tighten any step that felt vague overnight.
You are a senior systems administrator responsible for on call operations. <context> I want a general incident response runbook that applies to any major outage so the on call engineer has a consistent process to follow instead of improvising each time. </context> <inputs> - Systems typically affected: [LIST OF CORE SYSTEMS] - Monitoring or alerting tool: [MONITORING TOOL NAME] - Escalation contacts: [ESCALATION CONTACT LIST] - Status page or customer communication tool: [STATUS PAGE TOOL OR NONE] </inputs> <task> Draft an incident response runbook covering initial triage, severity classification, escalation criteria, and customer communication steps for a major outage. </task> <constraints> Define severity levels with concrete criteria, not vague terms like bad or critical without explanation. Keep the first ten minutes of the runbook focused only on triage and stabilization, not root cause analysis. Avoid assuming tools that were not listed in the inputs. </constraints> <format> Return the runbook as numbered phases: triage, classification, escalation, and communication. </format>
Pro tip: Walk a new on call hire through this runbook during onboarding, reading it cold during a real outage is the wrong first exposure.
Alert Fatigue Reduction Review
22/30✨ What it does
Claude reviews the alerts in [MONITORING TOOL NAME] and marks each one keep, tune, or remove with a reason. Silence the remove pile this week, then retune the rest so your team stops ignoring the board.
You are a senior systems administrator responsible for monitoring systems. <context> Our team is getting so many alerts that people have started ignoring them, and I need to identify which alerts are actually worth keeping. </context> <inputs> - Monitoring tool: [MONITORING TOOL NAME] - Approximate alerts per week: [ALERT VOLUME PER WEEK] - Sample of common alert types: [LIST COMMON ALERT TYPES] - Any alerts known to be noisy: [KNOWN NOISY ALERTS IF ANY] </inputs> <task> Review the listed alert types and propose which should be kept as is, which should be tuned with better thresholds, and which should be removed or downgraded to a log only entry. </task> <constraints> Justify each recommendation with a reason tied to whether the alert requires human action. Do not recommend removing anything tied to data loss or security without flagging it for a second review. Group recommendations so the team can act on the highest impact changes first. </constraints> <format> Return the review as a table with columns for alert type, recommendation, and reason. </format>
Pro tip: Ask the on call team which alerts they mute reflexively before running this, that list usually matches Claude's remove recommendations closely.
Postmortem Report Draft
23/30✨ What it does
Claude turns [PASTE ROUGH INCIDENT NOTES] into a blameless postmortem with a chronological timeline and separated fix versus prevention items. Assign owners in the review meeting, then file the write-up while your details are fresh.
You are a senior systems administrator writing an incident postmortem. <context> We just resolved an incident and I need to turn my rough notes into a clear postmortem that the team can learn from without assigning blame to individuals. </context> <inputs> - Incident summary notes: [PASTE ROUGH INCIDENT NOTES] - Start and end time of impact: [START TIME AND END TIME] - Systems affected: [LIST OF AFFECTED SYSTEMS] - Immediate fix applied: [DESCRIBE THE FIX APPLIED] </inputs> <task> Write a blameless postmortem report from the notes provided, including a timeline, root cause analysis, impact summary, and a list of concrete follow up action items with owners left as placeholders. </task> <constraints> Keep the tone factual and blameless, describe what the system or process did, not who made a mistake. Separate immediate fix from long term preventive action items clearly. Keep the timeline in chronological order with timestamps. </constraints> <format> Return the report with headings for summary, timeline, root cause, impact, and action items. </format>
Pro tip: Paste your notes in raw and messy, Claude reorders them into a clean timeline better than trying to pre-sort them yourself first.
On Call Escalation Policy
24/30✨ What it does
Claude drafts an on-call escalation policy for [LIST OF TEAM MEMBERS OR ROLES] with a three-level chain and an enforceable acknowledgement window. Program those delays in your paging tool, then test a no-answer path once.
You are a senior systems administrator designing on call processes. <context> Our on call rotation exists but the escalation path is unclear and incidents sometimes sit too long before the right person is paged. </context> <inputs> - Team members in rotation: [LIST OF TEAM MEMBERS OR ROLES] - Current paging tool: [PAGING TOOL NAME OR NONE] - Business hours versus after hours difference: [YES OR NO, DESCRIBE IF ANY] - Maximum acceptable time to acknowledge: [ACKNOWLEDGEMENT TIME TARGET] </inputs> <task> Design an on call escalation policy that defines who gets paged first, how long to wait before escalating further, and what happens if nobody acknowledges within the target time. </task> <constraints> Keep the escalation chain no more than three levels deep before it reaches a manager. Account for the business hours versus after hours difference if one was stated. Make the acknowledgement target enforceable, not just aspirational language. </constraints> <format> Return the policy as a short document with a escalation chain table and a written explanation of the timing rules. </format>
Pro tip: Test the escalation timing with a scheduled drill page, not a real incident, so the first failure you find is not during an actual outage.
Log Monitoring Rule Set For Suspicious Activity
25/30✨ What it does
Claude produces a baseline log-monitoring rule set sized to [LIST OF LOG SOURCES], with specific trigger conditions for common suspicious activity. Load the highest-signal rules first, then add more only after you watch a week of noise.
You are a senior systems administrator focused on security monitoring. <context> I want a baseline set of log monitoring rules that catch common suspicious activity without requiring a full SIEM deployment. </context> <inputs> - Log sources available: [LIST OF LOG SOURCES] - Logging or SIEM tool: [TOOL NAME OR PLAIN LOG FILES] - Environment type: [SMALL BUSINESS, ENTERPRISE, OR CLOUD] - Known past incidents to guard against: [PAST INCIDENT TYPES IF ANY] </inputs> <task> Propose a set of log monitoring rules covering repeated failed logins, privilege escalation attempts, unusual outbound connections, and after hours access, tailored to the available log sources. </task> <constraints> Keep each rule specific enough to implement, naming the log field or event type it watches. Note which rules are high confidence versus likely to need threshold tuning after deployment. Do not assume a commercial SIEM if plain log files were stated. </constraints> <format> Return the rule set as a table with columns for rule name, log source, trigger condition, and response action. </format>
Pro tip: Deploy the high confidence rules first and hold the threshold-tuning ones for a second pass once you have a week of real traffic to calibrate against.
Most people use 10% of Claude. Tutorials unlock the rest.
AI Academy: 300+ hands-on tutorials on Claude, ChatGPT, Midjourney, and 50+ AI tools. New tutorials added every week.
User Access and Account Management
5 promptsNew Employee Access Provisioning Checklist
26/30✨ What it does
Claude writes a least-privilege provisioning checklist for [DEPARTMENT OR JOB ROLE], split into pre-stage and day-one items with approver sign-off. Use it on your next hire, then drop any access they never actually needed.
You are a senior systems administrator managing identity and access. <context> Each new hire needs a consistent set of access granted on day one and I want a checklist that removes guesswork from the process. </context> <inputs> - Department or role: [DEPARTMENT OR JOB ROLE] - Systems typically needed: [LIST OF SYSTEMS OR APPLICATIONS] - Approval required from: [APPROVER ROLE OR NAME] - Start date: [START DATE] </inputs> <task> Create a provisioning checklist that lists every system access item needed for the given role, who must approve it, and confirms completion before the employee's first day. </task> <constraints> Separate items that can be pre staged before day one from items that must wait until the employee is verified present. Do not include any access beyond what the stated role needs, apply least privilege. Include a sign off line for the approver. </constraints> <format> Return the checklist as a table with columns for access item, approver, and status. </format>
Pro tip: Reuse the same checklist template across roles by swapping only the systems list, that consistency is what makes audits go faster later.
Offboarding Access Revocation Checklist
27/30✨ What it does
Claude produces an offboarding checklist for a [VOLUNTARY, INVOLUNTARY, OR CONTRACTOR END] that splits immediate revocation from later items and flags shared credentials. Revoke the urgent access before they leave, then reset anything shared on your systems that same afternoon.
You are a senior systems administrator managing identity and access. <context> Employees leaving sometimes retain access longer than they should because offboarding is handled inconsistently across teams. </context> <inputs> - Departure type: [VOLUNTARY, INVOLUNTARY, OR CONTRACTOR END] - Systems the employee had access to: [LIST OF SYSTEMS] - Last working day: [LAST WORKING DAY] - Manager or HR contact: [MANAGER OR HR CONTACT] </inputs> <task> Create an offboarding checklist that revokes access across all listed systems in the correct order, with special handling noted for involuntary departures where access should be cut immediately rather than at end of day. </task> <constraints> Flag any shared accounts or credentials the departing employee may have known, since those need a password reset, not just individual account disablement. Keep a clear distinction between immediate revocation items and standard end of day items. Include a final verification step confirming no access remains. </constraints> <format> Return the checklist as a table with columns for access item, revocation timing, and confirmed status. </format>
Pro tip: Run the final verification step yourself rather than trusting the checklist alone, a missed shared login is the most common offboarding gap.
Privileged Account Access Review
28/30✨ What it does
Claude designs a recurring privileged-access review that requires a written justification and flags shared admin accounts as high risk. Start with those shared accounts, then collect justifications before your next quarter closes.
You are a senior systems administrator responsible for privileged access management. <context> I need to review who currently holds administrator or root level access across our systems, since these accounts carry the highest risk if compromised or misused. </context> <inputs> - Systems with privileged accounts: [LIST OF SYSTEMS] - Current privileged account holders: [LIST OF USERS OR PLACEHOLDER] - Last review date: [LAST REVIEW DATE OR NEVER] - Privileged access management tool if any: [PAM TOOL OR NONE] </inputs> <task> Design a privileged access review process that confirms each privileged account holder still needs that level of access, identifies any accounts that should be downgraded, and sets a recurring review schedule. </task> <constraints> Require a documented business justification for each privileged account that remains after review. Flag any shared or generic privileged account as high risk regardless of who uses it. Keep the review schedule recurring, not a one time cleanup. </constraints> <format> Return the process as numbered steps plus a review table template with columns for account, holder, justification, and decision. </format>
Pro tip: Treat any privileged account with no clear owner as an immediate downgrade candidate, not a placeholder to revisit next cycle.
Password Policy Draft For Compliance
29/30✨ What it does
Claude drafts a one-page password policy that favors length and multi-factor authentication over forced rotation, ready for a compliance review. Compare it to your current reset rule, then replace the outdated policy before the auditor arrives.
You are a senior systems administrator writing security policy. <context> I need an updated password policy that meets current best practice and satisfies an upcoming compliance review, replacing an outdated policy that still mandates frequent forced resets. </context> <inputs> - Compliance framework driving this: [FRAMEWORK NAME OR NONE] - Current password requirements: [PASTE CURRENT POLICY IF ANY] - Multi factor authentication status: [ENFORCED, PARTIAL, OR NOT DEPLOYED] - Systems this policy must cover: [LIST OF SYSTEMS] </inputs> <task> Draft a password policy aligned with current best practice, covering minimum length, multi factor authentication requirements, and when a reset is actually required versus not. </task> <constraints> Follow current guidance favoring length and multi factor authentication over frequent mandatory rotation, and explain briefly why the policy departs from any outdated current requirement listed. Write in policy language suitable for an employee handbook. Keep it to one page. </constraints> <format> Return the policy as a short document with headings for requirements, multi factor authentication, and reset conditions. </format>
Pro tip: Ask for a short explanatory line employees will actually read, a policy nobody understands gets worked around, not followed.
Quarterly Access Recertification Plan
30/30✨ What it does
Claude produces a quarterly access recertification plan with a manager review step, a removal timeline, and escalation for missed deadlines. Mail the first batch to managers this quarter, then revoke anything they do not confirm on your side.
You are a senior systems administrator responsible for access governance. <context> We need a recurring process where managers confirm their team's system access is still appropriate, instead of access accumulating indefinitely as people change roles. </context> <inputs> - Systems in scope for recertification: [LIST OF SYSTEMS] - Number of managers involved: [NUMBER OF MANAGERS] - Recertification tool available: [SPREADSHEET, IDENTITY GOVERNANCE TOOL, OR NONE] - Deadline for each cycle: [DAYS ALLOWED PER CYCLE] </inputs> <task> Design a quarterly access recertification plan where managers review their direct reports' access per system, confirm or flag it for removal, and a process for following up on non responses before the deadline. </task> <constraints> Keep the manager's task simple enough to complete without special software if none is available. Define exactly what happens to access that is flagged for removal, and by when. Include an escalation step for managers who miss the deadline. </constraints> <format> Return the plan as numbered steps plus a recertification table template with columns for user, system, manager decision, and due date. </format>
Pro tip: Send the first cycle's reminder a full week before the deadline, managers treat access review as low priority until it is nearly overdue.
Free tool
Prompt Optimizer
Turn a rough idea into a structured, professional AI prompt.
Frequently Asked Questions
Prompts are the starting line. Tutorials are the finish.
A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.
7-day free trial. Cancel anytime.