rest-graphql-debug

rest-graphql-debug is a skill for Claude Code, Codex from androoAGI/starnet. It costs 45 tokens per session (3,452 once invoked), scanned A, original, MIT.

A layer-by-layer procedure for finding problems in REST and GraphQL APIs, which are common ways software exchanges data over the web. It checks connection, timeouts, security certificates, login credentials, request format, response parsing, and meaning.

In plain words
What is it for?
Use it for unexpected API responses, failed authentication, webhooks, pagination, rate limits, and integration tests. It creates a clear reproduction using the exact request.
Why use it?
It prevents guessing when an API call fails and distinguishes network, authentication, formatting, and data problems. It also catches cases where a successful status code still contains incorrect data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for unexpected API responses, failed authentication, webhooks, pagination, rate limits, and integration tests. It creates a clear reproduction using the exact request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/androoagi/starnet/rest-graphql-debug
About the project

StarNet is a local-first desktop harness for creating AI agents and arranging them in a pixel-art space station whose layout represents their capabilities, permissions, and workflow. It lets people run real model calls and tools through multiple bounded agents, using their own provider keys or accounts and optionally messaging the station through chat services. The catalogue entries are skills that extend or support work performed by StarNet agents.

androoAGI/starnet · 1,468 stars · on GitHub

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.

Any agent
npx skills add androoAGI/starnet --skill rest-graphql-debug
Clone the repo
git clone --depth 1 https://github.com/androoAGI/starnet

Made for: Claude Code, Codex.

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 rest-graphql-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/androoagi/starnet/rest-graphql-debug/github.svg)](https://agentmods.dev/skills/androoagi/starnet/rest-graphql-debug)
Your own site
<a href="https://agentmods.dev/skills/androoagi/starnet/rest-graphql-debug"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/rest-graphql-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rest-graphql-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/androoagi/starnet/rest-graphql-debug"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/rest-graphql-debug.svg" alt="Reviewed on agentmods" width="80" 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 3,452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.03452
Opus 5.5 $0.00018 $0.01381
Sonnet 5.5 $0.00009 $0.00690
Haiku 4.5 $0.00005 $0.00345

Measured 12d ago against content hash 35d5805c4a3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rest-graphql-debug scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Diagnose REST and GraphQL problems with the station's tools: `web_request` to send the exact request, `shell.exec` with `curl` when you need response headers, TLS details, or timings, and `web_fetch` for the provider's A
skills-catalog/skills/rest-graphql-debug/SKILL.md · 259 lines

How it starts

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

API Testing and Debugging

Diagnose REST and GraphQL problems with the station's tools: web_request to send the exact request, shell.exec with curl when you need response headers, TLS details, or timings, and web_fetch for the provider's API docs. Isolate the failing layer before guessing at a fix.

When to use

  • An API returns an unexpected status or body.
  • Auth fails (401/403 after a token refresh, OAuth, API key).
  • A call works in an API client but fails in code.
  • Webhook or callback integration debugging.
  • Building or reviewing API integration tests.
  • Rate limiting or pagination problems.

Skip it for UI rendering, database query tuning, or DNS and firewall infrastructure (escalate those).

Core principle

Isolate the layer, then fix. A 200 OK can hide broken data. A 500 can mask a one-character auth typo. Walk the chain in order; never skip a step.

1.   Connectivity    → can we reach the host at all?
1.5  Timeouts        → slow to connect, or slow to answer?
2.   TLS             → is the certificate valid and trusted?
3.   Auth            → are the credentials correct and unexpired?
4.   Request format  → does the payload match what the server expects?
5.   Response parse  → does our code accept what came back?
6.   Semantics       → does the data mean what we assume?

Your instruments

web_request (DISH) sends one request exactly as you specify it and returns the HTTP status and up to about 8,000 characters of the response body. It does NOT return response headers.

  • Arguments: url, method (GET, HEAD, POST, PUT, PATCH, DELETE), headers, body (a string; send JSON as a string, and the Content-Type defaults to application/json when a body is present), multipart for file uploads.
  • Authentication without seeing the secret: reference a key stored in TOOLSETS & CONNECTORS → KEYS by its NAME inside a header value, for example headers: {"Authorization": "Bearer ${ACME_API_TOKEN}"}. The station substitutes the value at send time. Placeholders work in headers only, never in the url or body. For APIs that want the key as a query parameter, use auth: {"key": "ACME_API_TOKEN", "in": "query", "name": "api_key"}.
  • Never ask the Commander to paste a token into chat. If no stored key fits, ask them to add one in KEYS.
  • Each web_request can ask the Commander for approval, so plan requests instead of spraying them.

Read the full file on GitHub · 259 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 259 lines · 45 tokens per session scan A 35d5805c4a3c

Subscribe to this mod's changes

rest-graphql-debug is a skill published in the GitHub repository androoAGI/starnet (1,468 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 3,452 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

Other skills, from other repositories