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 / security-services.md
Created October 23, 2022 16:04
Relationship between security services

Relationship between security services


flowchart
S[Security Services] 
S --> E[Entity]
S --> D[Data]
E --1--> ID[Entity Identity];
D --2--> DI[Data Integrity];
D --3--> DC[Data Confidentiality];
@nunogt
nunogt / Vagrantfile
Created November 20, 2017 21:03
Hapl-o-Mat Vagrantfile
$script = <<SCRIPT
#!/bin/sh
apt-get update && apt-get install -y git build-essential --no-install-recommends
git clone https://github.com/DKMS/Hapl-o-Mat.git /vagrant/Hapl-o-Mat
cd /vagrant/Hapl-o-Mat && make && make clean
ln -s /vagrant/Hapl-o-Mat/haplomat /usr/local/bin/
SCRIPT
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
@nunogt
nunogt / Hapl-o-Mat.sh
Last active November 20, 2017 19:43
Vagrant Hapl-o-Mat
#!/bin/sh
apt-get update && apt-get install -y git build-essential --no-install-recommends
git clone https://github.com/DKMS/Hapl-o-Mat /vagrant/Hapl-o-Mat
cd /vagrant/Hapl-o-Mat && make && make clean
ln -s /vagrant/Hapl-o-Mat/haplomat /usr/local/bin/
@nunogt
nunogt / .gapps-config
Created May 16, 2016 13:22
Oneplus X Cyanogenmod gapps
(CMMusic)
browser
calculatorstock
calendarstock
clockstock
contactsstock
email
exchangestock
gallery
@nunogt
nunogt / dmesg.sh
Created September 9, 2015 14:39
dmesg to disk device
#!/bin/bash
# note: inspired by Peter
#
# *UPDATE 1* now we're no longer parsing ls output
# *UPDATE 2* now we're using an array instead of the <<< operator, which on its
# part insists on a writable /tmp directory:
# restricted environments with read-only access often won't allow you that
# save original IFS
OLDIFS="$IFS"
@nunogt
nunogt / fb2k-patterns.txt
Created September 4, 2015 12:52
Scene-like fb2k renaming patterns
$ascii($replace($caps2(%album artist%-%album%-%date%)/$lower(%tracknumber%-%artist%-%title%),' ','_','.',,'&','and','',,'[',,']',,))

Keybase proof

I hereby claim:

  • I am nunogt on github.
  • I am nunogt (https://keybase.io/nunogt) on keybase.
  • I have a public key whose fingerprint is 27A1 E599 4177 F524 2EC0 056D A481 4210 AF46 071F

To claim this, I am signing this object:

@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