Skip to content

Instantly share code, notes, and snippets.

View ghuntley's full-sized avatar
:shipit:
happy when he ships

Geoffrey Huntley ghuntley

:shipit:
happy when he ships
View GitHub Profile
@ghuntley
ghuntley / allocation.csv
Last active August 22, 2025 14:40
MCP Tools Token Allocation Report (CSV)
Tool/Folder Tools Tokens Percentage
github-mcp 93 55260 60.5%
playwright-mcp 28 9356 10.2%
mcp-atlassian 35 8508 9.3%
mcp-jetbrains 34 5123 5.6%
postgres-mcp 9 5028 5.5%
memory-mcp 9 3351 3.7%
git-mcp 12 1942 2.1%
duckduckgo-mcp 2 916 1.0%
mcp-compass 1 694 0.8%
@ghuntley
ghuntley / allocation.md
Created August 22, 2025 14:39
MCP Tools Token Allocation Report

Token Allocation Report

Total tokens: 91,283

By Tool/Folder

  • github-mcp: 55,260 tokens (93 files) - 60.5%
  • playwright-mcp: 9,356 tokens (28 files) - 10.2%
  • mcp-atlassian: 8,508 tokens (35 files) - 9.3%
  • mcp-jetbrains: 5,123 tokens (34 files) - 5.6%
@ghuntley
ghuntley / claude-code-prompt.txt
Created August 20, 2025 14:49 — forked from agokrani/claude-code-prompt.txt
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.

Sweep AI IntelliJ Extension - Complete Technical Analysis

Executive Summary

The Sweep AI IntelliJ extension (version 1.20.5) is a sophisticated AI-powered coding assistant that integrates Anthropic's Claude 3.5 Sonnet model with a comprehensive tool ecosystem for IntelliJ-based IDEs. This analysis is based on complete decompilation of the extension's JAR files (45 Java source files generated from Kotlin bytecode), revealing every system prompt, tool implementation, API configuration, and integration detail.

Key Discovery: The extension uses a detailed system prompt that emphasizes minimal code changes and proper file editing format, combined with 10 sophisticated built-in tools that provide comprehensive IDE integration through function calling.

Table of Contents

CURSED Language Implementation Plan

This document tracks the implementation status of the CURSED language compiler by comparing the src/ code against the specifications in specs/.

Phase 1: Lexer and Parser

Lexer (src/lexer/)

Status: Mostly Complete

Parser Resolution Plan for Interface Support

After analyzing the failing tests and parser errors, I've identified several issues with interface method declarations and type handling. This document outlines a detailed plan to fix the parser to properly support interfaces.

Issues Identified

  1. Method Declaration Syntax: Parser fails to handle both dot notation (Person.greet()) and colon notation (Person:greet()).

  2. Interface Method Signatures: Fails to parse method signatures like greet() tea; in interface definitions.

{-# LANGUAGE Transcendent #-}
{-# LANGUAGE BeyondLogic #-}
{-# LANGUAGE InfiniteTypes #-}
{-# LANGUAGE OmegaLevelTypes #-}
module PrintManager.Transcendent where
import qualified Reality.Transcendent as RT
import qualified Logic.BeyondGodel as BG
import qualified Math.TransfiniteComputation as TC
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE QuantifiedConstraints #-}
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
@ghuntley
ghuntley / README.md
Last active May 30, 2025 18:41
a rough prototype for running coder.com as a nixos system service

background

  1. Now that coder is in nixpkgs at https://search.nixos.org/packages?channel=22.11&show=coder&from=0&size=50&sort=relevance&type=packages&query=coder
  2. The next step is to enable running coder in NixOS via services.coder.enable = true;
  3. Thus design configuration options such as https://search.nixos.org/options?channel=22.11&show=services.znc.user&from=0&size=50&sort=relevance&type=packages&query=znc
  4. Refer to https://github.com/NixOS/nixpkgs/blob/nixos-22.11/nixos/modules/services/networking/znc/default.nix for an example of what is to be achieved.

next steps

  1. What configuration options should we expose vs encouraging usage of extraFlags?
@ghuntley
ghuntley / configuration.nix
Last active May 6, 2023 16:27
ghuntley-net
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];