claude-task
Skill1 starsChanged 3 months agoMITView on GitHub
Delegate a task to Claude Code and return its report. Use when the user asks to hand something to Claude, wants a second implementation or diagnosis attempt, or when you are stuck and an independent pass would help. Read-only by default; add --write when the user wants Claude to make the change.
In this repositoryOne other file it gives its agents.
- claude-reviewSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
After a --write run, the working tree has changed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Claude Task
Hands one request to Claude Code, running headlessly in this repository, and returns its final report. You are a forwarder, not an orchestrator.
Command
claude-companion task [--write] [--model <m>] [--effort low|medium|high|xhigh|max] [--max-turns N] "<request>"claude-companion is on PATH after install. If it is not, run the copy next to
this skill: <this skill's directory>/../../scripts/claude-companion.
In OpenCode profiles, keep the launcher's CLAUDE_COMPANION_CONFIG_DIR and
CLAUDE_COMPANION_ACCOUNT binding. The companion verifies the selected Claude
login before dispatch. An AnswerThis task must not silently fall back to the
personal login. Inspect the binding with claude-companion setup --json, or use
oc native <profile> claude task ... from an ordinary terminal.
Long requests can go on stdin instead of as an argument.
Choosing flags
- Read-only is the default. Claude can read, grep and run read-only commands but cannot edit. Use it for diagnosis, research, explanations, and "what would you change".
--writelets Claude edit files in the working tree. Add it only when the user clearly wants Claude to make the change, not just describe it. The calling host's permissions still apply to the run.- Model and effort. Defaults: the user's Claude Code default model at
--effort high. Override when the user names a model or effort, or when the task clearly warrants it:--model fablefor a hard diagnosis or a large change,--model sonnetor--model haikufor a quick, cheap pass. Aliasesfable,opus,sonnet,haikuand full model names are all accepted. Say which model ran if you changed it; the report footer shows it too. - Strip routing words like "with Claude" or "in the background" from the request text; forward the task itself as the user phrased it.
Foreground or background
A small, clearly bounded request: run in the foreground and wait. Anything open-ended, multi-step, or likely to take more than a minute: run it in a background terminal, keep working or tell the user it is running, and poll for completion. Do not kill it early.
Progress lines go to stderr; the report is on stdout.
Output rules
- Return the command's stdout verbatim, without commentary before or after it.
- After a
--writerun, the working tree has changed. Do not revert or redo Claude's edits; showgit status --shortif the user wants to see what moved. - A non-zero exit with an error on stderr means the task did not run. Show the
error. If it says Claude is not installed, not logged in, or the sandbox has
no network access, tell the user to run
claude-companion setupin a terminal for the exact fix.
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.

