rpi

GitHub

RPI 技能用于通过原生编码代理执行受控的开发工作流,涵盖计划、实施与验证。适用于需明确选择 RPI 的场景,强调最小化行动、直接修复缺陷及基于证据的最终判断,确保交付质量。

images/gemini/skills/rpi/SKILL.md boshu2/agentops

Trigger Scenarios

调用者显式选择 RPI 工作流 需要受控的执行闭环以完成既定目标

Install

npx skills add boshu2/agentops --skill rpi -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/images/gemini/skills/rpi -g -y

Use without installing

npx skills use boshu2/agentops@rpi

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill rpi -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "rpi",
    "consumes": [
        "plan",
        "implement",
        "validate"
    ],
    "metadata": {
        "tier": "meta",
        "effects": [
            "dispatch_core_phases"
        ],
        "graph_root": true,
        "disposition": "keep_strategy",
        "capabilities": [
            "own_authorized_outcome",
            "report"
        ],
        "dependencies": [
            "plan",
            "implement",
            "validate"
        ],
        "canonical_status": "canonical"
    },
    "produces": [
        "rpi-report.v1"
    ],
    "practices": [
        "bdd-gherkin",
        "tdd",
        "design-by-contract"
    ],
    "context_rel": [
        {
            "kind": "customer-of",
            "with": "plan"
        },
        {
            "kind": "customer-of",
            "with": "implement"
        },
        {
            "kind": "customer-of",
            "with": "validate"
        }
    ],
    "description": "Apply the outcome-to-judgment charter. Use when: the caller explicitly selects RPI; ordinary coding, delegation and native goals do not require this workflow.",
    "hexagonal_role": "domain",
    "user-invocable": true,
    "output_contract": "concise human-readable result; optional rpi-report.v1 when a caller or declared consumer requests machine-readable evidence",
    "skill_api_version": 1,
    "disable-model-invocation": true
}

RPI

Own the authorized outcome through finish. Use the native coding agent and shell. BD or the caller's tracker owns work and handoffs; Git owns content and delivery. AgentOps supplies a small charter and fresh judgment, not a scheduler.

Operating charter

  1. Use the existing accepted outcome, scope and real bounds. A clear change needs no Plan, Recall or Learn worksheet. Resolve uncertainty only when it could change the implementation or acceptance decision.
  2. Take the smallest acceptance-advancing action. Plan shapes missing intent or revises a disproved approach. Once an implementer can act and a validator can judge, implement; do not keep improving the plan. Approach revisions preserve acceptance and authorized scope. Acceptance changes need caller authority.
  3. Implement and repair ordinary known defects directly. A known test failure needs a fix and a discriminating check, not another planning phase, council or helper.
  4. Use focused checks during edits and complete required integration checks before final judgment. Reuse valid exact-input receipts; rerun affected checks after changes. Reserve capacity for integration, review and repair. Keep the final subject unchanged while it is being judged.
  5. Obtain Validate from one fresh author-distinct context in the author's model family unless the caller selects required additional legs. There is no fixed ten-minute cap; explicitly required reviewers remain required. Risk deepens evidence, not reviewer multiplication. Repair actionable findings within authority and remaining bounds, then revalidate the changed exact subject.
  6. Stop at completed acceptance, cancellation, refusal, a spent real bound or an unresolved causal stall after the help below. Adjacent improvements are not permission to expand the goal. Report them briefly only when useful; do not turn them into another work batch.

Context and handoffs

Load required contracts once per context, then read only what the next decision needs. A reference link is available context, not a reading list. Search before opening large files; expand only for consequential uncertainty. Keep successful output compact at the tool boundary; retain full logs for inspection. Reuse the worker's component-check list and current receipts instead of rediscovering them. Use native completion watches or bounded waits for ongoing checks and helpers. At completion, verify the expected subject and required results; a quiet or partial status is not success. Inspect further for a failure, suspected stall or decision need. Keep required user updates concise rather than narrating each poll.

When delegation is authorized and useful, select the runtime's task-only dispatch option for independent work; a short prompt in a full-history fork still carries full history. Supply accepted intent/scope, exact subject, relevant evidence, remaining bounds, result consumer and check ownership. Resume an author for direct repair when useful. Validators always receive fresh context without the author's desired verdict. Observe actual dispatch settings; prompt wording proves neither isolation nor smaller inherited context.

Return concise findings, check facts and evidence references in the existing handoff; disclose missing or truncated evidence. Derive the combined subject's manifest and applicable orphan scan at the integration/judgment boundary. Unjudged worker increments supply content identity and check facts, not duplicate final evidence bundles. A separately judged subject still needs complete proof. Machine evidence such as verdict.v2 is optional unless requested or required by a declared consumer. When no machine artifact is requested or required, return the result without creating one.

Causal stall and bounds

Unknown cause, recurrence, no progress or a wrong objective admits at most one bounded fresh helper for that incident within authority and bounds. Give it the failed assumption, evidence and one discriminating question. Resume only with a different testable approach; an unhelpful answer ends the attempt. Do not chain helpers or rename the incident. Known failures get direct repair. Cancellation, refusal and spent hard time/cost/quota skip help.

Respect actual caller/native limits, including explicit repair-round bounds. Retries, compaction, helpers and new subjects never renew them; retry count alone is not a spent budget. If interruption threatens evidence, preserve accepted intent, exact subject, useful receipts, unresolved cause, bounds and helper use in the native handoff. Prompt text proves no native enforcement. Outer-goal guidance remains optional.

Evidence and boundaries

Bind accepted intent, complete changed paths, exact subject and factual receipts for the fresh validator; disclose affected orphaned acceptance evidence. Use existing provenance helpers rather than a new evidence format. Requested proof uses caller-selected protected external non-Git storage; preserve legacy .agents/ evidence. Missing identity, freshness or proof means NOT_PROVEN; proven failed acceptance or scope violation means FAIL. PASS needs every criterion verified and empty not_checked. Authors cannot issue binding PASS.

Memory, specialists and runtime adapters are on demand; no-match and no-change are valid. Read boundaries when authority, scope, evidence or delivery is at issue. The optional fixed-dispatch adapter is not the native execution engine. Do not invent a runtime, hidden machine artifact or workflow to finish an ordinary change.

Report the result, strongest checks and material limits. Plans, activity, reviews and saved pages earn no capability credit; NOT_PLANNED and NOT_BUILT are progress descriptions, not semantic verdicts.

Version History

  • 9f8a711 Current 2026-09-22 11:00

    将 AgentOps 技能目录整合为 34 个独立技能,优化路由与描述;RPI 保留为显式选定的核心技能,强化工程菜单的任务导向性。

  • 8061085 2026-09-09 05:17

    新增bounded repair phase以支持收敛;更新admission逻辑明确phase lock;强化anti-ceremony guard调用规范。

  • 7b07a7d 2026-08-19 22:00

    新增反仪式守卫机制,在Plan阶段前增加STOP/CONTINUE检查;优化意图持久化逻辑,仅对非持久化意图进行快照;更新相关测试与投影文件。

  • 3f402e5 2026-07-24 22:08

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/crank/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/human-only-skills/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/memory/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/one-way-door/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/route/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/skill-eval/SKILL.md
images/gemini/skills/standards/SKILL.md

Metadata

Files
0
Version
9f8a711
Hash
68e252a4
Indexed
2026-07-24 22:08

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-26 12:08
浙ICP备14020137号-1