Import from other apps
Coming from another agent app? Cohort takes in its repositories and worktrees where they are: each repository becomes a project, each worktree a thread. Nothing is moved, no branch changes, and the other app keeps working.
Import
Section titled “Import”- Open Settings → Projects. When Cohort finds another app’s worktrees on this computer, it shows Import from with that app’s name.
- Click it. Cohort looks for the app’s repositories and lists them, with notes on what it can’t bring.
- Untick any you don’t want, then click Import.
It says how many projects and threads it made. If it wrote setup scripts into a repository, commit them: each new worktree runs its own copy.
Importing twice adds nothing new: threads are matched by folder.
What comes over
Section titled “What comes over”| From the app | In Cohort |
|---|---|
| A repository | A project. An existing project keeps its settings; only what it lacks is added |
| Its setup script | .cohort-setup.sh in the repository |
| Its archive or teardown script | .cohort-teardown.sh |
| Files it copies into new worktrees | .worktreeinclude, when the repository has none |
| Its run scripts and general prompt | The project’s instructions, under “Imported from” the app |
| Its default branch | The project’s default base branch, when it has none |
| Each worktree | A thread in that folder, on that branch, idle, with the app’s merge target |
What isn’t imported:
- Chats. They stay in the app. Where the app ran Claude Code, a worktree’s latest chat can continue in its thread if Claude Code still has it in
~/.claude; otherwise the thread starts a new conversation. - Environment variables, model choices, git options. Listed by name in the notes, never with their values.
- Cloud workspaces. They aren’t on your computer.
Cohort never writes into, moves or deletes the other app’s folders or data, and never overwrites a file the repository already has.
From a terminal
Section titled “From a terminal”cohort import with no app lists the apps Cohort can import from, whether each was found on this computer, and where it looks. Pass one’s id as the source, first with --dry-run, which only shows what would be done:
cohort import <source> --dry-runcohort import <source>| Option | |
|---|---|
--dry-run |
Only show what would be done |
--root <ROOT> |
Where to look instead of the default |
--repo <PATH> |
Only this repository (its checkout path); repeatable |
--harness <HARNESS> |
The agent the imported threads use (default: the project’s, then Claude Code) |
--login <LOGIN> |
The login they run under |
--no-files |
Don’t write .cohort-setup.sh, .cohort-teardown.sh or .worktreeinclude into the repositories |
