declarative-agent-deve…
Create, build, deploy, and localize declarative agents for M365 Copilot and Teams. Use the wiqd CLI for all declarative-agent…
Display a beautifully formatted ASCII org chart for any person in the organization — showing their manager, peers, and direct reports in a visual tree.
$ npx -y skills add microsoft/work-iq --skill org-chart --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/org-chartContext preview
The summary Claude sees to decide when to auto-load this skill.
Display a beautifully formatted ASCII org chart for any person in the organization — showing their manager, peers, and direct reports in a visual tree.
name: org-chart description: Display a beautifully formatted ASCII org chart for any person in the organization — showing their manager, peers, and direct reports in a visual tree.
Render a visual ASCII org chart for any person in the organization. Shows the target person in context — their manager above, their peers alongside, and their direct reports below — in a clear tree layout that fits the terminal.
workiq-ask ( question: "What is my profile information including display name, email, job title, and department?" )
Extract **displayName**, **email**, and **jobTitle**.
If the user says "my org chart" or "me", the target is the current user from Step 1.
Otherwise, look up the named person:
workiq-ask ( question: "Look up the person named <name or email> in the company directory. Return their display name, email, job title, department, and office location." )
If the response indicates multiple matches, present the options and ask the user to pick.
**3a. Get the target's manager and direct reports:**
workiq-ask ( question: "Who is <target name>'s manager? Include their display name, email, job title, and department." )
workiq-ask ( question: "Who are <target name>'s direct reports? For each person include their display name, email, job title, and department." )
**3b. Walk the full management chain to the root:**
After getting the target's manager, **recursively** ask about each manager's manager until you reach the top of the org:
workiq-ask ( question: "Who is <current manager name>'s manager? Include their display name, email, job title, and department." )
Continue until `ask` indicates there is no manager (meaning you've reached the **org root**).
Store the entire chain as an ordered list: `[target, manager, manager's manager, …, org root]`.
**Important performance note:** Each iteration depends on the previous result, so these calls must be sequential. However, the first manager call (3a) and the direct reports call can run in parallel.
**Alternative — full chain in one call:** You can attempt to retrieve the entire chain at once:
workiq-ask ( question: "What is the full management chain for <target name> all the way up to the CEO? List each person in order from their direct manager to the top, including name, title, and email for each." )
If the response is complete, skip the recursive loop. If it is truncated or incomplete, fall back to the step-by-step approach above.
Filter out non‑primary accounts from the direct reports list:
Categorize each direct report by role type for grouping:
| Pattern in jobTitle | Category | Icon | |---|---|---| | Contains "Manager" or "Lead" | 👔 Manager | Shown with count of their reports if known | | Contains "Principal" or "Senior" or "Staff" | 🔧 Senior IC | | | Everything else | 💻 IC | |
1. **The target person is always the visual center** — highlighted with a ⭐ marker. 2. **The full management chain appears above** the target, from the org root at the top down to the direct manager, each connected by vertical lines. Use a compact single‑line‑per‑ancestor format for the chain above the direct manager to avoid excessive height. 3. **The direct manager** appears in a full box immediately above the target. 4. **Direct reports appear below** the target, connected by branch lines. 5. **Group direct reports**: managers first, then senior ICs, then ICs — separated by a thin visual gap. 6. **Truncate long names** to fit terminal width. Abbreviate job titles if needed (e.g., "Principal Software Engineer" → "Prin SWE", "Software Engineering Manager" → "SW Eng Mgr").
Use these abbreviations to keep boxes compact:
| Full Title | Short | |---|---| | Principal Software Engineer | Prin SWE | | Senior Software Engineer | Sr SWE | | Software Engineer | SWE | | Software Engineering Manager | SW Eng Mgr | | Principal Software Engineering Manager | Prin SW Eng Mgr | | Partner Group Software Engineering Manager | Partner Grp SW Eng Mgr | | Vice President of Engineering | VP Eng | | Group Engineering Manager | Grp Eng Mgr | | Program Manager | PM | | Senior Program Manager | Sr PM | | Principal Program Manager | Prin PM |
For titles not in this list, abbreviate by removing common words ("of", "the") and shortening ("Software" → "SW", "Engineering" → "Eng", "Manager" → "Mgr").
🏛️ ORG CHART
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👤 Firstname1 Lastname1 (CEO)
│
👤 Firstname2 Lastname2 (EVP, Products)
│
👤 Firstname3 Lastname3 (CVP, Collaboration)
│
┌──────────────────────────────┐
│ Firstname4 Lastname4 │
│ VP Eng │
│ firstname4@contoso.com │
└──────────────┬───────────────┘
│
┌──────────────┴──────────────┐
│ ⭐ Firstname5 Lastname5 │
│ Engineering Manager │
│ firstname5@contoso.com │
└──────────────┬──────────────┘
│
┌────────────┬───────────The official Microsoft Work IQ plugin collection for GitHub Copilot ✨ Extend the power of GitHub Copilot with Work IQ plugins — MCP servers, skills, and tools that connect AI assistants to your Microsoft 365 data.
Create, build, deploy, and localize declarative agents for M365 Copilot and Teams. Use the wiqd CLI for all declarative-agent…
Install or update the M365 Agents Toolkit (ATK) CLI and VS Code extension. Triggers: "install atk", "update atk", "install agents…
Use this skill when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with…
Adds Microsoft Entra SSO (single sign-on, no OBO) to a Microsoft 365 Copilot declarative agent whose tools are served by an MCP…
Build, test, and deploy code-based Teams apps using the M365 Agents Toolkit CLI. USE FOR: Custom Engine Agents (CEA), Teams bots,…
Sub-skill of microsoft-365-agents-toolkit. Routed expert system with 100+ micro-expert files for migrating Slack bots to Teams,…