Skip to content

Getting Started

fnclaude is a launcher for Claude Code. The binary is fnc. Give it a repo reference instead of a directory and it finds the clone, or makes one, and starts claude there. The session it launches gets tools to switch to another repo, open a sibling, and restart while it runs.

Everything below assumes fnc is on your PATH.

Terminal window
npm i -g fnclaude

Check it:

Terminal window
fnc --version

fnc needs Bun and the claude CLI. See Installation.

Name a repository and fnc launches claude in it:

Terminal window
fnc arch-setup

Your shell’s directory does not matter. The name is resolved on its own, so any repository is one word away from any prompt. Run fnc with no argument and it starts in a neutral scratch directory instead of wherever your shell happens to be.

To pick a session back up rather than start fresh, use fnc resume, fnc continue, or fnc fork. See Resuming & continuing.

fnc accepts any of these, and clones the repository if it is not on disk:

Form Example
Bare name, matched against your clones, then your GitHub user and orgs fnc arch-setup
name@owner fnc arch-setup@fnrhombus
owner/name fnc fnrhombus/arch-setup
gh:owner/name fnc gh:fnrhombus/arch-setup
HTTPS or SSH URL fnc https://github.com/fnrhombus/arch-setup
A path fnc ~/src/dots
Any of the above plus +workspace fnc arch-setup+fix-lid-sync

Clones land at the cloneTemplate path under repoSettings in ~/.claude/settings.json, the same setting the claude-code-worktree-paths plugin reads. The rules are on Repo resolution.

The +workspace suffix resolves the repository, then adds a worktree beside it on its own branch. See Worktrees.

When you ask the session to switch project or spawn a sibling, the model first writes a continuity summary: what you asked for, the decisions made and why, the files touched, the work still in flight, and the open questions. fnclaude hands that summary to the session it launches.

The new session starts already briefed. Your first message to it continues the work instead of re-explaining it. Switching and spawning share this mechanism. The difference is whether the current session survives.