Skip to content

nanocoai/nanoclaw / .claude/skills/add-mnemon

add-mnemon

Verified

Add persistent graph-based memory via mnemon. Agents recall past context before responding and remember insights after each turn.

FileKindSize
REMOVE.mdmarkdown1.9 KB
SKILL.mdskill md6.6 KB
mnemon-dockerfile.test.tsscript1.2 KB
mnemon-entrypoint.test.tsscript985 B

mnemon-dockerfile.test.ts

View on GitHub
/**
 * Structural guard for the mnemon Dockerfile reach-in (the dependency install).
 *
 * mnemon ships as a GitHub-release binary, not an npm package, so it can't be
 * imported or typechecked. The only red-on-drift guard is asserting the install
 * layer is present in container/Dockerfile: drop the layer on an upgrade and the
 * container starts with "mnemon: command not found", but nothing else fails.
 * This test reads the Dockerfile and asserts the MNEMON_VERSION ARG and the
 * MNEMON_DATA_DIR ENV are both present.
 */
import fs from 'fs';
import path from 'path';

import { describe, it, expect } from 'vitest';

function dockerfile(): string {
  // From src/ up to repo root, then into container/.
  const p = path.resolve(__dirname, '..', 'container', 'Dockerfile');
  return fs.readFileSync(p, 'utf8');
}

describe('container/Dockerfile installs the mnemon binary', () => {
  const text = dockerfile();

  it('declares the MNEMON_VERSION build arg', () => {
    expect(text).toMatch(/ARG\s+MNEMON_VERSION/);
  });

  it('downloads the mnemon release binary', () => {
    expect(text).toContain('mnemon-dev/mnemon/releases/download');
  });

  it('sets MNEMON_DATA_DIR into the .claude mount', () => {
    expect(text).toMatch(/ENV\s+MNEMON_DATA_DIR=/);
  });
});
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall