# Gentle AI: memory, workflow and review setup for coding agents (Gentleman-Programming/gentle-ai) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-08 against commit ed55a14 (version 4.1.1).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/gentleman-programming/gentle-ai/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
An installer program that sets up the AI coding assistant you already have. It gives it a memory that survives between sessions and one fixed way of working: explore, change, check. It also adds skills the assistant loads when a task fits, and an automatic review of risky changes. It edits your assistant's settings for you and keeps a backup before each change.

## Who it is for
- You use Claude Code, Codex, Cursor, OpenCode, Gemini CLI or another of the 17 supported assistants
- You are tired of explaining the same project decisions to your assistant every new session
- You want your assistant to split big changes into small, reviewable pieces and check its own work
- You are comfortable running an installer in the terminal
- Not for: You want a few plain text skills to copy by hand: this is a program that changes your assistant's settings
- Not for: You don't want any usage data sent: it sends anonymous counts unless you turn that off

## What it is
- Kind: always-on, command, scripts
- License: MIT
- Repository: https://github.com/Gentleman-Programming/gentle-ai

## What it does
- ODD workflow: questions and reviews stay read-only until you ask for a change; small understood tasks run inline, large ones keep one feature document
- Delegates to subagents only for a named reason: exploration, parallel writers, a long session, or an independent check of a high-risk change
- Test-first by default: one failing test per requested rule, then make it pass
- RDD review after finished work: depth by risk (passive, one lens, or all four: Risk, Resilience, Readability, Reliability); on by default
- Engram memory server: the assistant saves decisions and looks them up later; memories stay local unless you export them
- Skills library copied into each assistant's skills folder and indexed in .atl/skill-registry.md
- Optional parts: Context7 docs server, CodeGraph code index, a security deny-list, a persona, themes
- Never cuts: commit, push and release stay with you; the review result is informational

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| judgment-day | plain language ("judgment day", "dual review") | yes | Two separate reviewers check the same work blind; only problems both find get fixed, after asking you |
| work-unit-commits | loads by itself when you split work into saves | yes | Saves work in small pieces that each do one thing, with their tests and docs |
| chained-pr | loads by itself when a change passes about 400 lines | yes | Splits a big change into a chain of smaller review requests, each readable in about an hour |
| cognitive-doc-design | loads by itself when writing guides or READMEs | yes | Writes documents that lead with the answer and are quick to scan |
| go-testing | loads by itself for Go tests | yes | Writes tests for programs in the Go language, including terminal screens |
| skill-creator | plain language ("create a skill for ...") | yes | Writes a new skill file for your assistant in a fixed shape |
| skill-improver | plain language ("audit my skills") | no | Checks your existing skills and proposes fixes; edits only when you ask |
| skill-registry | runs at session start through a hook, or "update skills" | yes | Keeps a list of every installed skill and where it lives, so the assistant finds the right one |
| comment-writer | opt-in skill (--skills comment-writer) | no | Drafts short, warm, direct replies for reviews, issues and chat |
| branch-pr | opt-in skill (--skills branch-pr) | yes | Prepares a pull request that links an approved issue; never pushes or opens it by itself |
| issue-creation | opt-in skill (--skills issue-creation) | no | Files bug reports and feature requests on GitHub after a duplicate search, one attempt only |
| rdd-defect-workflow | opt-in skill (--skills rdd-defect-workflow) | unclear | Guides fixing problems found by the review step, with honest evidence |

### judgment-day
- Asks for: The exact change or files to review
- Asks for: Your yes before the first round of fixes
- Gives: Counts of confirmed, suspect and contradicting findings
- Gives: Up to two rounds of fixes and re-checks
- Gives: A final verdict: APPROVED or ESCALATED
- Say: "Run judgment day on my last change"

### work-unit-commits
- Asks for: A finished or planned change
- Gives: Saves grouped by behaviour, not by file type
- Gives: Tests and docs kept with the change they cover
- Gives: A checklist per save: purpose, test command and result, rollback
- Say: "Split this feature into reviewable work units"

