rf-restinstance

rf-restinstance is a skill for Claude Code from manykarim/robotframework-agentskills. It costs 28 tokens per session (2,104 once invoked), scanned A, original, Apache-2.0.

A guide for testing web APIs with RESTinstance in Robot Framework. RESTinstance sends JSON requests and checks responses against types, JSON Schema, or OpenAPI descriptions.

In plain words
What is it for?
It is for schema-based API tests, OpenAPI checks, typed JSON assertions, and generating or using schemas from API responses.
Why use it?
It helps detect responses with the wrong structure or data types and keeps API tests tied to a defined contract. RESTinstance is different from a basic HTTP request checker because it focuses on the response's shape and rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rf-agentskills plugin — 9 skills, 3 agents, 4 hooks shipped together

Good fit It is for schema-based API tests, OpenAPI checks, typed JSON assertions, and generating or using schemas from API responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/manykarim/robotframework-agentskills/rf-restinstance
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 manykarim/robotframework-agentskills --skill rf-restinstance
Clone the repo
git clone --depth 1 https://github.com/manykarim/robotframework-agentskills

Made for: Claude Code.

Or install rf-agentskills, the plugin that ships this one along with the rest of its 9 skills, 3 agents, 4 hooks.

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 rf-restinstance

README.md
[![agentmods](https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-restinstance/github.svg)](https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-restinstance)
Your own site
<a href="https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-restinstance"><img src="https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-restinstance/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 rf-restinstance

Your own site · 80×15
<a href="https://agentmods.dev/skills/manykarim/robotframework-agentskills/rf-restinstance"><img src="https://agentmods.dev/badge/skills/manykarim/robotframework-agentskills/rf-restinstance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00028 $0.02104
Opus 5.5 $0.00011 $0.00842
Sonnet 5.5 $0.00006 $0.00421
Haiku 4.5 $0.00003 $0.00210

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

Security

Grade A, and why

rf-restinstance 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 24d 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.

plugins/rf-agentskills/skills/rf-restinstance/SKILL.md · 118 lines

How it starts

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

RESTinstance Library Skill

RESTinstance (Library REST) sends JSON requests and asserts the last response with typed, path-based keywords that also build a JSON Schema of it. Prefer it over rf-requests when the contract matters more than single values: schema files, learned schemas, OpenAPI specs, types and constraints. For plain request/response checks, form posts, sessions or file uploads use rf-requests. Verified against RESTinstance 1.8.0, Robot Framework 7.4.

When to use

Load this skill first, before exploring the project or answering from memory, when a Robot Framework API test uses RESTinstance (Library REST):

  • typed assertions on the JSON response (Integer, String, Object, Array);
  • JSON Schema validation, generating a schema from a response, OpenAPI/Swagger spec checks;
  • a test fails on a type mismatch in the response body ("Expected integer, but got string"), or the user mentions RESTinstance or wants schema-driven API tests.

Not this skill: suites that import RequestsLibrary, or generic API tests with no library named, use rf-requests.

Installation

Install into the project environment (see rf-setup for uv/venv/Poetry, CI and troubleshooting; follow the project's existing tool):

uv add RESTinstance

Requires Python ≥ 3.11; the SyntaxWarning lines printed on import (from flex) are harmless.

Import and defaults

Import with the base URL, send paths, and assert the status first on every request:

*** Settings ***
Library    REST    ${API_URL}

*** Test Cases ***
Get User
    GET        /users/1
    Integer    response status    200
    Object     response body    required=["id", "name"]
    String     response body name    Alice
    Integer    response body id    minimum=1

${API_URL} has to exist when the library is imported (*** Variables *** or --variable). A URL without scheme gets http://. Escape hatch: when the base URL is only known at run time (a Suite Setup starts the server), import REST without a URL and send full URLs (GET ${API_URL}/users/1). Schema files and OpenAPI specs: see references/schema-validation.md.

Read the full file on GitHub · 118 lines

Files

What ships with it

7 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. 24d ago Changed · -1 lines 800ed1a2b7af
  2. 1mo ago Changed · -2 tokens per session 9b7a500cfb24
  3. 2mo ago First seen · 119 lines · 30 tokens per session scan A 9a5803ef6152

Subscribe to this mod's changes

rf-restinstance is a skill published in the GitHub repository manykarim/robotframework-agentskills (41 stars, last pushed 25d ago), licensed Apache-2.0. It adds 28 tokens to every session and 2,104 once invoked, about $0.0001 per session on Opus 5.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-10-01.

Related

rf-restinstance compared with skills from other repositories

rf-restinstance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rf-restinstancemanykarim/robotframework-agentskillsSkill4125d agoApache-2.0A28Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill701todayMITA105Claude Code, Codex