project-sessions
Skill0 starsChanged 9 days agoMITView on GitHub
Create isolated Herdr task checkouts and resume their OmO chats. Use for explicit new, list, or resume. Not for transcript search (coding-agent-sessions).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- trac3r00/agent-skillsword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- trac3r00/agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository84 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- 3d-designSkill
- anti-bsSkill
- api-testerSkill
- apple-homeSkill
- apple-suiteSkill
- apple-tvSkill
- apps-handoffSkill
- appshotSkill
- astra-initSkill
- browser-asideSkill
- changelog-genSkill
- ci-test-rebuildSkill
- claim-auditSkill
- claude-designSkill
- cleanup-worktreesSkill
- code-reviewSkill
- comment-checkerSkill
- context-budgetSkill
- create-skillsSkill
- cron-auditSkill
- cyber-bypassSkill
- dftSkill
- diff-reviewSkill
- discord-messengerSkill
- doc-readerSkill
- env-gateSkill
- ext-scaffoldSkill
- fddSkill
- finderSkill
- finish-prSkill
- game-filmSkill
- gate-graphSkill
- graph-toolsSkill
- herdrSkill
- image-genSkill
- init-readmeSkill
- init-rulesSkill
- iphone-mirroringSkill
- json-diffSkill
- kakao-messengerSkill
- karpathy-promptSkill
- loeSkill
- log-analyzerSkill
- macos-settingsSkill
- max-buildSkill
- mofficeSkill
- net-probeSkill
- notionSkill
- obsidian-vaultSkill
- omo-runnerSkill
- open-loopsSkill
- optimize-omo-configSkill
- phone-facetimeSkill
- portfolio-auditSkill
- preflightSkill
- prompt-builderSkill
- pro-reviewSkill
- proxmox-veSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 15 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 15
Keep the user's entry point in the main project directory.
- Distinctive: line 17
Use one existing project group, with a linked worktree child for each independent coding task.
- Very specific: line 28
Use OmO's native picker (/resume, omo -r) when the conversation belongs to the current checkout and the user only wants to reopen or …
- Very specific: line 30
Use the native coding-agent-sessions skill when the request is a read-only search across past transcripts.
- Distinctive: line 44
Default to the repository containing the caller's directory.
- Very specific: line 46
Read the installed herdr and coding-agent-sessions skills before using them.
- Very specific: line 47
Read git-master when the host provides it before running Git.
- Distinctive: line 52
Never delete, relocate, rewrite, fork, or rebind transcripts as a navigation shortcut.
- Distinctive: line 58
Use Git's identity, not the directory name or branch name:
- Very specific: line 71
Check HERDR_ENV first. When it is 1, record the caller's workspace, tab, pane, and working directory.
- Distinctive: line 82
If invoked inside a linked checkout, resolve its main-project group first: another new task must be a sibling under that group, not a child …
- Distinctive: line 84
Do not create a second root workspace merely to perform this workflow.
- Distinctive: line 138
Keep UUIDs and absolute paths in the internal selection map.
- Distinctive: line 155
If an agent is running in that checkout but its exact conversation cannot be established, inspect further or ask which live conversation to …
- Very specific: line 179
Do not use --continue, an ambiguous UUID prefix, --fork, --rebind, or a shared --session-dir to approximate resuming the selected session.
- Distinctive: line 188
If a dialog appears, report it and follow the host's interaction rules.
- Distinctive: line 196
Keep the saved conversation visible, but report that its original files are unavailable.
- Distinctive: line 202
If Herdr is unavailable, listing and a resume preview can still finish.
- Distinctive: line 212
Verify the main pane and checkout are unchanged.
- Distinctive: line 215
Never send a work prompt merely to test a resumed session.
- Distinctive: line 216
If startup fails, inspect the created pane before retrying.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Sessions
Keep the user's entry point in the main project directory. Create an isolated task only when explicitly requested; otherwise find or reconnect conversations. Use one existing project group, with a linked worktree child for each independent coding task. Multiple conversations can belong to the same task; a conversation is not a reason to create another worktree or project group.
This is an agent-assisted workflow, not a modification to OmO's native session picker. The main pane stays in place; new and resumed processes run in their task's checkout under that group. Never promise independent file versions in one physical directory, or arbitrary extra levels of Herdr sidebar nesting.
When native is enough
Use OmO's native picker (/resume, omo -r) when the conversation belongs to
the current checkout and the user only wants to reopen or continue it there.
Use the native coding-agent-sessions skill when the request is a read-only
search across past transcripts. Neither can create an isolated task checkout or
bind a conversation to an existing Herdr project group - that is the only reason
to load this skill. If a native picker already shows the exact conversation in
the right directory, do not duplicate its work; report the native route instead.
Inputs and boundaries
- Accept
new <task name>,list,resume <task or conversation>, or an equivalent natural-language request, including Korean. Loading the skill, naming it without an action, or asking how it works creates nothing. - Route an explicit
newrequest to references/new-task.md after establishing the project below. A title alone does not authorize coding. Without an explicit creation request or a clear resume target, list first. - Default to the repository containing the caller's directory. Accept an explicit project path; never require the user to enter a worktree or supply a UUID.
- Read the installed
herdrandcoding-agent-sessionsskills before using them. Readgit-masterwhen the host provides it before running Git. - A request to list is read-only.
newauthorizes one isolated task checkout and its new conversation;resumereuses the selected task and conversation. Neither authorizes sending a coding prompt, approving dialogs, or changing existing code unless the user also explicitly requests that work. - Never delete, relocate, rewrite, fork, or rebind transcripts as a navigation shortcut. Do not change branches, merge, recreate worktrees, or prune history unless the user separately requests that operation.
1. Establish the project
Use Git's identity, not the directory name or branch name:
GIT_MASTER=1 git -C "$PROJECT" rev-parse --show-toplevel
GIT_MASTER=1 git -C "$PROJECT" rev-parse --path-format=absolute --git-common-dir
GIT_MASTER=1 git -C "$PROJECT" worktree list --porcelain -zParse NUL-delimited worktree records. Resolve real paths for comparisons. Record
the common Git directory, each registered checkout, branch or detached HEAD, and
whether its directory exists. The familiar project folder need not be on main;
do not switch it.
Check HERDR_ENV first. When it is 1, record the caller's workspace, tab, pane,
and working directory. Otherwise discover the server read-only and use only
explicit target IDs. Check herdr status --json and installed subcommand help
before relying on version-sensitive syntax.
Under Herdr.app (HC_TERMINAL_ID set, HERDR_ENV unset) the herdr CLI does not reach the window.
Open task spaces with herdr-app do space.new or tab.new, and use hc terminal
addresses (t7) wherever this skill says pane ID. See herdr-app --skill.
Resolve the existing main-project workspace with herdr worktree list and
workspace inventory. Match common Git directory / worktree.repo_key, not labels.
If invoked inside a linked checkout, resolve its main-project group first: another
new task must be a sibling under that group, not a child of the current task.
Do not create a second root workspace merely to perform this workflow.
2. Discover conversations, not just live panes
Resolve scripts/find-agent-sessions.py relative to the installed
coding-agent-sessions skill, not this skill or the project directory. Read that
skill's Senpi reference and inspect the finder's CLI if its syntax has changed.
List saved OmO/Senpi sessions globally, using the senpi platform. Include the
actual configured session store through --root when it is nonstandard. Normal
stores are outside the checkout, under ~/.omo/agent/sessions/ and related
Senpi/Pi roots, with directory-based grouping.
Example discovery command after resolving FINDER:
PYTHONDONTWRITEBYTECODE=1 python3 "$FINDER" list \
--platform senpi --limit 200 --workers 4The finder limits results BEFORE this skill's repository filtering. If the result
count reaches the requested limit, increase the limit or query individual
registered checkout paths; do not treat a capped global list as complete.
--cwd is a substring filter, not proof of repository membership. Resolve and
validate every returned working directory.
For each candidate, retain its exact transcript path, UUID, recorded working directory, name or first prompt, and last activity. Use the reader to inspect a candidate when its identity or task is unclear.
Classify membership:
- A recorded directory inside a registered checkout belongs to this project. For existing directories, confirm the resolved common Git directory matches.
- An existing directory outside that list belongs only if its common Git directory matches. A similarly named clone is a different local repository.
- A missing directory listed in the worktree inventory can be shown as
checkout missing. A pruned/deleted checkout without retained repository evidence ismembership unverified, even if its path looks familiar. Show such possible historical matches separately; never auto-resume them.
Query herdr worktree list and herdr agent list to add task and live-pane
information. Include registered tasks with no saved conversation yet, so a
partially completed creation is recoverable. Inventory supplements saved history;
it does not replace it. Do not equate a matching title or working directory with
a matching conversation UUID. Several conversations in one checkout share files;
they are not independent simultaneous coding sandboxes.
Show a short numbered list with:
Task / conversation | Last active | Branch | Running / saved / checkout missingKeep UUIDs and absolute paths in the internal selection map. The user can choose by task name or row number. If a name is ambiguous, ask which matching row they mean; do not ask them to find a session ID.
3. Resume the selected conversation
Recheck the selected transcript and checkout immediately before launching. Resolve the actual OmO launcher from the installed environment; do not substitute a plain Pi launcher that may omit OmO's configuration.
Already running
Establish exact identity using process arguments, reported native session metadata, or the host's session-owner information. Resolve paths and IDs against the selected transcript. If the selected conversation is already running, focus its existing tab or agent instead of opening it again.
If an agent is running in that checkout but its exact conversation cannot be established, inspect further or ask which live conversation to use. Never launch a possible duplicate simply because Herdr omits native session metadata.
Saved conversation with an existing checkout
Reuse the task's existing child workspace. If its checkout is registered but its workspace is closed, reopen that existing checkout under the main-project group:
herdr worktree open --workspace "$HOME_WORKSPACE" \
--path "$TASK_CHECKOUT" --no-focusThis is open, not create: do not create another branch, checkout, or root
group. Read returned IDs and check existing agents before opening anything else.
Reuse a verified idle shell at the recorded cwd; otherwise create a tab inside
that same task workspace with --cwd "$SESSION_CWD" --no-focus. Sessions recorded
in the main checkout use the existing main workspace instead.
In the verified shell, use herdr pane run to start the resolved OmO launcher with
--session and the exact absolute transcript path.
Shell-quote every argument; do not interpolate task text into a shell command.
Do not use --continue, an ambiguous UUID prefix, --fork, --rebind, or a shared
--session-dir to approximate resuming the selected session. The process cwd
must match its saved checkout, not the main folder.
Observe startup with a subscription, not a sleep: from eval, run
tool.monitor({ command: "herdr agent wait <pane> --timeout 120000 && echo READY", filter: "^READY$" })
(or hc wait <t> under Herdr.app). Then inspect the new pane's
herdr pane process-info --pane <pane> and OmO startup output. Verify the selected conversation's
identity and actual working directory; agent detection alone is not proof.
If a dialog appears, report it and follow the host's interaction rules. Do not
answer it automatically.
Once verified, focus the new tab for the requested resume. The original main pane and its cwd remain unchanged.
Missing checkout or unavailable terminal
Keep the saved conversation visible, but report that its original files are unavailable. Never silently resume against the main checkout. Offer a separate, explicit recovery decision: restore a known branch into an isolated checkout, or inspect the transcript without executing its tasks. A branch cannot restore discarded uncommitted files.
If Herdr is unavailable, listing and a resume preview can still finish. Report interactive resume as unavailable rather than claiming a command preview is an opened conversation.
Checks and reporting
listis complete when the project-scoped candidates are shown and truncation, inaccessible stores, or uncertain historical membership are explicitly stated.newis complete only after one named task is linked to the existing project group, its code checkout is separate, and its new OmO conversation is ready. Verify the main pane and checkout are unchanged. See the creation reference.resumeis complete only when the exact selected conversation is visible in its correct checkout and the main pane remains in its original directory.- Never send a work prompt merely to test a resumed session.
- If startup fails, inspect the created pane before retrying. Keep it for diagnosis; report its ID rather than closing unrelated panes.
- Report the conversation name, branch/checkout status, and opened tab or reused pane. State any identity or startup check that remains unverified.
- Explain deletion accurately: ordinary worktree removal does not itself remove transcripts in the separate session store, but it can remove code needed for a faithful resume. Never promise that cleanup hooks preserve every artifact.
Invocation and maintenance
/skill:project-sessions new fix-login
/skill:project-sessions list
/skill:project-sessions resume the gateway conversationKorean requests also work (새 작업으로 "로그인 수정" 열어줘). After installation run /reload or start a new session. This does
not change bare omo -r or the native /resume picker.
references/evidence.md carries the verified mechanisms and limits. Recheck after a session-format, Herdr, or session-finder change.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

