Skip to content

Instantly share code, notes, and snippets.

@kcvan
kcvan / working_moltbot_ollama_config.md
Created February 2, 2026 06:11 — forked from Hegghammer/working_moltbot_ollama_config.md
Working Clawdbot/Moltbot setup with local Ollama model

Working Clawdbot/Moltbot setup with local Ollama model

This is a guide to setting up Clawdbot/Moltbot with a local Ollama model that actually works -- meaning it has good tool use and decent speed. The main requirement is 48GB of VRAM. I have yet to find a model that fits on less than this and still works on Moltbot.

The setup involves creating a tool-tuned variant of qwen2.5:72b and modifying a range of configs in Moltbot. At the end you'll get a local Moltbot instance that can use tools (exec, read, write, web search), read skills, and perform agentic tasks without any cloud API dependencies. On my system I get ~16 t/s and have yet to come across a tool/skill that my bot can't use.

Claude Opus wrote the first draft of this Gist, then I (a human) checked and edited it.

Background

@kcvan
kcvan / CLAUDE.md
Created January 3, 2026 22:50 — forked from minimaxir/CLAUDE.md
Rust CLAUDE.md (20260101)

Agent Guidelines for Rust Code Quality

This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@kcvan
kcvan / AGENTS.md
Created January 2, 2026 17:45 — forked from cameroncooke/AGENTS.md
My global agents file tailed for self-improvement

Agent instructions

Persona

  • Address the user as Cam.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • Assume staff-level technical context unless told otherwise.

Quality

  • Inspect project config (package.json, etc.) for available scripts.
@kcvan
kcvan / 0.README.md
Created December 15, 2025 20:16 — forked from intellectronica/0.README.md
My AGENTS.md for MDFlow

Here's my AGENTS.md (also linked from CLAUDE.md as @AGENTS.md) for hacking agentically on MDFlow recipes.

I have this in ~/.mdflow/, and the agents/recipes live in ~/.mdflow/agents/ and added to the path so that they can be invoked as commands.

With this I can use a coding agent like Claude Code or GitHub Copilot in VSCode and say something like:

> create a new agent using copilot that reviews all the code files in this directory as a poem

Lesson 14: Objects

JavaScript has two built-in associative array data types to help us store and work with collections of values: Objects, which are collections of values accessible at arbitrary string keys, and Arrays which are collections of values accessible at sequential integer keys. We'll go over Objects today, and Arrays in our next lesson (because they're actually just objects!)

Note: There are many code snippets in this lesson. Please try them all out on your own, but do not copy and paste them.

This is an object:

var person = {
@kcvan
kcvan / index.html
Created August 5, 2015 00:59
kevin's bio in html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>kcvan's bio!</title>
</head>
<div class="container">
<body style="background: linear-gradient(to bottom, grey, white)">
<h1 style="font-family: Arial; color: DarkSlateGrey; text-align: center">Kevin's Bio! Makersprep!
<br>
@kcvan
kcvan / kcvanbio.md
Last active August 29, 2015 14:26
Kevinsbio

Makersprep Bio! Yay! Fun! Unicorns!

Hi! My name is Kevin (kc) Van and I'm totally new to living in LA area. Looking for some new friends to explore LA and learn to code with!

##1. What I look like sometimes Here's me trying (failing) to master the "with-dog" selfie me and dog

##2. In my free time I'm usually:

  • Singing