Skip to content

Instantly share code, notes, and snippets.

View pacphi's full-sized avatar
🎯
Focusing

Chris Phillipson pacphi

🎯
Focusing
View GitHub Profile
@ruvnet
ruvnet / readme.md
Last active October 24, 2025 08:42
AgentDB Browser Demo: Agentic Marketing Intelligence System: An intelligent marketing optimization system that uses AgentDB's ReasoningBank with SAFLA (Self-Adaptive Feedback Loop Architecture) to automatically optimize Meta Ads campaigns.

🎓 Agentic Marketing Intelligence System

🧠 AgentDB Browser introduces a new class of in-browser AI systems that think, learn, and adapt without relying on cloud infrastructure. Built on AgentDB v1.3.9, it runs entirely inside the browser using WebAssembly AgentDB, combining local reasoning, vector memory, and causal inference into a single self-contained engine.

An intelligent marketing optimization system that uses AgentDB's ReasoningBank with SAFLA (Self-Adaptive Feedback Loop Architecture) to automatically optimize Meta Ads campaigns. It learns from past performance, discovers causal patterns, and reallocates budgets to maximize ROAS (Return on Ad Spend).

This demo showcases how intelligence can operate at the edge, learning from data directly on the client side, without APIs or external dependencies. The system uses ReasoningBank SAFLA (Self-Adaptive Feedback Loop Architecture) to observe outcomes, detect cause-effect relationships, and refine strategy automatically. Every decision is stored as a Refl

@ruvnet
ruvnet / Flow.md
Last active October 31, 2025 15:25
Claude Flow Playbook for Advanced Coordination, Context Engineering, and Artifact-Centric Swarms

Claude Flow treats memory as the backbone and MCP tools as the hands. You get concurrent agents that coordinate cleanly, keep context tight, and ship durable artifacts without dragging long text through prompts. It feels like an ops layer for intelligence.

The stack is simple. Claude Code as the client. Claude Flow as the MCP server. SQLite memory at .swarm/memory.db for state, events, patterns, workflow checkpoints, and consensus. Artifacts hold the big payloads. Manifests in memory link everything with ids, tags, and checksums.

Coordination is explicit. Agents write hints to a shared blackboard, gate risky steps behind consensus, and record every transition as an event. Hooks inject minimal context before tools run and persist verified outcomes after. Small bundles in, durable facts out.

Planning keeps runs stable. Use GOAP to sequence actions with clear preconditions. Use OODA to shorten loops.

Observe metrics, orient with patterns, decide through votes, act with orchestration. Topology adapts from hi

@ksprashu
ksprashu / GEMINI.md.prompt
Last active November 1, 2025 15:15
GEMINI.md starter file generator for an existing project
You are an expert software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture.
+ Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory.
+ Identify Key Artifacts: Pay close attention to configuration files (package.json, requirements.txt, pom.xml, Dockerfile, .eslintrc, prettierrc, etc.), READMEs, folder hierarchy, documentation files, and source code files.
+ Incorporate Contribution & Development Guidelines: Search for and parse any files related to development, testing, or contributions (e.g., CONTRIBUTING.md, DEVELOPMENT.md, TESTING.md). The instructions within these guides are critical
@sergeyk
sergeyk / explore-plan-code-test.md
Last active October 28, 2025 17:00
Explore - Plan - Code - Test Workflow

At the end of this message, I will ask you to do something. Please follow the "Explore, Plan, Code, Test" workflow when you start.

Explore

First, use parallel subagents to find and read all files that may be useful for implementing the ticket, either as examples or as edit targets. The subagents should return relevant file paths, and any other info that may be useful.

Plan

Next, think hard and write up a detailed implementation plan. Don't forget to include tests, lookbook components, and documentation. Use your judgement as to what is necessary, given the standards of this repo.

If there are things you are not sure about, use parallel subagents to do some web research. They should only return useful information, no noise.

@ruvnet
ruvnet / *claude.md
Last active November 1, 2025 04:03
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features

@StevenACoffman
StevenACoffman / a-non-root-ssh-keys-in-kube.md
Last active July 19, 2025 14:31
SSH keys in kubernetes as non-root
@yoosuf
yoosuf / stopnremoveall.sh
Created August 14, 2019 01:48
Stop and remove all docker containers and images (Docker)
# List all containers (only IDs)
docker ps -aq
# Stop all running containers
docker stop $(docker ps -aq)
# Remove all containers
docker rm $(docker ps -aq)
# Remove all images
@PedroEsnaola
PedroEsnaola / pom.xml
Last active May 18, 2021 17:23
R2DBC+CockroachDB
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
@svrc
svrc / azure-bosh.sh
Last active February 25, 2019 19:13
Azure BOSH start/stop CLI
#!/bin/bash
# Azure Start/Stop CLI. Starts or Stops all BOSH-provisioned VMs in a resource group.
# Requires the "Azure 2.0 CLI", aka az ; requires it to be logged in to your azure account
trap "exit" INT
if [ -z "$2" ]; then
echo "Missing resource group"
echo "USAGE: azure-bosh.sh [start|stop] [resource group]"
@kelapure
kelapure / Application Tags.md
Last active November 30, 2018 16:30
Application Tags.md

Technical Stack Buckets/ Application Tags

  1. Modern Microservices with Spring and other microframeworks
  2. Batch
  3. ETL
  4. SPA
  5. Web MVC , Older REST - Server side rendering of UI
  6. Portlets based UI
  7. Cloud Native Eclipse Microprofile
  8. Service Composition / Data Integration / Data Munging