Skip to content

Instantly share code, notes, and snippets.

View OmerFarukOruc's full-sized avatar
🏠
Working from home

Omer Faruk Oruc OmerFarukOruc

🏠
Working from home
View GitHub Profile
@brunolemos
brunolemos / README.md
Last active June 26, 2026 15:12
Codex Desktop feature flag runtime overrides

Codex Desktop feature flag overrides

Runtime-only scripts for experimenting with hidden Codex Desktop UI feature flags. They launch Codex with a local Chrome DevTools Protocol port and inject renderer feature overrides. They do not modify Codex.app.

Run

First quit Codex Desktop. Only one desktop instance can run at a time, and the launcher needs to reopen it with the override hook.

Option A: ask the codex CLI to run it for you. Paste this into Terminal:

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.

#!/usr/bin/env bash
set -euo pipefail
# patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting behavior
#
# What this does:
# Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance
# system prompt instructions that cause the model to cut corners, simplify
# excessively, and defer complicated work.
#
@jeremylongshore
jeremylongshore / 0-claude-code-slack-channel-one-pager-and-operator-audit.md
Last active June 26, 2026 17:37
Enterprise Slack-native governance substrate for humans, Claude Code, and peer agents — declarative policy + Ed25519-signed audit + crash-safe loss-proof replies (single/chunked/streaming/file) + five-layer prompt-injection defense. v0.12.0.

Enterprise Slack-native governance substrate for humans, Claude Code, and peer agents in shared channels. Declarative policy + signed audit + crash-safe loss-proof replies + five-layer prompt-injection defense.

claude-code-slack-channel v0.12.0

Enterprise Slack-native governance substrate where humans, Claude Code sessions, and peer agents converse safely in shared channels. Every tool call passes through a declarative policy engine; every gate decision lands in a hash-chained, Ed25519-signed audit journal — per-thread session isolation, identity-aware permission gates, five-layer prompt-injection defense, and (new in v0.12.0) crash-safe sessions with loss-proof reply delivery.

A claude/channel implementation for Slack. Socket Mode (outbound WebSocket, no public URL) bridges Slack into a running Claude Code session via MCP stdio. Permission relay with Block Kit buttons, per-thread session isolation, hash-chained Ed25519-signed audit journal, declarative tier-aware policy engine, multi-agent coordin

@alexfazio
alexfazio / codex-exec-experiments.md
Created March 14, 2026 17:21
Codex CLI exec mode experiments: 81 flag/feature tests with raw outputs

Codex CLI Exec Mode Experiments

Date: 2026-03-13 CLI Version: 0.114.0 Total Experiments: 81

Raw experiment outputs from testing various codex exec flag combinations.

Note: Some experiment outputs include MCP (Model Context Protocol) server startup messages (e.g., mcp: flywheel starting, mcp: exa ready). These are from the author's local Codex configuration and do not affect experiment results. Your output may differ depending on your configured MCP servers.

---
name: plan-exit-review
version: 2.0.0
description: |
Review a plan thoroughly before implementation. Challenges scope, reviews
architecture/code quality/tests/performance, and walks through issues
interactively with opinionated recommendations.
allowed-tools:
- Read
- Grep
@tokenbender
tokenbender / SKILL.md
Last active April 4, 2026 21:34
Updated global OCR combo: ocr-refiner + pdf-ocr-feedback
name pdf-ocr-feedback
description High-accuracy OCR pipeline using Maj@K consensus voting, structured self-evaluation, and adaptive compute budgets to achieve ≥95% transcription accuracy.

When to Use

Use when transcribing PDF pages via vision model and you need high accuracy — especially for:

  • Equations or mathematical notation
  • Tables with complex structure (3+ columns, merged cells)
@bkataru
bkataru / gist:27caa1aeb746efb06f83127cfcc586b0
Created February 18, 2026 17:15
opencode titlecase crash fix: TypeError when task() called without subagent_type in TypeScript project directories
# opencode `titlecase` Crash Fix — Binary Patch
## Problem
When using [opencode](https://github.com/anomalyco/opencode) (v1.2.6) with the [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) plugin in **TypeScript project directories**, the process crashes with:
```
TypeError: undefined is not an object (evaluating 'str3.replace')
at titlecase (src/util/locale.ts:3:12)
at task (src/cli/cmd/run.ts:170:24)
@alexheretic
alexheretic / gfx1100-comfyui-setup.md
Last active July 25, 2026 10:12
7900 GRE / gfx1100 optimised ComfyUI setup for Linux

7900 GRE / gfx1100 optimised ComfyUI setup for Linux

This is stuff that has worked well for me.

Tested on Arch Linux, Ryzen 7 5800X, 64GB RAM, RX 7900 GRE

Changelog
  • 2026-07-23: Add CK flash-attention instructions.
  • Remove --cache-ram 32 advice as glibc MALLOC config seems to address this.
@SHJordan
SHJordan / AIOWSLARCHSETUP.ps1
Last active February 2, 2026 13:20
AIO SCRIPT TO SETUP WSL+OMZ+LAZYVIM+ZSH+MISE+OPENCODE+OH+MY+OPENCODE
#!/usr/bin/env pwsh
#Requires -Version 5.1
#Requires -RunAsAdministrator
<#
.SYNOPSIS
AIO WSL Arch Linux Setup Script - Revised & Hardened Version
.DESCRIPTION
Configura automaticamente uma distro Arch Linux no WSL com ambiente de desenvolvimento completo.