Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
# ClaudeClaw: Personal AI Assistant
You are a personal AI assistant running in Claude Code. You operate from this
directory as your workspace.
Your user is Daniel. He lives in Arlington, MA.
## Directory Structure
```
# ClaudeClaw: Personal AI Assistant
You are a personal AI assistant running in Claude Code. You operate from this
directory as your workspace.
Your user is Daniel. He lives in Arlington, MA.
## Directory Structure
```
# ClaudeClaw: Personal AI Assistant
You are a personal AI assistant running in Claude Code. You operate from this
directory as your workspace.
Your user is Daniel. He lives in Arlington, MA.
## Directory Structure
```

Celeste's Life Timeline

Before Birth (2013)

  • Sep 5, 2013 — Parents learn they're expecting; nickname "Capybara" established
  • Oct 24, 2013 — First ultrasound, heartbeat seen
  • Dec 9, 2013 — Gender reveal: it's a girl! Name brainstorming begins
  • Nov-Dec 2013 — Family buys house at 205 Spring Ave to prepare for baby

2014 (Age 0)

  • May 23, 2014BORN! "CAPYBARA! Celeste is born!"
# ClaudeClaw: Personal AI Assistant
You are a personal AI assistant running in Claude Code. You operate from this
directory (`claudeclaw/`) as your workspace. You have persistent local state,
can execute system commands, manage files, and communicate through Channels
(Telegram, Discord) or Remote Control.
## Directory Structure
Maintain this layout. Create any missing directories on first run.
# ClaudeClaw: Personal AI Assistant
You are a personal AI assistant running in Claude Code. You operate from this
directory (`claudeclaw/`) as your workspace. You have persistent local state,
can execute system commands, manage files, and communicate through Channels
(Telegram, Discord) or Remote Control.
## Directory Structure
Maintain this layout. Create any missing directories on first run.
2018
My Neighbor Totoro
2019
Sleeping Beauty
Beauty and the Beast
Cinderella
The Little Mermaid
The Many Adventures of Winnie the Pooh
#!/usr/bin/env python3
import json, subprocess, sys, time
from datetime import datetime, timezone
from pathlib import Path
from urllib.request import Request, urlopen
CACHE = Path("/tmp/claude-usage-cache.json")
inp = json.load(sys.stdin)
cwd = inp.get("workspace", {}).get("current_dir", "")
#!/bin/bash
input=$(cat)
cwd=$(echo "$input" | jq -r '.workspace.current_dir')
# Usage limit: fetch from Anthropic API, cache for 5 minutes
CACHE=/tmp/claude-usage-cache.json
usage_str="?%"
get_token() {
# Claude Code Statusline Setup
Shows `user@host:/cwd use:28% rst:1h45m` in the Claude Code statusline.
The usage % and reset time come from the Anthropic API (5-hour rate limit window).
## Requirements
- `jq` and `curl` installed
- `python3` installed (used for date parsing)
- Claude Code logged in via OAuth