SuperAPI AI Directory

peer-id-lookup

Agents & models

View repository

Updated 10-15 23:46

About this skill

peer-id-lookup — department name → peer ID auto-resolution

Just specify the department name and it calls mcp__claude-peers__list_peers and returns the peer ID.


Usage

Pass a department name (either Japanese or abbreviation works) and it returns the peer ID.

「native課に送って」
「mued課のIDを調べて」
「SNS課のpeer IDは?」

Resolution procedure

  1. mcp__claude-peers__list_peers(scope: "machine") run
  2. Match department name → CWD substring using the CWD pattern table below
  3. Return the ID of the matched peer
  4. If offline (not detected), explicitly state "currently offline"

CWD → department name mapping table

Department name CWD substring (match any)
conductor department _conductor
template department claude-code-template
mued department mued/mued_v2(/apps does not contain)
native department mued/mued_v2/apps
SNS department mued/threads-api
write department _contents-writing
data department _data-analysis
LP department _LandingPage
reserch department _Reserch
freee department freee-MCP
cowork department _cowork
video department _videos

Note: mued department and native department have overlapping CWDs./apps Distinguish by whether it contains


Output example

native課のpeer ID: fyl8gi3j
CWD: /Users/kimny/Dropbox/_DevProjects/mued/mued_v2/apps

When multiple hits occur (multiple instances of the same department running):

native課のpeer候補:
- fyl8gi3j (ttys012, last seen: 03:14)
- ab12cd34 (ttys018, last seen: 03:10)
→ より最近のfyl8gi3jを推奨

When offline:

video課は現在オフラインです(アクティブなピアなし)。
次回起動時にメッセージを送るか、kimnyに手動対応を依頼してください。

Notes

  • The peer ID changes per session. Do not hardcode it
  • list_peers is fetched in real time, so the result is as of the time of the call
  • The CWD pattern table needs updating when the directory structure changes (managed by template department)