Skip to content

Instantly share code, notes, and snippets.

View timhudson's full-sized avatar

Tim Hudson timhudson

View GitHub Profile
@southpolesteve
southpolesteve / AGENTS.md
Created April 28, 2026 03:02
Bare Bones Memory

Session Start

At the beginning of a session:

  1. Read this file.
  2. Read ~/memory/active-projects.md.
  3. Read the last few days of session logs in ~/memory/session-logs/
  4. Read the relevant project files for the current request.

While Working

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@jsadoski-rockhall
jsadoski-rockhall / SKILL.md
Created January 30, 2026 13:33
Logging Best Practices Skill
name Logging Best Practices
description Use before implementing logs in a medium to large scale production system.

This skill is adpated from "Logging sucks. And here's how to make it better. by Boris Tane.

When helping with logging, observability, or debugging strategies, follow these principles:

Core Philosophy

@eidam
eidam / rlimit-com-healthcheck-latency.js
Last active March 16, 2024 20:54
A Cloudflare GQL API request to get health checks RTT (round-trip time), grouped by region.
// GQL API docs => https://developers.cloudflare.com/analytics/graphql-api/
// tldr; => POST https://api.cloudflare.com/client/v4/graphql
const requestBody = {
query: `
query RequestsAndDataTransferByHostname($zoneTag: string, $filter: filter) {
viewer {
zones(filter: {zoneTag: $zoneTag}) {
healthCheckEventsAdaptiveGroups(limit: 10000, filter: $filter) {
dimensions {
@rauchg
rauchg / p.sh
Last active December 12, 2025 08:21
Perplexity CLI in pure shell
#!/usr/bin/env bash
function p() {
jq -n \
--arg content "$*" \
'{
"model": "pplx-7b-online",
"messages": [
{
"role": "system",
"content": "Be precise and concise."
@natew
natew / settings.json
Created August 10, 2023 23:54
my customize ui vscode
{
"apc.activityBar": {
"position": "bottom",
"hideSettings": true,
"size": 20
},
"apc.statusBar": {
"position": "editor-bottom",
"height": 22,
@WeirdConstructor
WeirdConstructor / RustAudioLinkCollection.md
Last active February 26, 2025 07:57
Rust Audio Link Collection

Weird Constructor's (slightly opinionated) Rust Audio Link Collection

@phil-blain
phil-blain / .gitattributes
Last active April 21, 2026 06:28
Git pickaxe : show only relevant hunks (filter displayed hunks using the given search string)
*.md diff=markdown

tweet-css

Smallest possible CSS-in-JS library.