crm-cleanup
Scans HubSpot for stale deals, duplicate contacts, and missing fields, then fixes what the owner approves. Accepts optional scope argument for deals, contacts, or all.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o crm-cleanup.zip https://jpskill.com/download/22757.zip && unzip -o crm-cleanup.zip && rm crm-cleanup.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22757.zip -OutFile "$d\crm-cleanup.zip"; Expand-Archive "$d\crm-cleanup.zip" -DestinationPath $d -Force; ri "$d\crm-cleanup.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
crm-cleanup.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
crm-cleanupフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] crm-cleanup
crm-maintenanceスキルクリーンアップワークフローを使用して、HubSpotの衛生パスを実行します。ユーザーが/crm-cleanupと入力したため、意図検出ステップをスキップして直ちに実行します。
引数を解析します。
--scope(デフォルト:all) — 取引の監査のみの場合はdeals、連絡先の重複排除のみの場合はcontacts、両方の場合はall
ステップ1 — 停滞している取引をスキャンする
スコープに取引が含まれる場合:
- HubSpotからすべてのオープンな取引をプルします。
- 過去14日間に活動(メール、電話、会議、メモ)がない取引にフラグを付けます。
- 各停滞取引について、取引名、ステージ、最終活動日、関連する連絡先、および金額を表示します。
- 取引ごとにアクションを提案します: 次のステップを更新する、ステージを変更する、メモを追加する、またはクローズ・ロストにする。
変更を加える前に、停滞取引の全リストを提示します。
ステップ2 — 重複する連絡先をスキャンする
スコープに連絡先が含まれる場合:
- HubSpotの連絡先から、重複の可能性が高いもの(同じメールアドレス、類似の名前、同じ会社+類似の名前)を検索します。
- 各重複セットについて、両方のレコードを並べて表示します — 名前、メールアドレス、会社、取引、最終活動。
- どちらのレコードを保持し、どのフィールドをマージするかを提案します。
何もマージする前に、すべての重複セットを提示します。
ステップ3 — 必須フィールドの欠落をスキャンする
- すべてのオープンな取引について、欠落しているフィールド(クローズ日、金額、取引ステージ、関連する連絡先、次のステップ/メモ)を確認します。
- オープンな取引に関連する連絡先について、欠落しているフィールド(メールアドレス、会社、電話番号)を確認します。
- 欠落しているフィールドがあるレコードと、何が欠落しているかを示す表を提示します。
ステップ4 — 承認された修正を適用する
- ステップ1〜3で見つかった各項目を確認します。
- 所有者が明示的に承認した変更のみを適用します。
- 変更が加えられるたびに、HubSpotリンクとともに報告します。
コネクタの障害
HubSpotに到達できない場合、停止します — このコマンドはデータソースとしてHubSpotを必要とします。所有者に「HubSpotが接続されていません。Coworkの設定で接続し、再度/crm-cleanupを実行してください。」と伝えます。
承認ゲート
- レコードを削除しないでください。 連絡先、取引、活動のいずれも削除しません。ユーザーが要求した場合、スキルではできないことを伝え、HubSpotに誘導してください。
- 明示的な承認なしに、取引ステージを変更したり、取引をクローズしたりしないでください。 証拠が強くてもです。フラグを立てて保留します。
- 重複する連絡先を自動マージしないでください。 並べて表示し、ペアごとに承認を待ちます。
- すべての変更について並べて比較します。 現在の値と提案された値を表示し、項目ごとに承認を待ちます。
出力
X件の取引が更新され、Y件の連絡先がマージされ、Z件のフィールドが入力されたという要約で終了します。影響を受けたレコードへのリンクを含めます。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Run a HubSpot hygiene pass using the crm-maintenance skill cleanup workflow. Act immediately — the user typed /crm-cleanup, so skip the intent-detection step.
Parse arguments:
--scope(default:all) —dealsfor deal audit only,contactsfor contact dedup only,allfor both
Step 1 — Scan for stale deals
If scope includes deals:
- Pull all open deals from HubSpot.
- Flag deals with no activity (email, call, meeting, note) in the last 14 days.
- For each stale deal: show deal name, stage, last activity date, associated contacts, and amount.
- Propose actions per deal: update next-step, change stage, add a note, or close-lost.
Present the full stale-deals list before making any changes.
Step 2 — Scan for duplicate contacts
If scope includes contacts:
- Search HubSpot contacts for likely duplicates (same email, similar names, same company + similar name).
- For each duplicate set: show both records side-by-side — name, email, company, deals, last activity.
- Propose which record to keep and which fields to merge.
Present all duplicate sets before merging anything.
Step 3 — Scan for missing required fields
- Check all open deals for missing fields: close date, amount, deal stage, associated contact, next-step/notes.
- Check contacts associated with open deals for missing fields: email, company, phone.
- Present a table of records with missing fields and what's missing.
Step 4 — Apply approved fixes
- Walk through each finding from Steps 1-3.
- Apply only the changes the owner explicitly approves.
- Report each change as it's made with a HubSpot link.
Connector failures
If HubSpot is unreachable, stop — this command requires HubSpot as the data source. Tell the owner: "HubSpot isn't connected. Connect it in Cowork settings, then rerun /crm-cleanup."
Approval gates
- Never delete records. Not contacts, not deals, not activities. If the user asks, say the skill cannot and direct them to HubSpot.
- Never change deal stage or close a deal without explicit approval. Even if evidence is strong. Flag and defer.
- Never auto-merge duplicate contacts. Show side-by-side and wait for approval per pair.
- Side-by-side diffs for all changes. Show current value and proposed value; wait for approval per item.
Output
End with a summary: X deals updated, Y contacts merged, Z fields filled. Include links to the affected records.