scaffold-task
Scaffold a new Harbor-compatible benchmark task (SDLC or org-scale) and optionally a new benchmark suite.
Skill by sourcegraph
Chalk Labs
Need help deploying scaffold-task?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sourcegraph-scaffold-task
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/scaffold-task
What's inside
- Skill name
scaffold-task- Description
- Scaffold a new Harbor-compatible benchmark task (SDLC or org-scale) and optionally a new benchmark suite. Generates task.toml, instruction.md, Dockerfile, test.sh, and registers the task. Triggers on scaffold task, new task, create task, add task, new benchmark.
- License
- Apache-2.0
- Instructions
- 837 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 837 lines (spec recommends under 500)
- files: referenced but missing: scripts/generate_csb_org_tasks.py
Files (1)
- SKILL.md
SKILL.md (first lines)
# Scaffold Task
Interactively scaffold a new Harbor-compatible benchmark task for CodeScaleBench. Supports both **SDLC tasks** (code changes in a single repo) and **org-scale tasks** (cross-repo discovery, compliance, incident triage — artifact-based evaluation). Generates all required files and registers the task in the selection registry.
This is an **interactive skill**. Walk the user through configuration using AskUserQuestion in multiple phases. Do NOT generate files without first collecting all required inputs.
---
## Phase 1: Mode Selection
Ask one question:
**Question 1** — Header: "Mode"
- Question: "What would you like to create?"
- Options:
- **Add SDLC task to existing suite** — "Create a new task in an existing csb_sdlc_* benchmark (agent makes code changes)"
- **Add org-scale task to existing suite** — "Create a new task in an existing csb_org_* benchmark (agent produces an answer artifact)"
- **Create new SDLC suite** — "Create a new csb_sdlc_* benchmark with its first task and run config"
- **Create new org-scale suite** — "Create a new csb_org_* benchmark with its first task and run config"
Set `{TASK_FAMILY}` to either `sdlc` or `org` based on the selection.
---
## Phase 2: Core Details
Ask 3-4 questions depending on mode.
### If adding to existing SDLC suite:
**Question 1** — Header: "Benchmark"
- Question: "Which SDLC benchmark suite?"
- Options:
- **swebenchpro** — "Real-world SWE across repos (Go, TS, Python)"
- **pytorch** — "PyTorch PR-level tasks (Python/C++)"
- **locobench** — "Long-context understanding (mixed languages)"
- **k8sdocs** — "Kubernetes documentation (Go)"
- Note: User can type "Other" for tac, largerepo, sweperf, crossrepo, dibench
### If adding to existing org-scale suite:
**Question 1** — Header: "Benchmark"
- Question: "Which org-scale benchmark suite?"
- Options:
- **crossrepo** — "Cross-repo dependency tracing"
- **crossrepo_tracing** — "Cross-repo config/dep tracing with provenance"
- **crossorg** — "Cross-organization discovery"
- **compliance** — "Compliance audit tasks"
- **migration** — "Migration inventory and planning"
- **incident** — "Incident debug and triage"
- **onboarding** — "Onboarding comprehension"
- **domain** — "Domain lineage tasks"
- **platform** — "Platform knowledge tasks"
- **security** — "Vulnerability remediation"
- **org** — "Agentic correctness"
### If creating new suite:
Prompt the user (not AskUserQuestion) to provide:
- **Suite name**: Will become `csb_{sdlc|org}_{name}` (lowercase, alphanumeric + hyphens)
Then ask:
**Question 1** — Header: "Language"
- Question: "Primary language for this benchmark?"
- Options:
- **python** — "Python 3.11 base image"
- **go** — "Go 1.23 base image"
- **typescript** — "Node 20 base image"
- **cpp** — "GCC 13 base image"
**Question 2** — Header: "Difficulty"
- Question: "Task difficulty level?"
- Options:
- **medium** — "1-3 files changed, straightforward"
- **hard** — "4-10 files or complex logic"
- **very_hard** — "10+ files, deep codebase knowledge"
- **expert** — "Architectural-level, cross-module"
**Question 3** — Header: "Task type"
- Question: "How is the task environment set up?"
- Options:
- **repo-clone** — "Clone a git repo at a specific commit (most common)"
- **multi-repo-clone** — "Clone multiple repos (org-scale tasks)" *(org only)*
- **pre-built-image** — "FROM an existing Docker image (e.g., TAC tasks)"
- **standalone** — "Empty workspace, no repo (agent creates everything)"
For existing suites, also ask Language, Difficulty, and Task type (same questions).
---
## Phase 3: Task-Specific Inputs
Prompt the user for these values (use text prompts, not AskUserQuestion since these are free-form):
### SDLC tasks:
| Input | Required | Default | Example |
|-------|----------|---------|---------|
| Task ID | Yes | — | `my-feature-001` |
| Description | Yes | — | "Fix race condition in connection pool" |
| Repo (owner/name) | If repo-clone | — | `pytorch/pytorch` |
| Commit hash | If repo-clone | — | `ca2466126a00ba8fd877f5a185e40e36ddaceb87` |
| Base image | If pre-built | — | `ghcr.io/theagentcompany/tac-base:latest` |
| SDLC phase | Yes | "Implementation (feature)" | See list below |
| Category | Yes | "feature" | `bug_fix`, `refactoring`, `documentation`, etc. |
| Time limit (sec) | No | 900 | `600` |
Valid SDLC phases: "Requirements & Discovery", "Architecture & Design", "Implementation (feature)", "Implementation (bug fix)", "Implementation (refactoring)", "Testing & QA", "Documentation", "Maintenance"
### Org-scale tasks:
| Input | Required | Default | Example |
|-------|----------|---------|---------|
| Task ID | Yes | — | `CCX-crossorg-301` |
| Description | Yes | — | "Trace gRPC service dependency chain across K8s repos" |
| Repos (owner/name) | Yes (1+) | — | `kubernetes/kubernetes`, `kubernetes/client-go` |
| Commit/tag per repo | If repo-clone | — | `v1.32.0` |
| Category | Yes | — | `cross-repo-dep-trace`, `compliance-audit`, etc. |From sourcegraph/CodeScaleBench, Apache-2.0.
More from sourcegraph/CodeScaleBench
- 0.499score
triage-failure
sourcegraph
Investigate a specific failed benchmark task — read logs, identify root cause, check if known pattern, suggest fix.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
check-infra
sourcegraph
Verify infrastructure readiness before launching benchmark runs — tokens, Docker, disk, credentials.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
run-status
sourcegraph
Quick status check on the currently active benchmark run.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
sync-metadata
sourcegraph
Reconcile task metadata between selected_benchmark_tasks.json and task.toml files.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
validate-tasks
sourcegraph
Pre-flight validation of benchmark tasks before launching runs.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
whats-next
sourcegraph
Analyze current benchmark state and recommend what to work on next.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
compare-configs
sourcegraph
Compare benchmark results across agent configurations (baseline, SG_full).
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
archive-run
sourcegraph
Archive old completed benchmark runs to save disk space and speed up scans.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
quick-rerun
sourcegraph
Run a single benchmark task locally to verify a fix.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
cost-report
sourcegraph
Token and cost analysis per run, suite, and config.
SkillDFreshness: D★ 37Claude Code +9 - 0.495score
ir-analysis
sourcegraph
Compute information retrieval quality metrics (precision, recall, MRR, nDCG, MAP) comparing file retrieval across baseline and MCP configs against ground truth.
SkillDFreshness: D★ 37Claude Code +9 - 0.495score
repo-health
sourcegraph
Run the repo health gate before commit or push to reduce doc drift and keep branches clean.
SkillDFreshness: D★ 37Claude Code +9
Signals
- Stars
- 37
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Mar 17, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sourcegraph/CodeScaleBench
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sourcegraph
- 0.499score
archive-run
sourcegraph
Archive old completed benchmark runs to save disk space and speed up scans.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
quick-rerun
sourcegraph
Run a single benchmark task locally to verify a fix.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
check-infra
sourcegraph
Verify infrastructure readiness before launching benchmark runs — tokens, Docker, disk, credentials.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
compare-configs
sourcegraph
Compare benchmark results across agent configurations (baseline, SG_full).
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
cost-report
sourcegraph
Token and cost analysis per run, suite, and config.
SkillDFreshness: D★ 37Claude Code +9 - 0.499score
run-status
sourcegraph
Quick status check on the currently active benchmark run.
SkillDFreshness: D★ 37Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get scaffold-task running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
scaffold-task skill. Agent Mart. https://agentmart.dev/skills/sourcegraph-scaffold-task (last updated 2026-10-24)