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.
git 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/commands/mozurok/fhorja.dev/task-workspace)<a href="https://agentmods.dev/commands/mozurok/fhorja.dev/task-workspace"><img src="https://agentmods.dev/badge/commands/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.
<a href="https://agentmods.dev/commands/mozurok/fhorja.dev/task-workspace"><img src="https://agentmods.dev/badge/commands/mozurok/fhorja.dev/task-workspace.svg" alt="Reviewed on agentmods" width="80" 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.00092 | $0.04346 |
| Opus 5.5 | $0.00037 | $0.01738 |
| Sonnet 5.5 | $0.00018 | $0.00869 |
| Haiku 4.5 | $0.00009 | $0.00435 |
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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
task-workspace
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-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):
- 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-docson 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.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 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 nowline) 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: nonewithMode: N/Adeclares 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, 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)
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.
- 1mo ago Changed · +92 tokens per session 5418237a2971
- 1mo ago Changed · +1 lines 0b830aa84882
- 2mo ago Changed · -1 lines ddcf63abdb98
- 2mo ago Changed · +2 lines 42fababf9073
- 2mo ago First seen · 123 lines · 0 tokens per session scan A 930968b0ca18
task-workspace is a command 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,346 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.
task-workspace compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| task-workspaceMozurok/fhorja.dev | Command | 10 | 1mo ago | MIT | A | 92 | Claude Code |
| ijfw-shipFerroxLabs/ijfw | Command | 214 | today | MIT | A | 32 | Claude Code |
| autocommitrandomittin/heimdall | Command | 5 | 4d ago | MIT | A | 32 | Claude Code |
| taskstoissuesChappygo-OS/Atomic-Spec | Command | 10 | 24d ago | MIT | A | 21 | Claude Code |
| release-builderzxpmail/ReqForge | Command | 18 | 12d ago | MIT | A | 10 | Claude Code |
| reqforge-greenkeeperzxpmail/ReqForge | Command | 18 | 12d ago | MIT | A | 10 | Claude Code |
| worktreepermanu/superskill | Command | 19 | 20d ago | Apache-2.0 | A | 14 | Claude Code, OpenCode |