secure-development-playbook

secure-development-playbook is a skill for Claude Code from pi-sloane/claude-plugin. It costs 33 tokens per session (705 once invoked), scanned A, original, MIT.

A tool for retrieving repository-specific secure-development guidance from Pi Security, a security service. It can also look up relevant threat-model information and record feedback after confirmation.

In plain words
What is it for?
Use it to query implementation guidance for a stable development task, optionally add threat-model context, or submit confirmed feedback about the guidance.
Why use it?
It gives an engineering task guidance tailored to the repository instead of relying only on general security advice.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pi-security plugin — 6 skills, 1 MCP server shipped together

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/pi-sloane/claude-plugin/secure-development-playbook
Any agent
npx skills add pi-sloane/claude-plugin --skill secure-development-playbook
Clone the repo
git clone --depth 1 https://github.com/pi-sloane/claude-plugin

Made for: Claude Code.

Or install pi-security, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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 secure-development-playbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/pi-sloane/claude-plugin/secure-development-playbook.svg)](https://agentmods.dev/skills/pi-sloane/claude-plugin/secure-development-playbook)
Your own site
<a href="https://agentmods.dev/skills/pi-sloane/claude-plugin/secure-development-playbook"><img src="https://agentmods.dev/badge/skills/pi-sloane/claude-plugin/secure-development-playbook.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 705 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.1 $0.00033 $0.00705
Opus 5 $0.00016 $0.00352
Sonnet 5 $0.00007 $0.00141
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

secure-development-playbook 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 6d 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.

skills/secure-development-playbook/SKILL.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use the Pi secure-development playbook

Use this skill when the user wants tenant- or repository-specific secure-development guidance from Pi Security for a concrete engineering task, or wants to record feedback about playbook guidance.

Tools

Development guidance (read-only):

  • pi_playbook_task_query - retrieves secure implementation guidance for a natural-language task; optional slug selects the repository. This is the only Pi lookup for development guidance.

Optional threat-model context (read-only):

  • pi_knowledgebase_query - searches tenant knowledge (query, optional repository slug). Use only when threat-model context is genuinely necessary, at most once with a short non-sentence query. Never use it to supplement or retry development guidance.

State-changing, confirmation required:

  • pi_playbook_comment_create - records feedback when playbook guidance is wrong, stale, incomplete, or missing context. Inputs: feedback (required), plus optional originalQuery, requestId, slug, and playbookSlug (playbookSlug requires slug or requestId).

Workflow

  1. For development guidance, first make the engineering task stable from the user's request and current repository evidence. If the intended outcome or scope is ambiguous, clarify it before calling Pi.
  2. Once the task is stable, call pi_playbook_task_query exactly once with the concrete task and the repository slug if the user identified one.
  3. Apply guidance that directly covers the task, clearly attributed to Pi.
  4. If coverage is missing or only adjacent, state the gap and continue from the user's instructions and current repository evidence. Do not retry the playbook query, send a rephrased query, or fall back to pi_knowledgebase_query.
  5. Only when threat-model context is genuinely necessary and unavailable in current repository evidence, make at most one pi_knowledgebase_query call using a short non-sentence phrase. Keep this separate from development guidance; do not use it to compensate for missing or adjacent playbook coverage.
  6. If the user reports the guidance is wrong, stale, incomplete, or missing context, offer to record feedback with pi_playbook_comment_create.

Read the full file on GitHub · 46 lines

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. 6d ago First seen · 46 lines · 33 tokens per session scan A f29d514c25c9

Subscribe to this mod's changes

secure-development-playbook is a skill published in the GitHub repository pi-sloane/claude-plugin (12 stars, last pushed 10d ago), licensed MIT. It adds 33 tokens to every session and 705 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens