branches
Where your work goes (a branch named agent-<name>), how to name it, what must be true before you finish, and how to push it when you are asked to.
Skill by openagt
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/openagt-branches
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/branches
What's inside
- Skill name
branches- Description
- Where your work goes (a branch named agent-<name>), how to name it, what must be true before you finish, and how to push it when you are asked to.
- License
- MIT
- Instructions
- 67 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Branch management Your work goes on a branch named `agent-<name>`, unless whoever started you continued you on another. It stays on this machine until you are asked to push it. ## The command Run the `branches` command inside your checkout, always by its full name: `npx @openagt/skill-branches@0.1`. `status`, `name` and `push` (with no flag) are yours; the rest are the caller's. ## Where you are ``` npx @openagt/skill-branches@0.1 status ``` It prints JSON; `branch` is the branch you are on. **A branch starting with `agent-`.** Its checkout is your whole workspace: read and write only there. Dependency files and skill folders are links to the user's copies: never edit them. If something you need is outside your checkout, say so and stop. Before your first change, name the session with `[a-z0-9-]+`, starting with a letter or digit, saying what the work is, unless your branch already differs from `path`'s last segment: then it is named, keep it. ``` npx @openagt/skill-branches@0.1 name <name> ``` It renames your branch to `agent-<name>` and prints it in `branch`: `agent-<name>-2`, `-3`, … when `<name>` was taken; a name outside `[a-z0-9-]+` is refused as `invalid-name`. **Any other branch.** If the checkout sits under `.branches/`, you were put on this branch on purpose: stay on it, do not name it. Otherwise you are in a plain clone on someone else's branch. Before your first change, create your own and switch to it, `<name>` as above (another if it exists, locally or on origin): ``` git switch -c agent-<name> ``` From then on, work as on an `agent-` branch; nothing in a plain clone is a link. ## Commit as you go Nothing is committed for you. ## Before you finish ``` npx @openagt/skill-branches@0.1 status ``` It must report `"clean": true`. `clean` is false while anything is uncommitted or untracked: commit or delete what you added; if what remains is not yours, say so and finish. ## Push Only when your task or the person asks you to push or publish your work, and once clean: ``` npx @openagt/skill-branches@0.1 push ``` It pushes your branch to origin and prints it in `branch`. `clean` false is refused as `dirty`: commit or delete first. ## Merge Only when the person asks you to merge your work into the project's main branch, and once clean: ``` npx @openagt/skill-branches@0.1 merge <your branch> ``` It merges your branch into the main branch, in the project's own folder. A conflict changes nothing and names the files in `files`: say so and stop. Your checkout and your branch stay.
From openagt/openagent, MIT.
More from openagt/openagent
- 0.629score
logs
openagt
The record of every run agents made on this project — what was asked, where the work went, how it ended, what the agent said — where it lives, how to read it…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
tickets
openagt
Where the project's tickets live, how to read and change them, how to claim a ticket so no two agents work the same one, how to queue one, and the formats.
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
browser
openagt
A real browser you drive from the shell, to see or act on a web page (open it, read it, click, type, take a screenshot), such as checking that the app you…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
orchestration
openagt
Split your task across subagents: plan it, get the person's yes, start other agents on the parts, each in its own checkout on a branch started from yours, and…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
scheduler
openagt
Start and stop the project's scheduler, switch the commands it starts on a schedule on or off, set their pace, or start one now, when the person asks you to.
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
github
openagt
The project's git host is GitHub: how to open your pull request when you are asked to, how to land it, and how to read and close the project's issues.
SkillAFreshness: A★ 11Claude Code +9 - 0.626score
queue
openagt
Where the project's agent queue lives, how to read it and change it, and its format.
SkillAFreshness: A★ 11Claude Code +9 - 0.626score
discord
openagt
Post a message to the team's Discord channel from the shell, when a task asks you to tell people something there.
SkillAFreshness: A★ 11Claude Code +9 - 0.624score
reply
openagt
Answer where a maintainer calls you with /agent, on an issue or a pull request; and on your own pull request, checks that turned red and a conflict with its…
SkillAFreshness: A★ 11Claude Code +9 - 0.624score
readability
openagt
Refactor a part of the code to make it as easy as possible for humans to read, rating every file and function before and after.
SkillAFreshness: A★ 11Claude Code +9 - 0.624score
post-merge-cleanup
openagt
Bring the project's knowledge files up to date from merged pull requests, or from an agent run's pull request before it merges.
SkillAFreshness: A★ 11Claude Code +9 - 0.624score
triage
openagt
Put the tickets whose plan says they are ready on the project's agent queue, unattended; the quick wins, the consensual work, or both.
SkillAFreshness: A★ 11Claude Code +9
Signals
- Stars
- 11
- Forks
- 1
- Open issues
- 12
- Last commit (this folder)
- Oct 21, 2026 (8 days ago)
- Last release
- Aug 19, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/openagt/openagent
- Website
- openagent.build
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from openagt
- 0.629score
scheduler
openagt
Start and stop the project's scheduler, switch the commands it starts on a schedule on or off, set their pace, or start one now, when the person asks you to.
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
github
openagt
The project's git host is GitHub: how to open your pull request when you are asked to, how to land it, and how to read and close the project's issues.
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
logs
openagt
The record of every run agents made on this project — what was asked, where the work went, how it ended, what the agent said — where it lives, how to read it…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
browser
openagt
A real browser you drive from the shell, to see or act on a web page (open it, read it, click, type, take a screenshot), such as checking that the app you…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
orchestration
openagt
Split your task across subagents: plan it, get the person's yes, start other agents on the parts, each in its own checkout on a branch started from yours, and…
SkillAFreshness: A★ 11Claude Code +9 - 0.629score
tickets
openagt
Where the project's tickets live, how to read and change them, how to claim a ticket so no two agents work the same one, how to queue one, and the formats.
SkillAFreshness: A★ 11Claude Code +9
Cite this page
branches skill. Agent Mart. https://agentmart.dev/skills/openagt-branches (last updated 2026-10-24)