### chained-pr
- Asks for: The large change
- Asks for: Which chain style you prefer, when asked
- Gives: Chosen strategy and order
- Gives: A dependency diagram in each request
- Gives: A verification plan per piece
- Gives: A size-exception reason if it cannot be split
- Say: "This change is too big, split it into chained PRs"

### cognitive-doc-design
- Asks for: What the document is for and who reads it
- Gives: A doc shape: outcome title, quick path, details table, checklist, next step
- Say: "Rewrite this onboarding guide so it is easier to scan"

### skill-creator
- Asks for: A pattern you repeat and want the assistant to follow
- Gives: skills/<name>/SKILL.md with the required header and sections
- Gives: Optional assets and references folders
- Say: "Create a skill for how we write database migrations"

### skill-improver
- Gives: Audit report by skill and severity
- Gives: Files changed, only in apply mode
- Gives: Questions that need a human
- Say: "Audit the skills in this project"

## Know before installing
- It is an installer, not a folder of text files: it edits your assistant's settings files (for Claude Code, ~/.claude/CLAUDE.md and ~/.claude/settings.json) and keeps 5 backups.
- For Claude Code it adds hooks that run gentle-ai on every prompt, at session start, at the end of each turn and when a subagent stops.
- Anonymous usage data is sent by default (version, OS, chosen agents, counters, and model and token counts from some hosts). Nothing is sent on the first run. Turn it off with gentle-ai telemetry disable or DO_NOT_TRACK=1.
- The review step (RDD) is on by default; turn it off with gentle-ai review mode disable.
- Choosing Engram or GGA installs extra programs through Homebrew; choosing CodeGraph installs a global npm package.
- The optional permissions part blocks your assistant from reading ~/.ssh, .env, key and credential files in Claude Code and OpenCode.

## Install (official commands)
- macOS (Homebrew): `brew install gentleman-programming/tap/gentle-ai` && `gentle-ai` && `gentle-ai doctor` — gentle-ai opens the setup screen; doctor is a read-only health check. Remove: `gentle-ai uninstall --all (removes managed config only, not the binary or Engram)`.
- macOS / Linux (script): `curl -fsSL https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/scripts/install.sh | bash` — Downloads the release and checks it; may add one marked line to ~/.zshrc, ~/.bashrc or similar so the command is found.
- Windows (Go): `go install github.com/gentleman-programming/gentle-ai/v4/cmd/gentle-ai@v4.1.1` — Needs Go 1.25.10+. Official Windows binaries are paused until code signing is ready.
- Any (preview first): `gentle-ai install --dry-run` && `gentle-ai install` — The dry run shows the plan without changing anything.
- Uninstall: gentle-ai uninstall removes only what gentle-ai manages and backs up the files first; external tools and binaries stay.

## What runs on the user's machine
- Code on the machine: yes (everything; the installer is a compiled Go program and the hooks call it)
- Network: yes
- Install / sync: Writes managed prompt sections, skills, MCP entries (Engram, Context7 via npx), persona and permissions into each chosen agent's config folder; state in ~/.gentle-ai/state.json; backups in ~/.gentle-ai/backups/.
- Install with Engram / GGA / CodeGraph: brew tap + brew install of the selected tool; npm install -g for CodeGraph. Node and npm are checked but not installed.
- Claude Code: every prompt: UserPromptSubmit hook refreshes .atl/skill-registry.md in the project (Codex: at SessionStart).
- Claude Code: session start and end of each turn: gentle-ai review stop-hook runs (30 s / 60 s timeouts) for the RDD review.
- Claude Code / Codex: end of turn and subagent stop: Async telemetry hook sends one anonymous runtime record (model, effort, token counts, timing, error category) over HTTPS; nothing stored locally.
- After install / update / sync (from the second run): A detached process POSTs an install event once and a heartbeat at most every 24 h to telemetry.gentlemanprogramming.com, with a random install_id.
- install.sh: Downloads the release archive and checksums.txt from GitHub releases into a temp dir and installs the binary; may append a PATH line to a shell startup file.

## Settings
- `DO_NOT_TRACK`: any value except empty, 0 or false turns telemetry off
- `GENTLE_AI_TELEMETRY`: 0 turns telemetry off
- `GENTLE_AI_TELEMETRY_ENDPOINT`: send telemetry to your own collector
- `GENTLE_AI_HOME`: replaces ~/.gentle-ai for state, backups and telemetry state
- `--claude-orchestrator-modules`: Claude Code global install: split the orchestrator into a core plus on-demand modules

## Author's numbers (as reported, not run by AgentGid)
- 3-line bug in one function: 335 s, 56 turns, $0.339 before the routing rules vs 77 s, 10 turns, $0.105 after (Gentle Shell runs on the author's local benchmark with hidden acceptance suites; single run per cell (n=1); API-equivalent cost). Source: Gentleman-Programming/gentle-ai/README.md
- Bug rooted in shared logic: 479 s, $0.361 before vs 276 s, $0.207 after (same benchmark, n=1). Source: Gentleman-Programming/gentle-ai/README.md
- On the large task it still took about three times longer than Codex CLI (17.5–17.9 min vs 6.1 min). Source: Gentleman-Programming/gentle-ai/README.md

## Steps only the person can do
- Install the AI assistant you want configured (and put pi or opencode on PATH for Pi or OpenCode) (docs/quickstart.md) Then: The agent can run gentle-ai install for that assistant
- Install Node.js 18+ and npm, and git (docs/quickstart.md) Then: gentle-ai install passes its prerequisite check
- If Homebrew asks for trust, run brew trust --formula gentleman-programming/tap/gentle-ai once (docs/quickstart.md) Then: brew install of gentle-ai can proceed
- Decide whether to keep anonymous telemetry and the RDD review on (both on by default) (docs/telemetry.md) Then: The agent runs gentle-ai telemetry disable or gentle-ai review mode disable if you say so

## Mistakes to avoid
- Not: Run gentle-ai install straight away on every assistant. Instead: Run gentle-ai install --dry-run first, then install for one assistant. Why: The installer rewrites the settings files of each assistant you select
- Not: Expect it to install Claude Code, Codex or another assistant. Instead: Install the assistant yourself first, then run gentle-ai to configure it. Why: It only configures assistants that are already there (Pi and OpenCode must be on PATH or install stops)
- Not: Assume nothing leaves the machine. Instead: Run gentle-ai telemetry disable or set DO_NOT_TRACK=1 if you want no usage data sent. Why: Anonymous usage telemetry is on by default
- Not: Treat the RDD review result as an approval to ship. Instead: Read the review, then decide on commit, push and release yourself. Why: The review is informational only
- Not: Expect gentle-ai uninstall to remove Engram, CodeGraph or the binary. Instead: Remove external tools and the gentle-ai binary separately after uninstall. Why: Uninstall removes only the managed config parts

## What leaves the machine
- Install event and a heartbeat: random install_id, version, OS, arch, installed agents and components, RDD on/off, counters → telemetry.gentlemanprogramming.com, After install / update / sync, from the second run; heartbeat at most once every 24 hours. Opt out: gentle-ai telemetry disable, DO_NOT_TRACK=1 or GENTLE_AI_TELEMETRY=0
- Anonymous runtime usage: public model, effort, agent class, token counts, timing, error categories → The same telemetry collector (/v1/runtime-events), From hooks and plugins of supported hosts (Claude Code, Codex, OpenCode, Pi) at end of turn and subagent stop. Opt out: gentle-ai telemetry disable, DO_NOT_TRACK=1 or GENTLE_AI_TELEMETRY=0
- A privacy-scrubbed defect report or comment → GitHub issues of Gentleman-Programming/gentle-ai, Only when a gentle-ai command fails and you choose to report it. Opt out: Pick "continue without reporting" or "stop here"
- Library names and documentation questions the assistant looks up → Context7 docs service (MCP server added on install), When the assistant queries the Context7 MCP server. Opt out: Leave out the context7 component or remove it with gentle-ai uninstall

## Lines in the pack aimed at agents (ask the person first)
- "Continue those steps without asking the human to approve each transition." (internal/assets/skills/_shared/odd-orchestrator-sections.md): Installed orchestrator rules tell the agent to keep going through implementation and verification steps once a task is authorized; tell the person their assistant will act with fewer check-ins.
- "gh issue create --repo "$TARGET" --title "$TITLE" --body-file "$BODY_FILE"" (internal/assets/skills/issue-creation/SKILL.md): The opt-in issue-creation skill posts to GitHub under the person's account; confirm the text with them before it runs.

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice)
- client-work: yes (MIT allows use in work for others)
- redistribute-files: conditions (Program MIT, bundled skills Apache-2.0 (skill-registry MIT): keep notices; forks must use their own name and branding)
- inside-app-bundle: conditions (Skills carry Apache-2.0: keep the license and notices when shipping them)

