behavioral-modification
À propos
Cette Compétence Claude propose des techniques de modification comportementale sans force pour les chiens, traitant des problèmes tels que la réactivité, l'anxiété de séparation et la protection des ressources. Elle utilise des méthodes systématiques comme la désensibilisation et le contre-conditionnement avec gestion des seuils. Les développeurs doivent l'utiliser pour gérer des comportements problématiques spécifiques et établis, après un entraînement d'obéissance de base.
Installation rapide
Claude Code
Recommandénpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/behavioral-modificationCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Behavioral Modification
Unwanted dog behaviors → desensitize, counter-condition, manage env.
Use When
- Reactivity (lunge, bark, growl) at dogs, ppl, stimuli
- Separation anxiety → destruction, vocal, soiling when alone
- Resource guarding: stiff, growl, snap near food/object
- Excessive bark, jump, pull, etc. interfere w/ life
- After basic obedience — builds on foundation cmds
In
- Required: Specific unwanted behavior ("dog lunges at dogs on leash", not "bad")
- Required: Threshold distance or trigger level (close/intense before behavior)
- Optional: History (start, triggers, worsen factors)
- Optional: High-value treats dog eats when mildly stressed
- Optional: Vet clearance (rule out pain/medical)
Do
Step 1: Define Behavior
Precision matters — vague descriptions → vague interventions.
Behavior Analysis (ABC Model):
+-------------+------------------------------------------+
| Component | Define Specifically |
+-------------+------------------------------------------+
| Antecedent | What happens BEFORE the behavior? |
| (Trigger) | e.g., "sees another dog within 30 feet" |
+-------------+------------------------------------------+
| Behavior | What EXACTLY does the dog do? |
| | e.g., "stiffens, stares, then lunges and |
| | barks" |
+-------------+------------------------------------------+
| Consequence | What happens AFTER the behavior? |
| | e.g., "owner pulls the dog away; the |
| | other dog leaves" (behavior is reinforced |
| | because the trigger goes away) |
+-------------+------------------------------------------+
Threshold Mapping:
- At what distance/intensity does the dog first notice the trigger? (alert)
- At what distance/intensity does the dog become unable to take treats? (over threshold)
- The working zone is BELOW threshold — where the dog notices but can still think
→ Precise behavior def + trigger + threshold distance + current consequence.
If err: No consistent trigger → log 1 wk: date, time, ctx, behavior, consequence. Patterns emerge.
Step 2: Pick Strategy
Strategy Selection:
+----------------------------+-----------------------------------+-----------------+
| Behavior | Primary Strategy | Timeline |
+----------------------------+-----------------------------------+-----------------+
| Reactivity (dogs/people) | Desensitization + counter- | 4-12 weeks |
| | conditioning (DS/CC) | |
+----------------------------+-----------------------------------+-----------------+
| Separation anxiety | Graduated absence protocol + | 6-16 weeks |
| | management | |
+----------------------------+-----------------------------------+-----------------+
| Resource guarding | Trade-up protocol + | 4-8 weeks |
| | approach desensitization | |
+----------------------------+-----------------------------------+-----------------+
| Excessive barking | Identify function → teach | 2-6 weeks |
| | alternative behavior | |
+----------------------------+-----------------------------------+-----------------+
| Leash pulling | Penalty yards (stop when | 2-4 weeks |
| | pulling) + reward position | |
+----------------------------+-----------------------------------+-----------------+
→ Specific strategy for behavior.
If err: Severe behavior (bite w/ contact, extreme panic, self-harm) → refer to CAAB or DACVB. This skill covers moderate, not clinical.
Step 3: DS/CC
Core proc for reactivity + fear.
DS/CC Protocol:
1. FIND the threshold: position the dog where the trigger is visible
but the dog is still calm enough to eat treats
2. MARK and TREAT: trigger appears → mark → treat → treat → treat
(classical conditioning: trigger predicts good things)
3. CRITERIA: the dog should be:
- Able to eat treats
- Ears relaxed or neutral (not pinned forward)
- Loose body posture
- Able to look at the trigger and then look back at the handler
4. DECREASE DISTANCE gradually:
Session 1: 50 feet from trigger
Session 3: 45 feet
Session 5: 40 feet
(Only decrease when the dog is consistently relaxed at current distance)
5. SESSION STRUCTURE:
- 5-15 minutes maximum
- 3-5 trigger exposures per session
- End BEFORE the dog goes over threshold
- If the dog goes over threshold, increase distance immediately
and end on a calmer note
6. PROGRESS INDICATORS:
- Dog looks at trigger, then immediately looks at handler ("check-in")
- Dog's threshold distance decreases over sessions
- Recovery time after exposure shortens
- Dog's body language at threshold becomes more relaxed
→ Over wks: threshold shrinks, emotion shifts fear/aggression → neutral/positive.
If err: No progress 3-4 wks of consistent sessions → reassess: (1) below threshold? (2) treats high-value? (3) trigger exposure too frequent outside training (flooding undoes DS/CC)? (4) consult pro.
Step 4: Manage Env
Training changes behavior over time. Mgmt prevents rehearsal now.
Management Strategies:
+----------------------------+------------------------------------------+
| Behavior | Management During Training Period |
+----------------------------+------------------------------------------+
| Dog reactivity | Walk at off-peak hours; cross the street |
| | when another dog approaches; use visual |
| | barriers (parked cars, bushes) |
+----------------------------+------------------------------------------+
| Separation anxiety | Do not leave the dog alone beyond their |
| | current tolerance; use daycare, pet |
| | sitter, or take the dog with you |
+----------------------------+------------------------------------------+
| Resource guarding | Do not approach while eating; trade up |
| | from a distance; manage access to |
| | high-value items |
+----------------------------+------------------------------------------+
| Excessive barking | Block visual triggers (frosted window |
| | film); provide enrichment; address |
| | underlying cause (boredom, anxiety) |
+----------------------------+------------------------------------------+
Every rehearsal of the unwanted behavior strengthens it.
Management prevents rehearsal while training builds the new response.
→ Unwanted behavior not practiced outside controlled sessions.
If err: Mgmt impossible (can't avoid all dog encounters) → reduce training criteria to match reality. Some exposure unavoidable; training sessions need strong enough counter-experience.
Check
- Behavior defined precisely via ABC
- Threshold distance ID'd before DS/CC
- Training consistently below threshold
- Treats high-value enough for dog to eat near trigger
- Sessions 5-15 min, end before over threshold
- Env mgmt prevents rehearsal outside training
- Progress indicators (check-ins, reduced distance) tracked
Traps
- Over threshold: Most common err. Dog can't eat treats → too close. Back up
- Inconsistency: DS/CC needs regular sessions (3-5/wk min). Sporadic → sporadic results
- Flooding: Forcing trigger close up doesn't habituate — traumatizes, worsens behavior
- Punishment: Leash pop, "no" → suppresses warning signals but keeps underlying emotion. Dog learns to bite w/o warning
- Linear progress: Plateaus + regressions normal. Bad session ≠ lost progress. Zoom out, trend over wks
- Ignore medical: Pain, thyroid, neuro → present as behavior. Vet clearance not optional for sudden changes
→
basic-obedience— foundation cmds this builds on; reliable recall essential for safety
Dépôt GitHub
Compétences associées
llamaguard
AutreLlamaGuard est le modèle de Meta, doté de 7 à 8 milliards de paramètres, conçu pour modérer les entrées et sorties des LLM selon six catégories de sécurité comme la violence et les discours haineux. Il offre une précision de 94 à 95 % et peut être déployé avec vLLM, Hugging Face ou Amazon SageMaker. Utilisez cette compétence pour intégrer facilement le filtrage de contenu et des garde-fous de sécurité dans vos applications d'IA.
cost-optimization
AutreCette compétence de Claude aide les développeurs à optimiser les coûts du cloud grâce au redimensionnement des ressources, aux stratégies d'étiquetage et à l'analyse des dépenses. Elle fournit un cadre pour réduire les dépenses cloud et mettre en œuvre une gouvernance des coûts sur AWS, Azure et GCP. Utilisez-la lorsque vous devez analyser les coûts d'infrastructure, redimensionner les ressources ou respecter des contraintes budgétaires.
quantizing-models-bitsandbytes
AutreCette compétence quantifie les LLMs en précision 8 bits ou 4 bits à l'aide de bitsandbytes, permettant une réduction de 50 à 75 % de la mémoire utilisée avec une perte de précision minime. Elle est idéale pour exécuter des modèles plus volumineux sur une mémoire GPU limitée ou pour accélérer l'inférence, prenant en charge des formats comme INT8, NF4 et FP4. La compétence s'intègre à HuggingFace Transformers et permet l'entraînement QLoRA ainsi que l'utilisation d'optimiseurs en 8 bits.
dispatching-parallel-agents
AutreCette compétence Claude déploie plusieurs agents pour enquêter et résoudre simultanément 3 problèmes indépendants ou plus. Elle est conçue pour des scénarios impliquant des défaillances non liées qui peuvent être résolues sans état partagé ni dépendances. La capacité fondamentale est la résolution de problèmes en parallèle, en assignant un agent par domaine problématique indépendant afin de maximiser l'efficacité.
