behavioral-modification
О программе
Этот навык предлагает техники коррекции поведения собак без применения силы, используя десенсибилизацию и контробусловливание для решения таких проблем, как реактивность, тревожность разлуки и охрана ресурсов. Он предназначен для применения после освоения базового послушания, когда конкретные нежелательные модели поведения мешают повседневной жизни. Методы основаны на системном управлении порогом реакции для изменения эмоционального отклика собаки.
Быстрая установка
Claude Code
Рекомендуется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-modificationСкопируйте и вставьте эту команду в Claude Code для установки этого навыка
Документация
Behavioral Modification
Address unwanted dog behaviors via desensitization, counter-conditioning, environmental management.
When Use
- Dog shows reactivity (lunging, barking, growling) toward other dogs, people, stimuli
- Separation anxiety → destructive behavior, vocalization, house soiling when alone
- Resource guarding: dog stiffens, growls, snaps when approached while eating or holding item
- Excessive barking, jumping, pulling on leash, other behaviors interfering with daily life
- After basic obedience established — behavioral modification builds on foundation commands
Inputs
- Required: Specific unwanted behavior (not "dog is bad" — rather "dog lunges at other dogs on leash")
- Required: Dog's threshold distance or trigger level (how close/intense before behavior starts)
- Optional: Behavior history (when started, triggers, worsens)
- Optional: High-value treats dog will eat even when mildly stressed
- Optional: Veterinary clearance (rule out pain or medical causes for behavior changes)
Steps
Step 1: Identify and Define the 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
Got: Precise behavior definition. Trigger identified, threshold distance, current consequence pattern.
If fail: Behavior has no consistent trigger? Keep log for one week: date, time, context, behavior, consequence. Patterns emerge that aren't obvious in the moment.
Step 2: Choose the Intervention 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 | |
+----------------------------+-----------------------------------+-----------------+
Got: Specific strategy selected for identified behavior.
If fail: Behavior severe (biting with contact, extreme panic, self-harm)? Refer to certified applied animal behaviorist (CAAB) or veterinary behaviorist (DACVB). This skill covers moderate behavioral issues, not clinical cases.
Step 3: Execute Desensitization and Counter-Conditioning
Core protocol for reactivity and fear-based behaviors.
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
Got: Over weeks, dog's threshold distance decreases. Emotional response to trigger shifts from fear/aggression to neutral or positive.
If fail: No progress after 3-4 weeks of consistent sessions? Reassess: (1) working below threshold? (2) treats high-value enough? (3) trigger exposure too frequent outside training (flooding undoes DS/CC)? (4) consult professional.
Step 4: Manage the Environment
Training changes behavior over time. Management 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.
Got: Unwanted behavior not practiced outside controlled training sessions.
If fail: Management impossible (e.g., cannot avoid all dog encounters)? Reduce training criteria to match reality. Some environmental exposure unavoidable — ensure training sessions provide strong enough counter-experience.
Checks
- Behavior defined precisely using ABC model
- Threshold distance identified before starting DS/CC
- Training conducted consistently below threshold
- Treats high-value enough for dog to eat in presence of trigger
- Sessions 5-15 minutes, ending before dog went over threshold
- Environmental management prevented behavior rehearsal outside training
- Progress indicators (check-ins, reduced threshold distance) tracked
Pitfalls
- Working over threshold: Single most common error. Dog cannot eat treats → too close. Move back
- Inconsistency: DS/CC requires regular sessions (3-5 per week minimum). Sporadic training → sporadic results
- Flooding: Forcing dog to endure trigger at close range does not "get them used to it" — it traumatizes, worsens behavior
- Punishment: Correcting reactive dog (leash pop, yelling "no") suppresses warning signals but increases underlying emotion. Dog learns to bite without warning
- Expecting linear progress: Behavioral modification has plateaus and regressions. Bad session does not erase prior progress. Zoom out, look at trend over weeks
- Ignoring medical causes: Pain, thyroid disorders, neurological issues all present as behavioral problems. Veterinary clearance not optional for sudden-onset behavior changes
See Also
basic-obedience— foundation commands behavioral modification builds upon; reliable recall essential for safety
GitHub репозиторий
Похожие навыки
llamaguard
ДругоеLlamaGuard — это модель от Meta с 7–8 миллиардами параметров для модерации входных и выходных данных больших языковых моделей по шести категориям безопасности, таким как насилие и разжигание ненависти. Она обеспечивает точность 94–95% и может быть развернута с помощью vLLM, Hugging Face или Amazon SageMaker. Используйте этот навык, чтобы легко интегрировать фильтрацию контента и защитные механизмы в ваши ИИ-приложения.
cost-optimization
ДругоеЭтот навык Claude помогает разработчикам оптимизировать облачные расходы за счет правильного подбора ресурсов, стратегий тегирования и анализа затрат. Он предоставляет framework для сокращения облачных расходов и внедрения управления затратами в AWS, Azure и GCP. Используйте его, когда вам нужно проанализировать расходы на инфраструктуру, оптимизировать ресурсы или уложиться в бюджетные ограничения.
quantizing-models-bitsandbytes
ДругоеЭтот навык выполняет квантизацию LLM до 8-битной или 4-битной точности с использованием библиотеки bitsandbytes, обеспечивая сокращение использования памяти на 50-75% при минимальной потере точности. Он идеально подходит для запуска больших моделей при ограниченной памяти GPU или для ускорения вывода, поддерживая форматы INT8, NF4 и FP4. Навык интегрируется с HuggingFace Transformers и позволяет использовать обучение QLoRA и 8-битные оптимизаторы.
dispatching-parallel-agents
ДругоеЭтот навык Claude распределяет нескольких агентов для исследования и устранения трёх и более независимых проблем параллельно. Он предназначен для сценариев с несвязанными сбоями, которые можно устранить без общего состояния или зависимостей. Ключевая возможность — параллельное решение проблем, где за каждую независимую предметную область назначается отдельный агент для максимальной эффективности.
