setup

setup is a skill for Claude Code, Codex from dgambhir01/ado-testcraft. It costs 45 tokens per session (1,070 once invoked), scanned A, original, MIT.

A setup guide for the credentials that ado-testcraft uses to connect to Azure DevOps, Microsoft's service for hosting code and managing software projects. It covers the organization, project, and personal access token settings.

In plain words
What is it for?
Use it when configuring or updating Azure DevOps access, or when ado-testcraft cannot generate output because its credentials are missing.
Why use it?
It helps find missing or incomplete credentials without exposing the personal access token in chat. It also gives platform-specific commands for checking and setting them.

Skill for Claude CodeCodex

Part of the ado-testcraft plugin — 3 skills, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dgambhir01/ado-testcraft/setup
Any agent
npx skills add dgambhir01/ado-testcraft --skill setup
Clone the repo
git clone --depth 1 https://github.com/dgambhir01/ado-testcraft

Made for: Claude Code, Codex.

Or install ado-testcraft, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/setup.svg)](https://agentmods.dev/skills/dgambhir01/ado-testcraft/setup)
Your own site
<a href="https://agentmods.dev/skills/dgambhir01/ado-testcraft/setup"><img src="https://agentmods.dev/badge/skills/dgambhir01/ado-testcraft/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01070
Opus 5 $0.00023 $0.00535
Sonnet 5 $0.00009 $0.00214
Haiku 4.5 $0.00005 $0.00107

Measured 5d ago against content hash b94462e9129c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/setup/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Set Up ado-testcraft Credentials

Instructions

Detect the user's platform, check whether credentials are already set, then output the exact terminal commands they need to paste. Never ask the user to type their PAT into the chat — always use placeholders they replace in the terminal.

Step 1 — Detect operating system

Run $env:OS via PowerShell.

  • Returns Windows_NT → Windows. Proceed to the Windows block in Step 3.
  • Returns empty or errors → macOS or Linux. Run uname via Bash.
    • Returns Darwin → macOS
    • Returns Linux → Linux

Step 2 — Check current credential state

Read the three variables with the platform-appropriate shell:

Windows (PowerShell):

"ADO_ORG=$($env:ADO_ORG)"; "ADO_PROJECT=$($env:ADO_PROJECT)"; if ($env:ADO_PAT) { "ADO_PAT=[set]" } else { "ADO_PAT=[not set]" }

macOS / Linux (Bash):

echo "ADO_ORG=${ADO_ORG}"; echo "ADO_PROJECT=${ADO_PROJECT}"; [ -n "$ADO_PAT" ] && echo "ADO_PAT=[set]" || echo "ADO_PAT=[not set]"

Show the user a clear credential status summary, masking the PAT:

Current credential state:

  • ADO_ORG: [value, or ⚠️ not set]
  • ADO_PROJECT: [value, or ⚠️ not set]
  • ADO_PAT: [✅ set, or ⚠️ not set]

If all three are already set, say:

✅ All credentials are configured. Test with /ado-testcraft:generate <story-id>. To update any value, paste the replacement commands below into a terminal and restart Claude Code.

Then still show the setup commands in Step 3 for reference and to support credential updates.

Step 3 — Output platform-specific setup commands

Windows

Tell the user to open PowerShell (not Command Prompt) and paste these commands, replacing the placeholder values:

[System.Environment]::SetEnvironmentVariable("ADO_ORG",     "your-org-name",     "User")
[System.Environment]::SetEnvironmentVariable("ADO_PROJECT", "your-project-name", "User")
[System.Environment]::SetEnvironmentVariable("ADO_PAT",     "your-pat-here",     "User")

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 110 lines · 45 tokens per session scan A b94462e9129c

Subscribe to this mod's changes

setup is a skill published in the GitHub repository dgambhir01/ado-testcraft (1 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,070 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

refactoring-the-assembled-ui

Edit, split or share the CSS and JavaScript under plugins/audit/scripts/ui/ — files Python concatenates into one inline and one inline carrying code, in a self-contained page opened over file://. Covers the assembly contract and the byte-level pins in plugins/audit/tests/ that guard it, why the split must be an…

AleksandarBisevac/claude-plugins · 192 tokens

choosing-what-to-optimize

Decide what is worth making faster in this repo, and prove it paid — measure the thing instead of grepping for it, separate wall clock from total CPU from the critical path, rank targets by shape rather than by how many modules import them, and decline the work with a number when the number says so. Use this whenever…

AleksandarBisevac/claude-plugins · 145 tokens

running-resumable-sync-jobs

Design and review long-running batch or sync jobs that process many items against a remote API and persist checkpoint state — exit codes that report partial failure, checkpoints that are safe to resume, per-item tolerance vs. fatal abort, telling "zero" apart from "couldn't fetch", bounded retries, and honest…

AleksandarBisevac/claude-plugins · 102 tokens

verifying-external-behavior

Confirms what a third-party library, remote API, build backend, or scraped document actually does before writing code that depends on it — throwaway probes that run in seconds, permissive clients that forward wrong arguments instead of rejecting them, per-endpoint docs that don't generalize, response shapes that make…

AleksandarBisevac/claude-plugins · 138 tokens

writing-javascript

How browser JavaScript is written in this repo — both surfaces now speak one modern dialect and this says what that means for the code you type, where ES modules are impossible and where they are merely unused, and how to pick a feature (Baseline plus a file:// gate). Covers functional idiom over imperative DOM work…

AleksandarBisevac/claude-plugins · 163 tokens

reproducing-ci-locally

Run the CI gate on your machine so it agrees with the runner — deriving the exact command, paths, markers, and env from the workflow file instead of the Makefile, unblocking gate steps that short-circuit and hide the next failure, pinning the linter version CI resolves, and confirming the run is green instead of…

AleksandarBisevac/claude-plugins · 130 tokens