gentle-shell
A Pi-native shell for controlled development with skills for opening review-sized pull requests, writing clear docs and collaboration comments, and delegating work to focused subagents with test-first habits.
Configures AI coding agents such as Claude Code, Cursor, and Codex with persistent memory, skills, MCP servers, and personas. Includes skills for writing pull requests, collaboration comments, and design docs.
Claude Code
$ npx -y skills add Gentleman-Programming/gentle-ai --agent claude-code
Codex
$ npx skills add Gentleman-Programming/gentle-ai -a codex
Cursor
$ npx skills add Gentleman-Programming/gentle-ai -a cursor
Gemini CLI
$ npx skills add Gentleman-Programming/gentle-ai -a gemini-cli
GitHub Copilot
$ npx skills add Gentleman-Programming/gentle-ai -a github-copilot
OpenCode
$ npx skills add Gentleman-Programming/gentle-ai -a opencode
Windsurf
$ npx skills add Gentleman-Programming/gentle-ai -a windsurf

Website • Quickstart • Docs • Wiki
Your agent writes code, then forgets everything. It has no opinion about your project, and no way to prove what it did beyond asking you to read every line. Gentle-AI gives it memory, a workflow, and evidence.
One prompt, from idea to reviewed commit: memory, workflow, and evidence in a real session.
If Gentle-AI made your agent worth trusting, a star helps other people find it.
WORKS WITH THE AGENT YOU ALREADY HAVE
Pi · OpenCode · Claude Code · Codex · Cursor · VS Code Copilot · Gemini CLI · Kilo Code Kimi Code · Kiro IDE · Qwen Code · Hermes · Antigravity · Windsurf · OpenClaw · Trae · Conductor
17 integrations · native configuration · compare capabilities →

We deliberately don't depend on investors: no outside agenda deciding the roadmap and no features locked behind paywalls. Donations through GitHub Sponsors go straight into maintenance, new features and keeping everything free and ours.
Sponsorship never buys rankings, default selections or endorsements; see TRADEMARKS.md.

The cost of a fresh session is not the tokens — it is you, re-explaining the same decisions every morning. Engram removes that: your agent writes down what it learns as it goes and reaches for it before it reaches for you, so context accumulates instead of resetting.
Small changes should not need a planning pipeline, and larger work should not lose its context between sessions. Organic Driven Development (ODD) keeps understood changes lightweight and gives substantial, authorized work one recoverable feature document. Questions, reviews and proposals stay read-only until you ask for a change. The agent explores before changing code, checks the results, and keeps progress current so work can resume without rebuilding the plan.
Tasks are sized by understanding, risk, and resumability, never by file count. A small task — understood, with contained risk, and resumable from the diff alone — runs inline: no subagents, no task document. Work becomes large only when it can't be resumed from the diff — several sessions, external waits, or requirements too long to survive compaction — never because of its size. The feature document of a large task holds your spec verbatim, and every handoff points at it instead of paraphrasing it.
https://github.com/user-attachments/assets/857a2195-34b8-4720-87af-f71bca3dec92
A subagent costs a fresh session, uncached reads, and a handoff. So the orchestrator delegates only when it can name the reason:
| Reason | When it applies |
|---|---|
| Exploration | Understanding needs more than one inline batch (about 3 calls and 10k tokens) or more than about five sequential lookups; one read-only explorer returns a short map with path:line evidence |
| Parallel writers | Two or more independent units of behavior (code, tests, and docs together) with disjoint edit surfaces, each needing several minutes of work: several files or roughly 100+ changed lines, because a subagent spends one to two minutes reading before it writes. A delivery that depends on another is not independent |
| Context backstop | A long session hands its next bounded unit to a fresh worker |
| Independent verifier | A change that names a high-risk item (data, security, shared contracts, concurrency, delivery, or no test that would catch a regression); never a native risk tier alone, an unclear or failed assessment, or the model that wrote the change |
A trigger holds only when its condition truly holds; none holds by default, and when in doubt the parent works inline. Without a reason the parent writes inline, following its feature document. File count, task size, or a model price ratio never decide the route on their own.
https://github.com/user-attachments/assets/ccd96c9e-e0fd-4504-ad94-0302398f13a9
The routing rules above came from benchmarks, not intuition. These are Gentle Shell runs on a local benchmark with hidden acceptance suites; each cell is a single run (n=1), and cost is API-equivalent.
| Scenario | Before | After |
|---|
A Pi-native shell for controlled development with skills for opening review-sized pull requests, writing clear docs and collaboration comments, and delegating work to focused subagents with test-first habits.
Persistent memory for AI coding agents. An agent-agnostic Go binary that stores memory in SQLite with full-text search, exposed through an MCP server, HTTP API, CLI, and TUI.
A single CLAUDE.md file of behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls. It helps avoid overcomplicated code, keep changes surgical, and surface assumptions.
Gives a Claude Code session helpers for product and engineering work: challenging a plan's scope, judging whether an idea is worth building before any code, tracing a bug to its root cause, and reviewing recent work patterns each week.
Turns a technical book or a folder of documents into a skill your coding agent can load on demand. It pulls out frameworks, decision rules and anti-patterns, so the agent answers from the real chapter text instead of you pasting the whole book into context.
Distills colleague, relationship, or celebrity source material such as chat logs and emails into reusable person profiles, and also sets up an owner profile so a personal agent knows who it works for.
Configures AI coding agents such as Claude Code, Cursor, and Codex with persistent memory, skills, MCP servers, and personas. Includes skills for writing pull requests, collaboration comments, and design docs. Install it with the command on its page. It includes branch-pr, chained-pr, cognitive-doc-design. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it