Skip to content

Instantly share code, notes, and snippets.

@Gravifer
Gravifer / SKILL.md
Created August 20, 2026 06:31
skills/codex-thread-history-search
name codex-thread-history-search
description Search earlier turns in Codex Desktop tasks with read-only history access and tool-side filtering. Use when recovering prior decisions, commands, procedures, or context from the current or another Codex task without loading whole histories into the model context.

Codex Thread History Search

Recover relevant evidence from persisted Codex task history while keeping model-context use proportional to the answer.

Boundaries

@Gravifer
Gravifer / gravifer-tokyo.context.ps1
Last active July 28, 2026 11:33
Git & Jujutsu aware oh-my-posh theme, based on the built-in "tokyo"
if ($global:GraviferMainWorktreeCache -isnot [hashtable]) {
$global:GraviferMainWorktreeCache = @{}
}
function global:Set-GraviferPoshContext {
param([bool]$originalStatus)
Remove-Item -LiteralPath 'Env:GRAVIFER_MAIN_WORKTREE' -ErrorAction SilentlyContinue
$location = Get-Location
@Gravifer
Gravifer / sakura-auto.css
Created July 25, 2026 20:45
Bearblog sakura with auto dark
@import url("https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css");
:root {
color-scheme: light;
--width: 720px;
--font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
--font-secondary: Verdana, sans-serif;
--font-scale: 1.2em;
--background-color: #f9f9f9;
--heading-color: #4a4a4a;
@Gravifer
Gravifer / twit-idea.md
Last active July 25, 2026 19:11
A twit idea: directory convention for Git worktrees

A twit idea

@Gravifer
Gravifer / AGENTS.md
Created July 22, 2026 04:59
User scoped agent instruction file on Windows

This machine, and especially this user, has near up-to-date pwsh v7 installed; it should be the shell that you do most work in, not cmd or git bash. There are common utilities like locally cargo install built ripgrep available; but don't impromptedly install new ones globally, no matter user scoped or machine scoped. But you can update existing tools, just make sure that you acknowledge/notify the user when you do it.

The user has a complex pwsh profile. When you don't expect to find it necessary, start pwsh with -nop -noni -nol; helps you to avoid a lot of churn.

Prefer Python for complex or stateful tasks.

For a persistent session, start it with interactive=True, then reuse the same tool with task_id= to send input and read output in one step. Use wait_for_pattern to wait for a prompt. TaskOutput remains available as a fallback for listing/monitoring tasks. Send 'exit' to close the session.

PowerShell quick reference:

@Gravifer
Gravifer / range-syntax-survey.md
Created July 22, 2026 04:27
Range syntax survey

Julia Compilation Latency After the Package-Image Bump

A compact survey and local case study, current through 22 July 2026.

Bottom line

The impression that Julia's compile-time experience has plateaued over the last two to three years is substantially justified—with one qualification. Julia 1.9 and 1.10 greatly improved the reuse and loading of code that package authors anticipated. They did not make arbitrary new application specializations compile

@Gravifer
Gravifer / autodiff-survey.md
Last active July 22, 2026 09:05
Autodiff survey

Modern Autodiff Architectures

Comparative report and research outlook — evidence and probes current through 22 July 2026

Executive summary

Automatic differentiation (AD) is no longer one architecture. Modern systems differentiate at several levels: PyTorch records eager tensor operations and can later stage a joint forward/backward graph; Zygote rewrites typed Julia SSA; JAX interprets a small primitive language and transposes a linearized Jaxpr;

@Gravifer
Gravifer / ClaudeCode_Notify.ps1
Last active July 11, 2026 17:46
Use Windows Powershell 5.1 + WinRT to let Claude Code CLI notify with toasts
$AppId = 'ClaudeCode.Notify'
$RegPath = "HKCU:\Software\Classes\AppUserModelId\$AppId"
New-Item -Path $RegPath -Force
New-ItemProperty -Path $RegPath -Name DisplayName -Value 'Claude Code' -PropertyType ExpandString -Force
New-ItemProperty -Path $RegPath -Name IconUri -Value $pngPath -PropertyType ExpandString -Force
@Gravifer
Gravifer / confer-selfexplain.md
Created January 28, 2026 07:53
A conversation thread with the confer.to LLM to clarify itself; manually copied

What is Confer

a conversation thread with the confer.to LLM; manually copied

What is confer?

Confer is a private, end-to-end encrypted AI assistant created by Moxie Marlinspike, the founder of Signal. It's designed with a strong focus on user privacy—so much so that your conversations are truly private by design, not just policy. Here's what makes Confer stand out:

🔐 Privacy-First Design

@Gravifer
Gravifer / keybase.md
Created January 27, 2026 21:47
Keybase proof

Keybase proof

I hereby claim:

  • I am gravifer on github.
  • I am gravifer (https://keybase.io/gravifer) on keybase.
  • I have a public key ASBLuTT6HCVvb3tmggve9xUor4X4KC6p259_SWje4Qmgrgo

To claim this, I am signing this object: