Agent skill

Check Urls

by rajbos in rajbos/ai-engineering-fluency

Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx).

MITAuto-check passedDevelopment

Install Check Urls

skills CLI
$ npx skills add rajbos/ai-engineering-fluency --skill check-urls -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rajbos/ai-engineering-fluency check-urls --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rajbos/ai-engineering-fluency.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/check-urls .claude/skills/check-urls && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
check-urls
GitHub stars
117
Token cost
~662 tokens
SKILL.md length
345 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx).

  • Works in 6 steps: Recursively scan every *.ts file under… → Extract all unique https?://... URLs… → Send an HTTP HEAD request to each URL… → …
  • You want to validate that links in tips
  • SKILL.md covers When to Use This Skill, Running the Check, Interpreting Output and After Finding Broken URLs, plus 1 more section
  • Calls node and npm; reaches tech.hub.ms

What it does

Check Urls is an agent skill from rajbos/ai-engineering-fluency. Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx). Use when you want to validate that links in tips, hints, and documentation strings are still live.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with TypeScript and Visual Studio Code. The repository describes itself as: Extension that shows information about the estimated token usage and more of AI in editors/CLI's. The licence is MIT.

When your agent uses it

  • You want to validate that links in tips
  • Documentation strings are still live

Example prompts

  • “/check-urls”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Recursively scan every *.ts file under src/
  2. Extract all unique https?://... URLs (strips trailing punctuation, skips template literals)
  3. Send an HTTP HEAD request to each URL (with a 10-second timeout)
  4. If HEAD returns any 4xx status, automatically retry with GET — some servers (e.g. intent URLs, social sharing endpoints) return 404/405…
  5. Print a summary showing ✅ OK, ⚠️ REDIRECT, or ❌ BROKEN for every URL
  6. Exit with code 1 if any URL returns a 4xx or 5xx status on both HEAD and GET, or times out

What it can do on your machine

Read from SKILL.md and the folder at commit 7b4f317. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • tech.hub.ms

    Also links to:

    • code.visualstudio.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Check Urls loads about 662 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 345 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~662

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rajbos/ai-engineering-fluency at commit 7b4f317, republished under its MIT licence (© rajbos). 345 words, ~662 tokens.

Download SKILL.mdSave it as .claude/skills/check-urls/SKILL.md (or your agent's skills folder).
name
check-urls
description
Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx). Use when you want to validate that links in tips, hints, and documentation strings are still live.

Check URLs Skill

This skill scans all TypeScript source files for hardcoded http:// and https:// URLs and performs HTTP HEAD requests to verify each one resolves without a 4xx/5xx error.

When to Use This Skill

Use this skill when you need to:

  • Validate links added to fluency hints or tips in maturityScoring.ts
  • Check that VS Code docs URLs, tech.hub.ms video links, or any other hardcoded URLs are still live
  • Audit the codebase after bulk URL changes to catch 404s before a release
  • Routinely health-check external references as part of a maintenance pass

Running the Check

bash
node .github/skills/check-urls/check-urls.js

The script will:

  1. Recursively scan every *.ts file under src/
  2. Extract all unique https?://... URLs (strips trailing punctuation, skips template literals)
  3. Send an HTTP HEAD request to each URL (with a 10-second timeout)
  4. If HEAD returns any 4xx status, automatically retry with GET — some servers (e.g. intent URLs, social sharing endpoints) return 404/405 for HEAD but correctly respond to GET
  5. Print a summary showing ✅ OK, ⚠️ REDIRECT, or ❌ BROKEN for every URL
  6. Exit with code 1 if any URL returns a 4xx or 5xx status on both HEAD and GET, or times out

Interpreting Output

SymbolMeaning
✅ OK2xx response — URL is live
⚠️ REDIRECT3xx response — URL redirects; consider updating to the final destination
❌ BROKEN4xx/5xx or connection failure — URL must be fixed

After Finding Broken URLs

  1. 404 on tech.hub.ms: The slug may have changed or the page was removed. Check https://tech.hub.ms to find the replacement and update src/maturityScoring.ts.
  2. 404 on code.visualstudio.com: The VS Code docs may have been reorganised. Search VS Code docs for the relevant topic and update the link.
  3. Timeout: May be a transient network issue. Re-run the script to confirm before changing anything.
  4. After fixing, re-run node .github/skills/check-urls/check-urls.js to confirm all URLs resolve.
  5. Run npm --prefix vscode-extension run validate to confirm type-checking, linting, and the build still pass.

Files in This Directory

  • SKILL.md — This file; instructions for the skill
  • check-urls.js — Node.js script that performs the URL scan and resolution check
  • README.md — Short overview of the skill

© rajbos, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/check-urls of rajbos/ai-engineering-fluency.

Open the folder on GitHubat commit 7b4f317

Compare with similar skills

