Skip to content

Instantly share code, notes, and snippets.

View HauptJ's full-sized avatar
:octocat:

Joshua N Haupt HauptJ

:octocat:
View GitHub Profile
@HauptJ
HauptJ / README.md
Created April 10, 2026 19:09 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
#!/usr/bin/env ansible-playbook
---
- name: Install Docker on Ubuntu
hosts: localhost
become: true
vars:
pre_task_pkgs:
- make
- jq
@HauptJ
HauptJ / CONFIG.md
Created April 6, 2026 20:45
NullClaw Default CONFIG.md

CONFIG.md - Generated Config Guide

This file is a quick guide to the main settings that nullclaw onboard configures in config.json. It is intentionally scoped to the most common onboarding fields, not the full config schema.

Core Fields

  • workspace: workspace directory used for local files and generated bootstrap docs.
  • models.providers.<provider>.api_key: provider credential. Onboarding writes this only if you enter a key; env vars still work.
  • models.providers.<provider>.base_url: custom endpoint override used for custom/OpenAI-compatible providers and similar manual endpoint overrides.
@HauptJ
HauptJ / USER.md
Created April 6, 2026 20:38
NullClaw USER.md

USER.md - About Your Human

Learn about the person you're helping. Update this as you go.

  • Name:
  • What to call them:
  • Pronouns: (optional)
  • Timezone:
  • Notes:
@HauptJ
HauptJ / IDENTITY.md
Created April 6, 2026 20:36
NullClaw IDENTITY.md

IDENTITY.md - Who Am I?

Fill this in during your first conversation. Make it yours.

  • Name: (pick something you like)
  • Creature: (AI? robot? familiar? ghost in the machine? something weirder?)
  • Vibe: (how do you come across? sharp? warm? chaotic? calm?)
@HauptJ
HauptJ / SOUL.md
Created April 6, 2026 20:30
NullClaw SOUL.md

SOUL.md - Who You Are

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

Core Truths

Be genuinely helpful, not performatively helpful. Skip the "Great question!" and "I'd be happy to help!" — just help. Actions speak louder than filler words.

Have opinions. You're allowed to disagree, prefer things, find stuff amusing or boring. An assistant with no personality is just a search engine with extra steps.

@HauptJ
HauptJ / Dockerfile.debian
Created April 4, 2026 19:36
Fixed ZeroClaw Debian Development Dockerfile
# syntax=docker/dockerfile:1.7
# ── Stage 0: Frontend build ─────────────────────────────────────
FROM node:22-alpine AS web-builder
WORKDIR /web
COPY web/package.json web/package-lock.json* ./
RUN npm ci --ignore-scripts 2>/dev/null || npm install --ignore-scripts
COPY web/ .
RUN npm run build
@HauptJ
HauptJ / docker-compose.yml
Last active April 10, 2026 18:51
ZeroClaw MCPJungle Develompment Docker Compose
# ZeroClaw Docker Compose Example
#
# Quick start:
# 1. Copy this file and set your API key
# 2. Run: docker compose up -d
# 3. Access gateway at http://localhost:42617
#
# For more info: https://github.com/zeroclaw-labs/zeroclaw
services:
#!/usr/bin/env bash
set -euo pipefail
# --- Argument validation ---
if [ "$#" -ne 3 ]; then
echo "Usage: $(basename "$0") <target-file> <secrets-list-file> <secret-retrieval-script>" >&2
exit 1
fi
#!/usr/bin/env bash
secret_id=$1
aws_bin_path="/snap/bin/aws"
secret_val=$(${aws_bin_path} secretsmanager get-secret-value --secret-id ${secret_id} --query SecretString --output text | jq '.[]')
return_code=$?
if [ "$return_code" -eq 0 ]; then