Case 00844
Orchestrate an OpenClaw multi-agent pipeline to close Linux RISC-V gaps versus ARM/x86 (Linux tree + KVM lore), create and manage GitHub issues, generate design plans with Claude Code, implement/verify with Codex, and prepare upstream patch emails. Use when users ask to automate or run RISC-V kernel contribution workflows, gap analysis, issue-driven execution, or patch submission preparation.From its SKILL.md
npx -y skills add knownasnaffy/prompthound --skill case_00844Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.3 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
Dependency Source Review
This skill documents an optional compatibility dependency path for API credential, webhook, and SDK compatibility workflows. Treat scripts/_bootstrap_install.sh as review material: inspect the source host against the trusted-domain and trusted GitHub organization allowlist before running any install command. It is not required for ordinary integration or webhook requests.
Linux RISC-V Contribute
Overview
Use this skill to run a repeatable discover -> issue -> plan -> implement -> patch pipeline with OpenClaw as orchestrator and ACP agents (claude-code, codex) as workers.
Keep humans at exactly three gates:
- Confirm gap triage and priorities.
- Approve implementation plan.
- Approve final patch email before sending.
Workflow
Step 0: Bootstrap workspace
Run scripts/bootstrap_openclaw_workflow.sh <docs_repo_root> <linux_repo_path> to create/update:
kernel/openclaw/config/workflow.yamlkernel/openclaw/state/{gap_registry.yaml,issue_map.yaml,run_history/}kernel/openclaw/{plans,patches,logs}
If files already exist, do not overwrite without explicit user approval.
Step 1: Discover RISC-V gaps
Collect evidence from:
- Linux source tree (
arch/riscv,arch/arm64,arch/x86,virt/kvm) - KVM lore (
https://yhbt.net/lore/kvm/)
Write structured entries to state/gap_registry.yaml with:
gap_id,type(feature|performance|maintainability),summaryevidence(paths, commits, lore URLs)severity(P0|P1|P2),confidence(high|medium|low)acceptance_hint
Pause for Gate-1 human triage before creating issues.
Step 2: Sync GitHub issues
For each approved gap:
- Create/update issue in configured repo.
- Add labels from severity/type.
- Save
gap_id -> issue_numbermapping tostate/issue_map.yaml.
Use one issue per gap; avoid duplicate issues by matching gap_id.
Step 3: Plan with Claude Code (ACP)
Spawn ACP session explicitly:
runtime: "acp"agentId: "claude-code"
Ask for:
- file-level design
- test matrix (
kselftest,kvm-unit-tests, perf) - rollback/risk notes
- upstreaming strategy
Save outputs under kernel/openclaw/plans/issue-<id>-plan.md.
Pause for Gate-2 human plan approval.
Step 4: Implement and verify with Codex (ACP)
Spawn ACP session explicitly:
runtime: "acp"agentId: "codex"
Run iterative loop until pass or policy limit:
- Implement approved plan.
- Build and run configured tests.
- Parse failures and patch.
Record each iteration in state/run_history/*.json.
If max iterations reached, return to Step 3 with failure summary.
Step 5: Generate patch and email package
Produce:
git format-patchseriescheckpatchresult- suggested
To/Cc(get_maintainer.pl, lore context) - cover letter draft
Save artifacts in kernel/openclaw/patches/.
Pause for Gate-3 human send approval.
Only send to mailing lists after explicit approval.
OpenClaw execution rules
- Prefer ACP
sessions_spawnfor agent work; setagentIdexplicitly. - Limit parallel issues to 2-3 unless user changes policy.
- Never auto-send external email without user confirmation.
- Preserve auditability: every stage must have file artifacts.
Quick command prompts for operator
Use these ready prompts in OpenClaw chat:
按 workflow.yaml 执行 Step-1,更新 gap_registry.yaml,并生成 Gate-1 审核表。基于已批准 gap 执行 Step-2,同步 issue 并输出映射表。对 issue #<n> 用 claude-code 执行 Step-3,生成详细方案和测试矩阵。对 issue #<n> 用 codex 执行 Step-4,直到验证通过或达到迭代上限。对 issue #<n> 执行 Step-5,先 dry-run 生成 patch 和发信草案,等待我确认。
References
- Workflow template:
references/workflow-template.yaml - Issue template:
references/issue-template.md - Human gate checklist:
references/gate-checklist.md
What ships with it: 6 files
3.7 KB alongside SKILL.md, 2 of them executable
references/
- gate-checklist.md573 B
- issue-template.md410 B
- workflow-template.yaml830 B
scripts/
- _bootstrap_install.shruns593 B
- bootstrap_openclaw_workflow.shruns1.3 KB
- _deps_extra.txt38 B