Skip to content

Instantly share code, notes, and snippets.

@nunogt
nunogt / Flow.md
Created October 6, 2025 21:38 — forked from ruvnet/Flow.md
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

@nunogt
nunogt / git-crypt-rm-gpg-user.sh
Created October 25, 2022 16:36 — forked from Falkor/git-crypt-rm-gpg-user.sh
Git-crypt remove user.
#!/usr/bin/env bash
#
# Script to remove GPG user (recipient) with git-crypt
#
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
#
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
@nunogt
nunogt / Dockerfile
Last active August 29, 2015 14:23
Debian Jessie Apache Tomcat 7 Dockerfile
FROM debian:jessie
MAINTAINER Nuno Taborda <@nunogt>
# Update the system
RUN apt-get update && apt-get -y upgrade
# Install openjdk and tomcat
RUN apt-get install -y openjdk-7-jre-headless tomcat7 libtcnative-1
# Find the IAM username belonging to the TARGET_ACCESS_KEY
# Useful for finding IAM user corresponding to a compromised AWS credential
# Requirements:
#
# Environmental variables:
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
# python:
# boto
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
#!/bin/bash
PATHS_FILE="/private/etc/paths"
OSX_VERSION="$(/usr/bin/sw_vers -productVersion)"
if [ "$OSX_VERSION" == "10.10" ] ; then
patch -b $PATHS_FILE <<EOF
--- paths 2014-11-09 12:15:25.000000000 +0000
+++ paths.brew 2014-11-09 12:21:34.000000000 +0000
@@ -1,4 +1,5 @@
/usr/local/bin
+/usr/local/sbin