rai-planner

rai-planner is a skill for Claude Code, Codex from microsoft/hve-core. It costs 39 tokens per session (400 once invoked), scanned A, original, MIT.

A reference pack for a RAI Planner, covering selected phases of reviewing the risks and impacts of an AI system. It provides guidance for capturing scope, classifying risk, assessing impact, and handing work to a backlog.

In plain words
What is it for?
Use it during the planner's capture, risk, impact-assessment, or review phases by loading the matching reference file.
Why use it?
It keeps detailed instructions available when needed without placing every phase guide in the main workflow at once.

Skill for Claude CodeCodex

About the project

HVE Core is a collection of agents, prompts, coding instructions, and skills for building repeatable software-development workflows with GitHub Copilot. It is intended for individuals and teams that want structured AI-assisted research, planning, implementation, and review, while the catalogue entries provide many of its reusable workflow components.

microsoft/hve-core · 1,431 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/microsoft/hve-core/rai-planner
Any agent
npx skills add microsoft/hve-core --skill rai-planner
Clone the repo
git clone --depth 1 https://github.com/microsoft/hve-core

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rai-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/hve-core/rai-planner.svg)](https://agentmods.dev/skills/microsoft/hve-core/rai-planner)
Your own site
<a href="https://agentmods.dev/skills/microsoft/hve-core/rai-planner"><img src="https://agentmods.dev/badge/skills/microsoft/hve-core/rai-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00400
Opus 5 $0.00019 $0.00200
Sonnet 5 $0.00008 $0.00080
Haiku 4.5 $0.00004 $0.00040

Measured 5d ago against content hash da444056072d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rai-planner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/project-planning/rai-planner/SKILL.md · 30 lines

What it actually says

RAI Planner

Overview

Use this skill as an on-demand reference pack for the RAI Planner. The main skill body stays compact, and the detailed phase guidance lives in the reference files under this folder so the agent can load only the material needed for the current phase.

Phase Reference Index

  • Phase 1 — Capture and scoping: capture-coaching.md — read this when entering Phase 1 and again during capture turns when you need the exploration-first questioning techniques.
  • Phase 2 — Risk classification: risk-classification.md — read this when entering Phase 2 to apply the prohibited-use gate, indicator assessment, and depth-tier logic.
  • Phase 5 — Impact assessment: impact-assessment.md — read this when entering Phase 5 to build the evidence register, tradeoff log, and work-item seeds.
  • Phase 6 — Review rubric and backlog handoff: backlog-handoff.md — read this when entering Phase 6 to run the review rubric and generate the final handoff summary.

Usage Notes

  • Load these references on demand at phase boundaries rather than as fixed startup context.
  • Use the referenced file that matches the phase you are about to enter or the section you need to re-open during execution.
  • Keep the detailed rubric, templates, and evidence guidance in the reference files rather than in the main skill body.
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 30 lines · 39 tokens per session scan A da444056072d

Subscribe to this mod's changes

rai-planner is a skill published in the GitHub repository microsoft/hve-core (1,431 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 400 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

specification-writing

Write the full patent specification from claims and invention disclosure. Use when user says "撰写说明书", "write specification", "写说明书", "patent description", or wants to draft the complete patent specification.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens