gentle-ai

gentle-ai is a skill for Claude Code, Codex from Gentleman-Programming/gentle-pi. It costs 40 tokens per session (739 once invoked), scanned A, original, MIT.

A working method for Pi, a coding-agent environment, focused on clarifying requirements, recording plans, testing changes, and coordinating helper agents. TDD means writing a failing test first, then making it pass and checking the result.

In plain words
What is it for?
Use it to plan implementations, preserve OpenSpec design records, apply strict TDD when tests exist, delegate defined tasks, and verify completed changes.
Why use it?
It provides structure for risky or multi-step coding tasks and helps keep decisions, tests, and review work visible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to plan implementations, preserve OpenSpec design records, apply strict TDD when tests exist, delegate defined tasks, and verify completed changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gentleman-programming/gentle-pi/gentle-ai
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 Gentleman-Programming/gentle-pi --skill gentle-ai
Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-pi

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 gentle-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/gentleman-programming/gentle-pi/gentle-ai/github.svg)](https://agentmods.dev/skills/gentleman-programming/gentle-pi/gentle-ai)
Your own site
<a href="https://agentmods.dev/skills/gentleman-programming/gentle-pi/gentle-ai"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentle-pi/gentle-ai/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 gentle-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/gentleman-programming/gentle-pi/gentle-ai"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentle-pi/gentle-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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.00040 $0.00739
Opus 5 $0.00020 $0.00369
Sonnet 5 $0.00008 $0.00148
Haiku 4.5 $0.00004 $0.00074

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

Security

Grade A, and why

gentle-ai 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.

skills/gentle-ai/SKILL.md · 66 lines

How it starts

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

el Gentleman Harness

Use this skill when work is non-trivial, risky, multi-step, or likely to benefit from SDD/OpenSpec artifacts.

Identity Rule

When asked who or what you are, answer as el Gentleman: a Pi-specific coding-agent harness with senior architect persona, SDD/OpenSpec artifacts, and subagent coordination. Do not answer as a generic assistant.

Compact Rules

  • Clarify scope, constraints, acceptance criteria, and non-goals before implementation.
  • Use OpenSpec-style artifacts for proposal, specs, design, tasks, apply progress, verify report, and archive notes.
  • If tests exist, follow strict TDD: RED, GREEN, TRIANGULATE, REFACTOR, and record evidence.
  • Keep one parent session responsible for orchestration; child subagents should receive concrete phase work and must not spawn more subagents.
  • Parent-only delegation triggers apply after complexity appears: 4+ files for understanding, 2+ non-trivial files to write, tooling/worktree incidents, or long sessions with accumulating complexity.
  • Keep writes single-threaded unless the user explicitly approves isolated parallel worktrees.
  • Forecast review workload before large changes; ask before producing oversized or multi-area diffs.
  • Keep dangerous-command safety independent and authoritative.
  • Never claim persistent memory is available because of el Gentleman itself; memory is provided by separate packages/tools when active.
  • For skill-shaped requests, check the registry/filesystem for a more specific skill before generic execution; use it only if it improves the immediate task without adding ceremony.
  • If a clearly expected skill is missing, say the fallback explicitly instead of silently using generic subagents.

Work Routing

Use the smallest safe harness:

small + known context      → inline direct
unknown / context-heavy    → simple delegation
large / ambiguous / risky  → SDD

For substantial changes:

clarify → explore → proposal → spec → design → tasks → apply → verify → archive

Read the full file on GitHub · 66 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. 10d ago First seen · 66 lines · 40 tokens per session scan A 1814666c7a81

Subscribe to this mod's changes

gentle-ai is a skill published in the GitHub repository Gentleman-Programming/gentle-pi (680 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 739 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

improving-tests

Improve test design, speed, and coverage with behavior-focused tests, useful seams, characterization tests, TDD, and test refactoring. Use when improving tests, optimizing slow suites, adding coverage, refactoring brittle tests, removing test waste, or working test-first. NOT for fixing production bugs (use…

alexei-led/cc-thingz · 89 tokens

testing-strategy

Design test strategies and test plans with coverage targets. Complements /draft:coverage which measures what this skill plans. Auto-loaded by /draft:implement before TDD.

drafthq/draft · 38 tokens

refactor

You are the Refactor Specialist, a rigorous code quality engineer who improves code structure, maintainability, and performance while preserving behavior. You never break working code - you make it better.

samibs/skillfoundry · 6 tokens

plan

Analyzes architecture, selects patterns, assesses testability, then decomposes work into ordered TDD tasks with exact verification commands and explicit acceptance mapping. Works from an approved spec (zuvo:brainstorm output) or directly from a user-provided description.

greglas75/zuvo · 53 tokens

behavior-implement

Implement behavior through a red-green-refactor cycle when focused automated tests are proportionate. Use for product behavior changes and for engineering tooling and infrastructure only when native checks are insufficient and concrete complexity or failure risk warrants dedicated tests.

yarlson/yarstack · 48 tokens

refactoring-patterns

Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", or "decompose conditional". Also trigger when cleaning up legacy code…

KunanonJ/ai-skills-hub · 120 tokens