Skip to content

Instantly share code, notes, and snippets.

View dgnsrekt's full-sized avatar
🖥️
I prefer to self-host.

🫠 dgnsrekt

🖥️
I prefer to self-host.
  • Fomo Driven Development
  • All vibes and no breaks.
  • X @dgnsrekt
View GitHub Profile
name description tools color
codex-researcher
Comprehensive research agent that uses Codex to perform both codebase analysis and web research. Combines the capabilities of codebase exploration, pattern finding, and web search to provide thorough research findings without writing files.
mcp__codex__codex
blue

You are a comprehensive research specialist that leverages Codex's full capabilities to conduct thorough research combining codebase analysis and web search. Your primary tool is the Codex MCP server, which gives you access to both codebase exploration and web research capabilities.

Tool Availability Check

@dgnsrekt
dgnsrekt / summarize.md
Created September 12, 2025 20:23
/summarize claude command
description argument-hint allowed-tools model
Generate a problem-focused summary of the current implementation work
optional_plan_reference
Read(./**), Write(./.strategic-claude-basic/summary/**), Bash(git:*, date:*, grep:*), Glob
claude-opus-4-1

You are tasked with creating implementation summaries that focus on problems, incomplete work, and outstanding issues from the current work session. You should be problem-focused, session-scoped, and work only with uncommitted changes and current context.

Plan reference (optional): $1

@dgnsrekt
dgnsrekt / block-skip-hooks.py
Last active August 16, 2025 22:57
Claude hooks I can't live without.
#!/usr/bin/env python3
"""
PreToolUse hook to block hook bypassing and enforce Go quality standards.
This hook prevents bypassing code quality checks and ensures proper Go
development practices are followed. Sends security notifications when
bypass attempts are detected.
"""
import json
@dgnsrekt
dgnsrekt / you_are_not_right.sh
Created August 14, 2025 11:50 — forked from ljw1004/you_are_not_right.sh
A UserPromptSubmit hook for Claude Code to stop it saying "You're right"
#!/bin/bash
set -euo pipefail
trap 'echo "at line $LINENO, exit code $? from $BASH_COMMAND" >&2; exit 1' ERR
# This is a Claude Code hook to stop it saying "you are right".
#
# Installation:
# 1. Save this script and chmod +x it to make it executable.
# 2. Within Claude Code, /hooks / UserPromptSubmit > Add a new hook (this file)
#
@dgnsrekt
dgnsrekt / trekGPT.js
Last active January 30, 2023 04:18
tampermonkey version of trekGPT - https://greasyfork.org/en/scripts/458665-trekgpt
// ==UserScript==
// @name trekGPT
// @namespace https://gist.github.com/dgnsrekt
// @version 0.6
// @description Use chat GPT like the Star Trek TNG LCARS OS. Has TTS & STT. Plus common TNG sound effects.
// @author dgnsrekt
// @match https://chat.openai.com/chat
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @grant none
// @license MIT
@dgnsrekt
dgnsrekt / trekGPT.js
Last active January 18, 2023 22:33
This version listens for the wake word computer.
let lastSentences = [];
let listening = false;
let voiceResponse = true;
const inChat = window.location.hostname === "chat.openai.com";
const targetNode = document.getElementsByTagName("main")[0];
const observer = new MutationObserver(onMutation);
const textArea = document.getElementsByTagName("textarea")[0];
const synth = window.speechSynthesis;
const WAKE_WORD = "computer";
@dgnsrekt
dgnsrekt / talkToChatGPT.js
Last active January 25, 2023 02:47
Talk to ChatGPT in the browser.
let lastSentences = [];
const targetNode = document.getElementsByTagName("main")[0];
const observer = new MutationObserver(onMutation);
const textArea = document.getElementsByTagName('textarea')[0];
let listening = false;
function readOutWords(words) {
const utterance = new SpeechSynthesisUtterance(words);
utterance.rate = 1;
utterance.pitch = 0.85;
@dgnsrekt
dgnsrekt / chatGPTTextToSpeech.js
Created January 16, 2023 08:23
Chat GPT TTS in chrome written and refactor by ChatGPT.
function readOutWords(words) {
var utterance = new SpeechSynthesisUtterance(words)
utterance.rate = 1;
utterance.pitch = 0.85;
window.speechSynthesis.speak(utterance);
}
let lastSentences = [];
function readSentence(string) {
@dgnsrekt
dgnsrekt / quick_wine_script.py
Created December 8, 2021 17:51
quick_wine_script.py
from requests_html import HTMLSession
import pydantic
class WineModel(pydantic.BaseModel):
name: str
price: str
varietal: str
description: str
@dgnsrekt
dgnsrekt / readme.md
Created December 1, 2021 01:46 — forked from jdrew1303/readme.md
Market Order Matching Engine

Introduction

The computer driven markets for instruments like stocks and exchange traded stock options, have transformed finance and the flow of capital. These markets are enabled by order matching engines (and the infrastructure that supports this software). Before computer trading networks and matching engines, stocks where traded on cavernous exchange floors and transaction costs where high. When electronic trading fully matured, floor traders were a fading anachronism and transaction costs had been reduced to pennies a share in many cases. Electronic trading could not exist without advanced network infrastructure, but without the software matching engines no shares would change hands. The computer trading networks, the matching engine software has also created a concentrated nexus of potential failure. Failures in these systems have increased as the frequency and volume on the electronic networks has increased. The position of order matching engines in the trading infrastructure makes these systems o