by MOHJRNL
Low-context multi-agent task delegation for coding agents. Delegate bounded implementation work to OpenCode, Codex, and Claude with compact briefs, safe execution, and structured results.
# Add to your Claude Code skills
git clone https://github.com/MOHJRNL/task-delegateGuides for using ai agents skills like task-delegate.
task-delegate is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by MOHJRNL. Low-context multi-agent task delegation for coding agents. Delegate bounded implementation work to OpenCode, Codex, and Claude with compact briefs, safe execution, and structured results. It has 0 GitHub stars.
task-delegate's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/MOHJRNL/task-delegate" and add it to your Claude Code skills directory (see the Installation section above).
task-delegate is primarily written in JavaScript. It is open-source under MOHJRNL on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh task-delegate against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
TaskDelegate is a low-context delegation skill and CLI that lets coding agents hand off bounded implementation tasks to CLI coding agents through compact briefs, safe execution modes, bundled adapters, and structured results.
The first version is intentionally lean:
safe-autoresult.jsonMost orchestrator agents waste context when they try to inspect, implement, debug, and review everything inside one conversation. TaskDelegate moves implementation-heavy work into a separate CLI-agent run and returns only a compact result for review.
orchestrator agent
→ compact brief
→ backend adapter
→ CLI coding agent
→ result.json + logs + diff metadata
→ orchestrator review
→ human/orchestrator commit
| Backend | Status | Default mode | Recommended use |
|---|---|---|---|
| OpenCode | Stable | safe-auto |
Mechanical edits, small features, tests, refactors |
| Codex | Experimental | manual |
Reasoning-heavy implementation or second pass |
| Claude Code | Experimental | manual |
Complex refactor, architecture-sensitive work, planning/review |
opencodecodexclaudehttps://github.com/MOHJRNL/task-delegate
TaskDelegate supports two public usage paths.
Install the skill from this GitHub repository:
npx skills add MOHJRNL/task-delegate --skill task-delegate
This copies the skills/task-delegate package, including scripts, references, and adapters. No separate adapter install is required.
Before npm publishing, run directly from GitHub:
npx github:MOHJRNL/task-delegate --help
npx github:MOHJRNL/task-delegate doctor
After publishing to npm, users can run without a global install:
npx task-delegate --help
npx task-delegate doctor
npx task-delegate run --backend opencode --mode safe-auto --brief brief.md --cd .
Recommended pinned usage after release:
npx task-delegate@0.1.0 --help
Bundled:
task-delegate CLItask-delegate skillExternal prerequisites:
opencode, codex, or claudeAdapters are wrappers. They are intentionally bundled. Backend CLIs are not bundled because they have their own installation, authentication, permissions, model access, and release cadence.
npm test
npm run check
npm run pack:dry-run
Run the CLI locally from the repo:
node bin/task-delegate.mjs --help
node bin/task-delegate.mjs doctor
node bin/task-delegate.mjs list-backends
Dry run without launching a backend:
npm run dry-run
Delegate to OpenCode:
task-delegate run \
--backend opencode \
--mode safe-auto \
--brief examples/brief.sample.md \
--cd /path/to/project
Delegate to Codex manually:
task-delegate run \
--backend codex \
--mode manual \
--brief examples/brief.sample.md \
--cd /path/to/project
Delegate to Claude Code in plan mode:
task-delegate run \
--backend claude \
--mode plan \
--brief examples/brief.sample.md \
--cd /path/to/project
If a user wants to copy the skill directly from the npm package into a local agent project:
npx task-delegate install-skill --dest .claude/skills
This installs:
.claude/skills/task-delegate/
├── SKILL.md
├── scripts/
└── references/
The adapter scripts are included. No separate adapter package is needed.
TaskDelegate is npm-ready. The package exposes a CLI binary through the bin field:
{
"bin": {
"task-delegate": "bin/task-delegate.mjs"
}
}
Before the first public release:
npm login
npm run prepublishOnly
npm publish
If the unscoped package name task-delegate is unavailable, switch to a scoped package name, for example:
{
"name": "@mohjrnl/task-delegate",
"bin": {
"task-delegate": "bin/task-delegate.mjs"
},
"publishConfig": {
"access": "public"
}
}
Then users can run:
npx @mohjrnl/task-delegate --help
Each run writes to:
.task-delegate/runs/<timestamp>-<backend>/
├── result.json
├── stdout.log
├── stderr.log
├── prompt.md
├── git-before.txt
├── git-after.txt
├── diff-stat.txt
└── changed-files.txt
result.json is intentionally compact so the orchestrator does not need to load long logs into context.
| Mode | Meaning |
|---|---|
plan |
Ask the backend to analyze and propose a plan only. |
manual |
Run with conservative/manual permissions where supported. |
safe-auto |
Allow non-interactive execution with guardrails. Stable only for OpenCode in v0.1. |
TaskDelegate does not claim to make CLI agents safe by itself. It creates a safer operating loop:
OPENCODE_PERMISSIONTaskDelegate is designed to run inside a Git repository so it can capture:
For a new test project:
git init
echo ".task-delegate/" >> .gitignore
git add .
git commit -m "Initial project"
The .task-delegate/ directory contains run outputs and should normally be ignored.
Unexpected server errorFirst test OpenCode directly:
opencode run --pure --print-logs --log-level DEBUG "Say hello and do not edit files."
If the logs show ProviderModelNotFoundError, your default OpenCode model is invalid or no longer available.
List available models:
opencode models
Then pass a valid model explicitly:
npx github:MOHJRNL/task-delegate run \
--backend opencode \
--mode safe-auto \
--brief brief.md \
--cd . \
--model zai-coding-plan/glm-4.7
The --model flag is optional, but useful when the default OpenCode model is not configured correctly.
Some OpenCode-hosted models may require billing. If you see a No payment method error, choose another available model or configure billing in OpenCode.
If TaskDelegate is installed both globally and for Claude Code, OpenCode may warn about duplicate skill names, for example:
duplicate skill name task-delegate
This is usually harmless. It means the same skill exists in more than one skill location, such as:
~/.agents/skills/task-delegate
~/.claude/skills/task-delegate
TaskDelegate uses Apache-2.0 with a NOTICE file. Forks and redistributed derivative packages should preserve the license and NOTICE attribution. GitHub forks will also show the upstream relationship automatically when created through GitHub.