Skip to content

Instantly share code, notes, and snippets.

View joshuayoes's full-sized avatar

Joshua Yoes joshuayoes

View GitHub Profile
@mattpocock
mattpocock / README.md
Created July 7, 2026 11:51
agent-proxy — a zero-dep proxy that shows the bloat in Claude Code's requests (ranked tool table + full readable Markdown of every request)

agent-proxy — see the bloat in Claude Code's requests

A zero-dependency logging proxy that sits between Claude Code and the Anthropic API. It forwards every request untouched, streams the reply straight back (so the CLI is unaffected), and writes a readable Markdown document for each request — led by a ranked table of what is eating your context.

Run it

@joshnuss
joshnuss / vite-plugin-sql.js
Last active June 20, 2025 21:06
Vite SQL plugin
import fs from 'node:fs/promises'
export function sql(url) {
return {
name: 'vite-plugin-sql',
// expose an import called 'sql:runtime'
resolveId(id) {
if (id.startsWith('sql:runtime')) {
return id
@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."