What it is: an AI clone of how a public author reasons — built from their public content into a single SQLite knowledge store.
$ npx -y skills add mrgnfndr-dr/mind-clone --agent claude-code
FAQ
mind-clone is a Claude Code plugin with 1 hand-picked skill for data work, indexed on Flowy. Install it with the command on its page. It includes mind-clone. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Repo: mrgnfndr-dr/mind-clone
What it is: an AI clone of how a public author reasons — built from their public content into a single SQLite knowledge store. The clone answers your questions, reasons in the author's own frameworks, and gives you their step-by-step method — grounding every claim in the author's own words. It answers only through an auditable command loop (the «contour») that drills to the exact evidence and refuses anything it can't cite (no id, no claim); every grounded answer deep-links to the exact source moment. Self-contained, stdlib-only.
Generic AI advice sounds like everyone and no one. mind-clone builds a cognitive model of a real author from their public content — articles, YouTube, podcasts, talks — then answers, advises, and predicts the way that person actually reasons, not by parroting their tone. Every grounded answer quotes them and deep-links to the exact minute they said it. And when the author teaches a method, it extracts a step-by-step playbook you can execute.
It models a person from their public output — a useful imitation of how they reason in public, not their actual mind (real thinking is mostly unspoken and never makes it into the transcript). It's an interpretive model, never the real person: predictions are labeled and confidence-rated, and quotes are never fabricated.
Illustrative — the real thing cites verbatim, never invented:
You: /mind-clone-ask How should I price a new product?
mind-clone (reasoning as the author):
Don't start from your costs — start from the value the user captures.
[...answer built from the author's own frameworks, not generic advice...]
Backing it up, in his words:
« <verbatim line the author actually said> »
→ Author, "Pricing talk", 14:02 ▶ https://youtu.be/VIDEO_ID?t=842
That link opens the video at 14:02 — so you can hear him say it yourself. No source? It says so. Not sure? It rates its confidence.
Works with any coding agent that can search the web, fetch pages and run a shell command — Claude Code, Codex, Antigravity, Cursor. The only real dependency is Python 3.8+ (stdlib only; nothing to pip install for the store itself).
Any agent — clone it and let the agent set itself up:
git clone https://github.com/mrgnfndr-dr/mind-clone.git
cd mind-clone
python scripts/setup.py
setup.py verifies the machine, writes ENVIRONMENT.md (your local manifest), and prints a welcome message with what works and what's missing. Then point your agent at AGENTS.md — Codex and Antigravity pick it up on their own — and just talk to it.
Claude Code — install it as a skill:
npx skills add mrgnfndr-dr/mind-clone -g -y
# …or just drop this folder into ~/.claude/skills/mind-clone
# optional: the slash commands
cp commands/mind-clone-ask.md ~/.claude/commands/mind-clone-ask.md
cp commands/mind-clone-build.md ~/.claude/commands/mind-clone-build.md
Either way, you drive it in plain language:
> build a mind-clone of <author name> # or: /mind-clone-build <author>
> what would <author> think about <topic>? # or: /mind-clone-ask <author> <question>
It replies in whatever language you write in. (The saved database stays in English, so each clone is portable and shareable.)
Think of it like making a really good study guide about how someone thinks — then being able to ask that study guide questions.
Date · Type · Source · Summary · URL) before the heavy work, so you approve/prune what goes into the database.import (CHECK/FK/NOT-NULL) that logs what loaded and what was rejected and why — bad rows never land silently. Fast by default: existing text + captions/transcripts only, no slow ASR. Sources with no subtitles are listed in a table and you decide whether to run whisper. Books are processed chapter by chapter (a copy you legally own, or public material — never pirated). Transcripts and article text are saved locally by default (tiny — tens of MB even for a 300-video channel); only full books are opt-in via --archive-raw.python scripts/setup.py --check
The skill keeps a per-machine manifest, ENVIRONMENT.md, so it doesn't re-probe your OS or hunt for tools at the start of every build. It records where your tools live, the proven build/chat commands, and the dead-ends not worth re-investigating.
python scripts/setup.py # create/refresh the manifest, then print the welcome message
python scripts/setup.py --check # verify only; exit 1 if a hard requirement is missing
ENVIRONMENT.md is git-ignored — it stays local and survives skill updates, and your paths never end up in the repo. Paths are derived and overridable with MIND_CLONE_PROJECT, MIND_CLONE_PYTHON, FFMPEG_BIN. (For bash users, scripts/probe_env.sh --write|--preflight does the same job; scripts/check_tools.sh is a quick tools-only check.)
Everything is saved under your current project, not inside the skill — so the clone ships with your repo:
clones/<author-slug>/
clone.db CANONICAL — SQLite: two tables, meta + ep (+ ep_fts). The one center.
raw/<id>.srt timecoded transcript (audio/video) — source material, referenced by meta.raw_path + hash
raw/<id>.md clean text per source — source material (books excepted)
runs/<id>/ per-question contour artifacts: intent.md · selection.tsv · delivery.md · answer.md · log.jsonl
config.json state only: chat language, name variants, coverage-gap notes
The only interface is the contour (scripts/loop.py): the LLM never reads clone.db or
the raw store directly. The source table, the cognitive map, the playbook, and the manifest are
render views computed on demand — never stored. There is no evidence.jsonl, brain .md,
or manifest.json; those would be copies of the canon.
| Commands | What it's for | |
|---|---|---|
| Answer a question | intent → sources → map → select → compile → verify | drill down to the few points that bear on the question, compile them into delivery.md, then answer only from that slice — verify rejects any cited id that wasn't delivered |
| Recall | fts, get | full-text OR-recall ranked by bm25 (a multi-word query finds paraphrases, not just exact AND-matches) — a net for candidates, never the selection itself |
| Write | context, smoke, import | see what's already in the store, dry-run a delta, then append it under validation; ids/entities are canonicalised on the way in so Hiring/hiring don't fragment |
| Views | render sources · brain · playbook · manifest | everything derived, computed on demand |
| Housekeeping | runs, pin, gc, init, migrate | keep runs/ bounded (pin what matters, garbage-collect the rest); schema is versioned via PRAGMA user_version and migrated in a transaction |
SKILL.md orchestrates; detailed methodology lives in reference/ (loaded on demand). Build
writes EP rows through the contour (import, validation → log); the brain is the relation
overlay on those rows (render brain). It borrows proven ideas: a grounded evidence base (every
EP carries text + backing + deep-link), signal-vs-noise pattern extraction, multi-modal
name-variant sweeps (OSINT discovery), and a causal belief graph for extrapolation.
Public data only; not a surveillance tool. The clone is a model, not the person, and is labeled as such. Books are used only from a copy you legally own or public material about them — never pirated. See reference/ethics.md.
MIT.
.gitignore AGENTS.md ARCHITECTURE.md commands/ mind-clone-ask.md mind-clone-build.md ENVIRONMENT.template.md LICENSE README.md reference/ 01-discovery.md 02-harvest.md 03-cognitive-model.md 04-clone-runtime.md 05-playbook.md 06-evaluation.md 07-ep-store.md ethics.md language.md scripts/ check_tools.sh loop.py migrate_jsonl.py probe_env.sh schema.sql setup.py SKILL.md WELCOME.md
© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic