This guide is only about acquiring a usable LabNote workspace. Once the copy exists, normal LabNote use starts at AI_ENTRYPOINT.md.
Before cloning or using the template, decide which destination you want:
| You want | Choose |
|---|---|
| A copy only on your own computer | Local |
| A workspace only on GitHub | GitHub |
| A local working copy and a GitHub workspace | Both |
This choice affects how you acquire LabNote, not how it works once your copy exists.
If you are already talking to an AI, you can simply say:
Help me set up CapstanAI LabNote for this project. First work out what access you have, then recommend the simplest safe route for me. I want you to explain any terminal commands before I run them.
The AI should determine whether it can access GitHub, whether it can run terminal commands itself, whether you can run terminal commands, and whether you want the workspace locally, on GitHub, or both.
This is the preferred route when you want both a local working copy and a private GitHub workspace.
For the simple flow below, the private destination repository should be new and empty. If GitHub offers to initialise it with a README, .gitignore, or licence, leave those options off. If the destination already contains commits or files, stop and let the AI choose a safe alternative rather than force-pushing over them.
The browser AI should tailor the commands to your operating system, shell, chosen folder, and private destination repository. A typical Git flow is:
git clone https://github.com/Wonderforge-Lab/CapstanAI-LabNote.git MyProject-LabNote
cd MyProject-LabNote
git remote rename origin upstream
git remote add origin <YOUR-PRIVATE-REPO-URL>
git push -u origin mainBefore asking you to run them, the AI should explain that these commands:
- copy the public LabNote repository into a new local folder,
- keep the public source available as
upstream, - connect your working copy to your own repository as
origin, - push the initial LabNote workspace to your repository.
The AI should also confirm that the destination repository is the one you intend to use, is empty for this flow, and is suitable for the push. It must not guess or invent a private repository URL, and it must not use force-push as a shortcut around a non-empty destination.
Use GitHub's Use this template flow to create a new private or otherwise controlled repository.
Recommended steps:
- Open the canonical CapstanAI LabNote repository on GitHub.
- Choose Use this template.
- Choose Create a new repository.
- Give the new repository a project-specific name.
- Select Private unless you intentionally want a public workspace.
- Create the repository.
- Give the AI access to the new workspace and start at
AI_ENTRYPOINT.md.
GitHub Import is an alternative when template creation is unavailable or unsuitable, but the template route is the simpler default for a GitHub-only user.
A coding agent can normally perform the clone and repository setup itself, subject to the operator's approval and the permissions available to the agent.
The agent should still:
- state what repository it is copying,
- state the intended local and/or remote destination,
- avoid overwriting a non-empty destination without explicit approval,
- preserve the public source as
upstreamwhen a privateoriginis created, - stop if repository identity or permissions are unclear.
Clone LabNote locally:
git clone https://github.com/Wonderforge-Lab/CapstanAI-LabNote.git MyProject-LabNote
cd MyProject-LabNote
git remote rename origin upstreamNo private remote is required. The upstream name simply makes it clear that the remote points to the public source rather than to your own project repository.
However LabNote arrived, the next step is the same:
- Open
AI_ENTRYPOINT.mdwith the AI that will use the workspace. - Confirm the expected LabNote structure is present.
- Confirm whether this is a private/controlled live workspace or a public/reference-only workspace.
- Follow the lobby reading order.
No repository rename or LabNote identity-file edit should be required before first use.