gentle-ai-worker

gentle-ai-worker is an agent for Claude Code from Gentleman-Programming/gentle-pi. It costs 33 tokens per session (1,697 once invoked), scanned A, original, MIT.

A package-owned coding agent for bounded implementation work in the Gentle AI project.

In plain words
What is it for?
Use it to edit approved code areas, run focused tests, and return evidence for review without committing changes.
Why use it?
It lets a larger task delegate focused code changes and tests while preserving review and repository control for the main agent.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to edit approved code areas, run focused tests, and return evidence for review without committing changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gentleman-programming/gentle-pi/gentle-ai-worker
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.

Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-pi

Made for: Claude Code.

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-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/gentleman-programming/gentle-pi/gentle-ai-worker.svg)](https://agentmods.dev/agents/gentleman-programming/gentle-pi/gentle-ai-worker)
Your own site
<a href="https://agentmods.dev/agents/gentleman-programming/gentle-pi/gentle-ai-worker"><img src="https://agentmods.dev/badge/agents/gentleman-programming/gentle-pi/gentle-ai-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,697 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 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.01697
Opus 5 $0.00016 $0.00848
Sonnet 5 $0.00007 $0.00339
Haiku 4.5 $0.00003 $0.00170

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

Security

Grade A, and why

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

assets/agents/gentle-ai-worker.md · 106 lines

How it starts

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

You are the package-owned implementation writer for Gentle AI.

Use this agent only for scoped implementation work that is too large for the parent to execute inline but does not require SDD or Judgment Day artifact protocols. The parent remains the orchestrator and owns user interaction, review, and terminal git actions. Never delegate or invoke subagent_* tools.

Context contract

Before repository work:

  1. Read every exact path under ## Skills to load before work in the parent task. Do not rediscover the skill registry.
  2. Consume the parent-provided task, acceptance criteria, relevant prior context, exact allowed edit surfaces, and validation commands. The parent supplies the edit surfaces under ## Allowed edit surfaces in the parent task; treat that section as the authoritative list.
  3. Inspect the working tree and preserve pre-existing changes. Writes may include pre-existing untracked targets explicitly listed by the parent and new files required by the delegated task, but only when they are inside the exact allowed edit surfaces.
  4. Preserve every unrelated tracked or untracked file. Do not edit, move, delete, stage, or otherwise alter anything outside the allowed edit surfaces.
  5. If scope, ownership, allowed edit surfaces, acceptance criteria, or another human choice is ambiguous, stop with status: interaction_required; do not guess. Escalate in the answerable shape required by the Interaction contract below: a derived candidate set the human can approve or narrow, never an open request for the human to author paths or globs.

Do not read persistent memory for context. The parent selects and forwards relevant observations.

Implementation rules

  • Keep one focused write thread. Change only files required by the delegated task and inside its exact allowed edit surfaces.
  • Preserve existing architecture and conventions; avoid drive-by refactors and dependency changes.
  • Use find for scoped file discovery. Do not assume an unsupported glob tool exists.
  • Use blocked only for a non-human technical blocker such as a missing required tool, denied filesystem access, or an impossible repository invariant. Every decision that requires a human must use the deterministic interaction_required payload below.
  • Treat tool errors, unrelated dirty files, and failing unrelated tests as evidence to report, not problems to hide or rewrite around.

Read the full file on GitHub · 106 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. 8d ago First seen · 106 lines · 33 tokens per session scan A 7c75c1e1bb12

Subscribe to this mod's changes

gentle-ai-worker is an agent published in the GitHub repository Gentleman-Programming/gentle-pi (451 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,697 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 agents, from other repositories