From mf
One-time bootstrap — seed ~/.mindfunnel/ with AGENTS.md, SOUL.md, and PROJECT.md.example from the plugin's bundled templates. Use the first time you run the mindfunnel plugin on a new machine, or when ~/.mindfunnel/ is missing. Idempotent — detects existing files and never overwrites. Also creates a CLAUDE.md symlink pointing at AGENTS.md inside ~/.mindfunnel/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mf:setupThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Seed the user's personal `~/.mindfunnel/` directory with the editable scaffolding the other mindfunnel skills depend on. Run **once per machine**. Idempotent: if `~/.mindfunnel/` already looks complete, say so and stop.
~/.mindfunnel/Seed the user's personal ~/.mindfunnel/ directory with the editable scaffolding the other mindfunnel skills depend on. Run once per machine. Idempotent: if ~/.mindfunnel/ already looks complete, say so and stop.
SOUL.md — destroying it is unacceptable.${CLAUDE_PLUGIN_ROOT}/templates/. That environment variable is set by Claude Code when this skill runs. Do not hard-code a path; always use the variable.CLAUDE.md inside ~/.mindfunnel/ is a symlink to AGENTS.md in the same directory. This is the standard convention; both names point at the same content.~/.mindfunnel/ existsmkdir -p "$HOME/.mindfunnel"
For each pair below, copy from the bundled template to the target only if the target is absent.
| Template | Target |
|---|---|
${CLAUDE_PLUGIN_ROOT}/templates/AGENTS.md | ~/.mindfunnel/AGENTS.md |
${CLAUDE_PLUGIN_ROOT}/templates/SOUL.md | ~/.mindfunnel/SOUL.md |
${CLAUDE_PLUGIN_ROOT}/templates/PROJECT.md | ~/.mindfunnel/PROJECT.md.example |
Note the asymmetry: PROJECT.md lands as PROJECT.md.example in ~/.mindfunnel/ because the live PROJECT.md belongs in each project, not in the shared scaffolding. The .example suffix makes that intent obvious.
Shell form (avoid clobbering):
cp -n "${CLAUDE_PLUGIN_ROOT}/templates/AGENTS.md" "$HOME/.mindfunnel/AGENTS.md"
cp -n "${CLAUDE_PLUGIN_ROOT}/templates/SOUL.md" "$HOME/.mindfunnel/SOUL.md"
cp -n "${CLAUDE_PLUGIN_ROOT}/templates/PROJECT.md" "$HOME/.mindfunnel/PROJECT.md.example"
cp -n is "no-clobber"; it silently skips an existing target. That is the desired behavior.
CLAUDE.md symlinkln -sfn AGENTS.md "$HOME/.mindfunnel/CLAUDE.md"
-f replaces a broken or pre-existing symlink, -n prevents following an existing CLAUDE.md symlink into its target when forcing. Safe because we're only ever symlinking to AGENTS.md in the same directory.
Emit a short summary, ≤ 10 lines, listing for each target: created, already present (skipped), or symlinked. Example:
~/.mindfunnel/
AGENTS.md created
SOUL.md created
PROJECT.md.example already present
CLAUDE.md symlinked → AGENTS.md
If everything was already present, say so in one line and skip the table:
~/.mindfunnel/ is already set up. Nothing to do.
SOUL.mdOn a fresh install (anything was created), close with:
Edit
~/.mindfunnel/SOUL.mdto describe who you are, how you work, and what to avoid. This file is private — it's not checked into any project — and it shapes how Claude Code collaborates with you across every project. Then run/mf:primefrom a project root to prime it for the mindfunnel workflow.
On a no-op run, skip this paragraph.
~/.mindfunnel/
AGENTS.md created
SOUL.md created
PROJECT.md.example created
CLAUDE.md symlinked → AGENTS.md
Followed by the "edit SOUL.md" hint.
~/.mindfunnel/ is already set up. Nothing to do.
SOUL.md and re-ran setup~/.mindfunnel/
AGENTS.md already present
SOUL.md created
PROJECT.md.example already present
CLAUDE.md symlinked → AGENTS.md
SOUL.md — or any other target — under any circumstance. The user's edits are sacred./home/<user>/repositories/.../templates/. Always use ${CLAUDE_PLUGIN_ROOT}; the cache path changes on every update.${CLAUDE_PLUGIN_ROOT}). That directory is discarded and recreated on plugin update. Only read from it./mf:setup only writes inside ~/.mindfunnel/. Per-project work is /mf:prime's job.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub emaballarin/ccplugins --plugin mf