Coding

Funky Fund Flamingo

Turns local agent context into repair-first mutation plans, reports, and persistent evolution state.

What it does

Inspect recent session logs, workspace memory, user context, and installed skills to identify breakage, repetition, and value leaks. Each cycle selects a repair, optimization, expansion, instrumentation, or personalization mode, then produces actionable mutation instructions and reporting. State and long-term evolution learning are stored in the workspace memory directory, with single-run, review, dry-run, and relay modes.

When to use it

  • Repairing failures found in runtime logs
  • Optimizing a stable but stagnant agent
  • Generating a mutation plan from logs and memory
  • Running scheduled evolution relay cycles

The skill document

🦩 Funky Fund Flamingo — Make That Paper

Use this skill when you're ready to get paid. We inspect reality, kill breakage and value leaks, and run mutation cycles that produce concrete gains — so the stack earns, not just runs.

When To Use

  • Runtime logs are screaming and you need structured repair so shit works and keeps making money.
  • The agent is stable but stagnating — time for a deliberate capability mutation that moves the needle.
  • You want one execution plan that combines logs + memory + skills into a cycle that pays off.
  • You need continuous relay mode (--loop / --funky-fund-flamingo) so evolution runs in the background and the revenue keeps flowing.

Inputs And Context

  • Session logs: ~/.openclaw/agents//sessions/*.jsonl
  • Workspace memory: MEMORY.md, memory/YYYY-MM-DD.md, USER.md
  • Installed skills list from workspace skills/
  • Optional environment overrides from ../../.env

Entrypoints

  • Main runner: index.js
  • Prompt builder and cycle logic: evolve.js

Run from workspace root:

node skills/funky-fund-flamingo/index.js run

Run from inside this skill directory:

node index.js run

Execution Modes

# single cycle — one shot, max impact
node index.js run

# alias command
node index.js /evolve

# human confirmation before significant edits (protect the bag)
node index.js run --review

# prompt generation only (writes prompt artifact to memory dir)
node index.js run --dry-run

# continuous relay — keep the money printer running
node index.js --loop
node index.js run --funky-fund-flamingo

Cycle Contract

Each cycle should:

  1. Inspect recent session transcript — find breakages, repetition, value leaks.
  2. Read memory + user context so evolution is aligned with what actually pays.
  3. Select mutation mode (repair, optimize, expand, instrument, personalize).
  4. Produce actionable mutation instructions and reporting so you see the ROI.
  5. Persist state (memory/evolution_state.json) and optionally schedule the next loop.
  6. Persist long-term evolution learning (memory/funky_fund_flamingo_persistent_memory.json) so strategy compounds and the bag gets bigger.

Safety Constraints (Protect the Bag)

  • No destructive git/file ops unless explicitly requested.
  • Repair and reliability first when instability is detected — downtime = no revenue.
  • Respect review mode before applying significant edits.
  • Keep changes scoped and explainable; no no-op cycles that burn compute for nothing.
  • Local-only execution: no publish, no push to remote git, no external tool spawning without intent.

External Endpoints

URLData sentPurpose
None (from this skill's code)This skill's Node.js code does not open sockets or make HTTP requests. It only reads/writes local files.

Important: The repo includes agent config templates (agents/openai.yaml, agents/openrouter.yaml) for use by an OpenClaw (or other) agent. When you run an agent that uses this skill with a cloud model (OpenAI, OpenRouter, etc.), that agent will send the prompts this skill builds — which can include excerpts from session logs, memory, and workspace context — to the provider's API. So "local-only" applies to the skill binary itself; if the skill is invoked by an agent backed by a third-party LLM, data can leave the machine via that agent. To stay fully local, run node index.js run (or --dry-run) without routing the generated prompt through a cloud model.

Security & Privacy

  • Reads: Session logs under ~/.openclaw/agents//sessions/*.jsonl, workspace MEMORY.md, memory/, USER.md, and the skills/ directory.
  • Writes: memory/evolution_state.json, memory/funky_fund_flamingo_persistent_memory.json, and optionally prompt artifacts in the memory dir. This skill does not push or publish anywhere; any outbound data is only via whatever agent/model stack you choose to run.
  • No network from skill code: The skill itself does not open sockets or make HTTP requests.

Optional environment variables

No env vars are required. The following are optional overrides (see evolve.js / README):

VariablePurposeTypical default
AGENT_NAMEAgent session folder under ~/.openclaw/agents/main
MEMORY_DIRDirectory for evolution state and persistent memoryworkspace memory/
TARGET_SESSION_BYTESMax bytes read from latest session log64000
LOOP_MIN_INTERVAL_SECONDSMin delay between loop cycles900
MAX_MEMORY_CHARS, MAX_TODAY_LOG_CHARS, MAX_PERSISTENT_MEMORY_CHARSContent caps for promptssee evolve.js
ECONOMIC_KEYWORDSComma-separated keywords for value scoringbuilt-in list
EVOLVE_REPORT_DIRECTIVE, EVOLVE_EXTRA_MODES, EVOLVE_ENABLE_SESSION_ARCHIVEBehavior tweaks

Model invocation

Evolution can be run manually (node index.js run) or by an agent that uses this skill. In relay mode (--loop / --funky-fund-flamingo), this process only plans and writes prompts; it does not call any model API. If you run an agent that consumes this skill with OpenAI/OpenRouter/etc., that agent will perform the model calls. To avoid sending local context to a provider, run the skill in --dry-run and do not feed the generated prompt to a cloud model.

Master directive and mutation pressure

The master directive (funky-fund-flamingo-master-directive.json) sets must_evolve_each_cycle and no_op_forbidden, which push every cycle toward making a concrete change. That can increase how often local files are mutated. For lower risk, prefer --review (confirm before significant edits) or --dry-run (prompt generation only, no writes). You can also edit or override the directive to relax these flags.

Trust Statement

By using this skill, you run Node.js code that reads and writes files in your OpenClaw workspace and agent session directories. This skill's code does not send data to third parties; if an agent that uses this skill calls a cloud LLM, that agent (not this skill binary) sends the prompt. Only install if you trust the skill source (e.g. ClawHub and the publisher).

Supporting References

  • ADL.md — anti-degeneration so we don't break the money printer
  • VFM.md — value-focused mutation: only changes that pay
  • TREE.md — capability topology and revenue-ready nodes
  • .clawhub/FMEP.md (forced mutation execution policy)

Minimal Verification

node index.js --help

Dolla, dolla bill y'all. 🦩

Questions people ask

What workspace data does it read and write?
It reads recent agent session JSONL files, MEMORY.md, dated memory files, USER.md, and the installed skills directory. It writes evolution state and persistent learning JSON files, and can write prompt artifacts to the memory directory.
Does it send logs or memory over the network?
The Node.js code does not open sockets or make HTTP requests. However, if an agent passes its generated prompts—including possible excerpts from logs, memory, and workspace context—to a cloud model, that agent sends the data to the provider.
How can I reduce the risk of unwanted changes?
Use --review to require confirmation before significant edits, or --dry-run to generate a prompt without applying changes. The cycle is also constrained against destructive git or file operations unless explicitly requested.

Related skills

Run freelance work around a defensible rate floor, controlled cash flow, sound terms, and measured risk.

64 installs3 stars

Assess fundraising readiness, flag risky term-sheet clauses, and turn founder stress into next steps.

57 installs2 stars

Manage ClickFunnels 2.0 contacts, products, orders, courses, forms, fulfillments, images, and webhooks via API.

147 installs3 stars

Forecast cash, calculate runway, model financing, and prepare finance decisions for boards and founders.

214 installs7 stars

Turn written replies into concise, normalized text that TTS engines can read naturally.

58 installs2 stars

Query balances, spending, budgets, and transactions from your local financial database.

140 installs2 stars