⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
azure-devops-reports
Read Azure DevOps projects, teams, team members, saved queries, and work items securely; run WIQL-based reporting; and export spreadsheet-ready reports with summaries and charts. Use when the user wants Azure DevOps project lists, team lists, team-member lists, saved query results, sprint/work item reporting, WIQL queries, Excel/CSV exports, charts, assignee/state/type breakdowns, or team/project work item analysis.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Azure DevOps Reports
A read-focused OpenClaw skill for Azure DevOps.
It can:
- list Azure DevOps projects
- list teams in a project
- list members in a team
- list sprints / iterations
- fetch work items from a saved query
- export report data to JSON
- generate Excel workbooks with charts using Python
- summarize sprint progress and recent closed work
This skill is designed around a secure, low-risk workflow:
- Node.js handles Azure DevOps API access and data normalization
- Python handles Excel workbook generation with native charts
- credentials are loaded from a skill-local
.env - reports are read-only by default
Features
- Secure Azure DevOps REST API access using PAT
- Default saved-query workflow using
.envvalues - Project, team, member, and sprint listing
- Work item fetching with WIQL or saved query id
- Weekly reporting support
- Excel workbook generation with:
RawDatasheetSummarysheetWeeklyTrendDatasheetChartssheet
Security model
This skill is intentionally narrow and read-focused.
Safety guarantees
- Read-only by default
- No create/update/delete actions for Azure DevOps work items
- No email sending
- No arbitrary shell execution from user input
- No secret logging
- No Authorization header logging
- No PAT values stored in source control
- Local output only
- Output file writes restricted to the skill directory
AZURE_DEVOPS_OUTPUT_DIRmust resolve inside the skill directory
Required PAT scopes
Use least-privilege Azure DevOps PAT scopes:
vso.projectvso.work
No write scopes or admin scopes are required for the intended workflow.
Secrets
- Keep
.envlocal - Never commit
.env - Commit only
.env.example - Primary credential:
AZURE_DEVOPS_PAT - This skill reads configuration from the skill-local
.envfile only
Requirements
- OpenClaw
- Node.js
- Python 3
pip3xlsxwriter
Install Python dependency:
pip3 install -r requirements.txt
Configuration
Create a local .env file in the skill directory.
Example:
AZURE_DEVOPS_ORG=your-org-name
AZURE_DEVOPS_PAT=your-personal-access-token
AZURE_DEVOPS_DEFAULT_PROJECT=Your Project Name
AZURE_DEVOPS_DEFAULT_TEAM=Your Team Name
AZURE_DEVOPS_DEFAULT_QUERY_ID=your-query-guid
AZURE_DEVOPS_OUTPUT_DIR=output
Required variables
AZURE_DEVOPS_ORGAZURE_DEVOPS_PAT← primary credential
Useful defaults
AZURE_DEVOPS_DEFAULT_PROJECTAZURE_DEVOPS_DEFAULT_TEAMAZURE_DEVOPS_DEFAULT_QUERY_IDAZURE_DEVOPS_OUTPUT_DIR(must remain inside the skill directory)
How it works
Data flow
- Node.js loads config from the skill-local
.env - Node.js fetches Azure DevOps data
- Node.js normalizes work items into a clean JSON bundle
- Python reads the JSON bundle
- Python generates an
.xlsxreport with charts
Default report flow
The default report flow uses:
AZURE_DEVOPS_DEFAULT_PROJECTAZURE_DEVOPS_DEFAULT_QUERY_ID
That means you can generate the default report without manually passing project/query values every time.
Script usage
Run from the skill directory:
cd /path/to/azure-devops-reports
List projects
node scripts/projects.js list
List teams in a project
node scripts/teams.js list "Project Name"
List team members
node scripts/teams.js members "Project Name" "Team Name"
List current sprint
node scripts/iterations.js current "Project Name" "Team Name"
List all iterations / sprints
node scripts/iterations.js list "Project Name" "Team Name"
List saved queries
node scripts/queries.js list --project "Project Name"
Fetch work items from saved query id
Explicit:
node scripts/workitems.js query-id --project "Project Name" --id "QUERY_GUID"
Using defaults from .env:
node scripts/workitems.js query-id
List work items closed in the last 7 days
node scripts/workitems.js closed-last-week
Export default report data as JSON
node scripts/export-report.js
Build Excel workbook from exported JSON
python3 scripts/build_excel_report.py \
--input output/query-data.json \
--output output/query-report.xlsx
This will typically create:
output/query-data.jsonoutput/query-report.xlsx
Natural language commands for ClawBot
Once the skill is installed and configured, you can ask ClawBot in plain English.
Project and team queries
show my Azure DevOps projectslist my Azure DevOps projectshow many teams do we have?list all team members in <Your Team Name> teamcan you list the sprints?
Reporting queries
generate the Azure DevOps reportplease create the azure devops reportregenerate the excelshow current progress of sprint 07list all work items closed in last weeksummarize closed items from last week
Workload / progress questions
can you please show the count of open items?which team member has most open items?please compute the exact top assignee by open items onlyshow sprint progress
License
MIT
// HOW IT'S BUILT
// FILES
2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
SKILL.md5.7 KBupstream ↗
--- name: azure-devops-reports description: Read Azure DevOps projects, teams, team members, saved queries, and work items securely; run WIQL-based reporting; and export spreadsheet-ready reports with summaries and charts. Use when the user wants Azure DevOps project lists, team lists, team-member lists, saved query results, sprint/work item reporting, WIQL queries, Excel/CSV exports, charts, assignee/state/type breakdowns, or team/project work item analysis. metadata: { "openclaw": { "requires": { "bins": ["node", "python3", "pip3"], "env": [ "AZURE_DEVOPS_ORG", "AZURE_DEVOPS_PAT" ] }, "primaryEnv": "AZURE_DEVOPS_PAT" } } --- # Azure DevOps Reports Use this skill for secure, read-focused Azure DevOps reporting. ## Configuration Load credentials from a local `.env` file stored in this skill directory. Required variables: - `AZURE_DEVOPS_ORG` - `AZURE_DEVOPS_PAT` Optional defaults: - `AZURE_DEVOPS_DEFAULT_PROJECT` - `AZURE_DEVOPS_DEFAULT_TEAM` - `AZURE_DEVOPS_DEFAULT_QUERY_ID` - `AZURE_DEVOPS_OUTPUT_DIR` If required values are missing, ask the user to create or update `.env` in this skill directory. ## Runtime requirements This skill requires: - Node.js - Python 3 - `pip3` - Python package: `xlsxwriter` Install Python dependency once: ```bash pip3 install -r requirements.txt ``` ## Safety guarantees - Read-only Azure DevOps access only - No create, update, or delete operations for Azure DevOps work items - No secret logging - No Authorization header logging - No arbitrary shell execution from user input - Output restricted to local report files under the skill directory - `AZURE_DEVOPS_OUTPUT_DIR` must resolve inside the skill directory - Prefer least-privilege PAT scopes: `vso.project` and `vso.work` ## Workflow 1. Load config from the skill-local `.env` file. 2. Resolve project, team, and query id from explicit arguments or configured defaults. 3. Decide whether the request is project-scoped, team-scoped, team-member scoped, saved-query, sprint-scoped, or custom-WIQL. 4. Fetch work item ids via WIQL when filtering is needed. 5. Fetch detailed work item fields. 6. Normalize records for reporting. 7. Default to the configured saved query when no explicit command or query id is provided. 8. Export to JSON or CSV data bundles. 9. Build summary tables for state, assignee, and work item type. 10. Build Excel charts from exported JSON when the user asks for workbook generation. 11. Use project listing, team listing, team-member listing, sprint listing, and saved-query reporting when the user asks in plain language. ## Scripts - `scripts/projects.js` — list projects - `scripts/teams.js` — list teams in a project and team members - `scripts/iterations.js` — list team iterations / current sprint - `scripts/queries.js` — list saved queries and inspect a query definition - `scripts/workitems.js` — run work item queries and normalize results - `scripts/export-report.js` — export JSON/CSV data bundles - `scripts/build_excel_report.py` — generate Excel workbooks with charts from exported JSON ## Exact script usage Run all commands from the skill directory: ```bash cd /path/to/azure-devops-reports ``` ### 1) List projects ```bash node scripts/projects.js list ``` ### 2) List teams in a project ```bash node scripts/teams.js list "Project Name" ``` ### 3) List members in a team ```bash node scripts/teams.js members "Project Name" "Team Name" ``` ### 4) List current sprint ```bash node scripts/iterations.js current "Project Name" "Team Name" ``` ### 5) List all iterations / sprints ```bash node scripts/iterations.js list "Project Name" "Team Name" ``` ### 6) List saved queries in a project ```bash node scripts/queries.js list --project "Project Name" ``` ### 7) Get a saved query definition by id ```bash node scripts/queries.js get --project "Project Name" --id "QUERY_GUID" ``` ### 8) Fetch work items using saved query id Explicit: ```bash node scripts/workitems.js query-id --project "Project Name" --id "QUERY_GUID" ``` With defaults from `.env`: ```bash node scripts/workitems.js query-id ``` ### 9) List work items closed in the last 7 days Using the default project from `.env`: ```bash node scripts/workitems.js closed-last-week ``` With an explicit project: ```bash node scripts/workitems.js closed-last-week --project "Project Name" ``` ### 10) Export report data as JSON Default saved-query export using `.env` defaults: ```bash node scripts/export-report.js ``` Explicit saved-query export: ```bash node scripts/export-report.js query-id \ --project "Project Name" \ --id "QUERY_GUID" \ --format json \ --out query-data.json ``` Explicit sprint summary export: ```bash node scripts/export-report.js sprint-summary \ --project "Project Name" \ --team "Team Name" \ --format json \ --out sprint-summary.json ``` ### 11) Build Excel workbook from exported JSON ```bash python3 scripts/build_excel_report.py \ --input output/query-data.json \ --output output/query-report.xlsx ``` ## Ask ClawBot in plain English These requests should map to the skill without manual script execution: - `show my Azure DevOps projects` - `how many teams do we have?` - `list all team members in <Your Team Name> team` - `can you list the sprints?` - `generate the Azure DevOps report` - `regenerate the excel` - `list all work items closed in last week` - `summarize closed items from last week` - `show current progress of sprint 07` - `which team member has most open items?` ## References Read these only if needed: - `references/field-mapping.md` for normalized field choices - `references/report-types.md` for report presets and chart ideas - `references/api-notes.md` for endpoint notes and PAT scope guidanceREADME.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/webspeaks-openclaw-azure-devops-reports-skill.md