agentleFS
jaypylesjaypyles/nanoclaw-discord/CLAUDE.md

nanoclaw-discord

CLAUDE.md2 starsChanged 9 months agoMITView on GitHub

Personal Claude assistant. See README.md for philosophy and setup. See docs/REQUIREMENTS.md for architecture decisions. Single Node.js process that connects to Discord, routes messages to Claude Agent SDK running in Docker containers. Each group has isolated filesystem and memory. Run commands directly—don't tell the user to run them. Service management:

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run commands directly—don't tell the user to run them.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 28,029 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

NanoClaw

Personal Claude assistant. See README.md for philosophy and setup. See docs/REQUIREMENTS.md for architecture decisions.

Quick Context

Single Node.js process that connects to Discord, routes messages to Claude Agent SDK running in Docker containers. Each group has isolated filesystem and memory.

Key Files

FilePurpose
src/index.tsMain app: Discord connection, message routing, IPC
src/config.tsTrigger pattern, paths, intervals
src/container-runner.tsSpawns agent containers with mounts
src/task-scheduler.tsRuns scheduled tasks
src/db.tsSQLite operations
groups/{name}/CLAUDE.mdPer-group memory (isolated)

Skills

SkillWhen to Use
/setupFirst-time installation, authentication, service configuration
/customizeAdding channels, integrations, changing behavior
/debugContainer issues, logs, troubleshooting

Development

Run commands directly—don't tell the user to run them.

npm run dev          # Run with hot reload
npm run build        # Compile TypeScript
./container/build.sh # Rebuild agent container

Service management:

launchctl load ~/Library/LaunchAgents/com.nanoclaw.plist
launchctl unload ~/Library/LaunchAgents/com.nanoclaw.plist

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.