adjust-behavior
Start here when an agent did something undesired and you suspect the instructions it read — a skill, a project instruction file, a prompt template — rather…
Skill by tdupu
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/tdupu-adjust-behavior
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: agent-building
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. 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/adjust-behavior
What's inside
- Skill name
adjust-behavior- Description
- Start here when an agent did something undesired and you suspect the instructions it read — a skill, a project instruction file, a prompt template — rather than the code it ran. Runs the repro, cause, repair and verify steps in order.
- License
- GPL-3.0
- Instructions
- 71 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Adjust behavior
A skill fails by making an agent do the wrong thing plausibly, so the loop
needs evidence the behavior happened and evidence it stopped.
Run in order. Each step can end the run.
1. **[[behavior-repro]]** — pin the undesired behavior, the desired behavior,
and the situation that triggers it, and confirm it reproduces often enough to
measure. **No repro, no repair.**
2. **[[behavior-cause]]** — find the artifacts that plausibly produced it and
establish who owns each. Keep the candidate list; step 4 can send you back
to it.
3. **Repair.** Ask the question below, then edit. Preserve an unedited copy of
every artifact you touch: step 4's control arm needs the original text.
- *Skill files:* use a skill-authoring skill if your environment provides
one. A convergence loop like [[fp-finder-skill]] enforces that no file
grows, but **do not run it between the edit and step 4**: it rewrites
lines unrelated to the repro, which breaks the one property the A/B
rests on — nothing differs between the arms except the edit. Run it
before the original is preserved, or after the verdict. And diff its
output against your repair before accepting it: a loop that finds no
improvement returns its input, so writing the result back deletes the
fix while reporting success.
- *Every other artifact* — instruction file, prompt template, policy prose —
has no convergence engine, so nothing enforces that bar mechanically and
it is yours to meet by hand: the file ends no longer than it started, or
the repair states why it had to grow.
- Then [[critical-review]], handed the repro, the blast radius, and both
versions of the text. The claim under review is *this edit fixes this
repro and causes no adverse effect elsewhere* — not the file in isolation.
A convergence loop's own reviews see the file alone and do not discharge
this step.
4. **[[behavior-verify]]** — re-run the repro against the text you will
actually ship. Convergence and review can delete the repair while reporting
success, so verify whatever came out of step 3, not the edit you made before
it. **Only `repaired` ships.** On `failed`, return to step 3 with the next
candidate from step 2; when it is exhausted the run ends unrepaired and
reports that.
## Step 3, before the edit: ask this
**Can this be fixed by giving the agent better context rather than by adding a
rule?** Default yes. A rule, branch, or table needs a reason recorded with the
repair, and that reason must say why context alone cannot produce the desired
behavior. "A rule is more reliable" is not that reason unless the repro showed
it. A skill that has grown a lookup table has started deciding what the agent
should decide.
## Step 3, before [[critical-review]]: state the blast radius
The artifact is read by agents who did not file this complaint. Say **which
file grew during this run** — a file created this run counts as growth equal to
its whole length, and if the cause was uneditable and some other file gained
rules instead, the bloat was relocated, not prevented. Say what else reads the
artifact, what behavior could change that nobody asked to change, and whether
the edit removes a deliberate refusal to supply a default — softening one of
those makes the complaint go away by deleting the thing that was working.
## Any step: escalate rather than guess
When the cause is ambiguous, when two artifacts both explain the behavior, or
when review contests the repair: **use a frontier model** for a recommendation
([[frontier-dump]] if your store provides the mechanism). Do not edit both
candidates to cover the ambiguity.
Escalating succeeds as an escalation, not as a run: bring the recommendation
back to the step that escalated and finish from there. A run that stops at the
escalation reports that it repaired and verified nothing.From tdupu/agent-skills-public, GPL-3.0.
More from tdupu/agent-skills-public
- 0.570score
check-paragraph
tdupu
Judge ONE paragraph of prose (LaTeX allowed) as its stated reader and return a fixed six-line verdict — topic sentence, one idea, reader can follow, claim…
SkillAFreshness: AClaude Code +9 - 0.570score
assemble-recording-series
tdupu
Assemble one lecture or talk video from a folder of raw takes, whatever the capture tool wrote - flat screen-capture files, or per-session folders with the…
SkillAFreshness: AClaude Code +9 - 0.565score
check-documentation-policy
tdupu
Audit mathcity documentation against POLICY-documentation.md.
SkillAFreshness: AClaude Code +9 - 0.565score
behavior-verify
tdupu
Use when an edit to a skill, an instruction file, or a prompt has to be shown to have changed the agent behavior it was meant to fix.
SkillAFreshness: AClaude Code +9 - 0.565score
check-citations
tdupu
Read-only citation audit for .tex files.
SkillAFreshness: AClaude Code +9 - 0.565score
check-grant-format
tdupu
Audit an NSF proposal folder against Grants/GRANT-FORMAT.md (page limits, fonts, margins, required headings, no URLs in the description, prior-support items…
SkillAFreshness: AClaude Code +9 - 0.565score
check-grant-style
tdupu
Audit an NSF Project Description and Summary against Grants/GRANT-STYLE.md (every project has a plan and names what is new; results in prose with citations…
SkillAFreshness: AClaude Code +9 - 0.565score
check-latex
tdupu
Produce the evidence block the human adjudicator needs to approve or reject a notes.tex (or any notes-tier .tex) change before push/merge.
SkillAFreshness: AClaude Code +9 - 0.565score
check-latex-hygiene
tdupu
Audit LaTeX beads, branches, or .tex diffs against the LaTeX Subdomain Policy (mathcity/subdomains/latex/POLICY.md, LX-rules).
SkillAFreshness: AClaude Code +9 - 0.565score
check-lmfdb-hygiene
tdupu
Audit an LMFDB-type bead, diff, experiment proposal, or live type against the LMFDB Subdomain Policy (mathcity/subdomains/lmfdb/POLICY.md) — labels valid…
SkillAFreshness: AClaude Code +9 - 0.564score
behavior-cause
tdupu
Use when a reproduced agent behavior has to be traced to the artifacts whose text produced it.
SkillAFreshness: AClaude Code +9 - 0.561score
add-figure
tdupu
Insert a verified mathematical graphic into the declared LaTeX manuscript at the passage it explains, with a substantive caption, unique label, prose…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/tdupu/agent-skills-public
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tdupu
- 0.570score
check-paragraph
tdupu
Judge ONE paragraph of prose (LaTeX allowed) as its stated reader and return a fixed six-line verdict — topic sentence, one idea, reader can follow, claim…
SkillAFreshness: AClaude Code +9 - 0.570score
assemble-recording-series
tdupu
Assemble one lecture or talk video from a folder of raw takes, whatever the capture tool wrote - flat screen-capture files, or per-session folders with the…
SkillAFreshness: AClaude Code +9 - 0.565score
check-citations
tdupu
Read-only citation audit for .tex files.
SkillAFreshness: AClaude Code +9 - 0.565score
behavior-verify
tdupu
Use when an edit to a skill, an instruction file, or a prompt has to be shown to have changed the agent behavior it was meant to fix.
SkillAFreshness: AClaude Code +9 - 0.565score
check-documentation-policy
tdupu
Audit mathcity documentation against POLICY-documentation.md.
SkillAFreshness: AClaude Code +9 - 0.565score
check-grant-format
tdupu
Audit an NSF proposal folder against Grants/GRANT-FORMAT.md (page limits, fonts, margins, required headings, no URLs in the description, prior-support items…
SkillAFreshness: AClaude Code +9
Cite this page
adjust-behavior skill. Agent Mart. https://agentmart.dev/skills/tdupu-adjust-behavior (last updated 2026-10-24)