AGENT SKILL

CUDA Rust 所有权与启动契约控制

agent-cuda-rust

采用改编自 NVIDIA CUDA Rust(cuda-oxide / cutile-rs)的失败即关闭(fail-closed)、Tile 优先的所有权与启动契约控制,拒绝 GPU 云支出。

使用场景Rust 开发
License 许可
MIT
最近更新
2026-11-09
Stars
★ 1
Forks
0

01 前言 Front Matter

name
agent-cuda-rust
description
Fail-closed Tile-first ownership and launch-contract controls adapted from NVIDIA CUDA Rust (cuda-oxide / cutile-rs). Deny GPU cloud spend.

02 资源文件 1

03 SKILL.md 正文

Agent CUDA Rust

Use when parallel agents share artifacts, before launching multi-step store/IAP automation, or when choosing high-level vs low-level control paths.

Instructions

  1. Prefer Tile (safe high-level defaults) before SIMT (explicit/low-level control).
  2. Reject plan-time aliasing (same buffer as input and mutable output).
  3. Give parallel workers exclusive write slots; deny shared mutable ownership.
  4. Declare a launch contract and validate config before launch.
  5. Run doctor before scaffold/launch.
  6. Record a lazy chain; execute only on sync, then return ownership.
  7. Do not claim alpha tooling as production.
  8. Keep interop; do not lock into one path.
  9. Deny CUDA cloud / paid GPU rental under the monthly cap.
python3 scripts/agent_cuda_rust.py \
  --platform ops_ownership_gate \
  --kernels scripts/tests/fixtures/agent_cuda_rust.json \
  --cite crs:iap-alias-gate \
  --prefer-tile 1 \
  --input-ids catalog,entitlement --output-ids iap_attempt \
  --exclusive-write-slots 1 \
  --contract-declared 1 --config-validated 1 \
  --doctor-pass 1 \
  --chain-recorded 1 --synced 1 --ownership-returned 1 \
  --maturity alpha --claim-production 0 \
  --lock-in 0 --shared-contract 1

Examples

  • Allow: Tile-first IAP catalog read with disjoint evidence slots and validated Maestro contract.
  • Deny: “rent A100”; “SIMT without need”; “output buffer reused as input”; “alpha is production”.

Performance Notes

  • Zero external spend path.
  • Ranker zeros GPU TFLOPS / crates vanity metrics.

Troubleshooting

  • Exit 2: inspect aliasing, track, launch_contract, doctor, readiness keys.
  • See docs/AGENT_CUDA_RUST.md.

04 同仓库更多 Skills

IgorGanapolsky
IgorGanapolsky/Random-Timer

任务实施计划编写

writing-plans

当你有某个多步骤任务的规格说明或需求时,在动手编写代码之前使用。

软件开发工程师任务规划与分解
★ 1
IgorGanapolsky
IgorGanapolsky/Random-Timer

AI 工作流经济性评估

workflow-economics-lite

逃离 AI 试点炼狱:要求构建闭环(completion-loop)工作流,包含单一负责人、基线、经济指标、记录系统(system-of-record)集成和审计轨迹。阻断孤立的聊天机器人以及将“兴趣”当作 ROI 的说法。

产品经理业务流程设计与优化
★ 1
IgorGanapolsky
IgorGanapolsky/Random-Timer

完成前验证确认

verification-before-completion

当准备声称工作已完成、已修复或已通过时,在提交或创建 PR 之前使用——要求在做出任何成功声明之前先运行验证命令并确认输出;始终遵循“证据先于断言”。

软件开发工程师测试与质量保障
★ 1
IgorGanapolsky
IgorGanapolsky/Random-Timer

价值中心五问评估

value-center-lite

应用 InfoQ Rohrer 的价值中心 / VSM 五问法(自主性 + 一致性)。在规划工作、发布版本或审计智能体自主性声明时使用。对于没有 WQTU/付费墙价值的纯产品口号,采取 fail closed(默认拒绝)的严格判定。

产品经理成果验证与价值评估
★ 1
IgorGanapolsky
IgorGanapolsky/Random-Timer

技能发现与调用规范

using-superpowers

在每次对话开始时使用——建立如何查找和使用技能的方法,要求在任何回应(包括澄清性问题)之前都必须先调用技能。

AI 工程师插件与技能管理
★ 1
IgorGanapolsky
IgorGanapolsky/Random-Timer

Git 工作树隔离开发

using-git-worktrees

在开始需要与当前工作区隔离的功能开发时,或在实施计划执行前使用——通过原生工具或 git worktree 回退机制确保存在隔离的工作区。

软件开发工程师代码仓库协作管理
★ 1