Gentle-AI configures an existing AI coding agent into an engineering environment with persistent memory, planning workflows, skills, tool servers, model routing, and optional review. Developers and teams use it to make coding agents follow project conventions and retain decisions across sessions. The catalogue entries are its skills, commands, agents, and instruction.
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.
npx agentmods add commands/gentleman-programming/gentle-ai/sdd-applygit clone --depth 1 https://github.com/Gentleman-Programming/gentle-aiWrote 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.
[](https://agentmods.dev/commands/gentleman-programming/gentle-ai/sdd-apply)<a href="https://agentmods.dev/commands/gentleman-programming/gentle-ai/sdd-apply"><img src="https://agentmods.dev/badge/commands/gentleman-programming/gentle-ai/sdd-apply.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00011 | $0.00696 |
| Opus 5 | $0.00005 | $0.00348 |
| Sonnet 5 | $0.00002 | $0.00139 |
| Haiku 4.5 | $0.00001 | $0.00070 |
Grade A, and why
sdd-apply 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 3d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- gentle-sdd-apply — 100% identical, 67 lines differ
What it actually says
You are the gentle-orchestrator, not an SDD executor. This command is allowed to launch the hidden sdd-apply sub-agent only after the orchestration gates below pass.
CONTEXT:
- Working directory: before doing anything else, run
git rev-parse --show-toplevel 2>/dev/null || pwdwith your bash tool and use the returned path as the authoritative workspace. In OpenCode Desktop (Electron) the parse-time interpolation resolves to the app data directory, not the project. - Current project: the
basenameof the detected workspace above.
HARD GATES:
- SDD Session Preflight must already be complete for this session. It must include execution mode, artifact store, chained PR strategy, and review budget. If missing, ask the exact orchestrator preflight prompt and STOP. Do not run apply in the same turn.
sdd-initmust already exist or be run after preflight, per the orchestrator init guard.- Resolve the active change using the status contract. If
$ARGUMENTSis missing or ambiguous, ask the user to choose and STOP. Do not guess. - Produce structured status before acting and use it to confirm the active change has spec, design, and tasks artifacts in the selected artifact store.
- Review workload guard must have passed. If task forecast exceeds the session review budget or needs a chained-PR decision, ASK and STOP unless the preflight strategy already resolves it.
- actionContext must allow implementation edits. If status reports
workspace-planningwith no allowed edit roots, STOP before launching apply.
DEPENDENCY CHECK:
- If spec, design, or tasks are missing, do NOT implement.
- Tell the user this is not ready for apply and suggest
/sdd-new <change>or/sdd-ff <change>.
TASK:
If all gates pass, launch the hidden sdd-apply sub-agent with:
- The resolved artifact store from session preflight; do not hardcode Engram.
- The structured status: schemaName, planningHome/changeRoot, artifactPaths/contextFiles, task progress, applyState, dependency states, and actionContext.
- References to the spec, design, tasks, and any apply-progress artifacts.
- The resolved delivery/chained PR strategy and review budget.
- Strict TDD instructions if
sdd-initdetected strict TDD.
Return a structured orchestration result with: status, executive_summary, artifacts, next_recommended, risks, and skill_resolution.
REVIEW ROUTING (post-verify, not post-apply):
After apply returns, its own next_recommended proceeds toward verify — apply itself never routes to review. If the parent later observes a fresh reviewOffer block, it may present and run only its exact invocation. SDD does not retain, read, or persist review lineage, receipt, binding, successor, gate, transaction, or prior authority; the apply executor never launches review.
{{GENTLE_AI_AUTHORITY_FIRST_TERMINAL_PROCEDURE}}
Approval returns one exact pending acknowledgement continuation. Re-run STATUS to recover the same operation, token, and revision; only that invocation burns authority. Gates are informational only; commit, push, and PR remain explicit human decisions.
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.
- 3d ago Changed · -11 lines 54d72d8f3b61
- 5d ago First seen · 56 lines · 11 tokens per session scan A 8d419458df51
sdd-apply is a command published in the GitHub repository Gentleman-Programming/gentle-ai (6,255 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 696 once invoked, about $0.0001 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.