/install linux-riscv-contribute
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 \x3Cdocs_repo_root> \x3Clinux_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-\x3Cid>-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 #\x3Cn> 用 claude-code 执行 Step-3,生成详细方案和测试矩阵。对 issue #\x3Cn> 用 codex 执行 Step-4,直到验证通过或达到迭代上限。对 issue #\x3Cn> 执行 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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install linux-riscv-contribute - 安装完成后,直接呼叫该 Skill 的名称或使用
/linux-riscv-contribute触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
linux-riscv-contribute 是什么?
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 des... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 linux-riscv-contribute?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install linux-riscv-contribute」即可一键安装,无需额外配置。
linux-riscv-contribute 是免费的吗?
是的,linux-riscv-contribute 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
linux-riscv-contribute 支持哪些平台?
linux-riscv-contribute 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 linux-riscv-contribute?
由 zcxGGmu(@zcxggmu)开发并维护,当前版本 v1.0.0。