Skip to content

Instantly share code, notes, and snippets.

@philipbankier
philipbankier / brain-backup-1pager.md
Last active April 12, 2026 03:08
brain-backup — Complete Project Spec (1-pager + implementation spec)

🧠 brain-backup — Project 1-Pager

Opinionated, encrypted backup for AI agent memory. Wraps restic. Ships as a CLI + agent skills. Status: Phase 0 complete — ready to build


The Problem

You spend weeks teaching your agent your preferences, projects, workflows.
@philipbankier
philipbankier / index.html
Created April 7, 2026 06:56
Iterative Image Workflows — product concept sheet for a GEMS-like bounded refinement mode
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Iterative Image Workflows — Product Concept Sheet</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<style>
@philipbankier
philipbankier / SESSION-LOG-PUBLIC.md
Last active April 6, 2026 03:34
ActRun QA: Auth/Session Logout Bug — Debug Findings (2026-04-05)

ActRun QA Session Log — 2026-04-05

Bug 1: Intermittent Session Logout (Zustand Desync)

Severity: High Observed behavior: User gets randomly logged out and redirected to /login during active use. Happened 3 times in ~15 minutes.

Token State (captured while on /login — tokens still present):

  • Custom access_token cookie: JWT, NOT expired (6.8 days remaining)
  • Supabase token in localStorage: Also NOT expired, same expiry
@philipbankier
philipbankier / index.html
Created April 1, 2026 22:53
GEMS: Agent-Native Multimodal Generation with Memory & Skills — research breakdown and platform design implications
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GEMS: Agent-Native Multimodal Generation — Research Breakdown</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<style>
@philipbankier
philipbankier / index.html
Created April 1, 2026 22:14
Agentic Graphs: Deterministic Workflows + LLM Judgment — acpx v0.4 breakdown and platform design implications
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agentic Graphs: Deterministic Workflows with LLM Judgment</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<style>
@philipbankier
philipbankier / prompts.md
Created February 28, 2026 17:52 — forked from mberman84/prompts.md
Prompts

OpenClaw: Extracted Prompts (Generalized)

22 copy/paste-ready prompts for building your own AI agent system. Each prompt builds a functional system or implements a proven best practice you can hand to an AI coding assistant.

Replace placeholders like <your-workspace>, <your-messaging-platform>, and <your-model> with your own values.


1. Personal CRM

@philipbankier
philipbankier / all_files.md
Created February 28, 2026 17:52 — forked from mberman84/all_files.md
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@philipbankier
philipbankier / adhoc-prompts.txt
Created September 27, 2025 20:05
adhoc prompts for software development(planning and debugging focused)
DEBUGGING:
———————————————————————————————————————
STOP. Before making any code changes, conduct a thorough root cause analysis.
Using all available tools (codebase access, terminal, @web), investigate the issue systematically:
1. **Reproduce and observe** the exact error/behavior
2. **Trace the execution path** that leads to this issue
3. **Examine dependencies** and their versions if relevant
4. **Check assumptions** about how the code should work vs. how it actually works
Research Prompt for Weekly Newsletter on Multimodal Models and Vision-Language Models
Objective:
Compile a detailed, structured overview of the latest developments in multimodal models and vision-language models (VLMs) from the past week. Include sections for Quick Take, Research Highlights, Tools & Techniques, Real-World Applications, Trends & Predictions, and Community Contributions. Ensure all content is fresh, excluding anything covered in prior newsletters, and tailor the output for a newsletter audience with concise, impactful summaries.
General Instructions:
Time Frame: Focus exclusively on developments from the past week, using a dynamic date range of [start date] to [end date], to be updated weekly.
Uniqueness: Cross-reference with previous newsletters to avoid repetition, ensuring all content is new and relevant.
Prioritization: Leverage OpenAI’s deep research capabilities to prioritize high-impact, technically substantive sources (e.g., detailed benchmarks, novel methodologies, or influenti
@philipbankier
philipbankier / tools-and-stuff
Last active July 27, 2025 00:31
tools and things to tinker with
Assorted AI resources/demo repos:
- https://github.com/patchy631/ai-engineering-hub/tree/main/brand-monitoring
AI Agents:
- https://github.com/virattt/ai-hedge-fund/tree/main
- https://github.com/HKUDS/AutoAgent/tree/main
- https://github.com/coleam00/Archon/tree/main
- https://github.com/OriNachum/autonomous-intelligence
- deepresearch built with openai agents sdk and firecrawl ex. https://www.theunwindai.com/p/build-a-deep-research-agent-with-openai-agents-sdk-and-firecrawl
- https://www.youtube.com/watch?v=U6LbW2IFUQw&sttick=0