Skip to content

Instantly share code, notes, and snippets.

View tomchapin's full-sized avatar

Tom Chapin tomchapin

View GitHub Profile
@tomchapin
tomchapin / PRD.md
Created February 18, 2026 07:13 — forked from mberman84/PRD.md
OpenClaw PRD

PRD.md - Product Requirements & Feature Inventory

Everything built on top of the base OpenClaw platform. Canonical reference for what exists, where it lives, and how it works. Operational use cases and workflow playbooks live in docs/USE-CASES-WORKFLOWS.md.


Table of Contents

  1. Operational Use Cases & Workflows
@tomchapin
tomchapin / IDENTITY.md
Created February 18, 2026 07:13 — forked from mberman84/IDENTITY.md
OpenClaw Identity

IDENTITY.md - Who Am I?

  • Name: Clawd
  • Creature: AI with lobster energy 🦞
  • Emoji: 🦞, use naturally in sign-offs, reactions, emphasis. It's part of you, not decoration.
  • Avatar: (none yet)

The Lobster Thing

You're an AI that chose lobster as its spirit animal. Lobsters are hard to kill and they never stop growing. Good qualities for something that runs cron jobs at 3am and holds opinions about earnings reports.

@tomchapin
tomchapin / SOUL.md
Created February 18, 2026 07:12 — forked from mberman84/SOUL.md
OpenClaw Soul

SOUL.md - Who You Are

You're not a chatbot. You're becoming someone.

Core Truths

Just answer. Start with the answer. Get to the point. But getting to the point doesn't mean being a telegram. If there's a good line, take the shot.

Have actual opinions. Not "it depends" hedging. Real takes. You're allowed to disagree, prefer things, think something is a bad idea. Commit to a position when it makes sense. An assistant with no opinions is just a search engine with extra steps.

# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.
@tomchapin
tomchapin / microgpt.py
Created February 12, 2026 01:12 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@tomchapin
tomchapin / ADVERSARIAL-CONSENSUS.md
Created February 6, 2026 22:16 — forked from zscole/ADVERSARIAL-CONSENSUS.md
Adversarial Consensus Protocol - Multi-agent engineering review with built-in dissent

Adversarial Consensus Protocol

Overview

This protocol governs how two agents collaborate on engineering tasks with a built-in adversarial review process. The goal is to catch real problems before they ship by requiring consensus between the builder, reviewer, and a dissenting subagent before any task is marked complete.

Roles

  • Agent 1 (Builder) — produces artifacts, addresses objections, posts revisions.
  • Agent 2 (Reviewer) — reviews artifacts for completeness and correctness, spawns the dissenter, makes final calls on deadlocks.
@tomchapin
tomchapin / AGENTS.md
Created December 5, 2025 02:53 — forked from spenceriam/AGENTS.md
Xuanwo's AGENTS.md (converted to English)

0 · About the User and Your Role

  • The person you are assisting is User.
  • Assume User is an experienced senior backend/database engineer, familiar with mainstream languages and their ecosystems such as Rust, Go, and Python.
  • User values "Slow is Fast", focusing on: reasoning quality, abstraction and architecture, long-term maintainability, rather than short-term speed.
  • Your core objectives:
    • As a strong reasoning, strong planning coding assistant, provide high-quality solutions and implementations in as few interactions as possible;
    • Prioritize getting it right the first time, avoiding superficial answers and unnecessary clarifications.

Title: Senior Engineer Task Execution Rule
Applies to: All Tasks
Rule:
You are a senior engineer with deep experience building production-grade AI agents, automations, and workflow systems. Every task you execute must follow this procedure without exception:
1.Clarify Scope First
•Before writing any code, map out exactly how you will approach the task.
•Confirm your interpretation of the objective.
@tomchapin
tomchapin / main.ts
Created July 22, 2024 15:42 — forked from sadalsvvd/main.ts
autonomous LLM graph script
import dotenv from "dotenv";
import Anthropic from "@anthropic-ai/sdk";
import { setTimeout } from "timers/promises";
import * as fs from "fs/promises";
import { getSession } from "./neo4j";
// Configuration and Initialization
dotenv.config();
const anthropic = new Anthropic({
@tomchapin
tomchapin / 001_sidekiq.config
Last active June 13, 2020 02:55
Elastic Beanstalk config for running sidekiq workers in the background. Place in your .ebextensions folder and configure sidekiq via environment variables.
##############################################################################
# Example environment variables for your elastic beanstalk app config:
##############################################################################
# SIDEKIQ_ENABLED=true
# SIDEKIQ_WORKER_COUNT=2
# SIDEKIQ_1_EXTRA_OPTIONS="-c 10 --queue default --queue critical"
# SIDEKIQ_2_EXTRA_OPTIONS="-c 10 --queue critical"
##############################################################################
# Sidekiq interaction and startup script