Check Urls next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Check Urls compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Urls this skillrajbos/ai-engineering-fluency117—~662Automated safety check: PassMIT
Trust CI Release GatesjohannesPettersson80/trust-platform222—~3.6kAutomated safety check: PassApache-2.0
Prepare Rslint npm Releaseweb-infra-dev/rslint461—~1.5kAutomated safety check: PassMIT
Typescripttahabasri/snippets170—~968Automated safety check: PassMIT
Debug CIweb-infra-dev/rslint461—~2.8kAutomated safety check: PassMIT
Typescript Styletjx666/vscode-mcp105—~961Automated safety check: PassCustom licence

Similar skills

  • Trust CI Release Gates

    johannesPettersson80/trust-platform

    Prepares and ships truST changes - changelog and version updates, CI parity, pre-push checks, the exact-SHA release-candidate guard, merge, tag and release verification.

    222 GitHub stars~3.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Prepare Rslint npm Release

    web-infra-dev/rslint

    Prepare a stable release PR for the unified rslint npm packages by updating package versions and rule/TypeScript release metadata.

    461 GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Typescript

    tahabasri/snippets

    LobeHub TypeScript style and type-safety guide. An agent skill from tahabasri/snippets.

    170 GitHub stars~968 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Debug CI

    web-infra-dev/rslint

    Reproduce Linux CI failures locally using Docker when the same tests pass on the host, especially Go platform differences and VS Code extension tests requiring xvfb.

    461 GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Typescript Style

    tjx666/vscode-mcp

    TypeScript code style and repo conventions for VSCode MCP — inference vs explicit types, ESM import suffixes, zod schema contracts, async VSCode/Node APIs, JSON-safe IPC results, JSDoc for public…

    105 GitHub stars~961 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Trust Test Authoring

    johannesPettersson80/trust-platform

    Routes truST behaviour changes from the written specification to a native executable test.

    222 GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from rajbos/ai-engineering-fluency

All 21 skills in this repo
  • Create Issue

    rajbos/ai-engineering-fluency

    Create a well-scoped GitHub issue in this repo. An agent skill from rajbos/ai-engineering-fluency.

    117 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Deduplicate Code

    rajbos/ai-engineering-fluency

    Detect copy-pasted code blocks across the shared source (vscode-extension/src, the repo-root src/, cli/src) with the dependency-free check-code-duplication.js detector, then pick one duplicate group…

    117 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Improve Tool Families

    rajbos/ai-engineering-fluency

    Analyze coverage of the vscode-extension's tool-family definitions (DEFAULTTOOLFAMILIES in vscode-extension/src/toolFamilies.ts) against the canonical tool-name list in src/toolNames.json and/or a…

    117 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Load Cache Data

    rajbos/ai-engineering-fluency

    Load and display the last 10 cache entries as raw JSON output.

    117 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • PR Risk Review

    rajbos/ai-engineering-fluency

    Assess the risk of a changeset (a PR, a branch, or the working tree) and classify it as low, medium, or high with a written rationale.

    117 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Session Log Data

    rajbos/ai-engineering-fluency

    Describes the data files available in the coding agent environment after copilot-setup-steps runs.

    117 GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Check Urls

What does Check Urls do?

Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx). Check Urls is an agent skill from rajbos/ai-engineering-fluency. Find all hardcoded URLs in TypeScript source files and verify they resolve (return HTTP 2xx/3xx).

When should I use Check Urls?

Check Urls fits situations like: you want to validate that links in tips; documentation strings are still live.

How do I install Check Urls in Claude Code?

Run `npx skills add rajbos/ai-engineering-fluency --skill check-urls -a claude-code`. Or copy the skill folder (.claude/skills/check-urls in rajbos/ai-engineering-fluency) into .claude/skills/check-urls in your project. Claude Code loads it when a task matches its description.

How do I install Check Urls in Codex?

Run `npx skills add rajbos/ai-engineering-fluency --skill check-urls -a codex`. Or copy the skill folder (.claude/skills/check-urls in rajbos/ai-engineering-fluency) into .agents/skills/check-urls in your project. Codex loads it when a task matches its description.

Can I use Check Urls in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rajbos/ai-engineering-fluency --skill check-urls -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-urls, .gemini/skills/check-urls, .github/skills/check-urls and .opencode/skills/check-urls in your project.

What does Check Urls need to run?

Going by SKILL.md and its folder, Check Urls needs the command-line tools its instructions call (node and npm). Our summary lists: Node.js.

Does Check Urls access the network?

SKILL.md names 2 domains. In commands or code: tech.hub.ms; the agent is likely to contact it when it follows the instructions. As links in the text: code.visualstudio.com. This is read from the text; nothing was executed.

Is Check Urls safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Check Urls use?

Check Urls is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Check Urls use?

About 662 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Check Urls?

Skills that share tags, products or a category with Check Urls: Trust CI Release Gates (johannesPettersson80/trust-platform, 222 stars), Prepare Rslint npm Release (web-infra-dev/rslint, 461 stars), Typescript (tahabasri/snippets, 170 stars) and Debug CI (web-infra-dev/rslint, 461 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check Urls?

rajbos (a GitHub user) maintains it in rajbos/ai-engineering-fluency, which has 117 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 10, 2026.

Source: rajbos/ai-engineering-fluency on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.