Time Necromancy: 100 Python Scripts That Resurrect Lost Hours
DEV Community

Time Necromancy: 100 Python Scripts That Resurrect Lost Hours

Raise your productivity from the dead with pure Python. You are not busy. You are unscripted. Look at your day. You rename screenshots by hand. You drag files into folders like a medieval monk. You answer the same three Slack questions. You open twelve tabs to do a five minute task. That is not hustle. That is a memory leak in your human OS.

Time necromancy is not productivity porn. It is writing small, mean Python daemons that do the boring stuff while you sleep, eat, or actually build something. You trade one focused hour for a hundred hours back over a year. That is not a hack. That is compound interest for people who can code.

I put together a guide filled with one hundred proven automations, workflows, rituals, and patterns for resurrecting hours every week using nothing but Python. It is built for developers who want to stop drowning in microtasks and start reclaiming their days with intention. It covers file rituals, text rituals, data rituals, daily digests, habit tracking, session operators, personal automations, and small daemons that quietly run your machine while you live your life.

The Necromancy Doctrine

Forget morning routines. Learn the three laws.

  • If you do it twice, it gets a sigil. A sigil is a script. Not a checklist. Not a template. Code. If your fingers remember the steps, your computer should too.
  • Daemons beat dashboards. Dashboards show you the fire. Daemons put it out before you smell smoke. I do not want another analytics page. I want a script that fixes the thing and only pings me if it fails twice.
  • Own the ritual or rent your soul. If your automation lives in someone else's cloud, you do not own your time. You lease it. Run it locally. Cron does not have a pricing tier. Systemd does not send you upsell emails.

The 100, Broken into Covens

This is not 100 side projects. It is 10 covens of 10 scripts each. Small, vicious, and replaceable. Ultimately magical. Get wizardly with it.

File Rituals

  • exorcise_downloads.py watches ~/Downloads, renames by date and source, moves to vault
  • pdf_necromancer.py OCRs everything, makes it searchable, deletes the original scan
  • duplicate_hunter.py finds near-duplicates by hash and kills them
  • screenshot_baptism.py auto crops, renames, uploads to your own bucket

Text Rituals

  • inbox_exorcist.py parses receipts, extracts vendor and total, files them
  • meeting_transcript_cleaner.py strips filler words, timestamps action items
  • obsidian_linker.py finds orphan notes and links them by semantic similarity
  • readme_writer.py generates project READMEs from git history

Inbox and Comms

  • slack_vampire.py mutes channels during focus blocks, summarizes mentions after
  • email_triage.py labels, archives, and drafts replies for low stakes threads
  • followup_lich.py resurfaces emails you forgot after 3 days with no reply

Calendar Vampires

  • daily_brief.py at 6am builds a one pager: meetings, attendees, last context, open PRs
  • focus_ward.py kills notifications, opens Zed workspaces, starts a timer
  • meeting_cost.py calculates how much money that standup just burned

Data Rituals

  • csv_autopsy.py cleans exports, fixes dates, drops empty columns
  • api_poller.py hits your own services, writes to SQLite, alerts on drift
  • budget_wraith.py reads bank CSVs, categorizes, texts you if you are over

System Daemons

  • battery_lich.py caps charge at 80 percent on your laptop
  • docker_graveyard.py prunes images older than 7 days
  • log_necromancer.py tails OpenClaw logs and drops summaries into Obsidian

Dev Rituals

  • paperclip_farm.py spawns persistent Claude agents with scoped task files
  • pr_summoner.py opens PRs, runs tests, posts results to Discord
  • changelog_seer.py writes release notes from commits

Web and Recon

  • price_watcher.py tracks Gumroad competitors, alerts on changes
  • bug_hunter.py runs the three recon moves on a target list nightly

Habit and Health

  • standup_ghost.py nags you to stand every 50 minutes
  • sleep_ward.py dims screens and kills distracting apps at 10pm
  • hydration_imp.py logs water if you hit a key combo

Session Operators

  • workon.py sets env vars, opens projects, restores tmux
  • shutdown_rite.py closes everything, backs up vault, commits dotfiles
  • context_switch.py saves current state before you jump tasks

None of these are impressive alone. Together they are a personal operating system.

How I Actually Run This Digital Seance

Folder structure is boring and that is the point.

~/necromancy/
  rituals/file/
  rituals/text/
  daemons/
  logs/

Every script logs to logs/ritual_name.log. Every script exits non-zero on failure. Every script reads config from env, not hardcoded paths.

I use systemd timers on Linux, launchd on Mac. Cron is fine if you like archaeology. Example timer for the daily brief:

[Unit]
Description=Daily brief necromancy

[Timer]
OnCalendar=*-*-* 06:00
Persistent=true

[Install]
WantedBy=timers.target

The script itself is 40 lines. It calls a local LLM via OpenClaw, summarizes, writes markdown. No SaaS. No API bill that scales with your anxiety.

The Math That Makes Managers Nervous

Save 5 minutes a day with one script. That is 30 hours a year. Do that with 20 scripts and you just resurrected a full work month. Do it with 100 and you are not more productive. You are a different species.

This is why I do not track tasks. I track resurrections. Last month my daemons saved me 47.3 hours. I spent 12 of those building more daemons. That is the loop.

Traps That Kill Baby Necromancers

  • Building a framework. You do not need a framework. You need a script that works today.
  • Perfect logging. Log enough to debug. Not enough to build Splunk.
  • Cloud first. Start local. Move to a Pi if you need 24/7. Only then think about tunnels.
  • No kill switch. Every daemon needs a way to die quietly. pkill -f ritual_name should work.

Build Your First Three Tonight

Do not read another thread. Do this.

  1. exorcise_downloads.py - 15 lines with watchdog. Move PDFs to ~/vault/inbox and rename.
  2. daily_brief.py - pull calendar with gcalcli, pull todos from a text file, write to Obsidian.
  3. focus_ward.py - shell out to kill Slack and Discord, open Zed with your project, start a 90 minute timer.

Run them for a week. Count the minutes you did not waste. Then write three more. That is how you get to 100 without burning out. One ritual at a time.

Get the full grimoire and the supporting spells: SHELL SHOCKED - the 800+ script collection megapack that this post is built from. File rituals, text rituals, daily daemons, all ready to copy. Ultra powerful, what I use on the daily.

SHELL SHOCKED: The Underground Megapack of Python and Bash Scripts - 8 Guides, No GUI, All Power

Stop renting your time. Write the daemon. Let it work nights.

Comments

No comments yet. Start the discussion.