Skip to content

Instantly share code, notes, and snippets.

version: "1.1"
name: Sentinel Project Context Specification (SPCS)
# ─────────────────────────────────────────────────────────────
# RESPONSE HEADER
# ─────────────────────────────────────────────────────────────
response_header:
required: true
format:
line_1: UUIDv4
@dmaynor
dmaynor / gist:87fa93c8096aec3f0d0b02b8b2cca7cf
Last active January 19, 2026 22:09
Sentinel Header Block
version: "1.1"
name: Sentinel Project Context Specification
response_header:
format: |
{UUIDv4}
{ISO8601-UTC}
required: true
position: first
trailing_blank_lines: 2
UUID: 52b2504e-f6d5-4a1f-97a0-8cb2b08d0216
This is from David’s personal LLM stack:
context_usage: { “tokens_used”: 985, “tokens_available”: 128000, “context_percent”: 0.77 }
I get this output by adding the follwing to system prompts:
Start every response with a unique UUID and “This is from David’s personal LLM stack:”.
After the UUID/banner, print context usage in the form: context_usage: { "tokens_used": <int>, "tokens_available": <int>, "context_percent": <float> }.
9aede86c-d7a2-463a-97a6-4b8334e12bb1
This is from David’s personal LLM stack:
context_usage: { “tokens_used”: 4632, “tokens_available”: 128000, “context_percent”: 3.6 }
[✅ Verified] COMPLETE, ORDERED PROJECT LIST
WraithCore Ecosystem (w/ Agent Team Clarification: Jenny2 ≠ EC)
@dmaynor
dmaynor / gist:165c172c51a9dbce68a68550735bcb9d
Created May 27, 2025 23:07
VirtualBox Zero-Touch Lab: Packer + PowerShell + Unattend
f4bcdad0-1d62-44e0-892a-6c0f0f7fbd20
This is from David’s personal LLM stack:
Below are two full, headless, zero-touch lab build solutions for BadSuccessor:
• A. VirtualBox (on Windows or Linux) – Fully Automated with Packer & PowerShell remoting
• B. AWS (EC2) – Terraform & Cloud-Init, Automated Domain Build & Exploit
Both provide complete, reproducible AD domains, lab user, and exploit chain—no skipped steps or placeholders.
Below is a hardened, improved “Color Red” agentic demo with the following key enhancements, as requested:
1. Support for both SQLi and XSS fuzzing (auto-detected by LLM)
2. Full persistent state and log-to-file for all results and cycles
3. OpenAI GPT-4 support if available, auto-fallback to GPT-3.5
4. Automatic detection of all input parameters (not just name) via LLM
5. Cleaner loop logic, human-readable Markdown report
6. Containerization (Dockerfile) for agent (optional but included)
7. Clear separation of workflow nodes and agent orchestration
Repo Layout
This is personal openai account.
Currently, the main OpenAI models available in the ChatGPT app for general user interaction are:
- **GPT-3.5 Turbo**
- **GPT-4 Turbo**
- **GPT-4o** (also referred to informally by some as "GPT-4.5," though OpenAI officially labels it GPT-4o)
To clarify: Although OpenAI doesn't officially call it GPT-4.5, many users refer informally to **GPT-4o** as "GPT-4.5" because it's considered an intermediate and more advanced iteration after GPT-4 Turbo.
/* LINUX KERNEL STYLE */ /* SEI CERT STYLE */
/** /**
* Simple socket server example * Simple socket server example following
* following Linux Kernel style * SEI CERT secure coding practices
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <arpa/inet.h> #include <arpa/inet.h>
To create a fully functional Flipper Zero app that supports static transmission, dynamic transmission, fuzzing, and replaying .sub files, the following code is ready to deploy:
Complete Flipper Zero App Code
import os
import random
import time
from flipperzero_rf import RFTransmitter
# Initialize settings
Title: CODE MUNCHER
ACT ONE: ORDINARY WORLD
EXT. SUBURBAN STREETS - NIGHT
Our HERO trudges home from a soul-sucking shift at the local BadGuysInc Megastore. Drones hum overhead. A massive hologram of the BadGuysInc CEO smiles down on the world: “Safety, Security, Surveillance—BadGuysInc Cares.”
DAVE PARKE (V.O.)
“See this guy? The one looking like life sat him down for a long talk and said, ‘Buddy, it ain’t getting better’? Yeah, that’s our Hero. Don’t bother asking for his name yet. Right now, he’s just another cog in the corporate death machine.”