self-inject
Run one test-gated self-improvement round on the Remedy codebase: draft a change, snapshot the diff, gate it with tests only, apply (restart sidecar / rebuild…
Skill by AhmiDarrow
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ahmidarrow-self-inject
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/self-inject
What's inside
- Skill name
self-inject- Description
- Run one test-gated self-improvement round on the Remedy codebase: draft a change, snapshot the diff, gate it with tests only, apply (restart sidecar / rebuild SPA) on green or roll back on red, record in the ledger, and continue. Use when self-improve, hot-inject, self-dev, fix our own code, "improve yourself", or run the auto-improvement loop.
- License
- Apache-2.0
- Instructions
- 86 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Self-inject (Remedy improves Remedy)
## Goal
Close the loop on Remedy improving **this** repo. One round = draft a change,
**audit it with tests only**, apply it to the running product on green or roll it
back on red, record the result, and keep going. Never commit red; never leave the
tree or the running product broken.
## When to use
- User says self-improve, hot-inject, improve the codebase, fix our own code, self-dev.
- Triggered on command, or automatically by the sidecar scheduler (starts at
boot when enabled). Organism learning ticks every ~60s with no user prompt;
ruff self-heal waits for ~5 minutes of *user-turn* idle on a clean tree.
## Round steps (in order)
### 1. Orient + blast radius
```powershell
git status -sb
git log -5 --oneline
```
- Name which tree(s) the change touches: **Python sidecar** (`src/remedy/`) and/or
**desktop SPA** (`desktop/src/`).
- Do a `change-safety` blast-radius pass before drafting. Bound the diff.
### 2. Draft
- Use normal `file_edit` / `file_write` tools. Keep the change minimal and focused.
- Do not touch generated/lock files unless the change requires it.
### 3. Snapshot (rollback point)
- Capture `git diff` before gating so a red round can be reverted exactly.
### 4. Gate — tests only
Run the verification for the changed tree(s):
| Tree | Gate |
|------|------|
| Python | `uv run pytest -q` (ruff/mypy as warnings, not hard fails) |
| Desktop | `cd desktop && npm test` |
Use the `self_inject.gate()` helper (driven by `project_fingerprint.suggest_verify`)
where available instead of typing commands by hand.
### 5. Apply or roll back
- **GREEN** → apply:
- Python change → restart the sidecar so live source takes effect.
- Desktop change → rebuild the SPA (`cd desktop && npm run build`) + re-resolve
WebUI dir + hard-refresh, if the change must reach the WebUI.
- **RED** → roll back (`git checkout -- <paths>`), record the failure, **stop the round**.
Do not retry-loop or silently keep a failing diff.
### 6. Record
- Append the outcome to the ledger: `~/.remedy/self_inject_ledger.jsonl`
(diff-id / gate commands + exit codes / outcome / commit or revert ref).
### 7. Continue
- If the user asked for the loop, draft the next improvement and repeat.
- Otherwise return to idle (next round waits for the idle trigger or another command).
## Safety
| Do | Don't |
|----|--------|
| Test-gate every round | Commit a red diff |
| Snapshot before editing | Leave a broken working tree |
| Respect `instance_lock` / single serve | Restart mid-messenger-poll |
| Stop on first red | Silent retry loops / thrash |
## Related skills
- **self-dev-loop** — full orchestration (inject → gauntlet → soak → stress → ship)
- **change-safety** — blast radius before multi-file work
- **project-etiquette** — ship gates
- **gauntlet-security** · **soak-product** · **stress-suite**From AhmiDarrow/RemedyAI, Apache-2.0.
More from AhmiDarrow/RemedyAI
- 0.624score
bioinformatics
AhmiDarrow
Use for sequence and omics work: FASTQ/BAM/VCF/GTF/BED handling and their coordinate conventions, reference builds and liftover, read QC and trimming…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
clinical-research
AhmiDarrow
Human-subject studies run to the standard the field expects: choosing a design that can answer the question, randomisation and blinding, endpoints fixed…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
chemistry-research
AhmiDarrow
Use when the work involves molecular structures, reactions, spectra, computational chemistry, crystallography or chemical databases.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
comfyui
AhmiDarrow
Local ComfyUI image generation end-to-end: from a blank machine (download, install, start, fetch models, workflows) through queue/poll/download and chat embeds.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
bevy
AhmiDarrow
Build Rust games with Bevy: ECS mental model, plugins, schedules, states, assets, 2D sprites, fast iteration (cargo check, dynamic_linking, opt-level)…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
computational-science
AhmiDarrow
Simulation and numerics you can defend: floating-point and conditioning understood before blaming the physics, solvers chosen for the problem, convergence and…
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
stress-suite
AhmiDarrow
Live stress and break suites for Remedy API/desktop — multi-turn storms, concurrent sessions, multi-provider rotation, adversarial break battery.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
change-safety
AhmiDarrow
Blast-radius protocol before code changes — name the surface, list coupled neighbors, run paired checks, and smoke UI/chrome/messengers that unit tests miss.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
project-etiquette
AhmiDarrow
Default ship discipline for any serious project — blast radius first, then fix, test, update code/docs, build, commit, wait for CI, publish only if green.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
self-dev-loop
AhmiDarrow
Meta-loop for Remedy developing herself — self-inject, change-safety, unit tests, security gauntlet, product soak, stress, then ship gates.
SkillAFreshness: A★ 5Claude Code +9 - 0.619score
soak-product
AhmiDarrow
Full product soak for Remedy — API health, computer-use, plan mode, browser rail, concurrency, docs check, and sign-off artifacts.
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
webui-parity
AhmiDarrow
When changing Grove, Studio, Settings, or chat chrome, keep WebUI (browser on :7400) at parity with Tauri.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
- Last release
- Oct 19, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/AhmiDarrow/RemedyAI
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AhmiDarrow
- 0.624score
bioinformatics
AhmiDarrow
Use for sequence and omics work: FASTQ/BAM/VCF/GTF/BED handling and their coordinate conventions, reference builds and liftover, read QC and trimming…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
chemistry-research
AhmiDarrow
Use when the work involves molecular structures, reactions, spectra, computational chemistry, crystallography or chemical databases.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
computational-science
AhmiDarrow
Simulation and numerics you can defend: floating-point and conditioning understood before blaming the physics, solvers chosen for the problem, convergence and…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
bevy
AhmiDarrow
Build Rust games with Bevy: ECS mental model, plugins, schedules, states, assets, 2D sprites, fast iteration (cargo check, dynamic_linking, opt-level)…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
comfyui
AhmiDarrow
Local ComfyUI image generation end-to-end: from a blank machine (download, install, start, fetch models, workflows) through queue/poll/download and chat embeds.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
clinical-research
AhmiDarrow
Human-subject studies run to the standard the field expects: choosing a design that can answer the question, randomisation and blinding, endpoints fixed…
SkillAFreshness: A★ 5Claude Code +9
Cite this page
self-inject skill. Agent Mart. https://agentmart.dev/skills/ahmidarrow-self-inject (last updated 2026-10-24)