Skip to main content
ClaudeWave
Skill1k repo starsupdated 5d ago

create-task

Create an end-to-end Continual Learning Bench task. Use when adding a new src/tasks/<name> benchmark task, including design interview, concrete Jinja prompt templates, JSON action contracts, observation templates, debug schedule, behavioral E2E tests, validation, smoke/debug runs with icl and icl_notepad, and README documentation.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/melandlabs/openloomi /tmp/create-task && cp -r /tmp/create-task/benchmark/continual-learning-bench/skills/create-task ~/.claude/skills/create-task
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Create Task

Create a complete, runnable Continual Learning Bench task under `src/tasks/<task_name>/`.

This skill is intentionally interactive. The goal is not merely to write code; it is to give the human repeated, concrete chances to notice design bugs before they become benchmark bugs.

## Non-Negotiables

- The user **must** provide a task description. If missing, ask for it first.
- Ask questions **one at a time**.
- Ask only high-signal questions that collapse major ambiguity: latent learnable structure, scoring, interaction mode, feedback, debug gain, task name, or model access.
- For every question, provide your recommended answer.
- If a question can be answered by exploring the codebase, explore the codebase instead of asking.
- The task name is public CLI/API surface. Infer a candidate if useful, but require explicit user confirmation before scaffolding.
- The debug model must be decided up front. Ask once which model to use for required `icl` and `icl_notepad` runs; the user may explicitly choose system defaults.
- Run provider preflight immediately after description/model selection. Missing provider/model access is a hard fail.
- Do not implement until the user explicitly approves the prompt, action, observation, debug-gain, and implementation plan gates.
- User-facing action spaces are literal JSON payload shapes and examples. Do **not** show Pydantic or JSON Schema unless explicitly requested.
- Prompt and observation templates live in `src/tasks/<task_name>/prompts.py` as Jinja templates rendered with `StrictUndefined`.
- Hidden ground truth, answer keys, scoring logic, and generators do **not** belong in `prompts.py`.
- Behavioral E2E tests go in `tests/tasks/<task_name>/` and exercise the public task lifecycle.
- No separate implementation report. The task `README.md` is the durable design + results artifact.
- The task `README.md` must follow `references/readme-standard.md`; do not improvise a new report shape.

## Hard STOP Conditions

Stop and ask the user / report the fix before continuing when any of these occur:

1. Missing task description.
2. Missing or unconfirmed task name.
3. Provider preflight fails for `icl` or `icl_notepad`.
4. The user has not explicitly approved the selected prompt/action/observation/debug plan.
5. The design is not a continual-learning benchmark.
6. The debug schedule cannot plausibly show a learning signal.
7. Debug run shows no usable learning signal/gain, or reveals leakage/impossibility.
8. Tests, validation, smoke, or debug runs fail after local implementation fixes.

For provider preflight failure, tell the user to exit, fix credentials/model/dependencies, then resume. Do not silently skip or downgrade required debug runs.

---

## Phase 0 — Required Inputs and Immediate Preflight

### 0.1 Get the task description

If the initial user message does not include a concrete task description, ask exactly one question:

> What task should this benchmark measure? Please describe the agent's job, the repeated instances, and what it should learn over time.

Include your recommendation only if the user has provided enough context to infer one.

### 0.2 Ask for debug model

Ask one question:

> Which model should I use for the mandatory `icl` and `icl_notepad` preflight/debug runs? You can name a model, or say "use defaults".

Recommendation: use a cheap accessible model already configured for this repo/provider, e.g. `gpt-5-mini` if available.

When the user gives a model, include `--system.model <model>` in all required smoke/debug commands. If they explicitly choose defaults, omit the flag.

### 0.3 Provider preflight — immediate hard gate

Run this before design work:

```bash
uv run clbench smoke exploitable_poker --schedule quick_test --system icl [--system.model <model>]
uv run clbench smoke exploitable_poker --schedule quick_test --system icl_notepad [--system.model <model>]
```

If either command fails, STOP. Report the exact failure and likely fix:

