pi-result-handling

pi-result-handling is a skill for Claude Code from Agents365-ai/pi-plugin-cc. It costs 16 tokens per session (363 once invoked), scanned A, a copy of codex-result-handling, Apache-2.0.

Guidance for showing results from Pi, a helper used to review or work on code. It keeps the helper’s findings, evidence, uncertainties, and next steps in the same structure.

In plain words
What is it for?
Presenting review findings in severity order, preserving file paths and line numbers, reporting edits and touched files, and clearly stating when there are no findings or when the helper failed.
Why use it?
It prevents important distinctions from being lost when results are passed back to the user. It also stops an incomplete review from being presented as finished work or triggering unrequested code changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the pi plugin — 3 skills, 8 commands, 1 agent, 3 hooks shipped together

Good fit Presenting review findings in severity order, preserving file paths and line numbers, reporting edits and touched files, and clearly stating when there are no findings or when the helper failed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agents365-ai/pi-plugin-cc/pi-result-handling
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.

Any agent
npx skills add Agents365-ai/pi-plugin-cc --skill pi-result-handling
Clone the repo
git clone --depth 1 https://github.com/Agents365-ai/pi-plugin-cc

Made for: Claude Code.

Or install pi, the plugin that ships this one along with the rest of its 3 skills, 8 commands, 1 agent, 3 hooks.

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 pi-result-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/agents365-ai/pi-plugin-cc/pi-result-handling/github.svg)](https://agentmods.dev/skills/agents365-ai/pi-plugin-cc/pi-result-handling)
Your own site
<a href="https://agentmods.dev/skills/agents365-ai/pi-plugin-cc/pi-result-handling"><img src="https://agentmods.dev/badge/skills/agents365-ai/pi-plugin-cc/pi-result-handling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pi-result-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/agents365-ai/pi-plugin-cc/pi-result-handling"><img src="https://agentmods.dev/badge/skills/agents365-ai/pi-plugin-cc/pi-result-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.1 $0.00016 $0.00363
Opus 5 $0.00008 $0.00181
Sonnet 5 $0.00003 $0.00073
Haiku 4.5 $0.00002 $0.00036

Measured 10d ago against content hash 005880a1bb44, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pi-result-handling 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 10d 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.

Origin

This is a copy

86% identical to codex-result-handling — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/pi/skills/pi-result-handling/SKILL.md · 22 lines

What it actually says

Pi Result Handling

When the helper returns Pi output:

  • Preserve the helper's verdict, summary, findings, and next steps structure.
  • For review output, present findings first and keep them ordered by severity.
  • Use the file paths and line numbers exactly as the helper reports them.
  • Preserve evidence boundaries. If Pi marked something as an inference, uncertainty, or follow-up question, keep that distinction.
  • Preserve output sections when the prompt asked for them, such as observed facts, inferences, open questions, touched files, or next steps.
  • If there are no findings, say that explicitly and keep the residual-risk note brief.
  • If Pi made edits, say so explicitly and list the touched files when the helper provides them.
  • For pi:pi-companion-forwarder, do not turn a failed or incomplete Pi run into a Claude-side implementation attempt. Report the failure and stop.
  • For pi:pi-companion-forwarder, if Pi was never successfully invoked, do not generate a substitute answer at all.
  • CRITICAL: After presenting review findings, STOP. Do not make any code changes. Do not fix any issues. You MUST explicitly ask the user which issues, if any, they want fixed before touching a single file. Auto-applying fixes from a review is strictly forbidden, even if the fix is obvious.
  • If the helper reports malformed output or a failed Pi run, include the most actionable stderr lines and stop there instead of guessing.
  • If the helper reports that setup is required (pi binary missing, no provider configured), direct the user to /pi:setup and do not improvise alternate flows.
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. 10d ago First seen · 22 lines · 16 tokens per session scan A 005880a1bb44

Subscribe to this mod's changes

pi-result-handling is a skill published in the GitHub repository Agents365-ai/pi-plugin-cc (44 stars, last pushed 26d ago), licensed Apache-2.0. It adds 16 tokens to every session and 363 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to codex-result-handling, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

huiliyi37/Tianshu-harness · 37 tokens

visual-acceptance

A visual final-review method for user-interface changes. It checks the rendered result with repeatable screenshots, pixel values, computed styles, and CSS layering checks across themes.

huiliyi37/Tianshu-harness · 89 tokens

subagent-driven-development

Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.

itmisx/deepx-code · 37 tokens

ultra-adlc

End-to-end delivery orchestration for explicitly requested, very large software changes that must be completely implemented and independently proven. Use when the user invokes "ultra-adlc" or asks for an Ultra-ADLC-scale full delivery; do not use for ordinary features, small fixes, reviews, or ad hoc parallel work.

KonghaYao/peri · 69 tokens

openspec

A specification-driven development process that records proposed software changes, implementation tasks, and updates to the project’s current behavior specifications.

itmisx/deepx-code · 73 tokens

ultra-task

Adaptive task supervision through subagents. Use when the user invokes "ultra-task", asks the main agent to act as a task supervisor, or wants subagents to perform most of a non-trivial task while the main agent coordinates and verifies. Do not use for simple one-step work, scripted Workflow pipelines, or…

KonghaYao/peri · 75 tokens