task-workspace

task-workspace is a skill for Claude Code from Mozurok/fhorja.dev. It costs 92 tokens per session (4,312 once invoked), scanned A, original, MIT.

A workflow for creating or reporting a dedicated Git worktree and branch for an engineering task. A worktree is a separate working directory connected to the same Git repository.

In plain words
What is it for?
Use it to provision, inspect, or attach a task-specific worktree when the project is a Git repository and isolation is requested.
Why use it?
It lets parallel tasks work in isolation without changing the same checked-out files or branch.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it to provision, inspect, or attach a task-specific worktree when the project is a Git repository and isolation is requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mozurok/fhorja.dev/task-workspace
Install

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.

Any agent
npx skills add Mozurok/fhorja.dev --skill task-workspace
Clone the repo
git clone --depth 1 https://github.com/Mozurok/fhorja.dev

Made for: Claude Code.

Wrote 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.

agentmods badge for task-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/mozurok/fhorja.dev/task-workspace/github.svg)](https://agentmods.dev/skills/mozurok/fhorja.dev/task-workspace)
Your own site
<a href="https://agentmods.dev/skills/mozurok/fhorja.dev/task-workspace"><img src="https://agentmods.dev/badge/skills/mozurok/fhorja.dev/task-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for task-workspace

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,312 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.04312
Opus 5.5 $0.00037 $0.01725
Sonnet 5.5 $0.00018 $0.00862
Haiku 4.5 $0.00009 $0.00431

Measured 1mo ago against content hash 0c091590d942, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

.claude/skills/task-workspace/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 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. On an attended run with a remote, task-init also creates the task branch in place, with no worktree (ADR-0233); this command is for a task that needs a second working tree. 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-close runs git worktree remove plus git worktree prune with 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):

  • Resolving the spec and wos/<topic>.md: canonical repository FIRST. Otherwise use active-adapter docs: ~/.claude/workflow-docs (CLAUDE_WORKFLOW_DOCS_DIR), ~/.cursor/workflow-docs (WORKFLOW_DOCS_DIR; project .cursor/workflow-docs on project installs), ~/.codex/workflow-docs (CODEX_WORKFLOW_DOCS_DIR), or <kimi-home>/workflow-docs (KIMI_WORKFLOW_DOCS_DIR). Nonempty overrides win. Kimi home: KIMI_CODE_HOME, else existing ~/.kimi-code, else existing ~/.kimi, default ~/.kimi-code. Use one root for both paths; try other adapters if absent or unknown. Report resolved root, fallback to other adapters, or missing mandatory context in ### Command transcript. Installed snapshots refresh and prune retired topics only on sync.
  • Read these sections in WORKFLOW_OPERATING_SYSTEM.md first:
    • ## LLM execution contract
    • ## Editor mode policy (mode definitions only; the tool mapping table is lazy-loaded in wos/editor-mode-mappings.md and 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 in wos/multi-repo-support.md)
  • Read the active task's memory:
    • SOURCE_OF_TRUTH.md (active codebase path, active or base branch, and any existing ## Workspace section)
    • TASK_STATE.md (task slug, current phase, whether isolation was requested)
  • Read canonical command inventory when a clone is available; otherwise use installed Fhorja commands and skills.
  • 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 now line) MUST use a registered canonical command name or available installed Fhorja command or skill. Never invent names (invalid: worktree-add, task-worktree, provision). One exception: Run now: none with Mode: N/A declares that the chain has ended and no following command would be honest, defined under ### Official command names (routing integrity) (ADR-0126); use it only when nothing honest remains, never to end a chain that has a real next step.

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, or attach (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)

Read the full file on GitHub · 120 lines

Changes

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.

  1. 1mo ago Changed · -58 tokens per session 0c091590d942
  2. 1mo ago Changed · +1 lines 071d3f5c0a61
  3. 2mo ago Changed · -1 lines 987efc376e26
  4. 2mo ago Changed · -12 lines 617bd2778edd
  5. 2mo ago First seen · 132 lines · 150 tokens per session scan A 6251ae763d09

Subscribe to this mod's changes

task-workspace is a skill published in the GitHub repository Mozurok/fhorja.dev (10 stars, last pushed 1mo ago), licensed MIT. It adds 92 tokens to every session and 4,312 once invoked, about $0.0004 per session on Opus 5.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.

Related

task-workspace compared with skills from other repositories

task-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
task-workspaceMozurok/fhorja.devSkill101mo agoMITA92Claude Code
work-unit-commitsGentleman-Programming/gentle-aiSkill9.7ktodayMITA31Claude Code, Codex
chinese-commit-conventionsjnMetaCode/superpowers-zhSkill8.6k15d agoMITA65Claude Code
memorix-git-memoryAVIDS2/memorixSkill9583d agoApache-2.0A31Claude Code
ijfw-commitFerroxLabs/ijfwSkill214todayMITA22Claude Code
shiplogdevallibus/shiplogSkill572d agoMITA44Claude Code
papi-buildgetpapi/papiSkill1313d agoMITA26Claude Code