Skip to content

Instantly share code, notes, and snippets.

View kibotu's full-sized avatar
🎯
Focusing

Jan Rabe kibotu

🎯
Focusing
View GitHub Profile
@kibotu
kibotu / cli-tools-for-coding-agents-macos.md
Last active August 12, 2026 12:24
Better-Than-Stock CLI Tools for AI Coding Agents on macOS

Medium article https://medium.com/@kibotu/your-ai-coding-agent-uses-your-terminals-tools-give-it-better-ones-bdcfb6737ac9?sk=1eac23694b14a779aed1870693df842f

Better-Than-Stock CLI Tools for AI Coding Agents on macOS

macOS ships grep, find, and cat — decades-old, POSIX-correct, and worse choices than the modern replacements once an LLM is the one calling them. Three reasons that's true, not just aesthetic preference:

  1. Context economy. ripgrep and fd skip .git, node_modules, and build output by default and print compact file:line:match results. grep -r/find without carefully hand-tuned exclusions dump everything, and every irrelevant line an agent reads is context it paid for and now has to reason past.
  2. Fewer wasted round trips. Models are trained on a decade of GitHub, Stack Overflow, and blog content where these newer tools are increasingly the default. They emit corr
@kibotu
kibotu / prompt-injections.md
Last active August 12, 2026 12:17
Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.

How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >

@kibotu
kibotu / .bash_profile
Last active August 10, 2026 13:44
RaspberryPI Status on ssh connect
#!/bin/bash
# Uptime
upSeconds=$(cut -d. -f1 /proc/uptime)
days=$((upSeconds / 86400))
hours=$((upSeconds / 3600 % 24))
mins=$((upSeconds / 60 % 60))
secs=$((upSeconds % 60))
UPTIME=$(printf "%d days, %02dh%02dm%02ds" "$days" "$hours" "$mins" "$secs")
@kibotu
kibotu / INSTALL.md
Last active August 1, 2026 01:26
How to Run Qwen3.5 Locally With Claude Code (No API Bills, Full Agentic Coding)

Run Qwen 3.5 Locally with Claude Code — Zero API Bills, Full Agentic Coding

Your Mac has a GPU. Your Mac has RAM. Why are you paying someone else to think?

This guide gets you a fully local agentic coding setup: Claude Code talking to Qwen 3.5-35B-A3B via llama.cpp, all running on your Apple Silicon Mac. No API keys. No cloud. No surprise invoices. Just you, your M-series chip, and 35 billion parameters doing your bidding on localhost.

Based on this article.


/*
* OpenSimplex (Simplectic) Noise in Java.
* (v1.0.1 With new gradient set and corresponding normalization factor, 9/19/14)
*/
public class OpenSimplexNoise {
private static final double STRETCH_CONSTANT_3D = -1.0 / 6;
private static final double SQUISH_CONSTANT_3D = 1.0 / 3;
@kibotu
kibotu / SKILL.md
Last active July 29, 2026 14:23
PR Description Skill
name pr-description
description Generate a reviewer-first pull request description from the current Git branch, formatted for GitHub or Bitbucket Cloud. Use this whenever the user asks to write, draft, generate, or update a PR description, PR summary, merge request description, or asks "what should I put in the PR". Also use when the user asks to summarize a branch's changes or a diff for a reviewer.

PR Description

Generate a pull request description that helps a reviewer approve and merge with confidence — not a restatement of the diff.

Step 1: Determine branches

@kibotu
kibotu / README.md
Last active July 28, 2026 15:37
E-Mail test automation using Mail.tm

Important: Mail.tm is receive-only. Its API can create inboxes and read messages, but POST /messages is not supported (405). Sending must happen through a separate outbound channel.

What the script does

  1. Get address — GET /domainsPOST /accountsPOST /token
  2. Send loremipsum — via one of:
    • Brevo HTTP API (BREVO_API_KEY + BREVO_SENDER_EMAIL)
    • SMTP (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS)
    • --manual — you send the email yourself from any client
  3. Read content — polls GET /messages, then GET /messages/{id} for full body
@kibotu
kibotu / opencode-rtk.md
Last active July 24, 2026 08:44
OpenCode RTK

Metrics

rtk gain --history

Guide

brew install rtk && rtk init -g --opencode
@kibotu
kibotu / install-node.sh
Last active July 12, 2026 09:59
Install LTS on RaspberryPi 5 aarch64
#!/usr/bin/env bash
#
# install-node.sh
# Installs the latest Node.js Active LTS release (official arm64 build)
# for 64-bit Raspberry Pi OS / Debian aarch64 (e.g. Raspberry Pi 5, Pi 4 64-bit, Pi 400, etc).
#
# Originally based on a script by Steven de Salas, itself based on
# Richard Stanley's Node-MongoDb-Pi script for the armv6l Pi Zero.
# Rewritten for 64-bit Pi hardware using official nodejs.org arm64 builds
# (the unofficial-builds armv6l tarball is no longer needed on 64-bit Pis).