create-task
Skill0 starsChanged 36 days agoMITView on GitHub
Turn a spec, ticket or PR into a Crucible benchmark task (.crucible/tasks/<id>/ with task.md, check.sh and hidden tests) that points at a real repo. Use when the user wants to create, import or write a benchmark task, or says "make a task from this ticket/spec".
- Installs packages
13 other projects use a version of this.
Adopted by
Most recently taken up by
- fitlab-ai/agent-infratheir own version, first seen Oct 27, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 23, 2026
- luckyfoxdesign/llm-settings-templatetheir own version, first seen Oct 15, 2026
- cerbos/skillstheir own version, first seen Oct 15, 2026
- thiennq/skillstheir own version, first seen Oct 13, 2026
- ModelEngine-Group/fit-frameworktheir own version, first seen Oct 8, 2026
Used with
Projects with it also use harbor-exec and rewardkit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Arize-aiSkillharbor-exec
Use when working with Harbor's `harbor exec` CLI workflow: compiling files, directories, or globs into Harbor tasks; running map jobs; configuring artifacts and existence-only verification; using map-reduce; writing or reviewing ExecConfig YAML/JSON/TOML; or debugging command behavior, config validation, and job outputs.
Also in 4 projects that use this
Arize-aiSkillrewardkit
Write Harbor task verifiers using Reward Kit. Use when creating or editing a
Also in 4 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- Arize-ai/phoenix★ 12ksame name
- harbor-framework/harbor★ 6.9ksame name
- laude-institute/harbor★ 6.9ksame name
- ModelEngine-Group/fit-framework★ 2.1ksame name
- fitlab-ai/agent-infra★ 87same name
- cerbos/skills★ 5same name
- juanitourquiza/shipframe★ 4same name
- zahardev/aicontext★ 2same name
- dazzlerkumar/SKILLS★ 1same name
- gioe/tusk★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
If the repo has merged PRs and the user wants many tasks from them, suggest /crucible:mine (it lists, verifies and scaffolds tasks from …
- Very specific: line 16
If the repo has no .crucible/ directory, run crucible init first (it needs a git repo).
- Very specific: line 39
Run crucible task new <id> (add --ref <sha> to start from another commit), then fill in .crucible/tasks/<id>/task.md:
- Very specific: line 46
Delete any scaffolded fixture/ directory when the task uses a real repo.
- Distinctive: line 51
Do not include the solution, hints from the real fix, or anything a model could copy.
- Distinctive: line 75
If a criterion can't be tested automatically, leave it to the judge and say so in your summary.
- Distinctive: line 76
Never put secrets in the task.
- Distinctive: line 89
If a known-good solution exists (the merged fix commit), export that and confirm the check
- Distinctive: line 90
passes: If it fails there, the check is wrong, not the solution.
- Distinctive: line 91
Delete the temp dirs afterwards.
- Very specific: line 104
Do not start a real run yourself.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a Crucible task
If the repo has merged PRs and the user wants many tasks from them, suggest /crucible:mine
(it lists, verifies and scaffolds tasks from merged PRs) instead of writing tasks one by one.
Produce a task in .crucible/tasks/<id>/ of the current repo that validates and that every model
config can run unchanged. Use the crucible command (on PATH while the plugin is enabled).
0. Make sure there is a Crucible home
If the repo has no .crucible/ directory, run crucible init first (it needs a git repo). Run
every later crucible command from inside the repo. The task format is a task.md with
## What, ## Why and ## Acceptance criteria sections; the scaffold from step 2 shows the
exact front matter.
1. Gather inputs (ask only for what's missing, one question at a time)
- Source material: the spec, ticket text, PR, or context files. If the user names a ticket or PR and you have a tool or MCP connection that can read it, fetch it yourself.
- Target repo: defaults to the current repo (
crucible task newfills in its root). Ask only if the user wants a different local clone. Fixture tasks (repo: fixture) are for small self-contained exercises only. - Starting ref: the commit the agent starts from. For a merged PR, use the PR's base commit
(the parent of the fix), never the fix itself. Otherwise the default is the repo's current
HEAD(crucible task newpins its SHA); it warns if the working tree is dirty: uncommitted changes are not included. - Kind:
feature,bugfix,refactor,docs,test, or the user's own label. Reports group recommendations by kind, so reuse existing kinds (grep -h '^kind:' .crucible/tasks/*/task.md). - Task id: kebab-case,
^[a-z0-9][a-z0-9-]{0,63}$, and not already in.crucible/tasks/.
2. Scaffold and write task.md
Run crucible task new <id> (add --ref <sha> to start from another commit), then fill in
.crucible/tasks/<id>/task.md:
- Frontmatter:
repo:andref:are prefilled for the host repo (a full commit SHA, never a branch name, so the task never drifts); only change them for a PR base commit or another clone. Setkind:,check: ./check.sh, andtimeout_minutes/max_turnssized to the work (defaults 30 / 100). - Delete any scaffolded
fixture/directory when the task uses a real repo. - What: the change to make, in the ticket's own terms. Name the files or areas involved if the source does.
- Why: the motivation from the source.
- Acceptance criteria: one observable, testable bullet each. They are what the judge grades.
- Do not include the solution, hints from the real fix, or anything a model could copy. The same text goes to every config.
- No
_(…)_placeholders may remain.
3. Write the check (the most important part)
The check is the deterministic success signal. Put tests the agent must not see in
.crucible/tasks/<id>/hidden_tests/. The workspace never contains the task directory.
check.sh runs with the workspace as cwd. It installs dependencies (they are not in the
workspace; only tracked files are), copies the hidden tests in, and runs them:
#!/usr/bin/env bash
set -euo pipefail
T="${CRUCIBLE_TASK_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
# install deps, e.g.: npm ci --silent | uv sync -q | pip install -q -e .
# cp -R "$T/hidden_tests/." <where the repo's tests live>/
# run only the hidden tests, e.g.: npx vitest run <paths> | uv run pytest -q <paths>- From a merged PR: copy the tests the PR added or changed into
hidden_tests/. - Without one: write tests from the acceptance criteria. Keep them strict but not tied to one implementation.
- If a criterion can't be tested automatically, leave it to the judge and say so in your summary.
- Never put secrets in the task. If tests need env vars, use their names and tell the user.
4. Prove the check works
Export the starting tree and run the check against it:
T="$PWD/.crucible/tasks/<id>"
W=$(mktemp -d) && git -C <repo> archive <ref> | tar -x -C "$W"
(cd "$W" && CRUCIBLE_TASK_DIR="$T" bash "$T/check.sh"); echo "exit=$?"- It must fail on the starting ref. If it passes, the task is already solved; fix the tests.
- If a known-good solution exists (the merged fix commit), export that and confirm the check passes. If it fails there, the check is wrong, not the solution.
- Delete the temp dirs afterwards.
5. Validate and hand off
crucible task validate .crucible/tasks/<id>must printok: <id>.crucible run .crucible/tasks/<id> --matrix default --dry-runshows the planned attempts.- Give the user a short summary: the task id, kind, repo and ref, how many criteria, which
criteria the check covers and which only the judge covers, and whether step 4 confirmed
fail-before and pass-after. Then give the run command
(
/crucible:run <id> --matrix default --repeat 3, orcrucible run .crucible/tasks/<id> --matrix default --repeat 3).--judgeis optional when the task has acheck.sh(the check decides success and the judge is only advisory); add it only for a task with no check or when the user wants the extra opinion. - Do not start a real run yourself; it spends the user's usage. Do not commit unless asked
(
.crucible/results/is git-ignored; tasks are yours to commit).
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.

