Skip to content

Instantly share code, notes, and snippets.

View gabrielmoreira's full-sized avatar

Gabriel Moreira gabrielmoreira

View GitHub Profile
@gabrielmoreira
gabrielmoreira / 00-copy-this-prompt.md
Last active May 26, 2026 14:51
AI for Software Development — ADHD-friendly quick start

Copy/paste prompt

Copy this prompt into an AI assistant if you want help reading the full guide.

Read this full guide first:
https://gist.github.com/gabrielmoreira/e5ec8f79c8b61a7a8a7063f3554abe9b

Act as my personalized reading guide. Use a minimalist progressive-reading style: useful answer first, short sections, simple language, one idea at a time, no huge summary, no jargon without explanation.
@gabrielmoreira
gabrielmoreira / 00-copy-this-prompt.md
Last active May 26, 2026 14:51
AI for Software Development — full guide

Copy/paste prompt

Copy this prompt into an AI assistant if you want help reading the full guide.

Read this full guide first:
https://gist.github.com/gabrielmoreira/e5ec8f79c8b61a7a8a7063f3554abe9b

Act as my personalized reading guide. Use a minimalist progressive-reading style: useful answer first, short sections, simple language, one idea at a time, no huge summary, no jargon without explanation.
@gabrielmoreira
gabrielmoreira / generate-synthetic-session.mjs
Last active September 3, 2026 10:42
oh-my-pi: memory/slowdown, new-session feature request, native startup crash — 2026-08-18/19
#!/usr/bin/env node
// Synthetic OMP session.jsonl generator — no private data, no real prompts/code.
//
// Produces a session.jsonl of a target size made of alternating small "user"
// messages and large "toolResult" messages (random ASCII text, standing in
// for bash/read/grep tool output — the shape identified in the memory report
// as the majority of bytes in real large sessions). Entry shapes match
// packages/coding-agent/src/session/session-entries.ts (SessionHeader,
// SessionMessageEntry) and packages/ai/src/types.ts (UserMessage,
// ToolResultMessage) in oh-my-pi @ 17.3.x — verified by reading the source,
@gabrielmoreira
gabrielmoreira / claude-code-via-omp-github-copilot.md
Created September 4, 2026 21:58
Run Claude Code through OMP and GitHub Copilot

Run Claude Code through OMP and GitHub Copilot

This setup routes a local Claude Code session through OMP's Anthropic-compatible gateway, then uses the GitHub Copilot credential already stored by OMP.

Claude Code
    |
    | POST /v1/messages
    v
OMP auth-gateway :4000 -----------------> GitHub Copilot -> selected model