behavioral-modification
について
このClaudeスキルは、反応性、分離不安、資源防衛などの問題に対処するため、脱感作と拮抗条件付けを用いた、強制を伴わない犬の行動修正テクニックを提供します。基礎的な服従訓練が確立された後、特定の望ましくない行動が日常生活に支障をきたす場合に使用するよう設計されています。本スキルは、犬の閾値を体系的に管理し、強制を用いずに行動を修正します。
クイックインストール
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にコピー&ペーストしてスキルをインストールします
ドキュメント
改行
以減敏、反條、境管處不欲犬行。
用
- 犬對他犬、人、刺顯反(撲、吠、咆)
- 獨居慮→毀物、鳴、汙屋
- 護資:食或持物時僵、咆、咬近者
- 過吠、跳、牽繩拉等擾日常
- 基順已立—改行乃基順之上
入
- 必:具體不欲行(非「犬惡」而「牽繩見他犬即撲」)
- 必:犬之閾距或觸級(多近/強始行)
- 可:行之史(起時、何觸、何致惡)
- 可:犬於輕壓下仍食之高值獎
- 可:獸醫許可(排痛或醫因)
行
一:識且定行
精要—泛述致泛預。
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
得: 具體行定附識觸、閾距、當結果模。
敗: 行似無穩觸→記一週:日、時、境、行、結果。模常於事後現。
二:擇預策
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)。本技涵中度,非臨床例。
三:行減敏與反條
反與懼本行之核協。
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
得: 經週,犬閾距減,對觸之情反自恐/攻轉為中或正。
敗: 三四週穩課無進→重評:(一)在閾下乎?(二)獎值足乎?(三)訓外觸曝過頻乎(氾濫破 DS/CC)?(四)宜問專家。
四:管境
訓經時改行。管今止演。
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 分,終於犬未過閾
- 境管止訓外演
- 進徵(check-in、閾距減)已跟
忌
- 過閾工:最常誤。犬不能食→過近。退
- 不一:DS/CC 需規律課(週三五以上)。散訓得散果
- 氾濫:迫犬近觸→非「習之」而致傷且惡行
- 罰:正反犬(拉繩、喊「否」)抑警徵而加底情。犬學不警而咬
- 望線進:改行有停與退。一劣課不抹先進。闊視週之趨
- 略醫因:痛、甲狀、神經皆或現為行題。猝發行變當先醫許
參
basic-obedience— 改行所依之基命;穩召安全至要
GitHub リポジトリ
関連スキル
llamaguard
その他LlamaGuardは、暴力やヘイトスピーチなど6つの安全性カテゴリーにおいて、LLMの入力と出力をモデレートするMetaの70-80億パラメータモデルです。94〜95%の精度を提供し、vLLM、Hugging Face、Amazon SageMakerを使用してデプロイ可能です。このスキルを使用して、AIアプリケーションにコンテンツフィルタリングと安全策を簡単に統合できます。
cost-optimization
その他このClaudeスキルは、リソースの適正サイジング、タグ付け戦略、支出分析を通じて、開発者がクラウドコストを最適化することを支援します。AWS、Azure、GCPにわたるクラウド支出の削減とコストガバナンスの実施のためのフレームワークを提供します。インフラコストの分析、リソースの適正サイジング、または予算制約への対応が必要な際にご利用ください。
quantizing-models-bitsandbytes
その他このスキルは、bitsandbytesを使用してLLMを8ビットまたは4ビット精度に量子化し、精度の低下を最小限に抑えつつ50〜75%のメモリ削減を実現します。限られたGPUメモリでより大規模なモデルを実行したり、推論を高速化するのに理想的で、INT8、NF4、FP4などのフォーマットをサポートしています。HuggingFace Transformersと統合され、QLoRAトレーニングや8ビットオプティマイザーを可能にします。
dispatching-parallel-agents
その他このClaudeスキルは、複数のエージェントを配備し、3つ以上の独立した問題を並行して調査・修正します。共有状態や依存関係がなく解決可能な、無関係な障害が発生するシナリオ向けに設計されています。中核となる機能は並列問題解決であり、効率を最大化するために独立した問題領域ごとに1つのエージェントを割り当てます。
