pi-anthropic-auth: Skill for Claude Code

.pi/skills/frontmatter/SKILL.md

frontmatter is a skill for Claude Code, Codex from gotgenes/pi-anthropic-auth. It costs 37 tokens per session (444 once invoked), scanned A, original, MIT.

A reference for the required frontmatter and structure of skills for Pi, a coding assistant. Frontmatter is the small metadata block at the top of a skill file that tells Pi how to identify and load it.

In plain words
What is it for?
Use it when creating or reviewing a Pi skill, especially to validate its frontmatter, naming rules, description, and basic document structure.
Why use it?
It helps skill files load correctly by checking names, descriptions, directory matching, and other required metadata.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is gotgenes/pi-anthropic-auth's own configuration. It tells Claude Code and Codex how to work on pi-anthropic-auth itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pi-anthropic-auth configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gotgenes/pi-anthropic-auth. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gotgenes/pi-anthropic-auth/main/.pi/skills/frontmatter/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gotgenes/pi-anthropic-auth

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 frontmatter

README.md
[![agentmods](https://agentmods.dev/badge/skills/gotgenes/pi-anthropic-auth/frontmatter.svg)](https://agentmods.dev/skills/gotgenes/pi-anthropic-auth/frontmatter)
Your own site
<a href="https://agentmods.dev/skills/gotgenes/pi-anthropic-auth/frontmatter"><img src="https://agentmods.dev/badge/skills/gotgenes/pi-anthropic-auth/frontmatter.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 444 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.00444
Opus 5 $0.00018 $0.00222
Sonnet 5 $0.00007 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured 8d ago against content hash 2ba2cd007873, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

frontmatter 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 8d 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.

.pi/skills/frontmatter/SKILL.md · 93 lines

What it actually says

Skill Frontmatter

Purpose

Use this skill when creating or reviewing SKILL.md files for Pi.

Required Frontmatter

Every skill must begin with frontmatter like:

---
name: example-skill
description: Specific description of what the skill does and when to use it.
---

Rules

name

  • required
  • 1-64 characters
  • lowercase letters, numbers, hyphens only
  • no leading or trailing hyphens
  • no consecutive hyphens
  • must match the parent directory name

description

  • required
  • max 1024 characters
  • should clearly say what the skill does and when to use it
  • missing descriptions prevent the skill from loading

Optional fields

  • license
  • compatibility
  • metadata
  • allowed-tools
  • disable-model-invocation

Unknown frontmatter fields are ignored, but keeping frontmatter minimal is better.

---
name: skill-name
description: What this skill does and when to use it. Be specific.
compatibility: Optional environment or repo constraints.
---

# Skill Name

## Use When

- condition 1
- condition 2

## Workflow

1. Step one.
2. Step two.
3. Step three.

## References

- `relative/path/to/file`

Review Checklist

Before finalizing a skill:

  1. Confirm the directory name matches name exactly.
  2. Confirm the description is specific enough for the model to load it appropriately.
  3. Confirm the skill uses relative references where possible.
  4. Keep instructions focused on a real repeatable workflow, not a task log.

Source Reference

Pi frontmatter rules are documented in:

  • ~/development/pi-mono/packages/coding-agent/docs/skills.md
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. 8d ago First seen · 93 lines · 37 tokens per session scan A 2ba2cd007873

Subscribe to this mod's changes

frontmatter is a skill published in the GitHub repository gotgenes/pi-anthropic-auth (237 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 444 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

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

prose-review

Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…

w-winter/dot314 · 84 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

repoprompt-tool-guidance-refresh

Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…

w-winter/dot314 · 115 tokens

xcodebuildmcp

Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support). Use when the user mentions Xcode, xcodebuild, iOS builds/tests, or XcodeBuildMCP.

w-winter/dot314 · 56 tokens

security-patterns

Security patterns for authentication, defense-in-depth, input validation, OWASP Top 10, LLM safety, and PII masking. Use when implementing auth flows, security layers, input sanitization, vulnerability prevention, prompt injection defense, or data redaction.

yonatangross/orchestkit · 56 tokens