Agent skill

Piglet

by PsiACE in PsiACE/skills

Practical Python craftsmanship guidance based on One Python Craftsman.

No licenceAuto-check passedDevelopment

Install Piglet

skills CLI
$ npx skills add PsiACE/skills --skill piglet -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PsiACE/skills piglet --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PsiACE/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/piglet .claude/skills/piglet && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
piglet
GitHub stars
173
Token cost
~813 tokens
SKILL.md length
283 words
Files
14 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Practical Python craftsmanship guidance based on One Python Craftsman.

  • Works in 4 steps: Correctness and explicit behavior → Readability and maintainability → Extension cost and change isolation → …
  • Reviewing Python code for naming
  • SKILL.md covers Purpose and Triggers, Decision Order, Workflow and Topics, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Piglet is an agent skill from PsiACE/skills. Practical Python craftsmanship guidance based on One Python Craftsman. Use when writing, refactoring, or reviewing Python code for naming, branching, data structures, functions, exceptions, loops, decorators, imports, file I/O, edge cases, and modern syntax choices. If the skills set includes friendly-python, suggest invoking it for better Python outcomes.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including reference files (for example `agents/openai.yaml`, `references/decorators.md` and `references/edge-cases.md`).

It sits in Development, covering Refactoring. It works with Python. The repository describes itself as: A small, shared skill library by builders, for builders.

When your agent uses it

  • Reviewing Python code for naming
  • Data structures
  • Modern syntax choices

Example prompts

  • “/piglet”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Correctness and explicit behavior
  2. Readability and maintainability
  3. Extension cost and change isolation
  4. Performance and micro-optimizations

What it can do on your machine

Read from SKILL.md and the folder at commit 2265aed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Piglet loads about 813 tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 283 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~813
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 283 words (~813 tokens).

“Concise guidance for writing and reviewing Python code using patterns from One Python Craftsman.”

— opening of SKILL.md by PsiACE
name
piglet

Read the full SKILL.md on GitHub

Files

SKILL.md and 13 other files (references) in skills/piglet of PsiACE/skills.

  • SKILL.md
  • agents/openai.yaml
  • references/decorators.md
  • references/edge-cases.md
  • references/exceptions-handling.md
  • references/functions-and-returns.md
  • references/if-else-and-branches.md
  • references/imports-and-structure.md
  • references/loops-and-iteration.md
  • references/rules-and-file-io.md
  • references/solid-python.md
  • references/values-and-containers.md
  • references/variables-and-naming.md
  • references/walrus-operator.md

Open the folder on GitHubat commit 2265aed

Compare with similar skills

Piglet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Piglet compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Piglet this skillPsiACE/skills173—~813Automated safety check: PassNone
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Readable Pycrazyguitar/pysheeet8.2k—~2.4kAutomated safety check: PassMIT
Nexus MapperHaaaiawd/Nexus-skills1661 repos~2.5kAutomated safety check: NotesNone
Refactor OpCVCUDA/CV-CUDA2.7k—~1.5kAutomated safety check: PassCustom licence
Readable Verilog GeneratorEriemon/verilog-generator310—~5.4kAutomated safety check: PassApache-2.0

Similar skills

  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Readable Py

    crazyguitar/pysheeet

    Readable Python code rules inspired by The Art of Readable Code.

    8.2k GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Nexus Mapper

    Haaaiawd/Nexus-skills

    Generate a persistent .nexus-map/ knowledge base that lets any AI session instantly understand a codebase's architecture, systems, dependencies, and change hotspots.

    166 GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check: notes
  • Refactor Op

    CVCUDA/CV-CUDA

    Find and safely apply per-operator refactoring / redundancy-reduction opportunities in a CV-CUDA operator (near-duplicate Tensor/VarShape kernels, reinvented shared utilities, dead code).

    2.7k GitHub stars~1.5k tokensUpdated 21 days ago
    DevelopmentAuto-check passed
  • Readable Verilog Generator

    Eriemon/verilog-generator

    A skill your agent uses when creating, writing, reviewing, annotating, repairing, refactoring, or validating readable Verilog RTL, including synthesizable Verilog-2001 .v files, existing-RTL…

    310 GitHub stars~5.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Python Design

    mindfold-ai/Trellis

    Python design patterns for CLI scripts and utilities — type-first development, deep modules, complexity management, and red flags.

    15k GitHub stars~4k tokensUpdated 9 days ago
    DevelopmentAuto-check passed

More from PsiACE/skills

  • Modular Go

    PsiACE/skills

    Practical guidance for Go package design with minimal public APIs, single-responsibility boundaries, stateless-first flow, one-way state transitions, and orchestration-to-capability separation.

    173 GitHub stars~768 tokensUpdated 24 days ago
    Auto-check passed
  • Friendly Python

    PsiACE/skills

    Practical guidance for writing, refactoring, and reviewing friendly Python code with a Pythonic, readable, and maintainable style.

    173 GitHub stars~771 tokensUpdated 24 days ago
    Auto-check passed
  • Fast Rust

    PsiACE/skills

    Practical guidance for writing, refactoring, and reviewing fast, reliable, and maintainable Rust code.

    173 GitHub stars~332 tokensUpdated 24 days ago
    Auto-check passed

Works with

Categories

Questions about Piglet

What does Piglet do?

Practical Python craftsmanship guidance based on One Python Craftsman. Piglet is an agent skill from PsiACE/skills. Practical Python craftsmanship guidance based on One Python Craftsman.

When should I use Piglet?

Piglet fits situations like: reviewing Python code for naming; data structures; modern syntax choices.

How do I install Piglet in Claude Code?

Run `npx skills add PsiACE/skills --skill piglet -a claude-code`. Or copy the skill folder (skills/piglet in PsiACE/skills) into .claude/skills/piglet in your project. Claude Code loads it when a task matches its description.

How do I install Piglet in Codex?

Run `npx skills add PsiACE/skills --skill piglet -a codex`. Or copy the skill folder (skills/piglet in PsiACE/skills) into .agents/skills/piglet in your project. Codex loads it when a task matches its description.

Can I use Piglet in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PsiACE/skills --skill piglet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/piglet, .gemini/skills/piglet, .github/skills/piglet and .opencode/skills/piglet in your project.

What does Piglet need to run?

SKILL.md names no scripts, command-line tools or credentials: Piglet is instructions for the agent only. Our summary lists: Python 3.

Does Piglet access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Piglet safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Piglet use?

No licence was found for Piglet or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Piglet use?

About 813 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Piglet?

Skills that share tags, products or a category with Piglet: Dignified Python Standards (docling-project/docling, 69k stars), Readable Py (crazyguitar/pysheeet, 8.2k stars), Nexus Mapper (Haaaiawd/Nexus-skills, 166 stars) and Refactor Op (CVCUDA/CV-CUDA, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Piglet?

PsiACE (a GitHub user) maintains it in PsiACE/skills, which has 173 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 14, 2026.

Source: PsiACE/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.