원클릭으로
user-info
Use when you need the current user's identity or contact info: name, job title, employee number, email, phone, or department.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when you need the current user's identity or contact info: name, job title, employee number, email, phone, or department.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use for reading, analyzing, summarizing, and converting complex documents into Markdown artifacts or other supported document formats.
Use when the user provides API keys, tokens, or other configuration values that should persist across sessions, or when the user asks to query, list, or delete saved environment variables. Manages personal env by default and workspace env only when explicitly requested.
Create, modify, evaluate, package, and upload skills. Use when users want to create a skill from scratch, edit or optimize an existing skill, run evals to test a skill, benchmark skill performance, optimize a skill's description for better triggering accuracy, package a skill into a zip, or upload a skill to their skill library. Also use when user asks to "capture this workflow as a skill", "make a skill for X", "turn this into a reusable skill", "package this skill", or "upload to my skill library".
Discover, connect to, and invoke tools on MCP (Model Context Protocol) servers. CRITICAL - When the user message contains [@mcp:...] mention, you MUST load this skill first to use MCP tools correctly.
Use when the user wants to interact with DingTalk/钉钉 in any way — including but not limited to: reading, querying, searching, sending, replying to, forwarding, or recalling DingTalk/钉钉 chat messages and chat history; managing group chats and conversations; sending DING alerts; querying contacts, org structure, AI search, or coworkers; reading, searching, creating, or editing DingTalk/钉钉 docs, drive files, sheets, AI tables, wiki, mail, calendar events, meeting rooms, AI meeting minutes, attendance, OA approvals, todos, reports/logs, live sessions, AI apps, permissions, or open-platform docs.
Use when the user wants to interact with Lark/Feishu/飞书 in any way — including but not limited to: reading, querying, searching, sending, replying to, forwarding, or downloading Lark/Feishu/飞书 IM messages and chat history; managing group chats; listing, viewing, searching, creating, or editing cloud docs/files, Drive, Markdown, spreadsheets, Base tables, wiki, whiteboards, slides, apps, calendars/events/meeting rooms, contacts/org structure, tasks/todos, approvals, attendance, mail, minutes, VC notes, OKRs, real-time events, or custom Lark CLI skills. Load this skill first to find the right sub-skill.
| name | user-info |
| description | Use when you need the current user's identity or contact info: name, job title, employee number, email, phone, or department. |
Retrieve the current session user's profile via get_user_info.
from sdk.tool import tool
result = tool.call("get_user_info", {})
print(result.content)
Example output:
User: Zhang San. Position: Engineering Lead. Work Number: 10086. Email: zhang@example.com. Phone: 138****0000 (desensitized). Departments: Engineering, Architecture.
For structured access, use result.data:
| Field | Type | Notes |
|---|---|---|
id | string | User ID |
nickname | string | Display name |
real_name | string | Legal name |
work_number | string | Employee number (may be empty) |
position | string | Job title |
email | string | Email address |
phone | string | Phone, desensitized by default (e.g. 138****0000) |
departments | array | Each item: {id, name, path} |
Phone is masked by default to protect privacy. To get the full number, you must first ask for explicit user consent.
Step 1 — Ask for consent:
from sdk.tool import tool
result = tool.call("ask_user", {
"questions": '<question type="confirm">I need your full phone number to proceed. Do you allow me to access it?</question>'
})
print(result.content)
Step 2 — If the user consents, request the full number:
result = tool.call("get_user_info", {
"include_sensitive_fields": ["phone"]
})
print(result.content)
If the user declines: use the desensitized value or drop the requirement. Do not ask again.
include_sensitive_fields without prior explicit user approval in the same conversation.