MCP HubMCP Hub
Volver a habilidades

behavioral-modification

pjt222
Actualizado Yesterday
8 vistas
17
2
17
Ver en GitHub
Otrogeneral

Acerca de

Esta Habilidad de Claude proporciona orientación estructurada para modificar problemas de comportamiento canino como la reactividad, la ansiedad por separación y la protección de recursos, utilizando métodos libres de fuerza. Emplea técnicas de desensibilización sistemática, contracondicionamiento y manejo de umbrales. Los desarrolladores pueden utilizarla para crear aplicaciones que ofrezcan planes de modificación de conducta paso a paso, una vez que se haya establecido el entrenamiento básico de obediencia.

Instalación rápida

Claude Code

Recomendado
Principal
npx skills add pjt222/agent-almanac -a claude-code
Comando PluginAlternativo
/plugin add https://github.com/pjt222/agent-almanac
Git CloneAlternativo
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/behavioral-modification

Copia y pega este comando en Claude Code para instalar esta habilidad

Documentación

行为矫正

通过脱敏、反条件化和环境管理来处理犬只不良行为。

适用场景

  • 犬只对其他犬、人或刺激表现出反应性(冲扑、吠叫、咆哮)
  • 分离焦虑表现为独处时的破坏行为、嚎叫或室内排泄
  • 资源守卫:犬只在进食或持有物品时被接近会僵硬、咆哮或咬
  • 过度吠叫、跳跃、拉牵绳或其他干扰日常生活的行为
  • 在基础服从训练已建立之后——行为矫正建立在基础指令之上

输入

  • 必需:需要处理的具体不良行为(不是"犬很差"而是"犬在牵绳上看到其他犬时会冲扑")
  • 必需:犬只的阈值距离或触发水平(多近/多强烈时行为开始)
  • 可选:行为历史(何时开始、什么触发、什么使其恶化)
  • 可选:犬只在轻微紧张时仍愿意吃的高价值零食
  • 可选:兽医许可(排除疼痛或医学原因导致的行为变化)

步骤

第 1 步:识别和定义行为

精确性很重要——模糊的描述导致模糊的干预。

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

预期结果: 精确的行为定义,包含已识别的触发因素、阈值距离和当前后果模式。

失败处理: 如果行为似乎没有一致的触发因素,记录一周的日志:日期、时间、环境、行为、后果。通常会出现在当下不明显的模式。

第 2 步:选择干预策略

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        |                 |
+----------------------------+-----------------------------------+-----------------+

预期结果: 为已识别的行为选择了具体的策略。

失败处理: 如果行为严重(有接触的咬伤、极端恐慌、自残),转介至认证应用动物行为专家(CAAB)或兽医行为专家(DACVB)。本技能涵盖中度行为问题,不涵盖临床病例。

第 3 步:执行脱敏和反条件化

针对反应性和基于恐惧行为的核心方案。

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

预期结果: 经过数周,犬只的阈值距离减小,对触发因素的情绪反应从恐惧/攻击转变为中性或积极。

失败处理: 如果持续训练 3-4 周后没有进步,重新评估:(1) 你是否在阈值以下工作?(2) 零食价值是否足够高?(3) 训练之外的触发暴露是否过于频繁(泛滥会抵消 DS/CC)?(4) 考虑咨询专业人士。

第 4 步:管理环境

训练随时间改变行为。管理在当下防止行为重复。

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.

预期结果: 在受控训练之外,不良行为没有被练习。

失败处理: 如果管理不可能(例如无法避免所有犬只相遇),降低训练标准以匹配现实。某些环境暴露是不可避免的;确保训练课程提供足够强的反体验。

验证清单

  • 行为已使用 ABC 模型精确定义
  • 在开始 DS/CC 之前已确定阈值距离
  • 训练始终在阈值以下进行
  • 零食价值足够高,犬只在触发因素存在时仍愿意吃
  • 课程为 5-15 分钟,在犬只超过阈值之前结束
  • 环境管理在训练之外防止了行为重复
  • 正在跟踪进步指标(回头确认、阈值距离缩短)

常见问题

  • 在阈值以上工作:最常见的单一错误。如果犬只不吃零食,你太近了。后退
  • 不一致性:DS/CC 需要定期训练(每周至少 3-5 次)。零散的训练产生零散的结果
  • 泛滥:强迫犬只在近距离忍受触发因素不会"让它们习惯"——这会造成创伤并恶化行为
  • 惩罚:纠正反应性犬只(拉牵绳、大喊"不")会压制警告信号但增加潜在情绪。犬只学会无警告地咬
  • 期望线性进步:行为矫正有平台期和倒退。一次糟糕的训练不会抹去之前的进步。放大视角看数周的趋势
  • 忽视医学原因:疼痛、甲状腺疾病和神经系统问题都可能表现为行为问题。对于突发的行为变化,兽医检查不是可选的

相关技能

  • basic-obedience — 行为矫正所依赖的基础指令;可靠的召回对安全至关重要

Repositorio GitHub

pjt222/agent-almanac
Ruta: i18n/zh-CN/skills/behavioral-modification
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

Habilidades relacionadas

llamaguard

Otro

LlamaGuard es el modelo de Meta de 7-8B parámetros para moderar las entradas y salidas de LLM en seis categorías de seguridad como violencia y discurso de odio. Ofrece una precisión del 94-95% y puede implementarse usando vLLM, Hugging Face o Amazon SageMaker. Utiliza esta skill para integrar fácilmente filtrado de contenido y barreras de seguridad en tus aplicaciones de IA.

Ver habilidad

cost-optimization

Otro

Esta Skill de Claude ayuda a los desarrolladores a optimizar los costes en la nube mediante el ajuste de tamaño de recursos, estrategias de etiquetado y análisis de gastos. Proporciona un marco para reducir los gastos en la nube e implementar una gobernanza de costes en AWS, Azure y GCP. Úsala cuando necesites analizar los costes de infraestructura, ajustar el tamaño de los recursos o cumplir con restricciones presupuestarias.

Ver habilidad

quantizing-models-bitsandbytes

Otro

Esta habilidad cuantiza LLMs a precisión de 8 o 4 bits utilizando bitsandbytes, logrando una reducción de memoria del 50-75% con pérdida mínima de precisión. Es ideal para ejecutar modelos más grandes en memoria GPU limitada o para acelerar la inferencia, admitiendo formatos como INT8, NF4 y FP4. La habilidad se integra con HuggingFace Transformers y permite entrenamiento QLoRA y optimizadores de 8 bits.

Ver habilidad

dispatching-parallel-agents

Otro

Esta Skill de Claude despliega múltiples agentes para investigar y solucionar 3 o más problemas independientes de forma concurrente. Está diseñada para escenarios que involucran fallos no relacionados que pueden resolverse sin estado compartido o dependencias. Su capacidad principal es la resolución paralela de problemas, asignando un agente por cada dominio problemático independiente para maximizar la eficiencia.

Ver habilidad