dd-orgchart
БесплатноБез исполняемых скриптовНе проверенAnswer questions about the Datadog org structure using Workday data in Snowflake. Use when the user asks about org charts, team structure, who reports to…
от felixge★ 31 звезда на GitHubОб этом скилле
Datadog Org Chart
Answer questions about the Datadog org structure using Workday data in Snowflake.
Data Source
Table: REPORTING.GENERAL.DIM_WORKDAY_WORKER_PUBLIC
| Column | Description |
|---|---|
employee_id |
Unique employee identifier |
name |
Full name |
business_title |
Job title |
manager_id |
Employee ID of direct manager |
team |
Team name |
cost_center |
Cost center |
is_active |
Whether employee is currently active |
Running Queries
Use the Snowflake MCP server via mcporter for clean JSON output:
mcporter call snowflake.run_snowflake_query statement="<SQL>" --output json
Notes:
- Prefer
key=valueargument style for SQL containing quotes; it is less error-prone than function-call style. - Wrap string literals inside the SQL with single quotes.
- The MCP server may print startup logs on stderr; the JSON result is on stdout.
Common Queries
Recursive org tree (replace <name> with the person's name):
WITH RECURSIVE org_tree AS (
SELECT employee_id, name, business_title, manager_id, team,
is_active, 0 AS depth, name AS path
FROM REPORTING.GENERAL.DIM_WORKDAY_WORKER_PUBLIC
WHERE name ILIKE '%<name>%' AND is_active = TRUE
UNION ALL
SELECT e.employee_id, e.name, e.business_title, e.manager_id, e.team,
e.is_active, t.depth + 1, t.path || ' > ' || e.name
FROM REPORTING.GENERAL.DIM_WORKDAY_WORKER_PUBLIC e
JOIN org_tree t ON e.manager_id = t.employee_id
WHERE e.is_active = TRUE AND e.employee_id != e.manager_id
)
SELECT depth, name, business_title, team
FROM org_tree
ORDER BY path
If the base case matches multiple people, ask the user to disambiguate.
Headcount by location (replace <name> with the person's name):
WITH RECURSIVE org_tree AS (
SELECT employee_id, name, business_title, manager_id, team,
is_active, location_id, 0 AS depth
FROM REPORTING.GENERAL.DIM_WORKDAY_WORKER_PUBLIC
WHERE name ILIKE '%<name>%' AND is_active = TRUE
UNION ALL
SELECT e.employee_id, e.name, e.business_title, e.manager_id, e.team,
e.is_active, e.location_id, t.depth + 1
FROM REPORTING.GENERAL.DIM_WORKDAY_WORKER_PUBLIC e
JOIN org_tree t ON e.manager_id = t.employee_id
WHERE e.is_active = TRUE AND e.employee_id != e.manager_id
)
SELECT location_id, COUNT(*) AS headcount
FROM org_tree
WHERE depth > 0
GROUP BY location_id
ORDER BY headcount DESC
Output
Adapt output to what the user asked for — a count, a list, a text tree, etc.
If the user asks for a visual diagram or chart, read and follow GRAPHVIZ.md in this skill directory.
For a text tree, render using box-drawing characters (├──, └──, │) with name, title, and team. Show total headcount at the end.
Установить dd-orgchart в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dd-orgchart?
Answer questions about the Datadog org structure using Workday data in Snowflake. Use when the user asks about org charts, team structure, who reports to someone, headcount, titles, or any people/org question.
Как установить скилл dd-orgchart?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dd-orgchart запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic