Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Mozurok/fhorja.dev --skill task-workspacegit clone --depth 1 https://github.com/Mozurok/fhorja.devWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mozurok/fhorja.dev/task-workspace)<a href="https://agentmods.dev/skills/mozurok/fhorja.dev/task-workspace"><img src="https://agentmods.dev/badge/skills/mozurok/fhorja.dev/task-workspace.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00150 | $0.03577 |
| Opus 5 | $0.00075 | $0.01788 |
| Sonnet 5 | $0.00030 | $0.00715 |
| Haiku 4.5 | $0.00015 | $0.00358 |
Grade A, and why
task-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Act as a senior/staff engineering workflow workspace operator.
Goal: Provision a dedicated git worktree and branch for the active task on a git-backed project (or report the current one, or attach one to a task already in progress), so several tasks run in parallel on the same repository without colliding on one working tree or one checked-out branch. This is opt-in, git-gated, and additive: when isolation is not requested or the project is not a git repo, this command is a no-op and every other command behaves exactly as today.
This command is distinct from:
implement-fleet: which creates ephemeral, slice-level worktrees for parallel slices inside one task and tears them down at the wave merge. task-workspace creates one durable worktree for the whole task. When a task worktree is active, fleet slice worktrees branch from the task branch, not the repo base (ADR-0074 D-3).task-init: which creates the task memory folder and can invoke this command during initialization when isolation is requested. task-workspace owns only the git worktree lifecycle, not the task-memory files.task-close: which owns teardown. task-workspace never removes a worktree;task-closerunsgit worktree removeplusgit worktree prunewith an unclean-tree guard (ADR-0074 D-5, D-6).
See ADR-0074 for the contract this command implements.
Mandatory context bootstrap (before any output):
- Read these sections in
WORKFLOW_OPERATING_SYSTEM.mdfirst:## LLM execution contract## Editor mode policy(mode definitions only; the tool mapping table is lazy-loaded inwos/editor-mode-mappings.mdand needed only for non-Claude-Code tools)## Global output contract(including Adaptive handoff and Mode selection rule)## Cross-cutting workflow guardrails
- Read additional sections only when relevant to this command's role:
## Multi-repo support (v1)(the SOURCE_OF_TRUTH workspace schema this command reads and writes; full detail inwos/multi-repo-support.md)
- Read the active task's memory:
SOURCE_OF_TRUTH.md(active codebase path, active or base branch, and any existing## Workspacesection)TASK_STATE.md(task slug, current phase, whether isolation was requested)
- Read the
commands/directory command inventory to ensure command names and availability are current. - Align all routing recommendations and next-command suggestions with the current command set.
- Official next-command names only: every recommended next command (including the handoff
Run nowline) MUST be the basename of an existingcommands/<name>.mdfile in this workflow repository. Never invent names (invalid:worktree-add,task-worktree,provision).
Required inputs:
- active task folder path (
projects/<client>__<project>/active/YYYY-MM-DD_<task-slug>/) - SOURCE_OF_TRUTH.md (the target codebase path and its base branch)
- TASK_STATE.md (the task slug, used to derive the branch and worktree names)
- the requested action:
provision(default),status, orattach(retrofit a worktree onto an in-flight task) - intended editor mode (Agent to actually run git and persist the SOURCE_OF_TRUTH write; Ask or Plan to dry-run the proposed commands without touching the filesystem)
Operating rules:
- Do not implement production code. This command manages the git worktree lifecycle and writes one SOURCE_OF_TRUTH section; it changes no product code.
- Handoff: end with the adaptive
### Handoffblock perWORKFLOW_OPERATING_SYSTEM.md## Global output contract(Mode A compact or Mode B full). - Git-gate first (ADR-0074 D-2). Run
git rev-parse --is-inside-work-treeon the target codebase path. IF it is not a git repository, return a shortNO_OP_TRACEnaming the gate and stop: this command does nothing on non-git projects, and the task continues on the single working tree unchanged. WHENSOURCE_OF_TRUTH.md ## Active codebase / repocarries aRecommended action:line fromtask-init's Git-authority preflight, theNO_OP_TRACESHALL cite that recommended action verbatim (for examplegit init -b main, requires human authorization) instead of only naming the gate, so the no-op still moves the git-authority decision forward. Zero new calls: this reuses thegit rev-parseresult and theSOURCE_OF_TRUTH.mdread this command already performs. - Opt-in (ADR-0074 D-2). Provision only when isolation is explicitly requested (the
provisionorattachaction, or an opt-in signal fromtask-init). Never provision a worktree as a side effect of another action. When isolation is not requested, this command is a no-op. - Naming conventions (ADR-0074). Let
<task-dir>be the full task-folder name (YYYY-MM-DD_<task-slug>, theactive/directory name, not the bare slug) so branch names stay unique across dates. Derive the task branch astask/<task-dir>and the worktree path as../<repo-basename>-worktrees/<task-dir>. Keep the worktree outside the main working tree so it is never nested inside the tracked repo. - Provision action. In Agent mode, create the worktree and branch off the base branch:
git worktree add -b task/<task-dir> ../<repo-basename>-worktrees/<task-dir> <base-branch>. The new worktree's HEAD comes from the base branch's committed HEAD, so uncommitted work in the main tree is not carried over (git-scm behavior; seeREFERENCES.md). In Ask or Plan mode, emit the exact command as aPROPOSEDstep and do not run it. - Branch-collision handling (git one-checkout-per-branch rule). A branch checks out in only one worktree at a time. Before
add, checkgit worktree listandgit branch --list task/<task-dir>. IFtask/<task-dir>already exists and is checked out in another worktree, do NOT--force; stop and surface the collision so the user renames or reuses it. IF the branch exists but is not checked out anywhere, attach it withgit worktree add ../<repo-basename>-worktrees/<task-dir> task/<task-dir>(no-b). - Attach action (retrofit). For a task already in progress, run the same provisioning against the current base branch and record the result, without touching any task-memory file other than the SOURCE_OF_TRUTH
## Workspacewrite below. This is the path that adopts a running task. - Status action. Report the task's worktree path, branch, and
git worktree liststate read-only; write nothing. - Record the workspace (substrate write). On a successful provision or attach, write a
## Workspacesection intoSOURCE_OF_TRUTH.mdwith the worktree path, the task branch, and the base branch it was cut from. This is a substrate write: followcommands/_shared/substrate-write-protocol.md(transaction header above the section, one audit line in.wos/VERIFICATION_LOG.jsonl). This is the only file this command writes. - Distinct from fleet (ADR-0074 D-3). Do not create, merge, or remove any
implement-fleetslice worktree. When a task worktree is active,implement-fleetbranches its slice worktrees offtask/<task-dir>; that behavior lives inimplement-fleet, not here. - Never tear down. This command does not remove worktrees or delete branches. Teardown is
task-close's responsibility (ADR-0074 D-5, D-6). If the user asks to remove a worktree, route totask-close. - Idempotency and no-op. IF the task already has a
## Workspacesection pointing at a live worktree (present ingit worktree list), return a shortNO_OP_TRACE; do not re-add or rewrite. - Multi-repo tasks (a
## Repositoriessection inSOURCE_OF_TRUTH.md) are out of scope for this version: do NOT provision. Return a short refusal naming multi-repo worktree provisioning as unsupported in v1, and ask the user to name the single repo to isolate (or to rungit worktreeper repo by hand). Never silently pick one repo out of several.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 132 lines · 150 tokens per session scan A 6251ae763d09
task-workspace is a skill published in the GitHub repository Mozurok/fhorja.dev (6 stars, last pushed 22d ago), licensed MIT. It adds 150 tokens to every session and 3,577 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
ijfw-commit
Terse conventional commits. Trigger: commit, git commit, /ijfw-commit.
Implement
Implement one micro spec — one commit, one PR. The micro spec is the complete instruction set; write only the files in its File Operations table, verify against its acceptance criteria, commit.
chinese-commit-conventions
A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.
gentle-ai-collab-perfect
Trigger: contributing to Gentleman-Programming/gentle-ai as an external collaborator. Strict issue-first workflow, honest PR bodies, contributor-vs-maintainer scope, chained-PR strategy, verification protocol, docstring coverage. Load whenever the active repo is Gentleman-Programming/gentle-ai and any part of the…
branch-pr
Create Gentle AI pull requests with issue-first checks. Trigger: creating, opening, or preparing PRs for review.