- Poker dependency failure: tell the user to run `uv sync --extra poker` or `uv sync --all-extras`.
- Provider/model failure: tell the user to set the required API key or choose an accessible model.
- Then say: **exit, fix this, and resume the create-task skill**.

Do not continue to design or implementation until this passes.

---

## Phase 1 — Orient in the Codebase

Before asking design questions that the repo can answer, inspect the existing task patterns.

Minimum orientation:

```bash
git status --short
find src/tasks -maxdepth 2 -type f \( -name 'task.py' -o -name 'prompts.py' -o -name 'README.md' \) | sort
find src/tasks -maxdepth 3 -type f -path '*/schedules/*.json' | sort
rg -n "class .*Action|response_schema=|Observation\(|instance_complete|prompts.py|StrictUndefined" src/tasks tests/tasks tests -S
```

Read the closest existing task(s), depending on the user description:

| Pattern | Existing task to inspect |
|---|---|
| Sequential decision + feedback | `exploitable_poker` |
| Multi-step query/answer | `database_exploration` |
| Command loop + final submission | `codebase_adaptation`, `sales_prediction` |
| Structured reports / knowledge probes | `blind_spectrum_monitoring` |
| Tool-call exploration | `cohort_studies` |
| Batch classification with feedback | `legal_smeagol` |

Tell the user which existing pattern is closest and why.

---

## Phase 2 — High-Signal Interview

Ask one high-signal question at a time. Each question must include your recommended answer.

Prefer questions that reveal contradictions or benchmark failure modes. Typical branches:

1. **Latent learnable structure** — What persists across instances that a stateful system can learn?
2. **Feedback** — What feedback reveals that structure without leaking the full answer key?
3. **Reward/scoring** — What metric determines per-instance reward, and what is optimal?
4. **Interaction skeleton** — Single-turn, multi-step exploration, or command loop?
5. **Debug schedule** — What tiny sequence should show le
agent-browserSkill

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

cua-driverSkill

Drive a native macOS app via the cua-driver CLI (default) or MCP server — snapshot its AX tree, click/type/scroll by element_index, verify via re-snapshot. Use when the user asks you to operate, drive, automate, or perform a GUI task in a real macOS application on the host (e.g. "open a file in TextEdit", "navigate to /Applications in Finder", "click the Save button in Numbers").

docxSkill

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a "report", "memo", "letter", "template", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

frontend-designSkill

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

openloomi-apiSkill

openloomi HTTP API reference (local-first, served from the OpenLoomi Desktop app at http://localhost:3414). Use when working with openloomi backend routes — auth, AI, files, integrations, RAG, memory, Loop, pet, workspace, platform callbacks. Triggers: API endpoints, backend routes, /api/*, local API, port 3414, integrations REST, OAuth start, RAG search, loop state, memory search, pet state, audit logs

openloomi-connectorsSkill

openloomi Connectors tools - manage the native 7 messaging integrations and pair with the composio skill for the 1000+ apps OAuth layer (Slack, Discord, X, Gmail, Outlook, Google Calendar/Drive/Docs, GitHub, Notion, Linear, HubSpot, LinkedIn, Jira, Asana). Triggers: connect platform, integration status, list accounts, disconnect, list-accounts, status, connect, send-reply, native vs composio, 1000+ apps, list connections.

openloomi-feature-guideSkill

Use this when users ask about openloomi features, capabilities, or how to use it. Examples: 'openloomi 怎么用', '你能做什么', 'What can you do?', 'How does openloomi work?', 'Tell me about openloomi features', 'What platforms does openloomi support?', 'How do I use scheduled tasks?', 'What is Loop?', 'How does the attention agent work?', 'What is a Decision Card?', 'How do connectors work?', 'How do I extend Loop with custom types?', 'What is a classifier rule?', 'How do I plug openloomi into Claude Code / Codex?'

openloomi-memorySkill

openloomi Memory tools - search and manage the holistic context (people, projects, decisions, knowledge base, chat insights). Triggers: memory search, knowledge base, search documents, list insights, who is John, what did we decide about X, tiered memory, knowledge graph, people/projects/decisions, search-all, conversation memory