Copy-Paste Instructions for Optimal AI Interaction
⸻
I am [Your Name/Role], focused on:
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
| { | |
| description = "A report built with Pandoc, with continious compilation."; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem (system: |
| #!/bin/sh | |
| # rename-pictures.sh | |
| # Author: Justine Tunney <[email protected]> | |
| # License: Apache 2.0 | |
| # | |
| # This shell script can be used to ensure all the images in a folder | |
| # have good descriptive filenames that are written in English. It's | |
| # based on the Mistral 7b and LLaVA v1.5 models. | |
| # | |
| # For example, the following command: |
this gist is part of this series
thunderbolt and thunderbolt-net kernel modules (this must be done all nodes - yes i know it can sometimes work withoutm but the thuderbolt-net one has interesting behaviou' so do as i say - add both ;-)
nano /etc/modules add modules at bottom of file, one on each linex then y then enter| parted /dev/vda -- mklabel gpt | |
| parted /dev/vda -- mkpart primary 1GiB -8GiB | |
| parted /dev/vda -- mkpart primary linux-swap -8GiB 100% | |
| parted /dev/vda -- mkpart ESP fat32 1MiB 512MiB | |
| parted /dev/vda -- set 3 esp on | |
| mkfs.ext4 -L nixos /dev/vda1 | |
| mkswap -L swap /dev/vda2 | |
| mkfs.fat -F 32 -n boot /dev/vda3 |
coder is in nixpkgs at https://search.nixos.org/packages?channel=22.11&show=coder&from=0&size=50&sort=relevance&type=packages&query=coderservices.coder.enable = true;extraFlags?These files illustrate the way that I have set up Nix and Home Manager for standalone use on macOS on both an Intel and Apple Silicon machine, in case the examples are useful to anyone. Some of the configuration is separated out into separate files in configs/ which get imported in home.nix. Some of my existing dotfiles are placed in dotfiles/ and then symlinked in by Nix to the location that that the system expects to find them.
It is a work in progress so currently I am handling installation of R separately.
| # The investment universe consists of 24 commodity futures, 12 cross-currency pairs (with 9 underlying currencies), 9 developed equity indices, and 13 | |
| # government bond futures. | |
| # Every month, the investor considers whether the excess return of each asset over the past 12 months is positive or negative and goes long on the | |
| # contract if it is positive and short if negative. The position size is set to be inversely proportional to the instrument’s volatility. A univariate | |
| # GARCH model is used to estimated ex-ante volatility in the source paper. However, other simple models could probably be easily used with good results | |
| # (for example, the easiest one would be using historical volatility instead of estimated volatility). The portfolio is rebalanced monthly. | |
| # QC implementation changes: | |
| # instead of GARCH model volatility, simple historical volatility is used in this code. | |
| # for more info on trading strategies visit miltonfmr.com | |