agentleFS
mindsdbmindsdb/mindshub/CLAUDE.md

mindshub

CLAUDE.md40k starsChanged 4 years agoMITView on GitHub

This repo has 4 submodules: Only do this if you intend to develop across all repos. You'll need to commit the updated pointers in the parent repo afterward. The parent repo stores a commit SHA pointer to each submodule, not the code itself. Always push from inside the submodule first, then update the pointer in the parent. The superproject pins each submodule to a commit. To let everyone develop on their own module branches without fighting over pins or drowning…

  • Reads credentials
  • Installs packages
  • Commits and pushes

Trending

Less talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 2 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the mindsdb/mindshub repository that our weekly crawl found: only 6 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

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

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only do this if you intend to develop across all repos.

    line 34
  2. Very specific:

    5. Snap back to baselines: when you're *not* developing a module: make baseline (git submodule update --init --recursive).

    line 125
  3. Distinctive:

    After initializing submodules, start the full stack with:

    line 132

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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

Minds Platform

Submodules

This repo has 4 submodules:

PathRepoTracking
frontendmindsdb/coworktag-pinned
backend/core_apimindsdb/cowork-servertag-pinned
backend/core_agentmindsdb/antontag-pinned
backend/data-vaultmindsdb/data-vaultmain branch

Clone (fresh)

git clone --recurse-submodules https://github.com/mindsdb/minds-platform

Initialize after cloning without submodules

git submodule update --init --recursive

Pull — sync to what the parent repo pins (default)

git submodule update --recursive

Pull — advance all submodules to latest main

Only do this if you intend to develop across all repos. You'll need to commit the updated pointers in the parent repo afterward.

git submodule foreach 'git checkout main && git pull origin main'

Make changes and push inside a submodule

  1. Go into the submodule and get on a real branch first (all submodules start in detached HEAD):
cd backend/data-vault   # or whichever submodule
git checkout main       # or: git checkout -b your-feature-branch
  1. Make your changes, commit, and push:
git add .
git commit -m "your message"
git push origin main
  1. Back in the parent repo, stage and commit the updated submodule pointer:
cd ../..
git add backend/data-vault
git commit -m "bump data-vault to latest"
git push

The parent repo stores a commit SHA pointer to each submodule, not the code itself. Always push from inside the submodule first, then update the pointer in the parent.

Working on module branches (multi-developer)

The superproject pins each submodule to a commit. To let everyone develop on their own module branches without fighting over pins or drowning in git status noise, the workflow is:

1. .gitmodules sets ignore = all on every submodule. Day-to-day branch work in a submodule never shows up as a superproject change — git status in the parent stays clean no matter what branch each module is on. (This is the only setting that silences "new commits in <module>"; ignore = dirty does not.)

2. Pick your branches in dev.env (gitignored — copy from dev.env.example):

cp dev.env.example dev.env
# REF=feat/my-thing            # all modules on one branch…
# API_REF=feat/server-thing    # …or override per module

3. make is the single source of truth for refs — both run paths follow dev.env:

CommandWhat it does
make refsprint the refs the next run will use
make usecheck out those refs across all submodules
make dev / make dev-webrun the local submodule source (--reload) — follows the checked-out branch
make server(re)install the Electron desktop server from API_REF/AGENT_REF
make server-localinstall Electron desktop server from local uncommitted source (no push needed)
make apprun the Electron desktop app (auto-update disabled so it can't revert your branch)
make app-localrun the Electron desktop app against local uncommitted source (runs server-local first)
make pack-localbuild macOS .app from local uncommitted source, iCloud-safe (no DMG, /tmp build)
make watchlive reload — Electron app + Python --reload (alias for make dev)
make baselinesnap every submodule back to the superproject's pinned commits
make pinrecord the submodules' current commits as the superproject pins (a deliberate commit)

Two run paths, same refs: make dev/dev-web execute the local source, so they follow whatever make use checked out. The desktop app runs a uv-tool-installed server keyed by COWORK_SERVER_REF/ANTON_REF (see frontend/src/main/server-source.ts); make server/make app set those from the same dev.env. Keep both on the same ref — they share ~/.cowork/cowork.db, so a migration applied by one must exist in the other (else the app crashes on startup with Can't locate revision …). make flush resets when they drift.

Developing with uncommitted changes in the Electron app: make dev/dev-web already pick up uncommitted source changes on-the-fly. For the Electron desktop path, make app-local installs cowork-server directly from backend/core_api/ (no commit needed) and then launches the app. COWORK_SERVER_DISABLE_AUTOUPDATE=1 is set automatically so the installer won't re-download from git. To also develop core_agent without committing: update [tool.uv.sources] anton-agent in backend/core_api/pyproject.toml to { path = "../../core_agent" }, then re-run make app-local. (Restore the git source before pushing.)

4. Bumping pins is deliberate. Because submodules are ignored, the only way a pin changes is make pin (after a submodule PR merges and you push the submodule). Pushing from inside the submodule first still applies — make pin just records the new SHA in the superproject as one reviewable commit.

5. Snap back to baselines when you're not developing a module: make baseline (git submodule update --init --recursive). With ignore = all, git status won't remind you a teammate's pin bump left a module behind — run make baseline after pulling the superproject to align.

Running locally (web browser mode)

After initializing submodules, start the full stack with:

cd frontend
npm install
npm run dev:web

Open http://localhost:5173/. The FastAPI backend starts automatically on http://127.0.0.1:26866.

Skip Keycloak auth (required for local dev)

By default the web app redirects to MindsHub SSO on first load. To bypass this locally, create frontend/src/renderer/.env (Vite's root is src/renderer, not frontend/):

echo "VITE_SKIP_AUTH=true" > frontend/src/renderer/.env

Then restart npm run dev:web. The Keycloak redirect will be skipped and the app loads the onboarding screen directly where you can enter a BYOK API key.

First-time symlink fix

The dev:web script expects the uv-installed tool at ~/.local/share/uv/tools/anton/, but it may be installed as anton-agent. If you see "Anton Python interpreter not found", run:

ln -s ~/.local/share/uv/tools/anton-agent ~/.local/share/uv/tools/anton

Flushing local installs (fresh start)

make flush wipes every local install and all app state, returning the machine to a pre-install condition. Use it to test the from-scratch install flow or to recover from a broken/half-installed environment.

make flush          # prompts before deleting
make flush FORCE=1  # skip the prompt (CI / scripts)

It removes:

RemovedWhat it is
cowork-server uv tool (+ legacy anton-agent)the runtime the Electron app installs via uv tool install
backend/core_api/.venv, backend/core_agent/.venvthe venvs the Makefile dev flow builds via uv sync
~/.antonprovider keys / .env
~/.coworkdatabase, hermes, projects

⚠️ Destructive — deletes conversations and saved provider keys, no undo. After flushing, the next make setup (or app launch) reinstalls everything from scratch.

It deliberately leaves uv itself and uv-managed Python runtimes alone (shared infrastructure, not part of the anton/cowork install).

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.