Skip to content

Instantly share code, notes, and snippets.

View benarent's full-sized avatar
💼

Ben Arent benarent

💼
View GitHub Profile

Serverless Claude Code Instances with Persistent Compute

1. Problem

We need a way to give each Discord channel its own persistent "computer" running Claude Code CLI, where:

  • The computer survives across sessions (disk persists)
  • It wakes up fast when a user sends a message (< 10s, ideally < 5s)
  • It costs near-zero when idle
/**
* This casper scipt checks for 404 internal links for a given root url.
*
* Usage:
*
* $ casperjs 404checker.js http://mysite.tld/
* $ casperjs 404checker.js http://mysite.tld/ --max-depth=42
*/
/*global URI*/
@benarent
benarent / flow.json
Created August 15, 2012 19:30 — forked from drobiazko/flow.json
Klout score filter
{
"nodes": [
{
"title": "Mentions",
"icon": "images/icons/twitter_64.png",
"top": 118,
"left": 180,
"compID": "twitter_mentions",
"username": "elasticio",
"id": "step_118"