Skip to content

Instantly share code, notes, and snippets.

View ahelme's full-sized avatar

A Helme ahelme

View GitHub Profile
@kousen
kousen / SKILL.md
Last active July 29, 2026 15:54
Claude Code skill for generating optimized prompts for Google's Nano Banana image generators (Nano Banana 2 and Nano Banana Pro)
name image-prompt
description Generate optimized prompts for Google's Nano Banana image generators (Nano Banana 2 and Nano Banana Pro). Use when the user invokes /image-prompt or asks to create, write, craft, or generate a prompt for Nano Banana, Gemini image generation, or AI image creation. Also triggers when the user says "image prompt", "nano banana prompt", "nano banana 2", or "help me describe an image".
@karpathy
karpathy / microgpt.py
Last active October 7, 2026 02:17
microgpt
"""
The most atomic way to train and run inference for 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
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│( ● ) Thinking... │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
send q or ctrl+c to exit | send "/clear" to reset | send "/help" for commands | press enter to send — 0% context left
Failed to parse toolCall.arguments: {"command": ["bash", "-lc", "apply_patch << 'EOF'\n*** Begin Patch\n*** Add File: src/components/excerpt-section.tsx\n+import Link from 'next/link';\n+import { SectionHeading } from '@/components/section-heading';\n+import { Card, CardContent } from '@/components/ui/card';\n+import { BookCTA } from '@/components/book-cta';\n+import { Button } from '@/components/ui/button';\n+import { Info, BookMarked } from 'lucide-react';\n+\n+