/install azure-devops-reports
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_ORGAZURE_DEVOPS_PAT
Optional defaults:
AZURE_DEVOPS_DEFAULT_PROJECTAZURE_DEVOPS_DEFAULT_TEAMAZURE_DEVOPS_DEFAULT_QUERY_IDAZURE_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:
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_DIRmust resolve inside the skill directory- Prefer least-privilege PAT scopes:
vso.projectandvso.work
Workflow
- Load config from the skill-local
.envfile. - Resolve project, team, and query id from explicit arguments or configured defaults.
- Decide whether the request is project-scoped, team-scoped, team-member scoped, saved-query, sprint-scoped, or custom-WIQL.
- Fetch work item ids via WIQL when filtering is needed.
- Fetch detailed work item fields.
- Normalize records for reporting.
- Default to the configured saved query when no explicit command or query id is provided.
- Export to JSON or CSV data bundles.
- Build summary tables for state, assignee, and work item type.
- Build Excel charts from exported JSON when the user asks for workbook generation.
- 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 projectsscripts/teams.js— list teams in a project and team membersscripts/iterations.js— list team iterations / current sprintscripts/queries.js— list saved queries and inspect a query definitionscripts/workitems.js— run work item queries and normalize resultsscripts/export-report.js— export JSON/CSV data bundlesscripts/build_excel_report.py— generate Excel workbooks with charts from exported JSON
Exact script usage
Run all commands from the skill directory:
cd /path/to/azure-devops-reports
1) List projects
node scripts/projects.js list
2) List teams in a project
node scripts/teams.js list "Project Name"
3) List members in a team
node scripts/teams.js members "Project Name" "Team Name"
4) List current sprint
node scripts/iterations.js current "Project Name" "Team Name"
5) List all iterations / sprints
node scripts/iterations.js list "Project Name" "Team Name"
6) List saved queries in a project
node scripts/queries.js list --project "Project Name"
7) Get a saved query definition by id
node scripts/queries.js get --project "Project Name" --id "QUERY_GUID"
8) Fetch work items using saved query id
Explicit:
node scripts/workitems.js query-id --project "Project Name" --id "QUERY_GUID"
With defaults from .env:
node scripts/workitems.js query-id
9) List work items closed in the last 7 days
Using the default project from .env:
node scripts/workitems.js closed-last-week
With an explicit project:
node scripts/workitems.js closed-last-week --project "Project Name"
10) Export report data as JSON
Default saved-query export using .env defaults:
node scripts/export-report.js
Explicit saved-query export:
node scripts/export-report.js query-id \
--project "Project Name" \
--id "QUERY_GUID" \
--format json \
--out query-data.json
Explicit sprint summary export:
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
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 projectshow many teams do we have?list all team members in \x3CYour Team Name> teamcan you list the sprints?generate the Azure DevOps reportregenerate the excellist all work items closed in last weeksummarize closed items from last weekshow current progress of sprint 07which team member has most open items?
References
Read these only if needed:
references/field-mapping.mdfor normalized field choicesreferences/report-types.mdfor report presets and chart ideasreferences/api-notes.mdfor endpoint notes and PAT scope guidance
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install azure-devops-reports - 安装完成后,直接呼叫该 Skill 的名称或使用
/azure-devops-reports触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 144 次。
如何安装 Azure DevOps Reports?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install azure-devops-reports」即可一键安装,无需额外配置。
Azure DevOps Reports 是免费的吗?
是的,Azure DevOps Reports 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Azure DevOps Reports 支持哪些平台?
Azure DevOps Reports 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Azure DevOps Reports?
由 webspeaks(@webspeaks)开发并维护,当前版本 v1.0.6。