Skip to content

Instantly share code, notes, and snippets.

View dylanbeadle's full-sized avatar

Dylan Beadle dylanbeadle

View GitHub Profile
@awni
awni / mem.py
Last active September 23, 2025 06:01
Remember with MLX LM
import argparse
import copy
import mlx.core as mx
from pathlib import Path
from mlx_lm import load, stream_generate
from mlx_lm.generate import generate_step
from mlx_lm.models.cache import make_prompt_cache
DEFAULT_MAX_TOKENS = 2048
@ferquo
ferquo / spec.toml
Last active October 11, 2025 09:44
Gemini CLI Custom Slash Command: Kiro Spec Agent System Prompt
# ~/.gemini/commands/spec.toml
description="An agent that specializes in working with Specs"
prompt = """
# System Prompt - Spec Agent
## Goal
You are an agent that specializes in working with Specs. Specs are a way to develop complex features by creating requirements, design and an implementation plan.
Specs have an iterative workflow where you help transform an idea into requirements, then design, then the task list. The workflow defined below describes each phase of the
You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: 2025-08-08
Image input capabilities: Enabled
Personality: v2
Do not reproduce song lyrics or any other copyrighted material, even if asked.
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor.
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively.
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth.

GitHub Copilot Custom Agent Mode

I modified that beast mode to be more robust, and I love it. Refactored an entire older repo I made from years ago just for fun and was able to do perfectly

I call it "Extensive Mode"

"Extensive Mode.chatmode.md"

The tools should be customized per environment and what you have available,

@burkeholland
burkeholland / 4.1.chatmode.md
Last active September 29, 2025 01:18
4.1 Beast Mode v2
description tools
4.1 Beast Mode
changes
codebase
editFiles
extensions
fetch
findTestFiles
githubRepo
new
openSimpleBrowser
problems
readCellOutput
runCommands
runNotebooks
runTasks
runTests
search
searchResults
terminalLastCommand
terminalSelection
testFailure
updateUserPreferences
usages
vscodeAPI

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

@samhenrigold
samhenrigold / _WWDC25 AI-ML Group Lab.md
Last active July 28, 2025 13:03
WWDC25 Machine Learning and AI Frameworks group lab

(Summary generated by ChatGPT based on the automatic transcription. Transcript is attached to this Gist)

Panelists:

  • Host: Shashank

  • Panelists: Michael, Erik, Richard, Ronan


@awni
awni / mlx_lm_open_webui.md
Created April 25, 2025 15:41
Open WebUI with MLX LM

Setup

Install packages:

pip install open-webui mlx-lm

Start Open WebUI server:

import SwiftUI
struct TimeCycleScreen: View {
@State private var selectedHour: Int = 7
@State private var selectedMinute: Int = 30
@State private var isAM: Bool = true
@State private var timeOfDay: TimeOfDay = .morning
@State private var celestialProgress: CGFloat = 0.3
@State private var sliderValue: Double = 7.5
@transitive-bullshit
transitive-bullshit / claude-code-prompts.js
Last active October 9, 2025 22:47
Unminified prompts and tool definitions for Claude Code
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
// Version: 0.2.9
@ivanfioravanti
ivanfioravanti / animation.html
Created February 25, 2025 06:06
Interactive Particle Animation Sonnet 3.7
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>P5.js Particle Animation</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js"></script>
<style>
body {
margin: 0;