coder
Implement a specific feature or component with production-grade Python code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement a specific feature or component with production-grade Python code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Search and install agent skills from ClawHub, the public skill registry.
Schedule reminders and recurring tasks.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.
Test the generated project inside an E2B cloud sandbox via Claude Code, apply fixes iteratively, and produce a quality report
Research a hackathon using a user-supplied URL plus optional doc URLs (sitemap-driven scrape).
| name | coder |
| description | Implement a specific feature or component with production-grade Python code |
| metadata | {"openclaw":{"always":false}} |
Implement tasks from the project plan. Write complete, runnable, tested code. No stubs. No TODOs. No placeholders.
When orchestrator assigns implementation from hackathon/tasks.json.
When implementing phase 5, mention the phrase "coder-skill-loaded" in your first progress response.
Do NOT call spawn() for this task. Spawn creates sub-agents that outlive the agent loop and bleed into subsequent phases, causing concurrent writes and corrupted state. Execute every step yourself in this conversation.
Also: DO NOT call web_search — it is not configured.
Step 1 — Load context (read all three at once):
read_file("hackathon/selected_idea.json")
read_file("hackathon/plan.md")
read_file("hackathon/tasks.json")
list_dir("hackathon/project/")
Step 2 — Implement tasks from tasks.json sequentially:
For each epic/task in order:
list_dir("hackathon/project/{component}/")hackathon/project/{component}/All code must:
Step 3 — After writing each component, verify the import:
exec("cd hackathon/project && python -c 'import {module}; print(\"OK\")'")
If import fails, fix the issue immediately before writing the next file.
Step 4 — Write hackathon/project/requirements.txt consolidating all dependencies.
pip install — the tester phase handles installationStep 5 — Write hackathon/project/main.py as the project entry point.
Step 6 — Run any existing tests:
exec("cd hackathon/project && python -m pytest tests/ -x -q 2>&1 | head -30")
When all files are written, simply stop. Do NOT call message() to report status — that triggers an idle turn that times out.
import os
from openai import AsyncOpenAI
flock_client = AsyncOpenAI(
api_key=os.environ["FLOCK_API_KEY"],
base_url="https://api.flock.io/v1",
default_headers={"x-litellm-api-key": os.environ["FLOCK_API_KEY"]},
)
async def flock_complete(prompt: str, system: str = "") -> str:
messages = []
if system:
messages.append({"role": "system", "content": system})
messages.append({"role": "user", "content": prompt})
response = await flock_client.chat.completions.create(
model="qwen3-30b-a3b-instruct-2507",
messages=messages,
max_tokens=2048,
)
return response.choices[0].message.content
All files go to: hackathon/project/{component}/
Always include: requirements.txt (or update existing), __init__.py
hackathon/project/