File contents naist-onboarding
新規ユーザーが #ai チャンネルで "make my channel" と言ったときに、#ai-<name> チャンネルを作成して招待する。
トリガー
ユーザーが以下のいずれかを言ったとき:
"make my channel"
"create my channel"
"チャンネル作って"
"マイチャンネル作って"
実行手順
1. ユーザーIDを特定
Slack イベントから送信者の user_id を取得する。
2. onboard.js を実行
cd /Users/anicca/.openclaw/skills/naist-onboarding/scripts
node onboard.js <user_id>
3. 出力を確認して報告
スクリプトが成功すれば自動で Slack に通知される。
エラーが出た場合は #ai にエラー内容を投稿する。
onboard.js が行うこと
ステップ
内容
1
Slack API でユーザーの display_name を取得
2
#ai-<lowercase-name> チャンネルを作成(既存なら再利用)
3
ユーザーをチャンネルに招待
4
#ai に ✅ #ai-<name> 作ったよ! と通知
5
新チャンネルでウェルカムメッセージを送信
セットアップ(初回のみ)
cd /Users/anicca/.openclaw/skills/naist-onboarding/scripts
npm install @slack/web-api
Slack Bot に必要なスコープ
スコープ
用途
現状
channels:manage
チャンネル作成・招待
❌ 未付与
channels:write.invites
ユーザーをチャンネルに招待
❌ 未付与
channels:join
チャンネル参加
✅ 付与済み
chat:write
メッセージ送信
✅ 付与済み
users:read
ユーザー名取得
✅ 付与済み
⚠️ 初回セットアップ(ユーザー作業)
https://api.slack.com/apps/A092UBRAJ1X を開く
OAuth & Permissions → Bot Token Scopes に追加:
channels:manage
channels:write.invites
Install to Workspace ボタンで再インストール
新しい SLACK_BOT_TOKEN を /Users/anicca/.openclaw/.env に更新
→ セットアップ完了後、node scripts/onboard.js <userId> で動作確認。
1 --- 2 name: naist-onboarding 3 description: Creates a personal 4 --- 5
6 # naist-onboarding
7
8 新規ユーザーが `#ai` チャンネルで "make my channel" と言ったときに、`#ai-<name>` チャンネルを作成して招待する。
9
10 ## トリガー
11
12 ユーザーが以下のいずれかを言ったとき:
13 - "make my channel"
14 - "create my channel"
15 - "チャンネル作って"
16 - "マイチャンネル作って"
17
18 ## 実行手順
19
20 ### 1. ユーザーIDを特定
21
22 Slack イベントから送信者の `user_id` を取得する。
23
24 ### 2. onboard.js を実行
25
26 ```bash
27 cd /Users/anicca/.openclaw/skills/naist-onboarding/scripts
28 node onboard.js <user_id>
29 ```
30
31 ### 3. 出力を確認して報告
32
33 スクリプトが成功すれば自動で Slack に通知される。
34 エラーが出た場合は `#ai` にエラー内容を投稿する。
35
36 ## onboard.js が行うこと
37
38 | ステップ | 内容 |
39 |---------|------|
40 | 1 | Slack API でユーザーの display_name を取得 |
41 | 2 | `#ai-<lowercase-name>` チャンネルを作成(既存なら再利用) |
42 | 3 | ユーザーをチャンネルに招待 |
43 | 4 | `#ai` に `✅ #ai-<name> 作ったよ!` と通知 |
44 | 5 | 新チャンネルでウェルカムメッセージを送信 |
45
46 ## セットアップ(初回のみ)
47
48 ```bash
49 cd /Users/anicca/.openclaw/skills/naist-onboarding/scripts
50 npm install @slack/web-api
51 ```
52
53 ## Slack Bot に必要なスコープ
54
55 | スコープ | 用途 | 現状 |
56 |---------|------|------|
57 | `channels:manage` | チャンネル作成・招待 | ❌ 未付与 |
58 | `channels:write.invites` | ユーザーをチャンネルに招待 | ❌ 未付与 |
59 | `channels:join` | チャンネル参加 | ✅ 付与済み |
60 | `chat:write` | メッセージ送信 | ✅ 付与済み |
61 | `users:read` | ユーザー名取得 | ✅ 付与済み |
62
63 ## ⚠️ 初回セットアップ(ユーザー作業)
64
65 1. https://api.slack.com/apps/A092UBRAJ1X を開く
66 2. **OAuth & Permissions** → **Bot Token Scopes** に追加:
67 - `channels:manage`
68 - `channels:write.invites`
69 3. **Install to Workspace** ボタンで再インストール
70 4. 新しい `SLACK_BOT_TOKEN` を `/Users/anicca/.openclaw/.env` に更新
71
72 → セットアップ完了後、`node scripts/onboard.js <userId>` で動作確認。
majiayu000/claude-skill-registry-data/tree/main/integration/naist-onboarding commit f481b5ef02
Frequently asked questions How do I install the Naist Onboarding skill? Run npx skillmds add majiayu000/naist-onboarding in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Naist Onboarding skill do? Creates a personal It is listed under Integrations & APIs on SkillMD.
Is Naist Onboarding safe to use? This skill has not completed SkillMD's automated safety review yet. Capability flags: makes network calls, reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Naist Onboarding? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Naist Onboarding free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Naist Onboarding? majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.