## Which one to pick
- If You want one installer that adds memory, a workflow, skills and a risk review to many assistants at once: skill:Gentleman-Programming/gentle-ai
- If You want a skills-based methodology (plan, test first, review) without a program that edits your settings: skill:obra/superpowers
- If You want only a few careful-coding rules in one text file, with nothing that runs: skill:multica-ai/andrej-karpathy-skills
- If You want a full Pi-based workspace with parallel agents and live tasks: skill:Gentleman-Programming/gentle-shell

## Works well with
- agent:claude-code: Gets the fullest setup: subagents, skills, MCP, skill-registry and review hooks
- agent:opencode: Native subagents, skills, MCP and managed review plugins
- agent:openai-codex: Skills, MCP and multi-agent when available
- agent:cursor: Subagents, rules, skills, MCP and the Judgment Day judges

## Works in and needs
- Works in Claude Code: installer writes skills, MCP, subagents and hooks
- Works in OpenCode: installer writes skills, MCP and plugins
- Works in Codex: installer writes skills and MCP
- Works in Cursor: installer writes rules, skills, subagents and MCP
- Works in Gemini CLI: installer writes skills and MCP (experimental agents)
- Works in VS Code Copilot: installer writes instructions, skills and MCP
- Works in Windsurf: installer writes skills, global rules and MCP
- Works in GitHub Copilot CLI: installer writes instructions, skills and MCP
- Needs Node.js 18+ and npm: Checked by gentle-ai install on every platform
- Needs git: Listed as a prerequisite
- Needs Homebrew: macOS install path, and for Engram / GGA
- Needs Go 1.25.10+: Windows install and building from source

## How to tell it works
Run gentle-ai install --dry-run to see the plan, then install for one assistant. Open it in a project and ask: "Add CSV export using the existing report filters." The assistant should explore first, then build, then check, and the review step should report a depth based on risk.

## Related
- {'repo': 'Gentleman-Programming/engram', 'why': 'the memory server it installs'}
- {'repo': 'Gentleman-Programming/Gentleman-Skills', 'why': 'framework skills (React, Angular, Tailwind and more), installed separately', 'evidence': {'path': 'docs/components.md', 'quote': 'see [Gentleman-Programming/Gentleman-Skills](https://github.com/Gentleman-Programming/Gentleman-Skills)'}}
- {'repo': 'Gentleman-Programming/gentle-shell', 'why': 'a separate full workspace for the Pi agent'}

## Safety
This program rewrites settings files of every assistant you select and adds Claude Code hooks that run on every prompt and turn; preview with --dry-run. Anonymous telemetry is on by default. The curl install pipes a script from the main branch into bash; Homebrew or a pinned go install avoids that. Skills are instructions your agent follows: read them before installing.
